Bonjour tous et toutes,
Je viens de lancer l’upgrade de mon Yunohost adoré mais je rencontre un problème lors de l’upgrade
Ci-dessous toutes les étapes
Validation des pré-requis
admin@yunohost:~$ sudo yunohost tools update
[sudo] password for adm_ynh:
Info: Fetching available upgrades for system packages…
Info: Updating application catalog…
Success! The application catalog has been updated!
Info: Nothing to do. Everything is already up-to-date.
apps:
important_yunohost_upgrade: False
pending_migrations:
description: Upgrade the system to Debian Bookworm and YunoHost 12
disclaimer: N.B.: This migration has been tested by the community over the last few months but has only been declared stable recently. If your server hosts critical services and if you are not too confident with debugging possible issues, we recommend you to wait a little bit more while we gather more feedback and polish things up. If on the other hand you are relatively confident with debugging small issues that may arise, you are encouraged to run this migration 😉!
You can read the full release note, remaining known issues and feedback from the community here: <https://forum.yunohost.org/t/31673>. In particular, we encourage you to pay attention to the fact that:
- Packages `metronome` (xmpp server) and `rspamd` (mail antispam) are now independent applications available in the catalog. Make sure to explicitly install these applications after the migration if you care about those!
- The user portal / SSO system was totally reworked. You may lose custom theming if you have any. However, the new system also has plenty of customization capabilities (more details in the release note).
Finally, please note that this migration is **a delicate operation**. The YunoHost team did its best to review and test it, but the migration might still break parts of the system or its apps.
Therefore, it is recommended to:
- **Perform backups** of any critical data or app. More info on https://yunohost.org/backup;
- **Be patient** after launching the migration: depending on your Internet connection and hardware, it might take up to an hour for everything to upgrade properly;
- **Reach the community** on the forum if you need help troubleshooting issues.
Please note that the following files were found to be manually modified and might be overwritten following the upgrade:
- /etc/nginx/conf.d/yunohost_admin.conf.inc
- /etc/nginx/conf.d/yunohost_api.conf.inc
id: 0027_migrate_to_bookworm
mode: manual
name: migrate_to_bookworm
number: 27
state: pending
system:
Lancement de l’upgrade
admin@yunohost:~$ sudo yunohost tools migrations run --accept-disclaimer
Info: Running migration 0027_migrate_to_bookworm…
Info: Fetching available upgrades for system packages…
Info: Nothing to do. Everything is already up-to-date.
Info: Starting migration to Bookworm…
Info: Patching the sources.lists file…
chattr: Operation not supported while reading flags on /etc/resolv.conf
error: Cannot find a question for postgresql-common/obsolete-major
Info: Applying patch to workaround conflict issue…
Info: Starting main upgrade…
Info: Downloading...
Info: [....................] > 0.0% Installing libc-l10n
Info: [....................] > 0.6% Installing locales
Info: [....................] > 1.2% Installing libc6
Info: [....................] > 2.4% Installing unscd
Info: [....................] > 3.6% Installing libc-devtools
Info: [....................] > 4.2% Installing libc-dev-bin
Info: [....................] > 4.8% Installing binutils
Info: [#...................] > 5.4% Installing libc6-dev
Info: [#...................] > 6.0% Installing rpcsvc-proto
Info: [#...................] > 6.6% Installing libzstd1
Info: [#...................] > 7.9% Installing libctf-nobfd0
Info: [#...................] > 8.5% Installing libctf0
Info: [#...................] > 9.1% Installing libgprofng0
Info: [#...................] > 9.7% Installing libjansson4
Info: [##..................] > 10.3% Installing binutils-x86-64-linux-gnu
Info: [##..................] > 10.9% Installing libbinutils
Info: [##..................] > 11.5% Installing binutils-common
Info: [##..................] > 12.1% Installing libc-bin
Info: [##..................] > 13.3% Installing libgdbm6
Info: [##..................] > 14.4% Installing perl
Info: [###.................] > 15.0% Installing perl-base
Info: [###.................] > 16.2% Installing perl-modules-5.36
Info: [###.................] > 17.4% Installing libperl5.36
Info: [###.................] > 18.6% Installing libcommon-sense-perl
Info: [###.................] > 19.2% Installing libssl3
Info: [####................] > 20.4% Installing nginx-common
Info: [####................] > 21.6% Installing nginx-extras
Info: [####................] > 22.2% Installing nginx
Info: [####................] > 23.4% Installing libnginx-mod-http-image-filter
Info: [####................] > 24.5% Installing libnginx-mod-http-perl
Info: [#####...............] > 25.1% Installing perl
Info: [#####...............] > 25.7% Installing libnginx-mod-http-perl
Info: [#####...............] > 26.3% Installing libnginx-mod-http-xslt-filter
Info: [#####...............] > 27.5% Installing libnginx-mod-mail
Info: [#####...............] > 28.7% Installing libnginx-mod-stream
Info: [#####...............] > 29.9% Installing libnginx-mod-stream-geoip
Info: [######..............] > 31.0% Installing libnginx-mod-http-auth-pam
Info: [######..............] > 32.2% Installing libnginx-mod-http-cache-purge
Info: [######..............] > 33.4% Installing libnginx-mod-http-dav-ext
Info: [######..............] > 34.6% Installing libnginx-mod-http-echo
Info: [#######.............] > 35.8% Installing libnginx-mod-http-fancyindex
Info: [#######.............] > 37.0% Installing libnginx-mod-http-geoip2
Info: [#######.............] > 38.2% Installing libnginx-mod-http-headers-more-filter
Info: [#######.............] > 39.4% Installing libluajit-5.1-common
Info: [########............] > 40.0% Installing libluajit2-5.1-common
Info: [########............] > 41.2% Installing libluajit-5.1-2
Info: [########............] > 41.8% Installing libluajit2-5.1-2
Info: [########............] > 43.0% Installing lua-resty-lrucache
Info: [########............] > 44.2% Installing libnginx-mod-http-lua
Info: [########............] > 44.8% Installing lua-resty-core
Info: [#########...........] > 46.0% Installing libnginx-mod-http-lua
Info: [#########...........] > 46.6% Installing libnginx-mod-http-subs-filter
Info: [#########...........] > 47.8% Installing libnginx-mod-http-uploadprogress
Info: [#########...........] > 49.0% Installing libnginx-mod-http-upstream-fair
Info: [##########..........] > 50.1% Installing libnginx-mod-nchan
Info: [##########..........] > 51.3% Installing libnginx-mod-stream-geoip2
Info: [##########..........] > 52.5% Installing libnginx-mod-http-geoip
Info: [##########..........] > 53.7% Installing rspamd
Info: [##########..........] > 54.3% Installing libnginx-mod-http-ndk
Info: [###########.........] > 55.5% Installing libalgorithm-diff-xs-perl
Info: [###########.........] > 56.1% Installing libtext-iconv-perl
Info: [###########.........] > 56.7% Installing libterm-readkey-perl
Info: [###########.........] > 57.3% Installing libsocket6-perl
Info: [###########.........] > 57.9% Installing libnetaddr-ip-perl
Info: [###########.........] > 59.1% Installing libcrypt-openssl-bignum-perl
Info: [###########.........] > 59.7% Installing libcrypt-openssl-rsa-perl
Info: [############........] > 60.3% Installing perl-openssl-defaults
Info: [############........] > 60.9% Installing libnet-ssleay-perl
Info: [############........] > 61.5% Installing libidn12
Info: [############........] > 62.1% Installing libnet-libidn-perl
Info: [############........] > 62.7% Installing libnet-dns-sec-perl
Info: [############........] > 63.3% Installing liblocale-gettext-perl
Info: [############........] > 63.9% Installing libjson-xs-perl
Info: [############........] > 64.5% Installing libhtml-parser-perl
Info: [#############.......] > 65.1% Installing libgssapi-perl
Info: [#############.......] > 65.7% Installing libfile-fcntllock-perl
Info: [#############.......] > 66.3% Installing libfcgi-perl
Info: [#############.......] > 66.9% Installing libdbi-perl
Info: [#############.......] > 67.5% Installing libdbd-mariadb-perl
Info: [#############.......] > 68.1% Installing libcrypt-openssl-random-perl
Info: [#############.......] > 68.7% Installing libclone-perl
Info: [#############.......] > 69.3% Installing fonts-glyphicons-halflings
Info: [#############.......] > 69.9% Installing libhyperscan5
Info: [##############......] > 70.4% Installing libjs-bootstrap4
Info: [##############......] > 71.0% Installing libjs-popper.js
Info: [##############......] > 71.6% Installing libjs-requirejs
Info: [##############......] > 72.2% Installing libjs-sizzle
Info: [##############......] > 72.8% Installing libunwind8
Info: [##############......] > 73.4% Installing node-jquery
Info: [##############......] > 74.0% Installing cron
Info: [##############......] > 74.6% Installing cron-daemon-common
Info: [###############.....] > 75.8% Installing cron
Info: [###############.....] > 77.0% Installing libtext-iconv-perl
Info: [###############.....] > 77.6% Installing libc-l10n
Info: [###############.....] > 78.2% Installing libfile-fcntllock-perl
Info: [###############.....] > 78.8% Installing libclone-perl
Info: [###############.....] > 79.4% Installing binutils-common
Info: [################....] > 80.0% Installing perl-openssl-defaults
Info: [################....] > 80.6% Installing libcommon-sense-perl
Info: [################....] > 81.2% Installing libctf-nobfd0
Info: [################....] > 81.8% Installing libnet-dns-sec-perl
Info: [################....] > 82.4% Installing locales
Info: [################....] > 83.0% Installing libjansson4
Info: [################....] > 83.6% Installing rpcsvc-proto
Info: [################....] > 84.2% Installing libcrypt-openssl-bignum-perl
Info: [################....] > 84.8% Installing libsocket6-perl
Info: [#################...] > 85.4% Installing libidn12
Info: [#################...] > 86.0% Installing libgssapi-perl
Info: [#################...] > 86.6% Installing libcrypt-openssl-random-perl
Info: [#################...] > 87.2% Installing libhtml-parser-perl
Info: [#################...] > 87.8% Installing libfcgi-perl
Info: [#################...] > 88.4% Installing libcrypt-openssl-rsa-perl
Info: [#################...] > 89.0% Installing libterm-readkey-perl
Info: [#################...] > 89.6% Installing libbinutils
Info: [##################..] > 90.1% Installing libc-dev-bin
Info: [##################..] > 90.7% Installing nginx-extras
Info: [##################..] > 91.3% Installing libalgorithm-diff-xs-perl
Info: [##################..] > 91.9% Installing liblocale-gettext-perl
Info: [##################..] > 92.5% Installing libdbi-perl
Info: [##################..] > 93.1% Installing libctf0
Info: [##################..] > 93.7% Installing libnet-ssleay-perl
Info: [##################..] > 94.3% Installing libjson-xs-perl
Info: [##################..] > 94.9% Installing libdbd-mariadb-perl
Info: [###################.] > 95.5% Installing libgprofng0
Info: [###################.] > 96.1% Installing libnet-libidn-perl
Info: [###################.] > 96.7% Installing libc6-dev
Info: [###################.] > 97.3% Installing binutils-x86-64-linux-gnu
Info: [###################.] > 97.9% Installing binutils
Info: [###################.] > 98.5% Processing sa-compile
Info: [###################.] > 98.5% Processing nginx
Info: [###################.] > 99.1% Processing libc-bin
Warning: E: Sub-process /usr/bin/dpkg returned an error code (1)
Warning: config: unclosed 'if' in /etc/spamassassin/local.cf: if plugin (Mail::SpamAssassin::Plugin::Shortcircuit)
Warning: Nov 19 13:29:36.886 [2049814] info: config: unclosed 'if' in /etc/spamassassin/local.cf: if plugin (Mail::SpamAssassin::Plugin::Shortcircuit)
Warning: sa-compile: not compiling; 'spamassassin --lint' check failed!
Warning: dpkg: error processing package sa-compile (--configure):
Warning: installed sa-compile package post-installation script subprocess returned error exit status 2
Warning: Errors were encountered while processing:
Warning: sa-compile
Error: Migration 0027_migrate_to_bookworm did not complete, aborting. Error: Failed to run command 'aptitude full-upgrade cron rspamd- luajit- libluajit-5.1-2- --show-why -o APT::Force-LoopBreak=1 -o Dpkg::Options::='--force-confold''
Info: The operation 'Run migrations' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20241119-132855-tools_migrations_migrate_forward' to get help
J’ai testé de relancer le process
admin@yunohost:~$ sudo service spamassassin restart
admin@yunohost:~$ sudo yunohost tools migrations run --accept-disclaimer
Info: Running migration 0027_migrate_to_bookworm…
Info: Starting migration to Bookworm…
Info: Patching the sources.lists file…
chattr: Operation not supported while reading flags on /etc/resolv.conf
error: Cannot find a question for postgresql-common/obsolete-major
Info: Applying patch to workaround conflict issue…
Info: Starting main upgrade…
Info: [....................] > 0.0% Installing sa-compile
Warning: E: Sub-process /usr/bin/dpkg returned an error code (1)
Warning: config: unclosed 'if' in /etc/spamassassin/local.cf: if plugin (Mail::SpamAssassin::Plugin::Shortcircuit)
Warning: Nov 19 13:40:23.401 [2052698] info: config: unclosed 'if' in /etc/spamassassin/local.cf: if plugin (Mail::SpamAssassin::Plugin::Shortcircuit)
Warning: sa-compile: not compiling; 'spamassassin --lint' check failed!
Warning: dpkg: error processing package sa-compile (--configure):
Warning: installed sa-compile package post-installation script subprocess returned error exit status 2
Warning: Errors were encountered while processing:
Warning: sa-compile
Error: Migration 0027_migrate_to_bookworm did not complete, aborting. Error: Failed to run command 'aptitude full-upgrade cron rspamd- luajit- libluajit-5.1-2- --show-why -o APT::Force-LoopBreak=1 -o Dpkg::Options::='--force-confold''
Info: The operation 'Run migrations' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20241119-134012-tools_migrations_migrate_forward' to get help
Lien vers la log d’erreur
https://paste.yunohost.org/raw/rudaserofu
Est ce que vous auriez une idée du problème ?
Merci d’avance