Merkuro-kalender wont launch [not the same]

Recently I made a new install of Kubuntu 24.04 and migrated all my old stuff from Kubuntu 22.04 . I regret this. The broken app armor problems with appImages and the Kalendar are the main reasons.

At first Merkuro was starting right away, but I was so used to kalendar and I installed kalendar with

sudo apt-get install kalendar and I removed merkuro and purged it with sudo apt-get remove merkuro && sudo apt-get purge merkuro

Then I did sudo apt get update && sudo apt-get upgrade. Then I decided “OK, lets give a shot to merkuro”, because at first I didn’t realise it was actually the rebranded “kalendar”. A mess happened and it couldn’t start normally.

I removed and purged both kalendar, korganizer and merkuro and tried them one by one to see which one will work. Now I can’t start merkuro nor Korganizer.

Merkuro launched trough console gives no error but still isn’t launching and Korganizer on the other hand says “Cannot connect to the Personal information managment service” which I duckduckgoed and tried stuff like deleting a dir in local/share/smth called akonadi and the same in my user home dir ~. Basically nothing worked out. Chat gpt is useless.

TLDR;
Can’t use Kalendar/Merkuro. I’m left without a Kalendar I can sync with next cloud. Please give me a hand here. I just need a calendar that can import my events from next cloud and show them in the calendar widget of KDE. I preffer not to use flatpack, snap or appImages. I just want a working soultion the way it was working before on Kubuntu 22.04.

kalender was working (ish) for me on 22.04 with backports, but since upgrading to 24.04 and then to 24.10 none of it works (merkuro, kalendar, akonadi, korganizer… none of it).

i think the whole PIM aspect of KDE is laying a ditch and no one seems to care because all the energy is going into fixing plasma 6.

i’ve pleaded my case here multiple times and got back crickets or just install korganizer which is an ancient and buggy mess.

i’ll keep watching this thread but my hopes are at a low ebb… don’t know that fedora would be any better but i’m starting to wonder.

I had a similar effect when installing KDE Neon on a new PC.

My transferred setup of KDE PIM would not start up because of two issues:

  1. KDE Neon had switched from MySQL/MariaDB to SQLite backend for Akonadi, which was obviously not compatible with my setup
  2. KDE Neon (or more likely the Ubuntu 24.04 it is based on) had misconfigured AppArmor that prohibited Akonadi Server from starting mariadb server.

I fixed the former by installing akonadi-backend-mysql but couldn’t really figure out what broke AppArmor so I had to copy the /etc/apparmor.d from my other PC.

I guess I could have tried deleting $HOME/.config/akonadi/akonadiserverrc and letting everything restart with the new backend but I really wanted to have the same setup on both machines (and not have to download several GBs of mail again to repopulate my cache)

Edit: my alternative would have been to remove all the Akonadi config and data and start from scratch with the new backend and then synching that new setup to my old machine and installing the other backend on there.