Bug 467148 - ALTER DATABASE akonadi REFRESH COLLATION VERSION
Summary: ALTER DATABASE akonadi REFRESH COLLATION VERSION
Status: RESOLVED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: 5.22.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-10 11:44 UTC by Axel Braun
Modified: 2023-05-17 19:31 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Braun 2023-03-10 11:44:48 UTC
I'm running akonadi on a Postgres 15 database.
I now get a bunch of messages:

Mär 10 12:35:20 X1E kalendarac[2562]: WARNUNG:  Version von Sortierfolge für Datenbank »akonadi« stimmt nicht überein
Mär 10 12:35:20 X1E kalendarac[2562]: DETAIL:  Die Datenbank wurde mit Sortierfolgenversion 2.36 erzeugt, aber das Betriebssystem hat Version 2.37.
Mär 10 12:35:20 X1E kalendarac[2562]: TIP:  Bauen Sie alle Objekte in dieser Datenbank, die die Standardsortierfolge verwenden, neu und führen Sie ALTER DATABASE akonadi REFRESH COLLATION VERSION aus, oder bauen Sie PostgreSQL mit der richtigen Bibliotheksversion.

I guess the issue is that Tumbleweed recently switched to glibc 2.37.
Any idea how to fix this?

Operating System: openSUSE Tumbleweed 20230306
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.2.1-1-default (64-bit)
Comment 1 Hans-Peter Jansen 2023-04-02 07:48:57 UTC
Hi Axel, 

can confirm this issue for akonadi with postgres here! 

This fixed it for me:

$ export $(grep Host $HOME/.config/akonadi/akonadiserverrc)
$ psql -h $Host akonadi
akonadi=# ALTER DATABASE akonadi REFRESH COLLATION VERSION;
HINWEIS:  Version wird von 2.36 in 2.37 geändert
ALTER DATABASE
akonadi=# \q
Comment 2 Carl Schwan 2023-04-27 21:40:24 UTC
See https://userbase.kde.org/Akonadi/Postgres_update for how to do a postgres update
Comment 3 Axel Braun 2023-05-17 19:31:47 UTC
(In reply to Carl Schwan from comment #2)
> See https://userbase.kde.org/Akonadi/Postgres_update for how to do a
> postgres update

That is clearly not the solution, but #comment1 fixed it