Upgrade from SOGo 1.3.14 to 2.0.2 on Debian 6.0.2 (Squeeze)
Since I upgraded my iPhone to iOS 6, I get weird issues with the SOGo Calendar. Looking at the ChangeLog, it seems it’s time to upgrade. Here are the (really simple) directions to upgrade from SOGo 1.3.14 to 2.0.2 on Debian 6.0.2 (aka Squeeze).
First of all, backup the data. In my case, I took a VM snapshot and dumped the SQL base:
# mysqldump --add-drop-database --compress --flush-logs -u root -p SOGo \ > SOGo-"`date +%Y%m%d`".sql
Then, update the package database and start the upgrade:
# apt-get update # apt-get -s upgrade # apt-get upgrade
Correct the PID file path:
# vi /home/sogo/GNUstep/Defaults/.GNUstepDefaults (...) <key>WOPidFile</key> <string>/var/run/sogo/sogo.pid</string>
During the upgrade, I choose to install the default Apache’s SOGo.conf. So I had to modify it as if it were a new instance:
# vi /etc/apache2/conf.d/SOGo.conf (...) RequestHeader set "x-webobjects-server-name" "www.tumfatig.net" RequestHeader set "x-webobjects-server-url" "https://www.tumfatig.net"
As it’s been quite a while since I didn’t upgrade anything, I had to reboot to apply kernel upgrade. Shouldn’t you need to do so, just restart the daemons to apply the changes:
# /etc/init.d/sogo restart # /etc/init.d/apache2 restart
While I was checking the logs, I noticed the following error:
Nov 13 23:18:07 sogod : <0x0xb83b3c10[SOGoCache]> an error occurred when \ caching value for key 'session:ZBWkhAClCxux60pJEebbmQ==': "WRITE FAILURE"
It was probably already there as the SOGo Common problems page offers a solution for this FAQ:
# apt-get install memcached # vi /etc/memcached.conf (...) -l localhost # /etc/init.d/memcached restart
That’s All Folks! My iOS Calendar is gone and the upgrade went smooth in minutes.