On 1/21/2011 4:49 PM, Donny Brooks wrote:
On 1/21/2011 2:42 PM, Brian Kirkman wrote:
On 1/21/2011 1:32 PM, Donny Brooks wrote:
I think I have it installed now. I setup the integrator and update
server according to the documentation. Once I made my IMAP account
default (rather than local folders that gave me user 'nobody') I am
able to log in and see my screens. Now the only issue is that
thunderbird just sits there doing nothing. I cannot click on
anything and the little connecting wheel stays spinning, like it is
connecting, on the top right corner. What can I check to see what
could be wrong? Without lightning, integrator, and connector
thunderbird runs fine.
Are you using SSL? Thunderbird didn't think my certificates were "up
to par" on startup, so I was having to manually accept them. When I
was doing that, the Integrator would "spin". I took the time to
import my certificates and set Thunderbird to accept them, and then
Integrator took off. One could/should also take the time to make
sure their certificates are good. Maybe post your updates.php and
the change you made to Integrator's "extensions.rdf" file if you're
still having problems.
SSL... yep. And that appeared to be it. I had already added the
exception for my site but it didn't like it. I let it be for a while
and once I came back, fired up thunderbird, and all was well. Seems
like this may be what we need for end users. Thanks for all the
assistance!
Donny B.
MDAH
Ok, one more question I hope. Could someone look over my updates.php and
see if I did something wrong. It appears when a client installs the
modified integrator package it is not able to pull the lightning and
connector from the update server. Anywhere you see domain.tld I have my
actual domain there in the config. Here is my updates.php:
<?php
/* updates.php - this file is part of SOGo
*
* Copyright (C) 2006-2010 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourd...@inverse.ca>
*
* 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-Connector"
=> array( "application" => "thunderbird",
"version" => "3.104",
"filename" => "sogo-connector-3.104.xpi" ),
"SOGo-Integrator"
=> array( "application" => "thunderbird",
"version" => "3.104",
"filename" => "sogo-integrator-3.104-MDAH.xpi" ),
"{e2fda1a4-762b-4020-b5ad-a41df1933103}"
=> array( "application" => "thunderbird",
"version" => "1.0b2.104i_win32",
"filename" => "lightning-1.0b2.104i_win32.xpi" )
);
$applications
= array( "thunderbird" =>
"<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
<em:minVersion>3.1.0</em:minVersion>
<em:maxVersion>3.1.*</em:maxVersion>" );
$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 ('<?xml version="1.0"?>' . "\n");
?>
<!DOCTYPE RDF>
<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:extension:<?php echo $pluginname ?>">
<em:updates>
<Seq>
<li>
<Description>
<em:version><?php echo $plugin["version"] ?></em:version>
<em:targetApplication>
<Description><?php echo $applications[$plugin["application"]] ?>
<em:updateLink>http://domain.tld/downloads/extensions/<?php echo
$plugin["filename"] ?></em:updateLink>
</Description>
</em:targetApplication>
</Description>
</li>
</Seq>
</em:updates>
</Description>
</RDF>
<?php
} else {
header("Content-type: text/plain; charset=utf-8", true, 404);
echo( 'Plugin not found' );
}
?>
Here is my extensions.rdf file from the integrator xpi file:
<?xml version="1.0"?>
<!DOCTYPE RDF>
<RDF xmlns="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#">
<Seq about="http://inverse.ca/sogo-integrator/extensions"
isi:updateURL="http://domain.tld/plugins/updates.php?plugin=%ITEM_ID%&version=%ITEM_VERSION%&platform=%PLATFORM%">
<li>
<Description
em:id="{e2fda1a4-762b-4020-b5ad-a41df1933103}"
em:name="Lightning"/>
</li>
<li>
<Description
em:id="SOGo-Integrator"
em:name="SOGo Integrator"/>
</li>
<li>
<Description
em:id="SOGo-Connector"
em:name="SOGo Connector"/>
</li>
</Seq>
</RDF>
I placed the updates.php under /var/www/html/plugins as per the
documentation and the .xpi files for lightning, integrator, and
connector are under /var/www/downloads/extensions. I must be missing
something. If I link the files to the same directory as the updates.php
they install properly but keep thunderbird in a constant reboot loop
until I remove the links.
Donny B.
MDAH
--
users@sogo.nu
https://inverse.ca/sogo/lists