[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Latest mysql upgrade (5.5.53-0+deb8u1) causes Akonadi to fail to start



Hi,

we (Qt/KDE Debian Packaging Team) are already aware of this problem. Sorry for 
forgetting about sending an email about this.

Creating the directory (/var/lib/mysql-files) isn't a solution for us, because 
this directory is handled by the mysql-server-5.X package ( akonadi using 
mysql-server-core-5.X).

What we want to do is to alter the mysql.cnf in ~/.local/share/akonadi/
mysql.conf to add "secure_file_priv="

But it looks like this patch doesn't help everyone, that's why we didn't 
pushed a new version already.

To keep informed about the current status see the bug reports:
https://bugs.debian.org/843534
(and for the mysql side https://bugs.debian.org/843520)

Best regards,

sandro

--
Am Donnerstag, 10. November 2016, 13:15:35 CET schrieb David McPearson:
> Hi All,
> 
> This is not a cry for help - more of a heads up and getting the issue
> and a solution documented here.
> (I did a quick search of the list and found nothing - apologies if I'm
> duplicating earlier posts)
> 
> Short version:
> sudo mkdir /var/lib/mysql-files
> 
> See https://forum.kde.org/viewtopic.php?f=215&t=135957#p366374
> 
> = = = = =
> 
> Long version:
> 
> After the recent mysql upgrade to 5.5.53-0+deb8u1 Kontact failed to
> display mails, tasks etc. and whinged about akonadi not starting. Poking
> around my system I found a clue in
> ~/.local/share/akonadi/akonadiserver.error
> 
> stderr: "/usr/sbin/mysqld: Error on realpath() on '/var/lib/mysql-files'
> (Error 2)
> 
> Checking /var revealed that /var/lib did not exist.
> 
> However, the obvious solution was too obvious for me...
> I did some trawling on the net, found various and recent reports of the
> same issue on various distros. Tried various solutions that worked for
> others, but proved ineffective and unnecessary for me, including mods to
> ~/.local/share/akonadi/mysql.conf.
> 
> Finally at the above URL I found what was staring me in the face -viola,
> 'sall good.
> 
>  From my perspective it would be nice if the missing dir was created as
> part of the update (I'm a doze drone - I expect everything to be done
> for me..) Feedback on whether that is possible and/or generally
> desirable will be welcomed. Who knows, I might learn something.
> 
> Cheers.

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: