[opensuse-kde] kontact / kmail dosn't work
At first, please excuse me, that I've not checked the Emails before. But some days, I fight with kmail/kontact. History: I update the openSUSE 11.3 KDE Factory Repository to the KDE 4.6 Beta 1. At the first restart from my desktop, the System converts my Email and some other things. But the conversion crashes. But the Email works some days fine. Only the passwords from my Email accounts (which are stored before in kwallet) must be set new. After a system crash, with a hard reboot, akonadi doesn’t work. At first it crashed with mySQL/InnoDB problems. But this problems are known from the Version before (kadressbok) and after reading from some Akonadi pages and "Googling". I do my normal work, to bring up Akonadi (root on my PC have nobody rights in my Home - so I mount it via NFS from my Server): akonadictl stop qdbus org.kde.NepomukServer /nepomukserver org.kde.NepomukServer.quit rm ${HOME}/.local/share/akonadi/db_data/ib* rm ${HOME}/.local/share/akonadi/db_data/.nfs000* rm ${HOME}/.local/share/akonadi/db_misc/mysql.socket chmod -R a+rw ${HOME}/.local chmod -R a+rw ${HOME}/.config find ${HOME}/.local -type d -exec chmod a+rwx {} \; find ${HOME}/.config -type d -exec chmod a+rwx {} \; su -c 'rcmysql restart' mysql_install_db --datadir=${MyHome}/.local/share/akonadi/db_data/ sleep 15s chmod -R a+rw ${HOME}/.local/share/akonadi/* sleep 15s akonadictl start &> ${HOME}/akonadilog & (akonadiconsole || chmod -R a+rw ${HOME}/.local/share/akonadi/* )& But it doesn’t work now. So I rename the ${HOME}/.local/share/akonadi and restart the System. Know Akonadi works fine, but kmail/kontact crashes with a generally error message (aditional some knotify - crash messages pops on the screen). If I look in the Akonadi Server settings, the entrys from Nepomuk are not available, but in the akonadiconsole, this are present. I removed in the akonadiconsole all entry’s, which are not mandatory needed (only the POP and IMAP mailsetting are not removed). But I can't add the Nepomuk Email search, it's light gray and can't be selected). What's happend? How can I bring back my email directory's to Akonadi (or start a new conversion run, to convert the old Emails from ~/Mail to Akonadi)? Thanks Ulf PS: Output extract from Konqueror sysinfo:/ Kernel: Linux 2.6.34.7-0.5-desktop x86_64 Distribution: openSUSE 11.3 (x86_64) KDE: 4.5.80 (4.6 Beta1) -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On Tuesday 07 December 2010 22:42:53 Ulf Bartholomäus wrote:
At first, please excuse me, that I've not checked the Emails before. But some days, I fight with kmail/kontact.
History: I update the openSUSE 11.3 KDE Factory Repository to the KDE 4.6 Beta 1. At the first restart from my desktop, the System converts my Email and some other things. But the conversion crashes. But the Email works some days fine. Only the passwords from my Email accounts (which are stored before in kwallet) must be set new.
Firstly 4.6 Beta 1 is not recommended for production use! You may lose data. If this is a problem use KDE 4.5 from KDE:Release:45 instead.
After a system crash, with a hard reboot, akonadi doesn’t work. At first it crashed with mySQL/InnoDB problems. But this problems are known from the Version before (kadressbok) and after reading from some Akonadi pages and "Googling". I do my normal work, to bring up Akonadi (root on my PC have nobody rights in my Home - so I mount it via NFS from my Server):
akonadictl stop qdbus org.kde.NepomukServer /nepomukserver org.kde.NepomukServer.quit rm ${HOME}/.local/share/akonadi/db_data/ib* rm ${HOME}/.local/share/akonadi/db_data/.nfs000* rm ${HOME}/.local/share/akonadi/db_misc/mysql.socket chmod -R a+rw ${HOME}/.local chmod -R a+rw ${HOME}/.config find ${HOME}/.local -type d -exec chmod a+rwx {} \; find ${HOME}/.config -type d -exec chmod a+rwx {} \; su -c 'rcmysql restart' mysql_install_db --datadir=${MyHome}/.local/share/akonadi/db_data/ sleep 15s chmod -R a+rw ${HOME}/.local/share/akonadi/* sleep 15s akonadictl start &> ${HOME}/akonadilog & (akonadiconsole || chmod -R a+rw ${HOME}/.local/share/akonadi/* )&
But it doesn’t work now. So I rename the ${HOME}/.local/share/akonadi and restart the System. Know Akonadi works fine, but kmail/kontact crashes with a generally error message (aditional some knotify - crash messages pops on the screen).
What is the crash backtrace?
If I look in the Akonadi Server settings, the entrys from Nepomuk are not available, but in the akonadiconsole, this are present. I removed in the akonadiconsole all entry’s, which are not mandatory needed (only the POP and IMAP mailsetting are not removed). But I can't add the Nepomuk Email search, it's light gray and can't be selected).
Is Nepomuk enabled? (Desktop Search settings) Is the user's $HOME on an NFS share? This can give problems as mysql does not support having its database on a share. The solution would be to symlink $HOME/.local/share/akonadi somewhere local. Otherwise, I'm confused as to whether you are running KDE as root, or just the mysql server used by Akonadi. Normally KMail/Kontact starts Akonadi which runs its own instance of mysql (as the same use). Therefore rcmysql restart has no effect. It is possible to use a separate (system) mysql instance but I won't support this configuration. Will -- Will Stephenson, KDE Developer, openSUSE Boosters Team SUSE LINUX Products GmbH - Nürnberg - AG Nürnberg - HRB 16746 - GF: Markus Rex -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On Wednesday 08 December 2010, 12:14:44 Will Stephenson wrote:
Is Nepomuk enabled? (Desktop Search settings)
Is the user's $HOME on an NFS share? This can give problems as mysql does not support having its database on a share. The solution would be to symlink $HOME/.local/share/akonadi somewhere local.
Otherwise, I'm confused as to whether you are running KDE as root, or just the mysql server used by Akonadi. Normally KMail/Kontact starts Akonadi which runs its own instance of mysql (as the same use). Therefore rcmysql restart has no effect. It is possible to use a separate (system) mysql instance but I won't support this configuration.
These are bad news for anybody responsible for diskless setups (as I am) which haven't any local storage by definition. Pete -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On Wednesday 08 December 2010 13:47:05 Hans-Peter Jansen wrote:
On Wednesday 08 December 2010, 12:14:44 Will Stephenson wrote:
Is Nepomuk enabled? (Desktop Search settings)
Is the user's $HOME on an NFS share? This can give problems as mysql does not support having its database on a share. The solution would be to symlink $HOME/.local/share/akonadi somewhere local.
Otherwise, I'm confused as to whether you are running KDE as root, or just the mysql server used by Akonadi. Normally KMail/Kontact starts Akonadi which runs its own instance of mysql (as the same use). Therefore rcmysql restart has no effect. It is possible to use a separate (system) mysql instance but I won't support this configuration.
These are bad news for anybody responsible for diskless setups (as I am) which haven't any local storage by definition.
Yes. I think the solution may be to use the sqlite akonadi backend on these setups, which has become much more performant recently. But I don't have time to purse this. Will -- Will Stephenson, KDE Developer, openSUSE Boosters Team SUSE LINUX Products GmbH - Nürnberg - AG Nürnberg - HRB 16746 - GF: Markus Rex -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
Hello Will, at first, excuse my last answer, but I'm not online before.
On Wed, 8 Dec 2010 12:14:44 Will Stephenson wrote: Firstly 4.6 Beta 1 is not recommended for production use! You may lose data. Yes, I know. But normally I use the Factory Repository and I've not seen that so a big change is upcoming - some hoers after the update and conversation - I see the message on the Newsticker :-( But it's not really so critical, so it's only my private Emails.
If this is a problem use KDE 4.5 from KDE:Release:45 instead. No, not realy. But I will support you, that the system is more stable, in the next release. I've always some trouble with the home on the NFS share and some databases (AmaroK, ...).
But it doesn’t work now. So I rename the ${HOME}/.local/share/akonadi and restart the System. Know Akonadi works fine, but kmail/kontact crashes with a generally error message (aditional some knotify - crash messages pops on the screen).
What is the crash backtrace? I can't generate a crash message. So I start it on a command line, but additional, there is no detailed information available. In a other case I've put it in this Email.
I can't add the Nepomuk Email search, it's light gray and can't be selected).
Is Nepomuk enabled? (Desktop Search settings) I activate Nepomuk in the settings and Nepomuk run message are bold marked line behind. But no entry in the task list is present. Additional I find no entry in the Akonadi Settings overview. (Please excuse my not so detailed information - but my Messages and windwos are in German - and it's not so easy for me to translate the dialogs and messages in English)
Is the user's $HOME on an NFS share?
I do my normal work, to bring up Akonadi (root on my PC have nobody rights in my Home - so I mount it via NFS from my Server): So I've written it my Email. So I solve it with the script before. After it run's (also on KDE 4.4 before) I've no problems.
This can give problems as mysql does not support having its database on a share. The solution would be to symlink $HOME/.local/share/akonadi somewhere local. So, if I would use the Database on different Desktops, is it not a problem? Can I move the Database on my server (which delivers the NFS share)?
Otherwise, I'm confused as to whether you are running KDE as root, or just the mysql server used by Akonadi. # ps aux | grep mysql ulf 5799 0.0 0.7 231908 28316 ? Sl 19:36 0:02 /usr/sbin/mysqld --defaults-file=/home/ulf/.local/share/akonadi//mysql.conf --datadir=/home/ulf/.local/share/akonadi/db_data/ --socket=/home/ulf/.local/share/akonadi/db_misc/mysql.socket
Normally KMail/Kontact starts Akonadi which runs its own instance of mysql (as the same use). Therefore rcmysql restart has no effect. OK, so you mean, that I must kill this instance?
It is possible to use a separate (system) mysql instance but I won't support this configuration. OK, but what’s the best solution to use akonadi on a shared home?
Best Regards Ulf -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
participants (3)
-
"Ulf Bartholomäus"
-
Hans-Peter Jansen
-
Will Stephenson