Hello all.

I wondered if someone could give me a hand getting extension updates working for Thunderbird 3.1. My Apache logs look like Integrator is connecting to the extensions OK, but Tbird never gets updated with the other extensions if they are missing. TB 2 clients work fine on the same system.

Per the Inverse team's earlier advice, I've got a separate updates.php file for TB 2 clients and an updates3.php file for TB 3 clients.

1) Integrator's extensions.rdf:

isi:updateURL="https://my.sogo.server/plugins/updates3.php?plugin=%ITEM_ID%&version=%ITEM_VERSION%&platform=%PLATFORM%";>
    <li>
      <Description
        em:id="[email protected]"
        em:name="SOGo Integrator"/>
    </li>
    <li>
      <Description
        em:id="[email protected]"
        em:name="SOGo Connector"/>
    </li>
    <li>
      <Description
        em:id="{e2fda1a4-762b-4020-b5ad-a41df1933103}"
        em:name="Lightning"/>
    </li>
    <li>
      <Description
        em:id="[email protected]"
        em:name="LookOut"/>
    </li>


2) Edited parts of plugins/updates3.php:

= array( "[email protected]"
         => array( "application" => "thunderbird",
                   "version" => "3.102pre1",
                   "filename" => "sogo-connector-3.102pre1.xpi" ),
         "[email protected]"
         => array( "application" => "thunderbird",
                   "version" => "3.102pre0",
                   "filename" => "sogo-integrator-3.102pre0.xpi" ),
         "{e2fda1a4-762b-4020-b5ad-a41df1933103}"
         => array( "application" => "thunderbird",
                   "version" => "1.0b2.102ipre2",
                   "filename" => "lightning-1.0b2.102ipre2.xpi" ),
         "[email protected]"
         => array( "application" => "thunderbird",
                   "version" => "1.2.11",
                   "filename" => "lookout-1.2.11.xpi" ));

...

$applications
= array( "thunderbird" => "<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
                <em:minVersion>3.0</em:minVersion>
                <em:maxVersion>3.1.*</em:maxVersion>" );

...

<em:updateLink>https://my.sogo.server/plugins/<?php echo $plugin["filename"] ?></em:updateLink>


3) Apache logs:

[11/Sep/2010:16:10:32 -0500] "GET /plugins/[email protected]&version=0.00&platform=Linux_x86_64-gcc3 HTTP/1.1" 200 784

[11/Sep/2010:16:10:33 -0500] "GET /plugins/[email protected]&version=0.00&platform=Linux_x86_64-gcc3 HTTP/1.1" 200 809

[11/Sep/2010:16:10:34 -0500] "GET /plugins/[email protected]&version=0.00&platform=Linux_x86_64-gcc3 HTTP/1.1" 200 804

[11/Sep/2010:16:10:35 -0500] "GET /plugins/updates3.php?plugin=%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D&version=0.00&platform=Linux_x86_64-gcc3 HTTP/1.1" 200 840

Thank you.

--
Clay
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to