-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Akonadi should include MySQL as BuildInput #1053
Comments
The error I get is:
If I open up the Configure Server dialogue in Akonadi Console, I get a blank window. I don't know if it's related, but the KOrganizer Reminder Daemon ('korgac') crashes on start/login as well. |
Isn't Akonadi supposed to start its own MySQL instance? |
It does start its own instance. Probably it doesn't find mysql with default |
@Phreedom: How do I check that? |
akonadiconsole: server->configure server |
This is funny. We both have mysql installed by accident. It isn't installed by |
@Phreedom As I said, if I go under server->configure server in Akonadi Console, I see a completely blank dialogue with no textboxes or whatsoever. |
Currently Akonadi Nix package states:
I propose to change it to:
Especially as MySQL is the upstream preferred back-end and also in practice it works a lot better then the current SQLite. |
Hm, in the interest of combating dependency bloat, I'd prefer not to depend on mysql. But given that Qt already depends on it, it doesn't really get worse... |
@edolstra, it would be OK to have it only with sqlite by default (against upstream's suggestion), but at least 4.10 doesn't work out of the box as it is set up now in NixOS/nixpkgs. The minimum what we need to make sure is that it works after you install it ;) |
mysql is a runtime-only dep. it should work by default but I don't yet have |
@Phreedom I tried just installing mysql alongside, but the bug persisted just the same. |
On IRC someone suggested to try with a new user – I did and it didn’t help. I’ll try if updating to kde_next (4.11) will help, but am very much open to ideas. |
Is this still broken on latest nixpkgs? Is there a quick fix? |
At least on my install (in the VM), it is still not working even after updating to KDE 4.12. |
@silverhook, how do you reproduce? I don't get any errors. I'm packaging 4.13.2 right now, I could add mysql if needed but then why not Postgres as well? |
Hmm the wiki is quite clear http://techbase.kde.org/Projects/PIM/Akonadi#Why_not_use_sqlite.3F |
Thanks, I’ll be very happy to test it once you do ☺ |
Any news? @wmertens @silverhook 😄 |
@geerds, the last time I tried (a few weeks ago), updating NixOS didn’t solve this issue. Is there anything else I shoud try out? A new user or reinstalling the whole system again? |
@geerds are you still seeing this with KDE 4.14? I don't have a native nixos box at the moment sorry 😢 |
@wmertens I'll check this within the next few days |
On Tuesday, October 28, 2014 14:20:01 Jascha Geerds wrote:
87610ca should at least enable you to configure akonadi server via |
If I copy the lines from 87610ca into my |
Feel free to close this :) |
If you consider it closed, I consider it closed ;) |
Hi guys. I have the described issues. (server->settings is a blank window, akonadi crashes my kde plasma desktop at login, etc). Shall I open another issue for this or could this issue possibly be re-opened for this? The fixes ( |
If it looks MySQL-related, then let's continue this issue. |
I don't know whether it looks/is mysql-related, ... The KDE crash handler cannot tell me anything (no crash output). It appears right after login, plasma is already dead then. Edit: I can use my OS without it, I just have a black screen. But I have hotkeys for bringing up a terminal or for starting applications, so no problem with that. But ... well... I guess this is not supposed to be like it is. I can also start "KMail", but it gives me:
and it closes right afterwards. Edit 2: btw, akonadi is currently installed via Edit 3: I can provide a Edit 4: Running |
Short update: I did some further investigation: Installing all KDE packages and then starting akonadi succeeds. I can use kmail, kontact and so on ... everything seems to work! After I did the |
@matthiasbeyer, do you use the Eventlist plasmoid? If so, that was a bug that I encountered in older versions of Eventlist. |
@silverhook I don't even know what this is 😄 |
The issue vanished after I added the unstable channel. Maybe this was actually the fix for this, maybe not. If you want, I can invastigate further... |
So this issue keeps popping up on IRC. I didn't get this issue when installing kde4, but now that I'm running with desktopManager.kde5.enable = true; and mysql is not pulled as a dependency within that package set. This means any application trying to use akonadi will fail outright. Shouldn't akonadi be directly dependent upon mysql? This is assuming ofc that pkgs/desktops/plasma-5.1 calls akonadi from pkgs.desktops.kde-4.14.support.akonadi since the plasma repo for neither 5.1 or 5.2 contain an akonadi package (and I couldn't find out what KF5akonadi was). @ttuegel Thoughts? |
@thorhop KF5Akonadi refers to the KF5 port of Akonadi, which I have not yet put in Nixpkgs because it is neither stable nor required. Please try adding |
The issue is still there for me. unstable channel, kde4, all the kde stuff (except games and toys I think). The error is that the db isn't booting because default_home is set to /not/a/real/dir (says akonadi error log). To be honest I am not sure if it uses mysql or mariadb since I don't know how to find out / force one of them. Maybe the issue vanishes for people who setup a global database, thereby setting the default_home var for all dbs? |
This is supposed to be addressed by #8494, but unfortunately this can't be merged until we have new nix features to support reference checking on multiple outputs. |
Akonadi service won't start even manually. It whines that it cannot connect to MySQL.
The text was updated successfully, but these errors were encountered: