Bookwyrm: installation fails due to Postgres version

What app is this about, and its version: Bookwyrm
What YunoHost version are you running: 12.1.40.1
What type of hardware are you using: VPS bought online

Describe your issue

Hi all

I’m unable to install the Bookwyrm app. Specifically, there seems to be some kind of conflict with the required Postgres version.

Warning: django.db.utils.NotSupportedError: PostgreSQL 14 or later is required (found 11.17).
Error: Unable to install bookwyrm: An error occurred inside the app installation script

When looking into the enabled services, Postgres version 15 seems to run though
May 09 11:24:23 systemd[1]: Started postgresql@15-main.service - PostgreSQL Cluster 15-main.

Also there is no pending migration.

Any help appreciated

Share relevant logs or error messages

https://paste.yunohost.org/raw/puwewefihi

Unfortunately, it seems your postgresql did not migrate well when upgrading to Bookworm.

You could have a look at the solution proposed in 2 postgres instance - #6

Thanks.

It seems that ttrss is still using the pg13 cluster, instead of pg15. Weird enough, my ttrss instance (20241226~ynh1) is viewed as up-to-date, while the current version is way more recent (2026.07.19~ynh1)

Cette application est à jour !(20241226~ynh1)

This might be the root cause. But I wonder why no update is proposed for ttrss :thinking:

Side note : maybe an admin could move this topic to the ttrss support channel.

Technically 20241226 is a newer version than 2026.07.19

$ dpkg --compare-versions 2026.07.19~ynh1 lt 20241226~ynh1
$ echo $?
0

(exit code 0 means success, meaning 2026.07.19 is in fact a lower version than 20241226).

To fix this you can force-upgrade the app from the commandline

sudo yunohost app upgrade ttrss -u https://github.com/YunoHost-Apps/ttrss_ynh -F

Thanks. What do you mean by Technically? Should I understand that my version is more recent than the current official release (I suppose not)? Or is it juste related to the version numbering?

No, the version you’re running is outdated, the versioning schema changed and this causes problems

Technically as in ‘from technical standpoint when commands used under the hood by YNH are invoked the version seems newer’

1 Like

Finally, the force upgrade of ttrss did not solve the issue.

So I exported an OPML from ttrss, removed ttrss, removed the unmigrated pgsql cluster, changed the postgres port as per the previous post and reinstalled ttrss to make sure it’s running on the appropriate cluster. All of this to be able to finally manage to install Bookwyrm :laughing:

Info: [####################] > Installation of bookwyrm completed
Success! Installation completed

Thanks for you help @Tho @orhtej2

1 Like