Re: [SOGo] Thunderbird SOGo Integrator Restart Loop

2011-03-12 Thread Birger Brunswiek

On 24/01/2011 22:16, Birger Brunswiek wrote:
After installing [SOGo Integrator] in Thunderbird I can see 
Thunderbird downloading the connector and lightning extensions. They 
are also correctly saved in the user's temp directory. Thunderbird 
then requests a restart and restarts itself if I do not approve within 
seconds. Thunderbird then starts to download the extensions again, 
requests a restart, restarts and keeps doing this forever. The 
extensions actually never get installed.


[...]
Interestingly the files written to the user's temp directory are 
called sogo-connector-3.104.xpi and lightning-1.0b2.104i.xpi but they 
are in fact gzips of the original files provided by the update server. 
Those files cannot be installed in Thunderbird directly unless I 
ungzip them.


Turn's out that Apache's mod defalte is the source of all evil ... I 
disabled it for Thunderbird, and everything's working now.


Cheers,
Birger
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Thunderbird SOGo Integrator Restart Loop

2011-02-10 Thread Gabriel Thörnblad

On 2011-01-24 23:53, Birger Brunswiek wrote:

On 24/01/2011 22:35, Martin Rabl wrote:

I had the same behavior - did you try install under Windows 7?


I tried Windows XP and Ubuntu 10.04 LTS. Same effect.


Installing all Plugins manually and restart after every plugin installation did 
help.


Yes, that work's but only until the next update on the update server.

Cheers,
Birger


I don't know if you still have this problem, but for me the solution was 
to disable directory listing in apache (Options -Indexes) for the 
extensions/plugin directory.


Gabriel

--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Thunderbird SOGo Integrator Restart Loop

2011-01-24 Thread Birger Brunswiek
Hi All,
I setup a custom integrator plugin (version 3.104) for Thunderbird.
Following the documentation
http://www.sogo.nu/files/docs/SOGo%20Mozilla%20Thunderbird%20Configuration.pdf
I created a custom rdf and updates.php file (attached). After installing
the plugin in Thunderbird I can see Thunderbird downloading the
connector and lightning extensions. They are also correctly saved in the
user's temp directory. Thunderbird then requests a restart and restarts
itself if I do not approve within seconds. Thunderbird then starts to
download the extensions again, requests a restart, restarts and keeps
doing this forever. The extensions actually never get installed.

If I install the connector and lightning extensions manually and then
install the connector, everything is working just fine as long as I do
not change updates.php to instruct the connector to perform an upgrade
in which case the download-restart-loop returns.

Any pointers?

Interestingly the files written to the user's temp directory are called
sogo-connector-3.104.xpi and lightning-1.0b2.104i.xpi but they are in
fact gzips of the original files provided by the update server. Those
files cannot be installed in Thunderbird directly unless I ungzip them.

Cheers,
Birger



extensions.rdf
Description: application/rdf
 text/html; name="updates.php": Unrecognized 


Re: [SOGo] Thunderbird SOGo Integrator Restart Loop

2011-01-24 Thread Martin Rabl
Hi,

I had the same behavior - did you try install under Windows 7?
Installing all Plugins manually and restart after every plugin installation did 
help.

Greetings,
  Martin

Am 24.01.2011 um 22:16 schrieb Birger Brunswiek:

 Hi All,
 I setup a custom integrator plugin (version 3.104) for Thunderbird. Following 
 the documentation I created a custom rdf and updates.php file (attached). 
 After installing the plugin in Thunderbird I can see Thunderbird downloading 
 the connector and lightning extensions. They are also correctly saved in the 
 user's temp directory. Thunderbird then requests a restart and restarts 
 itself if I do not approve within seconds. Thunderbird then starts to 
 download the extensions again, requests a restart, restarts and keeps doing 
 this forever. The extensions actually never get installed.
 
 If I install the connector and lightning extensions manually and then install 
 the connector, everything is working just fine as long as I do not change 
 updates.php to instruct the connector to perform an upgrade in which case the 
 download-restart-loop returns.
 
 Any pointers?
 
 Interestingly the files written to the user's temp directory are called 
 sogo-connector-3.104.xpi and lightning-1.0b2.104i.xpi but they are in fact 
 gzips of the original files provided by the update server. Those files cannot 
 be installed in Thunderbird directly unless I ungzip them.
 
 Cheers,
 Birger
 
 extensions.rdfupdates.php

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Thunderbird SOGo Integrator Restart Loop

2011-01-24 Thread Brian Kirkman

On 1/24/2011 3:16 PM, Birger Brunswiek wrote:

Hi All,
I setup a custom integrator plugin (version 3.104) for Thunderbird. 
Following the documentation 
http://www.sogo.nu/files/docs/SOGo%20Mozilla%20Thunderbird%20Configuration.pdf 
I created a custom rdf and updates.php file (attached). After 
installing the plugin in Thunderbird I can see Thunderbird downloading 
the connector and lightning extensions. They are also correctly saved 
in the user's temp directory. Thunderbird then requests a restart and 
restarts itself if I do not approve within seconds. Thunderbird then 
starts to download the extensions again, requests a restart, restarts 
and keeps doing this forever. The extensions actually never get installed.


If I install the connector and lightning extensions manually and then 
install the connector, everything is working just fine as long as I do 
not change updates.php to instruct the connector to perform an upgrade 
in which case the download-restart-loop returns.


Any pointers?

Interestingly the files written to the user's temp directory are 
called sogo-connector-3.104.xpi and lightning-1.0b2.104i.xpi but they 
are in fact gzips of the original files provided by the update server. 
Those files cannot be installed in Thunderbird directly unless I 
ungzip them.


Cheers,
Birger



Part of your updates.php file looks suspect.  Try the following instead.

$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;
  }
}

Are your plugins in the downloads folder with your updates.php?  The 
Integrator and Connector should be in the same folder, and the Lightning 
plugin should be in it's respective platform-dependent sub-directory.


--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Thunderbird SOGo Integrator Restart Loop

2011-01-24 Thread Birger Brunswiek
On 24/01/2011 22:50, Brian Kirkman wrote:
 Part of your updates.php file looks suspect.  Try the following instead.

I changed that bit intentionally. The integrator and the connector
extensions are in a subdirectory named /extensions/ and the platform
specific lightning extensions are in the subdirectory
/extensions/$platform/. You can browse the directory structure at
https://www.wmicomputer.de/downloads/.

 Are your plugins in the downloads folder with your updates.php?

No, they are in the /extensions/ subdirectory, but I think the connector
does retrieve the extensions correctly as I can see copies of them in
the user's temp directory after Thunderbird requested to be restarted.

Cheers,
Birger

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Thunderbird SOGo Integrator Restart Loop

2011-01-24 Thread Birger Brunswiek
On 24/01/2011 22:35, Martin Rabl wrote:
 I had the same behavior - did you try install under Windows 7?

I tried Windows XP and Ubuntu 10.04 LTS. Same effect.

 Installing all Plugins manually and restart after every plugin installation 
 did help.

Yes, that work's but only until the next update on the update server.

Cheers,
Birger
-- 
users@sogo.nu
https://inverse.ca/sogo/lists