![]() Registered Member ![]()
|
Starting today, akonadi refused to start. I soon found out that postgresql was to blame (I have no idea about databases and only use this one because the other ones had given me constant headaches). Here's a current log from /home/alvanx/.local/share/akonadi/db_data/pg_log/
Sure enough, said log file isn't there (anymore). I searched Google and this error occured to many people that had been messing with the log files, but I did not. I learned that the db can be restored but that this would make me lose transactions (I still don't exactly know what this means). Anyways, before I learned this I thought that maybe the db would fix itself if I switched to mysql and then back to postgresql. This did not work (clearly), but I now know that at the time, mysql was working. However, it isn't anymore after I tried to restore the postgresql database with a command I found: /usr/bin/pg_resetxlog -f /home/alvanx/.local/share/akonadi/db_data/ I got the server up and running again. However, now there's something wrong with the database and Kmail gives me errors about Local Folders and Trash "Unknown Error. (Could not create collection Trash resourceId:2)" and Kmail crashes with an error. I thought well, you tried it, let's just live with it and use MySQL. However, MySQL is giving me the same error messages. And I'm left with a broken database once again out of nowhere. Can anybody help me out in restoring it? Thanks! Here's akonadiserver.error:
And here's akonadiserverrc (disregard which backend is activated):
Thank you for your help. EDIT: Aaand MySQL works at second attempt, so at least I have a workaround for now. |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot]