Re: [SOGo] Addon update script reinstalls tb every time
Am 01.09.2011 18:15, schrieb Alessio Fattorini: > You have a lop when the version of one or more addon reported inside the > xpi (install.rdf modified by inverse) is not the same filename that you > are using inside update.php > Example: into install.rdf of sogo-connector version report is 3.105pre1 > but the filename is sogo-connector-3.105.xpi and the same is into > update.php, update reinstalls tb every time. > Because for update.php connector should be 3.105, but is not possibile > because version into install.rdf is always 3.105pre1 That was certainly not the problem, I checked and changed it multiple times. IMO there must have been an error in the connector, since it works with a nightly version. Jakob signature.asc Description: OpenPGP digital signature
Re: [SOGo] Addon update script reinstalls tb every time
You have a lop when the version of one or more addon reported inside the xpi (install.rdf modified by inverse) is not the same filename that you are using inside update.php Example: into install.rdf of sogo-connector version report is 3.105pre1 but the filename is sogo-connector-3.105.xpi and the same is into update.php, update reinstalls tb every time. Because for update.php connector should be 3.105, but is not possibile because version into install.rdf is always 3.105pre1 I hope this help -- Alessio Fattorini (alessio.fattor...@nethesis.it) nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU) tel. +39 0721 405516 - fax +39 0721 268147 www.nethesis.it - i...@nethesis.it -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Addon update script reinstalls tb every time
On 23.08.2011 12:42, Jakob Lenfers wrote: > So shortly, I don't understand why the extension always reinstalls, help > would be much appreciated. I still don't understand it, but the nightly version of the integrator/connector doesn't do that anymore. I'm not completly comfortable using them in production, but I guess I'll test todays version a bit and hope all goes well. :) Thanks for bearing with me, Jakob signature.asc Description: OpenPGP digital signature
Re: [SOGo] Addon update script reinstalls tb every time
On 25.08.2011 12:09, Julian Robbins wrote: > On 25/08/11 10:23, Jakob Lenfers wrote: >> Has anybody an idea on how to debug that? I checked all versions already >> and I couldn't find anything in the terminal when starting thunderbird >> from there. Also thunderbirds error log is empty. Don't know where to >> check further. > Check the web server access/error logs. That will indicate exactly what > your Integrator is trying to download, then put that address in a > browser and see what it says ... Thanks, but I did all that. It downloads the same version over and over again. With the same install.rdf as I already have in my thunderbird profile. IMO it has to be an error in the updater code, but I don't know how to further debug it. Jakob signature.asc Description: OpenPGP digital signature
Re: [SOGo] Addon update script reinstalls tb every time
On 25/08/11 10:23, Jakob Lenfers wrote: Am 23.08.2011 12:42, schrieb Jakob Lenfers: So shortly, I don't understand why the extension always reinstalls, help would be much appreciated. Has anybody an idea on how to debug that? I checked all versions already and I couldn't find anything in the terminal when starting thunderbird from there. Also thunderbirds error log is empty. Don't know where to check further. Check the web server access/error logs. That will indicate exactly what your Integrator is trying to download, then put that address in a browser and see what it says ... Julian Jakob -- Kind Regards, Julian Robbins Web Marketing and IT Manager Q-par Angus Ltd Barons Cross Laboratories Leominster Herefordshire HR6 8RS United Kingdom Telephone +44 (0) 1568 612138 Fax +44 (0) 1568 616373 Web www.q-par.com IDEAS ENGINEERED - SPECIALISTS IN MICROWAVE and RF ENGINEERING (Registered office) Incorporated in England No 1826221 -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Addon update script reinstalls tb every time
Am 23.08.2011 12:42, schrieb Jakob Lenfers: > So shortly, I don't understand why the extension always reinstalls, help > would be much appreciated. Has anybody an idea on how to debug that? I checked all versions already and I couldn't find anything in the terminal when starting thunderbird from there. Also thunderbirds error log is empty. Don't know where to check further. Jakob signature.asc Description: OpenPGP digital signature
Re: [SOGo] Addon update script reinstalls tb every time
Am 24.08.2011 16:04, schrieb Brian Kirkman: > I'm not sure your exact setup, but I did run into a similar situation a > few weeks ago. I can't give an exact answer why, but I think I was > trying to install mixed versions of extensions, i.e. 105, 106, nightly, > stable, etc. I decided to scrap it and use all the extensions from > nightly at the following location. > > https://inverse.ca/downloads/extensions/nightly/ > > I'm running SOGo nightly, and these nightly extensions all pushed > successfully to multiple workstations once properly configured. They > have been stable as far as I can tell. Thanks for the input, but I'm not too confident using nightlies (since my nightlies might differ from the ones you checked out). As far as the version mix is concerned: I tried it with the versions that are on the homepage (http://www.sogo.nu/downloads/frontends.html) and it didn't change anything. But thanks for your input. Jakob signature.asc Description: OpenPGP digital signature
Re: [SOGo] Addon update script reinstalls tb every time
Am 08/24/2011 04:12 PM, schrieb Dennis Petschull: > Hi Jakob, > > I can see from your updates.php that you changed the version number of > the integrator plugin from "3.105" to "3.105-jl1". Have you made sure to > also change this setting in the "Install.rdf" file in the integrator xpi? Yes I did. The integrator isn't the problem, it was updated once and only once. But lightning, which I didn't modify, does it every time. :( Jakob -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Addon update script reinstalls tb every time
On 24/08/11 15:12, Dennis Petschull wrote: Hi Jakob, I can see from your updates.php that you changed the version number of the integrator plugin from "3.105" to "3.105-jl1". Have you made sure to also change this setting in the "Install.rdf" file in the integrator xpi? This is the trap I fell in and ended up getting continuous downloading of addons ... May well be yours ... easy to miss .. Julian Cheers, Dennis -- two4.IT http://www.two4.it On 08/24/11 14:12, Jakob Lenfers wrote: Am 23.08.2011 17:18, schrieb Brian Kirkman: Please post your 'updates.php' and the 'extensions.rdf' portion of the integrator extension. Also, is your lightning extension in the proper 'system type' directory, i.e. WINNT_x86-msvc, etc? It is, and it gets downloaded properly. It just doesn't stop afterwards. Doesn't seem like I can attach files here... extensions.rdf http://www.w3.org/1999/02/22-rdf-syntax-ns#"; xmlns:isi="http://inverse.ca/sogo-integrator/"; xmlns:em="http://www.mozilla.org/2004/em-rdf#"; xmlns:NC="http://home.netscape.com/NC-rdf#";> http://inverse.ca/sogo-integrator/extensions"; isi:updateURL="http://groupware.bigsss-bremen.de/plugins/updates.php?plugin=%ITEM_ID%&version=%ITEM_VERSION%&platform=%PLATFORM%";> updates.php: * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This file is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; see the file COPYING. If not, write to * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ /* This script handles the automatic propagation of extensions pertaining to a SOGo site. It requires PHP 4.1.0 or later. */ $plugins = array( "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-jl1", "filename" => "sogo-integrator-BIGSSS-3.105-jl1.xpi" ), "e2fda1a4-762b-4020-b5ad-a41df1933103" => array( "application" => "thunderbird", "version" => "1.0b2.106pre2i", "filename" => "lightning-1.0b2.106pre2i.xpi" ) ); $applications = array( "thunderbird" => "{3550f703-e582-4d05-9a08-453d09bdfdc6} 3.1.0 3.1.*" ); $pluginname = $_GET["plugin"]; $plugin =& $plugins[$pluginname]; $application =& $applications[$plugin["application"]]; if ( $plugin ) { $platform = $_GET["platform"]; if ( $platform && file_exists( $platform . "/" . $plugin["filename"] ) ) { $plugin["filename"] = $platform . "/" . $plugin["filename"]; } elseif ( !file_exists( $plugin["filename"] ) ) { $plugin = false; } } if ( $plugin ) { header("Content-type: text/xml; charset=utf-8"); echo ('' . "\n"); ?> http://www.w3.org/1999/02/22-rdf-syntax-ns#"; xmlns:em="http://www.mozilla.org/2004/em-rdf#";> http://groupware.bigsss-bremen.de/plugins/ -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Addon update script reinstalls tb every time
Hi Jakob, I can see from your updates.php that you changed the version number of the integrator plugin from "3.105" to "3.105-jl1". Have you made sure to also change this setting in the "Install.rdf" file in the integrator xpi? Cheers, Dennis -- two4.IT http://www.two4.it On 08/24/11 14:12, Jakob Lenfers wrote: > Am 23.08.2011 17:18, schrieb Brian Kirkman: > >> Please post your 'updates.php' and the 'extensions.rdf' portion of the >> integrator extension. Also, is your lightning extension in the proper >> 'system type' directory, i.e. WINNT_x86-msvc, etc? > > It is, and it gets downloaded properly. It just doesn't stop afterwards. > > Doesn't seem like I can attach files here... > > extensions.rdf > > > > http://www.w3.org/1999/02/22-rdf-syntax-ns#"; > xmlns:isi="http://inverse.ca/sogo-integrator/"; > xmlns:em="http://www.mozilla.org/2004/em-rdf#"; > xmlns:NC="http://home.netscape.com/NC-rdf#";> > http://inverse.ca/sogo-integrator/extensions"; > > isi:updateURL="http://groupware.bigsss-bremen.de/plugins/updates.php?plugin=%ITEM_ID%&version=%ITEM_VERSION%&platform=%PLATFORM%";> > >em:id="sogo-integra...@inverse.ca" > em:name="SOGo Integrator"/> > > >em:id="sogo-connec...@inverse.ca" > em:name="SOGo Connector"/> > > >em:id="e2fda1a4-762b-4020-b5ad-a41df1933103" > em:name="Lightning Inverse Edition"/> > > > > > > updates.php: > > /* updates.php - this file is part of SOGo > * > * Copyright (C) 2006-2010 Inverse inc. > * > * Author: Wolfgang Sourdeau > * > * This file is free software; you can redistribute it and/or modify > * it under the terms of the GNU General Public License as published by > * the Free Software Foundation; either version 2, or (at your option) > * any later version. > * > * This file is distributed in the hope that it will be useful, > * but WITHOUT ANY WARRANTY; without even the implied warranty of > * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > * GNU General Public License for more details. > * > * You should have received a copy of the GNU General Public License > * along with this program; see the file COPYING. If not, write to > * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, > * Boston, MA 02111-1307, USA. > */ > > /* This script handles the automatic propagation of extensions > pertaining to a >SOGo site. It requires PHP 4.1.0 or later. */ > > $plugins > = array( > "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-jl1", >"filename" => "sogo-integrator-BIGSSS-3.105-jl1.xpi" ), > "e2fda1a4-762b-4020-b5ad-a41df1933103" > => array( "application" => "thunderbird", > "version" => "1.0b2.106pre2i", > "filename" => "lightning-1.0b2.106pre2i.xpi" ) > ); > > $applications > = array( "thunderbird" => > "{3550f703-e582-4d05-9a08-453d09bdfdc6} > 3.1.0 > 3.1.*" ); > > $pluginname = $_GET["plugin"]; > $plugin =& $plugins[$pluginname]; > $application =& $applications[$plugin["application"]]; > > if ( $plugin ) { > $platform = $_GET["platform"]; > if ( $platform >&& file_exists( $platform . "/" . $plugin["filename"] ) ) { > $plugin["filename"] = $platform . "/" . $plugin["filename"]; > } > elseif ( !file_exists( $plugin["filename"] ) ) { > $plugin = false; > } > } > > if ( $plugin ) { > header("Content-type: text/xml; charset=utf-8"); > echo ('' . "\n"); > ?> > > http://www.w3.org/1999/02/22-rdf-syntax-ns#"; > xmlns:em="http://www.mozilla.org/2004/em-rdf#";> > > > > > > > >$applications[$plugin["application"]] ?> > http://groupware.bigsss-bremen.de/plugins/ echo > $plugin["filename"] ?> > > > > > > > > > } else { > header("Content-type: text/plain; charset=utf-8", true, 404); > echo( 'Plugin not found' ); > } > ?> > -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Addon update script reinstalls tb every time
On 8/24/2011 7:12 AM, Jakob Lenfers wrote: Am 23.08.2011 17:18, schrieb Brian Kirkman: Please post your 'updates.php' and the 'extensions.rdf' portion of the integrator extension. Also, is your lightning extension in the proper 'system type' directory, i.e. WINNT_x86-msvc, etc? It is, and it gets downloaded properly. It just doesn't stop afterwards. Doesn't seem like I can attach files here... extensions.rdf updates.php: /* This script handles the automatic propagation of extensions pertaining to a SOGo site. It requires PHP 4.1.0 or later. */ $plugins = array( "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-jl1", "filename" => "sogo-integrator-BIGSSS-3.105-jl1.xpi" ), "e2fda1a4-762b-4020-b5ad-a41df1933103" => array( "application" => "thunderbird", "version" => "1.0b2.106pre2i", "filename" => "lightning-1.0b2.106pre2i.xpi" ) ); Jakob, I'm not sure your exact setup, but I did run into a similar situation a few weeks ago. I can't give an exact answer why, but I think I was trying to install mixed versions of extensions, i.e. 105, 106, nightly, stable, etc. I decided to scrap it and use all the extensions from nightly at the following location. https://inverse.ca/downloads/extensions/nightly/ I'm running SOGo nightly, and these nightly extensions all pushed successfully to multiple workstations once properly configured. They have been stable as far as I can tell. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Addon update script reinstalls tb every time
Am 24.08.2011 14:12, schrieb Jakob Lenfers: > Doesn't seem like I can attach files here... Damn, mail just took longer to come through. Sorry for the noise. Jakob signature.asc Description: OpenPGP digital signature
Re: [SOGo] Addon update script reinstalls tb every time
Am 23.08.2011 17:18, schrieb Brian Kirkman: > Please post your 'updates.php' and the 'extensions.rdf' portion of the > integrator extension. Also, is your lightning extension in the proper > 'system type' directory, i.e. WINNT_x86-msvc, etc? It is, and it gets downloaded properly. It just doesn't stop afterwards. Doesn't seem like I can attach files here... extensions.rdf http://www.w3.org/1999/02/22-rdf-syntax-ns#"; xmlns:isi="http://inverse.ca/sogo-integrator/"; xmlns:em="http://www.mozilla.org/2004/em-rdf#"; xmlns:NC="http://home.netscape.com/NC-rdf#";> http://inverse.ca/sogo-integrator/extensions"; isi:updateURL="http://groupware.bigsss-bremen.de/plugins/updates.php?plugin=%ITEM_ID%&version=%ITEM_VERSION%&platform=%PLATFORM%";> updates.php: * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This file is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; see the file COPYING. If not, write to * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ /* This script handles the automatic propagation of extensions pertaining to a SOGo site. It requires PHP 4.1.0 or later. */ $plugins = array( "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-jl1", "filename" => "sogo-integrator-BIGSSS-3.105-jl1.xpi" ), "e2fda1a4-762b-4020-b5ad-a41df1933103" => array( "application" => "thunderbird", "version" => "1.0b2.106pre2i", "filename" => "lightning-1.0b2.106pre2i.xpi" ) ); $applications = array( "thunderbird" => "{3550f703-e582-4d05-9a08-453d09bdfdc6} 3.1.0 3.1.*" ); $pluginname = $_GET["plugin"]; $plugin =& $plugins[$pluginname]; $application =& $applications[$plugin["application"]]; if ( $plugin ) { $platform = $_GET["platform"]; if ( $platform && file_exists( $platform . "/" . $plugin["filename"] ) ) { $plugin["filename"] = $platform . "/" . $plugin["filename"]; } elseif ( !file_exists( $plugin["filename"] ) ) { $plugin = false; } } if ( $plugin ) { header("Content-type: text/xml; charset=utf-8"); echo ('' . "\n"); ?> http://www.w3.org/1999/02/22-rdf-syntax-ns#"; xmlns:em="http://www.mozilla.org/2004/em-rdf#";> http://groupware.bigsss-bremen.de/plugins/ signature.asc Description: OpenPGP digital signature
Re: [SOGo] Addon update script reinstalls tb every time
Am 23.08.2011 17:18, schrieb Brian Kirkman: > Please post your 'updates.php' and the 'extensions.rdf' portion of the > integrator extension. Also, is your lightning extension in the proper > 'system type' directory, i.e. WINNT_x86-msvc, etc? It is, and it gets downloaded properly. It just doesn't stop afterwards. Hope I can attach files here... Regards, Jakob extensions.rdf Description: application/rdf <> signature.asc Description: OpenPGP digital signature
Re: [SOGo] Addon update script reinstalls tb every time
Am 23.08.2011 16:56, schrieb Alessio Fattorini: > Il 23/08/2011 12:42, Jakob Lenfers ha scritto: >> I wanted to use the automatic update of extension again and installed >> the updates.php on my webserver. But even though I use the exact version >> number in updates.php that can be found in lightnings install.rdf, it >> tries to reinstall every time. > Are you sure about filename of addon? Yes I am. The download works, it updates lightning, but it doesn't stop. After the restart it wants to install the same lightning version again and again, even though you can see in the local extensions folder that the correct version is installed. Jakob signature.asc Description: OpenPGP digital signature
Re: [SOGo] Addon update script reinstalls tb every time
On 8/23/2011 9:56 AM, Alessio Fattorini wrote: Il 23/08/2011 12:42, Jakob Lenfers ha scritto: Hi, I wanted to use the automatic update of extension again and installed the updates.php on my webserver. But even though I use the exact version number in updates.php that can be found in lightnings install.rdf, it tries to reinstall every time. Are you sure about filename of addon? Please post your 'updates.php' and the 'extensions.rdf' portion of the integrator extension. Also, is your lightning extension in the proper 'system type' directory, i.e. WINNT_x86-msvc, etc? -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Addon update script reinstalls tb every time
Il 23/08/2011 12:42, Jakob Lenfers ha scritto: Hi, I wanted to use the automatic update of extension again and installed the updates.php on my webserver. But even though I use the exact version number in updates.php that can be found in lightnings install.rdf, it tries to reinstall every time. Are you sure about filename of addon? -- Alessio Fattorini (alessio.fattor...@nethesis.it) nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU) tel. +39 0721 405516 - fax +39 0721 268147 www.nethesis.it - i...@nethesis.it -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Addon update script reinstalls tb every time
Hi, I wanted to use the automatic update of extension again and installed the updates.php on my webserver. But even though I use the exact version number in updates.php that can be found in lightnings install.rdf, it tries to reinstall every time. From the lightnings install.rdf on the server (happend with both versions 106pre and 105i): | {e2fda1a4-762b-4020-b5ad-a41df1933103} | Lightning (Inverse Edition) | 1.0b2.106pre2i From updates.php | $plugins | = array( | "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-jl1", |"filename" => "sogo-integrator-BIGSSS-3.105-jl1.xpi" ), | "e2fda1a4-762b-4020-b5ad-a41df1933103" | => array( "application" => "thunderbird", |"version" => "1.0b2.106pre2i", |"filename" => "lightning-1.0b2.106pre2i.xpi" ) | ); The update link in the generated RDF points to my server already and not the one from inverse. Download of lightning works from my server works (I can downgrade to 105i and the upgrade to 106pre2i) and the addon version in the addon manager matches. (The version in my profile in the install.rdf in the extensions directory matches as well.) So shortly, I don't understand why the extension always reinstalls, help would be much appreciated. TIA, Jakob signature.asc Description: OpenPGP digital signature