Summary: | akonadi-server fails to start upon creating initial SQLite db | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Vasileios P. Lourdas <bugzilla> |
Component: | server | Assignee: | Volker Krause <vkrause> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | CC: | anatoly.a.petrov, kdepim-bugs, luke-jr+kdebugs |
Priority: | NOR | ||
Version: | 4.4 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Vasileios P. Lourdas
2010-02-15 12:46:31 UTC
I have the same problem on a similar configuration (Gentoo, gcc 4.4.3, KDE 4.4.0). > I know sqlite is not recommended for use by akonadi-server
"Not recommended" is an understatement. It will simply not work, the sqlite support is not even finished. You can't use it.
I don't know why Gentoo insists on enabling sqlite, it is wrong and will screw their users. Same story with disabling Nepomuk.
(In reply to comment #2) > "Not recommended" is an understatement. It will simply not work, the sqlite > support is not even finished. You can't use it. > > I don't know why Gentoo insists on enabling sqlite, it is wrong and will screw > their users. Same story with disabling Nepomuk. Well, according to the KDE Techbase (http://techbase.kde.org/Projects/PIM/Akonadi#Why_not_use_sqlite.3F) it doesn't say that SQLite support is not finished, it implies that because of SQLite limitations its use is not encouraged/recommended. Anyway, I opened this bug in the first place just because I had problems with akonadi server starting in the first place, even with the mysql Gentoo USE flag enabled, so I fell back using sqlite. Even with a new user (no KDE settings), akonadi server could not start (I already have a MySQL instance always running, if I configure akonadi server to use this instead, will I have to do this for all users in my system?). > Well, according to the KDE Techbase > (http://techbase.kde.org/Projects/PIM/Akonadi#Why_not_use_sqlite.3F) it > doesn't say that SQLite support is not finished, it implies that because of > SQLite limitations its use is not encouraged/recommended. Ok, that could be worded a bit clearer maybe. > I had problems with akonadi server starting in the first place, even with the > mysql Gentoo USE flag enabled This could probably be a misconfiguration on the Gentoo side, but could of course also be a bug, like bug 225333. (In reply to comment #4) > Ok, that could be worded a bit clearer maybe. Yes, I guess so. > This could probably be a misconfiguration on the Gentoo side, but could of > course also be a bug, like bug 225333. No. I deleted all akonadi conf files, recompiled with mysql flag and akonadi server now starts fine. I see that it starts a private mysqld instance and all is good. It now works, who knows, I probably did something wrong initially. In the same url I give in comment #3, it states that each user must have their own database instance. Maybe I'm not getting that right, but does using the global mysqld instance for all users (same schema) work? If it does, then I can save the extra mysqld instance. You can configure Akonadi to use an already running MySQL database server, however that means you have to setup it manually. In akonadiserverrc you have to setup all entries in the [QMYSQL] group to point to the external server. I'll close this bug report now, since SQLite is really not supported. It should be supported, since requiring a huge database like MySQL on an end-user system (which in my case is a handheld with 2 GB total disk space and 128 MB RAM) is just insane, especially for a mere cache. |