Re: [SOGo] updates.php and lightning
On Wed, Apr 13, 2011 at 1:34 PM, Olivier Migeot larry...@gmail.com wrote: Or did I miss something? Ok, a little bit more information. I delayed the auto restart timer to investigate a little more. What I found is that, though Connector and Lightning are correctly updated to the latest versions, Integrator _stays_ at version 3.104. Is it normal? Should it be updated only after the restart (provided it doesn't end up in an infinite loop as it does now)? Thanks. -- Olivier -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] updates.php and lightning
Am 14.04.2011 11:39, schrieb Olivier Migeot: On Wed, Apr 13, 2011 at 1:34 PM, Olivier Migeotlarry...@gmail.com wrote: Or did I miss something? Ok, a little bit more information. I delayed the auto restart timer to investigate a little more. What I found is that, though Connector and Lightning are correctly updated to the latest versions, Integrator _stays_ at version 3.104. Is it normal? Should it be updated only after the restart (provided it doesn't end up in an infinite loop as it does now)? No, it should also upgrade to 3.105.. So perhaps you just put the wrong integrator on your webserver ? André -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] updates.php and lightning
2011/4/14 André Schild an...@schild.ws: No, Good to hear. So I got something... it should also upgrade to 3.105.. So perhaps you just put the wrong integrator on your webserver ? Well, I'm pretty sure I did not. Here's what I'm doing (just re-done it to be sure): (In the same directory as updates.php, and I deleted all previous XPIs) mkdir test cd test wget http://www.sogo.nu/files/downloads/extensions/sogo-integrator-3.105-sogo-demo.xpi; unzip sogo-integrator-3.105-sogo-demo.xpi rm sogo-integrator-3.105-sogo-demo.xpi vim chrome/content/extensions.rdf (changed the server name and added lightning) zip -r ../sogo-integrator-3.105-sogo-perso.xpi . and updates.php clearly points my customized XPI... Any idea? -- Olivier -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] updates.php and lightning
Am 14.04.2011 12:10, schrieb Olivier Migeot: 2011/4/14 André Schildan...@schild.ws: No, Good to hear. So I got something... it should also upgrade to 3.105.. So perhaps you just put the wrong integrator on your webserver ? Well, I'm pretty sure I did not. Here's what I'm doing (just re-done it to be sure): (In the same directory as updates.php, and I deleted all previous XPIs) mkdir test cd test wget http://www.sogo.nu/files/downloads/extensions/sogo-integrator-3.105-sogo-demo.xpi; unzip sogo-integrator-3.105-sogo-demo.xpi rm sogo-integrator-3.105-sogo-demo.xpi vim chrome/content/extensions.rdf (changed the server name and added lightning) zip -r ../sogo-integrator-3.105-sogo-perso.xpi . and updates.php clearly points my customized XPI... What does your webserver log tells you ? Does thunderbird realy download the sogo-integrator-3.105-sogo-perso.xpi or is perhaps a public read right missing... ? For some reasons TB is NOT retrieving that perso.xpi Can you post the full url to the update script ? André -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] updates.php and lightning
On Thu, Apr 14, 2011 at 12:23 PM, Olivier Migeot larry...@gmail.com wrote: So it couldn't be a problem on the client side? Like an extension who wouldn't want to install or something? Ok, just tried it on a clean profile : installed and configured Integrator 3.104 and let it update by itself. I can now confirm : the 3.105 update isn't installed (it might be downloaded though) on the client side. I tweaked the package (some chars added to the COPYING file), and clearly it's nowhere to be found client-side. -- Olivier -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] updates.php and lightning
Am 14.04.2011 12:23, schrieb Olivier Migeot: 2011/4/14 André Schildan...@schild.ws: What does your webserver log tells you ? Does thunderbird realy download the sogo-integrator-3.105-sogo-perso.xpi or is perhaps a public read right missing... ? 192.168.1.82 - - [14/Apr/2011:12:03:43 +0200] GET /updates.php?plugin=sogo-integra...@inverse.caversion=0.00platform=WINNT_x86-msvc HTTP/1.1 200 387 - Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2.105i Thunderbird/3.1.6 192.168.1.82 - - [14/Apr/2011:12:03:44 +0200] GET /updates.php?plugin=sogo-connec...@inverse.caversion=0.00platform=WINNT_x86-msvc HTTP/1.1 200 380 - M ozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2.105i Thunderbird/3.1.6 192.168.1.82 - - [14/Apr/2011:12:03:44 +0200] GET /updates.php?plugin=%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7Dversion=0.00platform=WINNT_x86-msvc HTTP/1. 1 200 410 - Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2.105i Thunderbird/3.1.6 From what I understand, the three extenstions are correctly located (200 code). All of them are 644. But they are not downloaded You should see a request for the perso.xpi file as well in the logs. Do you perhaps have a mixup of host names and ip addresses, or some kind of http/https differences ? André -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] updates.php and lightning
On Thu, Apr 14, 2011 at 2:01 PM, Olivier Migeot larry...@gmail.com wrote: Ok, just tried it on a clean profile : installed and configured Integrator 3.104 and let it update by itself. I can now confirm : the 3.105 update isn't installed (it might be downloaded though) on the client side. I tweaked the package (some chars added to the COPYING file), and clearly it's nowhere to be found client-side. I think I got it now. Let's see if I'm right : I tried to chmod my XPI to 000, and still Apache went all oh, everything is fine, come and get that 200 code!. So there was something. I thought those calls to updates.php integrated the xpi in the response but I was wrong. So I checked the responses. These are XML, which includes an updateLink. All of them (I mean for each and every extension) points to inverse.ca server. So clearly Integrator can't be downloaded. Which puzzles me is that it worked on the previous version... Anyway, I'll check this out and the case will be closed. -- Olivier -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] updates.php and lightning
Am 13.04.2011 12:02, schrieb Olivier Migeot: On Tue, Apr 12, 2011 at 6:08 PM, Olivier Migeotlarry...@gmail.com wrote: I might be wrong - it's a little late here - but I can't see where it's hidden... I went back to the documentation (which I haven't read since version 1.3.4, shame on me), and I found something about updateLink needing to be set to something else than inverse.ca/extensions/ What is it for exactly? What kind of data should I serve at this (customized) URL? Thanks. Hi, have a look here: http://sogo.deeproot.in/tbint Cheers. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] updates.php and lightning
Am 12.04.2011 11:16, schrieb J. Echter: Hi, my updates.php works with sogo-integrator sogo-connector, but if i change version and stuff for lightning it doesn't get updated automatically. Thunderbird 3.x Windows XP Pro updates.php: sogo-connec...@inverse.ca = array( application = thunderbird, version = 3.105, filename = sogo-connector-3.105.xpi ), sogo-integra...@inverse.ca = array( application = thunderbird, version = 3.105, filename = thunderbird-integrator.xpi ), {e2fda1a4-762b-4020-b5ad-a41df1933103} = array( application = thunderbird, version = 1.0b2.105i, filename = lightning-1.0b2.105i_win32.xpi ) what am i missing here? greetings juergen Hi juergen, your update.php looks o.k. You forgot to add an entry for lightning in the extensions.rdf (sogo-integrator)? --8--8--8-- ... li Description em:id=sogo-connec...@inverse.ca em:name=SOGo Connector/ /li li Description em:id={e2fda1a4-762b-4020-b5ad-a41df1933103} em:name=Lightning/ /li /Seq /RDF --8--8--8-- cu Sven -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] updates.php and lightning
Am 12.04.2011 15:03, schrieb Sven Marth: Am 12.04.2011 11:16, schrieb J. Echter: Hi, my updates.php works with sogo-integrator sogo-connector, but if i change version and stuff for lightning it doesn't get updated automatically. Thunderbird 3.x Windows XP Pro updates.php: sogo-connec...@inverse.ca = array( application = thunderbird, version = 3.105, filename = sogo-connector-3.105.xpi ), sogo-integra...@inverse.ca = array( application = thunderbird, version = 3.105, filename = thunderbird-integrator.xpi ), {e2fda1a4-762b-4020-b5ad-a41df1933103} = array( application = thunderbird, version = 1.0b2.105i, filename = lightning-1.0b2.105i_win32.xpi ) what am i missing here? greetings juergen Hi juergen, your update.php looks o.k. You forgot to add an entry for lightning in the extensions.rdf (sogo-integrator)? --8--8--8-- ... li Description em:id=sogo-connec...@inverse.ca em:name=SOGo Connector/ /li li Description em:id={e2fda1a4-762b-4020-b5ad-a41df1933103} em:name=Lightning/ /li /Seq /RDF --8--8--8-- cu Sven Hi, yeah forgot to add this one. Thanks a lot. Greetings Juergen -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] updates.php and lightning
Strange things : here - as previously stated - it restarts update process over and over again. Looking at Apache's logs, I've found this : /updates.php?plugin=sogo-integra...@inverse.caversion=0.00platform=WINNT_x86-msvc (similar for the three addons) Simple question : why is version=0.00? shouldn't it reflect the current/wanted version or something? For now I desactivated the integrator addon, but that's far from being a solution. Thanks for ideas... -- Olivier -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] updates.php and lightning
2011/4/12 André Schild an...@schild.ws: Version=0.00 is normal in the request. Ok, good to hear/read. But when it reinstalls forever, then the versions in your update.php do not match the versions in the components downloaded and installed. Well, it looks alright. Is there any way for me to debug this? Because each XPI's install.rdf claims the same version number as updates.php... -- Olivier -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] updates.php and lightning
On Tue, Apr 12, 2011 at 6:00 PM, Ludovic Marcotte lmarco...@inverse.ca wrote: Show the evidences that prove this. Well, first of all, updates.php: sogo-connec...@inverse.ca = array( application = thunderbird, version = 3.105, filename = sogo-connector-3.105.xpi ), sogo-integra...@inverse.ca = array( application = thunderbird, version = 3.105, filename = sogo-integrator-3.105-sogo-ccpo.xpi ), {e2fda1a4-762b-4020-b5ad-a41df1933103} = array( application = thunderbird, version = 1.0b2.105i, filename = lightning-1.0b2.105i_win32.xpi ) Then install.rdf in sogo-connector-3.105.xpi: ?xml version=1.0? RDF xmlns:em=http://www.mozilla.org/2004/em-rdf#; xmlns:NC=http://home.netscape.com/NC-rdf#; xmlns=http://www.w3.org/1999/02/22-rdf-syntax-ns#; Description about=urn:mozilla:install-manifest em:name=Inverse SOGo Connector em:id=sogo-connec...@inverse.ca em:version=3.105 em:description=A DAV plugin for keeping addressbooks and events in sync em:iconURL=chrome://sogo-connector/skin/addressbook/sogo.png em:creator=Inverse lt;supp...@inverse.ca em:homepageURL=http://sogo.nu/downloads/frontends.html; em:developerInverse lt;supp...@inverse.ca/em:developer em:contributorChris Bryant/em:contributor em:contributorDamon Hart/em:contributor em:contributorDominik Gehl/em:contributor em:contributorHelge Hess/em:contributor em:contributorLudovic Marcotte/em:contributor em:contributorMark Banner for the inputs on the address book architecture http://www.standard8.plus.com//em:contributor em:contributorNeil Deakin/em:contributor em:contributorPaolo Kaosmos/em:contributor em:contributorRaffael Luthiger for the German translation/em:contributor em:contributorRalf Becker for eGroupware integration/em:contributor em:contributorRegis Balzard (for the chocolate)/em:contributor em:contributorWilfried Goesgens/em:contributor em:targetApplication Description em:id{3550f703-e582-4d05-9a08-453d09bdfdc6}/em:id em:minVersion3.0/em:minVersion em:maxVersion3.1.*/em:maxVersion /Description /em:targetApplication /Description /RDF Then in sogo-integrator-3.105-sogo-ccpo.xpi (my customized version) : ?xml version=1.0? !DOCTYPE RDF RDF xmlns=http://www.w3.org/1999/02/22-rdf-syntax-ns#; xmlns:em=http://www.mozilla.org/2004/em-rdf#; xmlns:NC=http://home.netscape.com/NC-rdf#; Description about=rdf:#$Iwquq2 em:id={3550f703-e582-4d05-9a08-453d09bdfdc6} em:minVersion=3.0 em:maxVersion=3.1.* / !-- em:optionsURL=chrome://sogo-integrator/content/general/preferences.xul -- Description about=urn:mozilla:install-manifest em:name=Inverse SOGo Integrator em:id=sogo-integra...@inverse.ca em:version=3.105 em:description=A SOGo integration plugin for Thunderbird and Lightning em:iconURL=chrome://sogo-integrator/skin/sogo.png em:creator=Inverse lt;supp...@inverse.cagt; em:developer=Inverse lt;supp...@inverse.cagt; em:targetApplication resource=rdf:#$Iwquq2/ /Description /RDF And then in lightning-1.0b2.105i_win32.xpi : ?xml version=1.0? RDF xmlns=http://www.w3.org/1999/02/22-rdf-syntax-ns#; xmlns:em=http://www.mozilla.org/2004/em-rdf#; Description about=urn:mozilla:install-manifest !-- Target Application this extension can install into, with minimum and maximum supported versions. -- em:targetApplication Description !-- thunderbird -- em:id{3550f703-e582-4d05-9a08-453d09bdfdc6}/em:id em:minVersion3.1/em:minVersion em:maxVersion3.1.*/em:maxVersion /Description /em:targetApplication em:id{e2fda1a4-762b-4020-b5ad-a41df1933103}/em:id em:nameLightning (Inverse Edition)/em:name em:version1.0b2.105i/em:version !-- BuildID=20110408115632 -- em:descriptionAn integrated calendar for Thunderbird/em:description em:creatorMozilla Calendar Project/em:creator em:homepageURLhttp://inverse.ca/contributions/lightning.html/em:homepageURL em:iconURLchrome://calendar/skin/cal-icon32.png/em:iconURL em:optionsURLchrome://messenger/content/preferences/preferences.xul/em:optionsURL em:targetPlatformWINNT_x86-msvc/em:targetPlatform /Description /RDF I might be wrong - it's a little late here - but I can't see where it's hidden... Regards, -- Olivier -- users@sogo.nu https://inverse.ca/sogo/lists