Migration to Bullseye Fails

Hello,

I am having issues with migrating to Bullseye. Details are below:
Hardware: Pi 3B
Yunohost version: yunohost stable/4.4.2.13, yunohost-admin stable/4.4.1, moulinette stable/4.4.1, ssowat: stable/4.4.1
Access: Webadmin, SSH
No specific tweaks to the system.

I started migration today. During the first attempt, nginx gave a 504 and failed update. The log for that is available at https://paste.yunohost.org/raw/azukajusol

After this failure, system went unresponsive to either webadmin or SSH. So I waited a few hours in case system is still working on update. Then performed a hard reset (plug off, wait 10 seconds, plug in).

After this, system became responsive again. I again tried to migrate, that too has failed. The log is available here: https://paste.yunohost.org/raw/enigicucag

Full diagnostic log can be found here: https://paste.yunohost.org/raw/ilacazuzuy

Thanks in advance for any support that you can provide.

Hey there

Thanks for providing the details and full logs :+1:

The second migration logs states:

dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

Which seems consistent with what the first log shows (the upgrade seems to have froze somehow)

So let’s try first: sudo dpkg --configure -a

Or maybe sudo apt install --fix-broken sometimes helps too if the first doesnt

Wow, such a quick response.

Thanks for the above. I think the migration has went through after running the dpkg configure.

yunohost: 
  repo: stable
  version: 11.0.9.12
yunohost-admin: 
  repo: stable
  version: 4.4.1
moulinette: 
  repo: stable
  version: 11.0.9
ssowat: 
  repo: stable
  version: 11.0.9

During dpkg, I did probably a stupid thing and overwrote the avahi daemon config file. Do you think that would result in any issues?

Hmmm, doesn’t seem related ? Avahi is actually not installed anymore (though not a big deal if it still is on your system I think)

Anyway, what does apt install yunohost-admin shows ? (This should “force” the upgrade of yunohost-admin specifically, even tho the command is “install”)

OMG, I completely missed this, sorry.

There seems to be no problems on the admin:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
yunohost-admin is already the newest version (11.0.10).
0 upgraded, 0 newly installed, 0 to remove and 44 not upgraded.

So the “4.4.1 displayed version” issue is probably gone by now ? Maybe just a weird cache issue idk