Question: how to force a yunohost version update?

My YunoHost server

Hardware: VPS bought online
YunoHost version: 4.4.2.14 (stable)
I have access to my server : Through SSH and through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
If yes, please explain:
The operating system is: Debian GNU/Linux 11 (bullseye)

Description of my issue

CURRENTLY: system shows: Powered by YunoHost 4.4.2.14 (stable).

But the migrate command shows:

root# sudo yunohost tools migrations run
Info: No migrations to run

REASON FOR THE QUESTION: If yunohost version can not be updated then also the application updates are not possible, because applications are updated to newest versions only if yunohost version is >= 11.0.9

No logs (that I could find) are created by command: sudo yunohost tools migrations run

Sounds like you skipped the bullseye migration at some point so you have to manually “unskip” it by editing /etc/yunohost/migrations.yml and removing the appropriate line …

1 Like

ANSWER:

Yes, that is it. Now I have corrected my yunohost instance and it shows; Powered by YunoHost 11.0.10.2 (stable).

The actual CORRECTION:

Find file: /etc/yunohost/migrations.yaml

Remove completely the line: 0021_migrate_to_bullseye: skipped

After that you are able to run the migration again in yunohost webadmin.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.