akonadi won't start in 15.2 after installing 15.3 on a different partition

Hi
I have 2 partitions:

  • One with OpenSuse 15.2
  • One with OpenSuse 15.3, just installed yesterday

Both partitions share the /home so that whether I login to one or the other I have my users available.

If I login to the new 15.3 akonadi seems to work fine, i.e. I can see my korganizer.

But, if I login to the 15.2 partition akonadi fails and cannot be started.
Here are a couple of printouts that might help.
BR, Eduardo

~/.local/share/akonadi/Akonadi.error

2021-06-22T10:34:00 [INFO ] org.kde.pim.akonadiserver: Starting up the Akonadi Server...
2021-06-22T10:34:05 [CRITICAL] org.kde.pim.akonadis2021-06-22T10:34:06 [INFO ] org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...
rocess exited unexpectedly during initial connection!
2021-06-22T10:34:05 [CRITICAL] org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld"
2021-06-22T10:34:05 [CRITICAL] org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/gloriyedu/.local/share/akonadi/mysql.conf", "--datadir=/home/gloriyedu/.local/share/akonadi/db_
data/", "--socket=/run/user/1000/akonadi/mysql.socket", "--pid-file=/run/user/1000/akonadi/mysql.pid")
2021-06-22T10:34:05 [CRITICAL] org.kde.pim.akonadiserver: stdout: ""
2021-06-22T10:34:05 [CRITICAL] org.kde.pim.akonadiserver: stderr: "2021-06-22 10:34:00 0 [Note] /usr/sbin/mysqld (mysqld 10.4.17-MariaDB) starting as process 3148 ...
"
2021-06-22T10:34:05 [CRITICAL] org.kde.pim.akonadiserver: exit code: 1
2021-06-22T10:34:05 [CRITICAL] org.kde.pim.akonadiserver: process error: "Unknown error"
2021-06-22T10:34:06 [INFO ] org.kde.pim.akonadiserver: Shutting down AkonadiServer...
> akonadictl status
Akonadi Control: stopped
Akonadi Server: stopped
Akonadi Server Search Support: available (Remote Search, Akonadi Search Plugin)
Available Agent Types: akonadi_akonotes_resource, akonadi_archivemail_agent, akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_ews_resource, akonadi_ewsmta_resource, akonadi_followupreminder_agent, akonadi_googlecalendar_resource, akonadi_googlecontacts_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource, akonadi_indexing_agent, akonadi_kalarm_dir_resource, akonadi_kalarm_resource, akonadi_knut_resource, akonadi_kolab_resource, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mailfilter_agent, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resource, akonadi_newmailnotifier_agent, akonadi_notes_agent, akonadi_notes_resource, akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_sendlater_agent, akonadi_tomboynotes_resource, akonadi_unifiedmailbox_agent, akonadi_vcard_resource, akonadi_vcarddir_resource

and if I try to start it

> akonadictl start
org.kde.pim.akonadictl: Starting Akonadi Server...
org.kde.pim.akonadictl:    done.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
gloriyedu@localhost:~/.local/share/akonadi> org.kde.pim.akonadiserver: Starting up the Akonadi Server...
org.kde.pim.akonadiserver: database server stopped unexpectedly
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial connection!
org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/gloriyedu/.local/share/akonadi/mysql.conf", "--datadir=/home/gloriyedu/.local/share/akonadi/db_data/", "--socket=/run/user/1000/akonadi/mysql.socket", "--pid-file=/run/user/1000/akonadi/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "2021-06-22 10:59:32 0 [Note] /usr/sbin/mysqld (mysqld 10.4.17-MariaDB) starting as process 3518 ...
"
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
org.kde.pim.akonadiserver: Shutting down AkonadiServer...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...

Often program versions are only upwards compatible. A new version will see that the configuration (or other) data was created for/by an old version and will then convert it. When you then start the old version of the program, the ability of converting back will most probably (because predicting the future is awful difficult) not be builtin. I assume you hit such a case.

I agree it’s not possible to provide forward compatibility but when one moves forward one knows what is behind.
It should be possible to provide backward compatibility.

Really annoying as 15.3 is not yet complete and so I cannot yet move to it, i.e. there is no official 15.3 version for QGIS.
I guess same with some other application.

Might there be a akonadi backed up directory for previous 15.2 version.
This could have been done by the 15.3 version.

Thankyou for the feedback and BR, Eduardo

Different user homes for different versions avoids config change collisions. You can use links to share safe data

If that is the way to go I must decide on what is “safe data” and what is not and how to manage this before proceeding with the new installation.
Perhaps just making a copy of /home to i.e. /home2 and selecting the later for the new installation might do the trick.
Then if I have to return to the previous version of OS I still have untouched /home

BR, Eduardo

I often use even new space for / and /home. With multiboot it is then always possible to switch quick. Also, by mounting the file systems not in use in e.g. /mnt and /mnt/home, I can aleays look back and copy old configs.

Sorry, did not finish my “story” ;).

Two extra partitions for file systems to test a new version until you are satisfied that your peculiarities work is fine of course.
Many will probably use a Virtual System to install in.

Very grateful for your suggestions, I will be keep them in mind for next time I have to test a new OS version.

Right now I’m stuck with a non working akonadi in 15.2
It’s strange that a new “official” version is release without a working “official” QGIS.
Isn’t QGIS part of the standard packages in OSuse?

BR, Eduardo

Wtill on Leap 15.2. When looking with YaST > Software > Software Management, I get no results when serach for a package with the trsing ‘QGIS’ or ‘qgis’ in the name. When you have such a package, you should know where you installed it from IMHO ;).

P.S. I also looked in https://software.opensuse.org/search , no results either.

I do not know what QGIS is. Thus I Googled. Found a site and clicked down the download path. There is a 15.2 version in
https://download.opensuse.org/repositories/Application:/Geo/openSUSE_Leap_15.2/
, but there is no 15.3 version there. I guess you should ask them.

yes, it’s on SUSE’s download web

https://software.opensuse.org/package/qgis

but as you mention not yet for 15.3

It’s Geographical Information System (GIS) sw, i.e. digital maps and everything related.

Thanks for your interest