Koozali.org: home of the SME Server

Latest upgrade and Sogo

Offline dalex

  • 17
  • +0/-0
Latest upgrade and Sogo
« on: December 04, 2011, 11:23:59 AM »
After the latest upgrade, Sogo refused to start. After a a search, i re-installed the package as suggested (to get the latest Sope packages).

Sogo started but shows a broken 1st page (login) and goes no further from there.

I tried to erase the Sogo database and re-install, but still the same result. I suspect PHP53 (broken my VegaDNS already..).

Anyone else with Sogo installed please?
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Latest upgrade and Sogo
« Reply #1 on: December 04, 2011, 06:41:32 PM »
You should find out the error in the log files. Did you already check your webserver logfiles? You can also use this perhaps: http://wiki.contribs.org/PHP#Display_Error_Messages
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Latest upgrade and Sogo
« Reply #2 on: December 04, 2011, 10:54:27 PM »
Yes, you can fix it by editing /etc/e-smith/templates/etc/httpd/conf/httpd.conf/85SOGoAccess

the PATH should be; /usr/lib/GNUstep/

Code: [Select]
# SOGo Groupware
{
    $sogoStatus = $sogod{'status'} || "disabled";
    $webmailStatus = $imp{'status'} || "disabled";

    $OUT = "";

    if (($webmailStatus eq 'disabled') and ($sogoStatus eq 'enabled')) {
        $OUT = "Redirect /webmail https://${DomainName}/SOGo";
    }
}

Redirect /sogo https://{$DomainName}/SOGo

ProxyPass /SOGo http://127.0.0.1:{$sogod{'TCPPort'}}/SOGo
ProxyPassReverse /SOGo http://127.0.0.1:{$sogod{'TCPPort'}}/SOGo

<Location /SOGo>
   order deny,allow
   deny from all
   allow from all
   SSLRequireSSL on
   RequestHeader set "x-webobjects-server-url" "https://{$DomainName}/SOGo"
</Location>

Alias /.woa/WebServerResources/ /usr/lib/GNUstep/SOGo/WebServerResources/
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/WebServerResources/">
    AllowOverride None
    Options +ExecCGI -Includes
    Order allow,deny
    Allow from all
</Directory>

Offline dalex

  • 17
  • +0/-0
Re: Latest upgrade and Sogo [SOLVED]
« Reply #3 on: December 04, 2011, 11:24:45 PM »

Just corrected, regenerated the template, restarted httpd, stopped sogo, restored the database from backup, started sogo, and all are in tact.

Thank you very much!

Yes, you can fix it by editing /etc/e-smith/templates/etc/httpd/conf/httpd.conf/85SOGoAccess

the PATH should be; /usr/lib/GNUstep/
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Latest upgrade and Sogo
« Reply #4 on: December 05, 2011, 09:40:13 AM »
Yes, you can fix it by editing /etc/e-smith/templates/etc/httpd/conf/httpd.conf/85SOGoAccess

the PATH should be; /usr/lib/GNUstep/

Code: [Select]
# SOGo Groupware
{
    $sogoStatus = $sogod{'status'} || "disabled";
    $webmailStatus = $imp{'status'} || "disabled";

    $OUT = "";

    if (($webmailStatus eq 'disabled') and ($sogoStatus eq 'enabled')) {
        $OUT = "Redirect /webmail https://${DomainName}/SOGo";
    }
}

Redirect /sogo https://{$DomainName}/SOGo

ProxyPass /SOGo http://127.0.0.1:{$sogod{'TCPPort'}}/SOGo
ProxyPassReverse /SOGo http://127.0.0.1:{$sogod{'TCPPort'}}/SOGo

<Location /SOGo>
   order deny,allow
   deny from all
   allow from all
   SSLRequireSSL on
   RequestHeader set "x-webobjects-server-url" "https://{$DomainName}/SOGo"
</Location>

Alias /.woa/WebServerResources/ /usr/lib/GNUstep/SOGo/WebServerResources/
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/WebServerResources/">
    AllowOverride None
    Options +ExecCGI -Includes
    Order allow,deny
    Allow from all
</Directory>
You should not fix the original template as this will be overwritten on updates. You should create a custom-template fragment instead as an override of the default settings.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline dalex

  • 17
  • +0/-0
Re: Latest upgrade and Sogo
« Reply #5 on: December 05, 2011, 01:20:53 PM »
Isn't it responsibility of smeserver-sogo package makers?

In the next version of the package the corrections should be incorporated. It's not a customization to put in templates-custom, it's a functional thing.

Anyway i kept a backup copy of both fragments.
...

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Latest upgrade and Sogo
« Reply #6 on: December 05, 2011, 01:51:52 PM »
it will be incorporated if you open a bug in bugzilla..

since then, you should make your editing in templates-custom dir

Offline hpg1953

  • 10
  • +0/-0
Re: Latest upgrade and Sogo
« Reply #7 on: December 29, 2011, 04:02:52 PM »
Hello,

I have updated Sogo and have the same Problems. After reinstall Sope I can start SOGo on the Server. But if I want to access the SOGo Server from a Client (https://ourserver/SOGo) I get the message that the service is not available.
I modifed the template 85SOGoaccess as described. Without success.
 ERROR logfile:

111 Connection refused: proxy HTTP:attempt to connect to 127.0.0.1:20000 (127.0.0.1) failed
ap_proxy_connect_backend disabling worker for (127.0.0.1)

Whats wrong now? Can you help me

regards