Upgrade Yunohost 11:total failure

I tried to upgrade to Yunohost 11 but it failed.

Here is the log:
https://paste.yunohost.org/raw/girovaraxa

My YunoHost server

Server is running Linux kernel 4.19.0-21-amd64

Server is running Debian 10.12

Server is running YunoHost 4.4.2.12 (stable)

Details

  • yunohost version: 4.4.2.12 (stable)
  • yunohost-admin version: 4.4.1 (stable)
  • moulinette version: 4.4.1 (stable)
  • ssowat version: 4.4.1 (stable)

More logs here:
https://paste.yunohost.org/raw/eboxisacaq

This is after upgrading all the apps listed from webadmin/diagnosis but it fails at the end again.

I made it!
I run apt upgrade from terminal.
Then in webadmin the system upgrade just showed that some more debian apps and services needed to be upgraded. Did that.
Then checked with

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

Then run

$ sudo yunohost --version
yunohost: 
  repo: stable
  version: 11.0.9.12
yunohost-admin: 
  repo: stable
  version: 11.0.10
moulinette: 
  repo: stable
  version: 11.0.9
ssowat: 
  repo: stable
  version: 11.0.9

My webadmin Tools>>Migrations was showing “21. skipped Upgrade to Bullseye etc.” before my apt upgrade above. Now it shows

Previous migrations

Collapse

  1. Repair Python app after bullseye migration

  2. Migrate databases from PostgreSQL 11 to 13

  3. Migrate php7.3-fpm ‘pool’ conf files to php7.4

  4. Upgrade the system to Debian Bullseye and YunoHost 11.x

Hope this helps somebody with the upgrade

You must continue the migrations…
Try this:
sudo apt update && sudo apt upgrade --fix-missing
sudo yunohost tools migrations run 0021_migrate_to_bullseye --skip
and
sudo yunohost tools migrations list --pending
then
sudo yunohost tools migrations run --accept-disclaimer

Perhaps you will also need some help for the migration from Postgresql 11 to 13…

1 Like

Thanks @rodinux .
I tried all the commands above and they all said that there was nothing to do!
I only run

sudo apt autoremove 

to remove a long list of packages.

The webadmin told me after the second System Upgrade that all Yunohost packages were being updated next in the background and the server would be down for some time. Which it did and then returned with the login screen.page.
So, I think your commands were taken care off by the webadmin page … see post above yours which states that all has been done:

Previous migrations

Collapse

Repair Python app after bullseye migration

Migrate databases from PostgreSQL 11 to 13

Migrate php7.3-fpm ‘pool’ conf files to php7.4

Upgrade the system to Debian Bullseye and YunoHost 11.x

To close this issue here is the diagnostic output from webadmin:

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