This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Akonadi error

Tags: None
(comma "," separated)
tedzilla
Registered Member
Posts
16
Karma
0

Akonadi error

Sun Aug 01, 2021 2:53 am
Now for starters, let me begin with my system information:

Operating System: Kubuntu 21.04
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-25-generic
OS Type: 64-bit
Graphics Platform: X11
Processors: 16 × Intel® Core™ i7-10870H CPU @ 2.20GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics

When I open KOrganizer, I would get "The Akonadi personal information management service isn't running. The application cannot run without it."

So I tried to install Akonadi to see if that would work then I would try to start it by entering [code]sudo akonadictl start[/code] But then I would get,"QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'"

This is the more completed outcome that I got from the terminal
[code]xxx@xxx-Gazelle:~$ sudo akonadictl start
[sudo] password for xxx:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
org.kde.pim.akonadictl: Starting Akonadi Server...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
org.kde.pim.akonadictl: done.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
xxx@xxx-Gazelle:~$ QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
org.kde.pim.akonadiserver: Starting up the Akonadi Server...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Installing MariaDB/MySQL system tables in '/root/.local/share/akonadi/db_data/' ...
OK
[/code]

Any ideas?
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS

Re: Akonadi error

Sun Aug 01, 2021 8:22 am
Hi!

You should at first learning the basics. Akonadi should run as your user, not as root, so do not use sudo for this. At first, check out the permissions in your homefolder, as these are easily messed up using sudo in a wrong way.
Code: Select all
find $HOME ! -user $USER -ls
# no output is good output, elso do
sudo chown -R username:username /home/username


After this: Kubuntu has akonadi preinstalled, so what exactly did you try to install? What is the output of
Code: Select all
akonadictl fsck
tedzilla
Registered Member
Posts
16
Karma
0

Re: Akonadi error

Tue Aug 03, 2021 1:54 am
Solved. After looking around. What I just needed to do was delete the Akonadi folders in the .local folder. Restart KOrganizer, now its like nothing ever was wrong.

I do appreciate your help.
User avatar
sparhawk
Registered Member
Posts
433
Karma
0
OS

Re: Akonadi error

Fri Oct 14, 2022 11:08 pm
tedzilla wrote:What I just needed to do was delete the Akonadi folders in the .local folder. Restart KOrganizer, now its like nothing ever was wrong.


Could you please tell me specifically which directories you deleted? I'm also trying to reset KOrganizer, but I can't seem to do it successfully.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]