Hi,
Since I installed openSUSE 12.1, Akonadi doesn’t work anymore with postgresql. The reason, as I have read somewhere around here as well as in the akonadiserver error log, is that my database was created with postgresql 9.0 in 11.4. 12.1 delivers version 9.1.1 (or something in the likes), which won’t use this database (btw this is clearly a usability bug). I do have a backup, and I know all I need to do is start a new database and import my data. But here is where I don’t know how to proceed.
I have tried renaming /home/[user]/.local/share/akonadi/db_data/, but that hasn’t helped. Ever since I did that, the following happens:
- akonadi starts an instance of postgresql
- akonadi cannot start its server
- the log file /home/[user]/.local/share/akonadi/akonadiserver.error tells me that lock files are in place and that an instance of the server must already be running.
The problem is that I verified that this instance is started by akonadi. I have quit all processes postgres* and made sure that neither of the lock files is still around. When I start akonadi, it is definitely not running. So akonadi manages to start the server, but for some reason it cannot connect to it.
Here’s /home/[user]/.config/akonadi/akonadiserverrc
%General]
Driver=QPSQL
[QPSQL]
StartServer=true
Name=akonadi
Host=/home/alvanx/.local/share/akonadi/socket-alvanx
Options=
ServerPath=/usr/bin/pg_ctl
InitDbPath=/usr/bin/initdb
User=
Password=
Port=5432
[QMYSQL]
StartServer=true
ServerPath=/usr/sbin/mysqld
Name=akonadi
Host=
User=
Password=
Options="UNIX_SOCKET=/home/alvanx/.local/share/akonadi/socket-alvanx/mysql.socket"
[Debug]
Tracer=null
I’d be grateful for any help! Thanks!