What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.11
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 ?: no
Describe your issue
The migration from v11 to v12 failed, leaving the system in a degraded state. Services are still running but the webmin is inaccessible. I am unable to access the log of the upgrade via the cli, though it does exist in the yuno log dir. Attempting to restore the system from a pre-migration backup also failed.
First thing I need to know is the best way to anonymize and share the log, since I’m unable to use the built-in tools to do so. I’ll include the actual failure message below.
Share relevant logs or error messages
yunohost --version
yunohost:
repo: stable
version: 12.0.11
yunohost-admin:
repo: stable
version: 11.3.0
yunohost-portal:
repo: ?
version: ?
moulinette:
repo: stable
version: 12.0.4
ssowat:
repo: stable
version: 12.0.3
2025-02-25 05:56:09,291: DEBUG - yunohost
2025-02-25 05:56:10,270: WARNING - E: Sub-process /usr/bin/dpkg returned an error code (1)
2025-02-25 05:56:10,358: DEBUG - Setting up yunohost (12.0.11) ...
2025-02-25 05:56:10,479: DEBUG - Regenerating configuration, this might take a while...
2025-02-25 05:56:11,711: WARNING - ERROR Could not find synapse in the list of installed apps:
2025-02-25 05:56:11,712: WARNING - * cinny
2025-02-25 05:56:11,713: WARNING - * dokuwiki
2025-02-25 05:56:11,714: WARNING - * element
2025-02-25 05:56:11,715: WARNING - * gitea
2025-02-25 05:56:11,716: WARNING - * synapse__2
2025-02-25 05:56:11,717: WARNING - * syncserver-rs
2025-02-25 05:56:11,884: WARNING - dpkg: error processing package yunohost (--configure):
2025-02-25 05:56:11,885: WARNING - installed yunohost package post-installation script subprocess returned error exit status 1
2025-02-25 05:56:12,001: WARNING - Errors were encountered while processing:
2025-02-25 05:56:12,002: WARNING - yunohost
2025-02-25 05:56:17,006: ERROR - Migration 0027_migrate_to_bookworm did not complete, aborting. Error: Failed to run command 'aptitude full-upgrade --show-why -o Dpkg::Options::='--force-confold' yunohost yunohost-admin yunohost-portal moulinette ssowat libluajit2-5.1-2 '
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/yunohost/migrations/0027_migrate_to_bookworm.py", line 261, in run
File "/usr/lib/python3/dist-packages/yunohost/utils/system.py", line 315, in aptitude_with_progress_bar
yunohost.utils.error.YunohostError: Failed to run command 'aptitude full-upgrade --show-why -o Dpkg::Options::='--force-confold' yunohost yunohost-admin yunohost-portal moulinette ssowat libluajit2-5.1-2 '
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/yunohost/tools.py", line 786, in tools_migrations_run
operation_logger.success()
File "/usr/lib/python3/dist-packages/yunohost/migrations/0027_migrate_to_bookworm.py", line 266, in run
aptitude_with_progress_bar("unhold yunohost moulinette ssowat yunohost-admin")
File "/usr/lib/python3/dist-packages/yunohost/utils/system.py", line 315, in aptitude_with_progress_bar
yunohost.utils.error.YunohostError: Failed to run command 'aptitude full-upgrade --show-why -o Dpkg::Options::='--force-confold' yunohost yunohost-admin yunohost-portal moulinette ssowat libluajit2-5.1-2 '