Hardware: OVH dedicated server YunoHost version: 11.0.9.14 I have access to my server : Through SSH, through the webadmin Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
Hello,
I tried to upgrade from 4.4 to 11, it failed (problem with mariadb-db-server-10.3.
I ran sudo apt install --fix-broken as suggested here.
you will find inside the json that there’s a key named from_yunohost_version, followed by something gibberish … eg "from_yunohost_version": "SOMETHING"
Replace the SOMETHING with 11.0.9.14
After this, restoring this archive should work
BUT before restoring, we should also investigate why yunohost thinks dpkg is broken :
sudo dpkg --audit
Once all of this is solved, we should investigate why the upgrade itself failed :
DEBUG - Exception: Updates between multiple major versions and downgrades are unsupported.
and this message is kinda puzzling because according to the log, it’s following the expected upgrade path, ie. upgrading from 22.x to 23.x before upgrading to 24.x …
Otherwise, if we can’t see a solution, I don’t mind just creating a new Nextcloud instance! I’ve tried upgrading again, same problem (obviously, but I wanted to try anyway )
Strange the error seems to be “Updates between multiple major versions and downgrades are unsupported” but nextcloud_ynh scripts does upgrade one by one.