Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
()W(#$ Akonadi
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
iandoug
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 293
Location: Cape Town, South Africa

PostPosted: Tue Oct 29, 2013 1:18 am    Post subject: ()W(#$ Akonadi Reply with quote

Hi

Been fighting for a few hours and getting nowhere except going round in circles.

Kmail was working fine this morning. I put my PC off, and later restarted, whereupon the troubles started.

Akonadi was not happy and would not start.

There were assorted errors, starting with "Errors in log file".

Much searching of the web produced many people with similar issues but few solutions.

I eventually decided to folllow the advice here: https://bbs.archlinux.org/viewtopic.php?pid=695037#p695037

which went smoothly until this step:
mysql_install_db --datadir=$HOME/.local/share/akonadi/db_data/

which did not work. For the record, I use MariaDB rather then MySql.

So then I decided I would fix that by reinstalling akonadi-server.

Which put me into the circles of hell.... the 1.10.2 I have no longer exists, and 1.10.3 is not happy with the qt environment and I have all sorts of slot clashes.

Re-syncing did not help, nor did revdep-rebuild.

I now see that Akonadi is happy with the missing log file, and is now complaining about it's process not being registered at D-Bus.

Let me try rebooting (again) and see if that helps now ...

(forums need a 'draft' command..)

Okay... kmail now starts, after a few false starts and complaints..

BUT

some folders (including my main WORK email folders) have been wiped. Others are still there and populated.

I can't see any pattern as to which were saved and which were wiped.

This is naturally a major disaster and I am not impressed. I really wish the KDE devs would take more care with the whole PIM subsystem.

I ran updatedb and tried a search for some of the mail, all gone :-(

nothing in Lost+Found either.

Does anyone have any ideas on how to find/recover my mail?

I thought Akonadi's databases only stored meta-data, so why would my maildirs get wiped? This is most distressing and puts me in a terrible situation work-wise.

Thanks, Ian
_________________
Asus M3A78 64, X2 6000+, PX9800 GT, 4GB Ram | Asus M4A77TD PRO, X2 245, HD4350, 4GB RAM
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1407

PostPosted: Tue Oct 29, 2013 3:37 pm    Post subject: Reply with quote

See this Bug: kde-base/kdebase-startkde-4.11.2 - dbus agents not available / started twice due to typo in the declaration of XDG_DATA_DIRS in /usr/bin/startkde
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
Goverp
Guru
Guru


Joined: 07 Mar 2007
Posts: 331

PostPosted: Wed Oct 30, 2013 10:17 am    Post subject: Reply with quote

Have you looked for your mail in ~/.local/share/.local-mail.directory ? (note that the third level directory is ALSO hidden) It's not exactly well-documented, but that's where kmail keeps the mail, irrespective of anything in akonadi.
_________________
Greybeard
Back to top
View user's profile Send private message
iandoug
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 293
Location: Cape Town, South Africa

PostPosted: Wed Oct 30, 2013 11:09 am    Post subject: Reply with quote

Goverp wrote:
Have you looked for your mail in ~/.local/share/.local-mail.directory ? (note that the third level directory is ALSO hidden) It's not exactly well-documented, but that's where kmail keeps the mail, irrespective of anything in akonadi.


Yes, I did look there. I have multiple accounts, each with their own folder structure, and for some reason it appears as though my two main work-related accounts got wiped. One was the default account on the box. Other accounts APPEAR to be okay, although the filtering in kmail was all screwed up and messages were being redirected to folders in other accounts.

I've also done things like 'locate /tmp' etc which finds the tmp accounts in each maildir setup, but not for the two accounts that disappeared.

At present I suspect that when I followed the instructions linked to in my message above, and did "rm -r ~/.local/share/akonadi/db_data", and failed to rebuild the database with the "mysql_install_db --datadir=$HOME/.local/share/akonadi/db_data/", then when I rebooted and akonadi restarted, it found no data for those accounts and tried to bring the mail folders into line by deleting them.

I know this is not entirely logical (why some but not all, and does Akonadi even work that way?), but the only alternative I can think of is malicious (ie virus/whatever) which is even more illogical....

I specifically use Kmail (as opposed to Thunderbird/Evolution) because I want maildir because I consider it safer (and I don't like Claws).

Kmail used to be sane and keep things in ~/Mail, have no idea why that was considered 'no good'. I sometimes wish the KDE devs would stop adding bells and whistles and get the platform rock solid first. (disclaimer: I am on ~AMD64 because that branch has some bugfixes that I thought would make it more stable, especially the PIM side).

My calendar with birthdays etc is also missing, I may be able to find those files somewhere, although locate does not find any .cal files...

Thanks for trying to help.
_________________
Asus M3A78 64, X2 6000+, PX9800 GT, 4GB Ram | Asus M4A77TD PRO, X2 245, HD4350, 4GB RAM
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2082
Location: Near Toronto

PostPosted: Wed Oct 30, 2013 1:32 pm    Post subject: Reply with quote

kmail is a right pain ... but I keep using it

one safety measure is to use offlineimap, which keeps
a local backup of imap mail. This can be run as a cron
job so your mail is just regularly stored locally. You can
then integrate the offlineimap directories with your
regular system backup (I use snapback2 e.g.)
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Tanktalus
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2005
Posts: 75

PostPosted: Tue Nov 05, 2013 6:40 pm    Post subject: Reply with quote

What kernel and video driver are you using?

If nvidia, back it off a level or two.

That resolved my issues.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum