Bug 507899 - Akonadi-upgrade to postgres 17 fails
Summary: Akonadi-upgrade to postgres 17 fails
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (other bugs)
Version First Reported In: 6.4.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-05 13:48 UTC by Axel Braun
Modified: 2025-08-05 17:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Braun 2025-08-05 13:48:32 UTC
updating akonadi from postgresql 16 to 17 fails, as according to the new description in 
https://userbase.kde.org/Akonadi/Postgres_update
 the parameter --data-checksums is now set:

axel@southpole:~> /usr/lib/postgresql17/bin/pg_upgrade -b /usr/lib/postgresql16/bin -B /usr/lib/postgresql17/bin -d $HOME/.local/share/akonadi/db_data_old -D $HOME/.local/share/akonadi/db_data --check
Führe Konsistenzprüfungen durch
-------------------------------
Checking cluster versions                                     ok

der alte Cluster verwendet keine Datenprüfsummen, aber der neue verwendet sie
Fehlgeschlagen, Programm wird beendet


Translation: The old cluster does not use checksums, the new one does.
Aborted

trying to change this:

axel@southpole:~> /usr/lib/postgresql16/bin/pg_checksums --verbose --enable --pgdata=$HOME/.local/share/akonadi/db_data_16_checksum
pg_checksums: error: cluster is not compatible with this version of pg_checksums

And now?

Operating System: openSUSE Leap 16.0
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.1