[SOGo] SOS sogo daemon doesn't longer start

2012-11-23 Thread gerard.breiner

I can't longer access to the sogo.mydomain I get the message :

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance
downtime or capacity problems. Please try again later.

tail /var/log/apache2/sogo_error.log say :
ap_proxy_connect_backend disabling worker for (127.0.0.1)

I run :  service sogo start  
I get  : Starting SOGo: sogo
I run : service sogo status
I get sogo is not running ... failed!

I don't understand why the sogod daemon didn't longer start. What on earth
could be wrong.

My config apache is as below :



VirtualHost *:443
   Servername sogo.domain.fr
   SSLEngine On
   SSLCertificateFile /etc/apache2/ssl.fac/wildcard.ias.u-psud.fr.crt
   SSLCertificateKeyFile /etc/apache2/ssl.fac/wildcard.ias.u-psud.fr.key
   DocumentRoot /usr/lib/GNUstep/SOGo/WebServerResources/
   ErrorLog /var/log/apache2/sogo-error.log
   Customlog /var/log/apache2/sogo-access.log combined
   ServerSignature Off
   IfModule mpm_itk_module
   AssignUserId sogo-a sogo-a
  /IfModule

   Alias /SOGo.woa/WebServerResources/
/usr/lib/GNUstep/SOGo/WebServerResources/
   Alias /SOGo/WebServerResources/ /usr/lib/GNUstep/SOGo/WebServerResources/
   AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*)
/usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2

   Directory /usr/lib/GNUstep/SOGo/
  AllowOverride None
  Order deny,allow
  Allow from all
   /Directory

   LocationMatch
^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)
 SetHandler default-handler
   /LocationMatch

   ProxyRequests off
   SetEnv proxy-nokeepalive 1
#   SetEnv proxy-initial-not-pooled 1
   ProxyPreserveHost On
   ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0
#  ProxyPass /SOGo https://sogo.ias.u-psud.fr:2/SOGo retry=0

   Proxy http://129.175.64.232:2/SOGo
 RequestHeader set x-webobjects-server-port 443
 RequestHeader set x-webobjects-server-name sogo.ias.u-psud.fr
 RequestHeader set x-webobjects-server-url https://sogo.domain.fr;
 RequestHeader set x-webobjects-server-protocol HTTP/1.0
 RequestHeader set x-webobjects-remote-host %{REMOTE_HOST}e
env=REMOTE_HOST
 AddDefaultCharset UTF-8
 Order allow,deny
 Allow from all
   /Proxy
## We use mod_rewrite to pass remote address to the SOGo proxy.
   # The remote address will appear in SOGo's log files and in the X-Forward
   # header of emails.
   RewriteEngine On
   RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]

   Redirect permanent /index.html https://sogo.ias.u-psud.fr/SOGo

/Virtualhost

Thanks in advance.

Best regards

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


[SOGo] Questions about Horde to SOGo

2012-11-19 Thread gerard.breiner
Hello,


I try to use the script TurbaConverter so that to migrate horde's contacts to
sogo but unsuccessful.
In order to track this issue I added in TurbaConverter the line :
print put.response[body].
So when I run ./turba user I get :

!DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN
htmlhead
title302 Found/title
/headbody
h1Found/h1
pThe document has moved a
href=https://sogo.domain/SOGo/dav/gbreiner/Contacts/personal/6e7e576eb0f43908ffce5501cd484e70.vcf;here/a./p
/body/html

Could you please tell me what mean The document has moved ?
When I logged to the server
https://sogo.domain/SOGo/dav/gbreiner/Contacts/personalfrom my local computer
Mac I can see 
some file as 297B-50A6BD80-11-22DBB680.vcf except
6e7e576eb0f43908ffce5501cd484e70.vcf.

When I logged in soho and click on Address Book the contacts imported from
horde via TurbaConverter doesn't show up.

I would be glad to get some hints…

Thanks in advance.

Kind regards

Gerard Breiner
Institut d'Astrophysique Spatiale
FR.91405 Bât 121 Campus Orsay-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] My way to customize SOGo's to toolbar

2012-11-16 Thread gerard.breiner
Ideas for customize the SOGo's top toolbar

Hello 
As I needed to add some links in the toolbar I thought it would be nice to
write here how I managed to.
Suppose we want to add a link for a web ftp-client ajaxplorer that opens
himself into a new window.

1) 
   a) su - sogo
   b) cd GNUstep/Library/SOGo/Templates/
   c) cp /usr/lib/GNUstep/SOGo/Templates/UIxPageFrame.wox .
   d) cp /usr/lib/GNUstep/SOGo/WebServerResources/generic.js . 
   e) vim UIxPageFrame.wox

  Find the instruction bloc that begin by var:if
condition=userHasMailAccess 
  Then just after the end of this bloc and before the bloc a
id=preferencesBannerLink I added my first link :

a id=FTPBannerLink style=color:#1589FF;
var:href=https://ajaxplorer.mydomain.fr;
var:string label:value=FTP IAS //a 

2) 
   a) vim generic.js 
   b) just after the function onPreferencesClick I created a the function
onFTPClick 

function onFTPClick(event) {
var urlstr = https://ajaxplorer.mydomain.fr;;
var windowSize =
width=900px,height=600px,resizable=1,scrollbars=1,location=0;
var w = window.open(urlstr, FTP IAS, windowSize);
w.opener = window;
w.focus();
}

   c)Then you move into the function configureLinkBanner() and just before the
line link = $(preferencesBannerLink); you  add your link :

link = $(FTPBannerLink);
if (link) {
link.observe(mousedown, listRowMouseDownHandler);
link.observe(click, clickEventWrapper(onFTPClick));
}
3) as user root we create symbolic links after deleting the original files (you
could make a copy of each of them before making this)
   a) rm -f /usr/lib/GNUstep/SOGo/Templates/UIxPageFrame.wox 
   b) rm - /usr/lib/GNUstep/SOGo/WebServerResources/generic.js 
   c) ln -s /home/sogo/GNUstep/Library/SOGo/Templates/UIxPageFrame.wox
/usr/lib/GNUstep/SOGo/Templates/UIxPageFrame.wox
   d) ln -s /home/sogo/GNUstep/Library/SOGo/Templates/generic.js
/usr/lib/GNUstep/SOGo/WebServerResources/generic.js 

By following this way you can create several other links that will opens
themselves in another window by clicking on them.
 
Note-1 : the symbolic links created above (ln -s ….) are supposed (I hope) to
avoid theses two files to be overwriting at the next upgrade of sogo.
Note-2 : I do not know why but that doesn't work if my personal link is after
the one of the preferences.

Hoping this can help you…

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

Re: Re: [SOGo] SOGoUIAdditionalCSSFiles

2012-11-16 Thread gerard.breiner
Hello,

I can see the css that is used... I can say it is not my customized css file...
IMHO  SOGoUIAdditionalCSSFiles doesn't work no more than
SOGoUIAdditionalJSFiles. 
If you are insterested in customizing I've just written to explain how to
customized the sogo's toolbar here
https://inverse.ca/sogo/lists/arc/users/2012-11/msg00192.html

Tell me if that help you.

Best regards

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


Re: [SOGo] Downgrading to 2.0.1

2012-10-25 Thread gerard.breiner
apt-cache policy sogo  give :

sogo:
  Installé : 2.0.2-1
  Candidat : 2.0.2-1

So, it seems 2.0.1 is not longer in the cache.

Best regards

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