This category is for general issues(=something is broken) regarding YunoHost, NOT apps.
on
This form is written in English but feel free to write in French if you’re more comfortable!
on
What type of hardware are you using
VPS bought online
What YunoHost version are you running
Yunohost 13.0.7.1
How are you able to access your server
SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?
Did some “psql -d hedgedoc -U postgres” on different app databases (as adviced). Also “psql -d postgres -U postgres” on Postgresql itself sometime ago. I think it was after the trixie migration.
Describe your issue
Migration 0037_postgresql_15_to_17 fails with error message:
Share relevant logs or error messages
Migration 0037_postgresql_15_to_17 did not complete, aborting.
Error: ‘MyMigration’ object has no attribute ‘previous_version’
Same issue on my yunohost installation which is version 13.0.7.1, the migration script called 0037_postgresql_15_to_17 does not execute because of python errors.
Now I did the installation of yunohost on my VPS a few months ago from a testing version that was 13.0.4; from what I can see in the log called journalctl, looks like my yunohost installation has always been running a version 17 of postgresql.
I know that the migration called 36. Upgrade the system to Debian Trixie and YunoHost 13 had to be skipped since my system was already on trixie, could it be that the postgrersql one is also part of the migrations that help to migrate a system to trixie ? If so, we may also be able to safely skip it
I guess my problem is probably that I’m already on version 17 and have all the database migration already done by hand on postgres level, so that there is nothing to do for the migration tool. The only thing is now to get rid of the migration reminder.
Well at least this one is easy, you can skip a migration in the Tools / Migrations section of the yunohost admin interface; there is a “Skip” button on the line of the migration, I just did that on this postgresql migration.