2 posts were split to a new topic: Failed migration to bookworm : unclosed âifâ in /etc/spamassassin
I donât see Bookworm mentioned anywhere on that page. Is this the âMain CIâ column? Is synapse currently working with Bookworm?
I ask, as after accidentally upgrading to Yunohost 12, my Synapse doesnât launch. Element Web is fine, but Synapse itself doesnât start.
I see a lot of the following error when I try to start the Synapse service:
/opt/yunohost/matrix-synapse/bin/python: Error while finding module specification for 'synapse.app.homeserver' (ModuleNotFoundError: No module named 'synapse')
My Yunohost versions:
yunohost:
repo: stable
version: 12.0.7
yunohost-admin:
repo: stable
version: 12.0.3.5
yunohost-portal:
repo: stable
version: 12.0.6
moulinette:
repo: stable
version: 12.0.3
ssowat:
repo: stable
version: 12.0.3
Bonjour,
Je me suis lancĂ© aujourdâhui dans la migration,
Celle-ci sâest interrompu de la mĂȘme maniĂšre quâici : đ YunoHost 12.0 (Bookworm) release / Sortie de YunoHost 12.0 (Bookworm) - #19 by jln
Jâai rĂ©ussi Ă rĂ©cupĂ©rer lâaccĂšs au compte root, jâai essayĂ© le apt full-upgrade
, seulement il se trouve que mon rpi4 nâaccĂšde plus Ă internet (je ne peux ni pinger de nom de domaine ni dâip exterieure Ă mon rĂ©seau local). Donc impossible de tĂ©lĂ©charger les paquets pour apt. Pour info, jâutilisais vpnclient qui ne redĂ©marre plus et que jâai essayĂ© de dĂ©sinstaller depuis en esperant rĂ©cupĂ©rer lâaccĂšs Ă internet.
Jâai accĂšs en ssh et en physique.
Merci beaucoup pour lâaide que vous pourrez apporter,
Marin
Hi, Iâm running into this when I try to update:
⯠sudo apt update
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://download.docker.com/linux/debian bookworm InRelease
Hit:5 https://dl.yarnpkg.com/debian stable InRelease
Hit:6 https://packages.sury.org/php bookworm InRelease
Hit:7 https://repo.nordvpn.com//deb/nordvpn/debian stable InRelease
Hit:8 https://forge.yunohost.org/debian bookworm InRelease
Err:8 https://forge.yunohost.org/debian bookworm InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5D09F2273DAC3BD5
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://forge.yunohost.org/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5D09F2273DAC3BD5
W: Failed to fetch https://forge.yunohost.org/debian/dists/bookworm/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5D09F2273DAC3BD5
W: Some index files failed to download. They have been ignored, or old ones used instead.
⯠sudo yunohost --version
yunohost:
repo: stable
version: 12.0.7
yunohost-admin:
repo: stable
version: 12.0.3.5
yunohost-portal:
repo: stable
version: 12.0.6
moulinette:
repo: stable
version: 12.0.3
ssowat:
repo: stable
version: 12.0.3
⯠lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
⯠cat /etc/apt/sources.list.d/yunohost.list
deb [signed-by=/usr/share/keyrings/yunohost-archive-keyring.gpg] https://forge.yunohost.org/debian bookworm stable
after changing it to
⯠cat /etc/apt/sources.list.d/yunohost.list
deb [signed-by=/usr/share/keyrings/yunohost-bookworm.gpg] http://forge.yunohost.org/debian/ bookworm stable
the issue persists.
⯠sudo apt update
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://download.docker.com/linux/debian bookworm InRelease
Hit:5 https://dl.yarnpkg.com/debian stable InRelease
Hit:6 https://packages.sury.org/php bookworm InRelease
Hit:7 https://repo.nordvpn.com//deb/nordvpn/debian stable InRelease
Hit:8 https://forge.yunohost.org/debian bookworm InRelease
Err:8 https://forge.yunohost.org/debian bookworm InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5D09F2273DAC3BD5
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://forge.yunohost.org/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5D09F2273DAC3BD5
W: Failed to fetch http://forge.yunohost.org/debian/dists/bookworm/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5D09F2273DAC3BD5
W: Some index files failed to download. They have been ignored, or old ones used instead.
UPDATE:
After continuing to explore found a solution:
curl --fail --silent https://forge.yunohost.org/yunohost_bookworm.asc | gpg --dearmor > /usr/share/keyrings/yunohost-bookworm.gpg
I attempted to upgrade earlier tonight via command line and was not successful. Hereâs the log of the operation.
Iâm not too concerned about it because I have good full-disk image backups (Iâm restoring the server to itâs pre-upgrade state right now). I depend on this thing too heavily to do without it. I posted the log in case you see something obvious. Iâll try again at a later date.
Thanks!
Had to reinstall borg to get it running again
Bonjour,
Jâai rĂ©ussi Ă mâen sortir en supprimant les rĂšgles de pare feu crĂ©es par lâancien vpnclient : iptables -F vpnclient_out
, iptables -F vpnclient_in
, iptables -F vpnclient_fwd
.
Puis jâai modifiĂ© /etc/resolv.conf
en ajoutantnameserver 8.8.8.8
(la nouvelle maniĂšre de gĂ©rer les dns nâetait quâĂ moitiĂ© installĂ©e par le dĂ©but de migration). LĂ jâai pu apt full-upgrade
, puis diagnostique et execution de toutes les commandes de retour Ă la configuration standard suggerĂ©es, puis installation/desinstallation de vpnclient de maniĂšre Ă purger tout ce qui nâavait pas Ă©tĂ© purgĂ© avec ma dĂ©sinstallation en mode secours, puis enfin rĂ©installation et mon serveur est Ă nouveau fonctionnel
Merci pour cette belle mise Ă jour,
Marin
Bumped into a minor hiccup where grub-pc needed manual configuration, install to vda or vda1. After that I re-ran the migration and it completed successfully.
Thanks for all the great work!
Jâai refait des mises Ă jour et forcĂ© la relance de la migration. La migration a Ă©tĂ© jusquâĂ 99.9% et il a fallu effectuer une commande manuelle (cf. journaux ci-dessous).
yunohost tools update
yunohost tools upgrade system
yunohost tools upgrade apps
yunohost tools migrations list
yunohost tools migrations run 0027_migrate_to_bookworm --force-rerun --accept-disclaimer
[.../...]
Info: [###################.] > 99.9% Processing mariadb-server
Warning: E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: Migration 0027_migrate_to_bookworm did not complete, aborting. Error: Fai
led to run command 'aptitude full-upgrade --show-why -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 20241115-185855-tools_migrations_migrate_forward' to get help
root@machine:~# aptitude full-upgrade --show-why -o Dpkg::Options::='--force-confold'
The following packages will be upgraded:
libconfig-inifiles-perl
1 packages upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 45.9 kB of archives. After unpacking 6,144 B will be freed.
Do you want to continue? [Y/n/?]
Get: 1 http://deb.debian.org/debian bookworm/main amd64 libconfig-inifiles-perl
all 3.000003-2 [45.9 kB]
Fetched 45.9 kB in 0s (360 kB/s)
Reading changelogs... Done
(Reading database ... 65413 files and directories currently installed.)
Preparing to unpack .../libconfig-inifiles-perl_3.000003-2_all.deb ...
Unpacking libconfig-inifiles-perl (3.000003-2) over (3.000003-1) ...
Setting up libconfig-inifiles-perl (3.000003-2) ...
Processing triggers for man-db (2.11.2-2) ...
Current status: 4 (-1) upgradable.
root@machine:~# cat /etc/debian_version
12.8
root@machine:~# yunohost tools migrations run 0027_migrate_to_bookworm --force-rerun --accept-disclaimer
Error: Failed to read info for borg : Invalid version: '1.4.0~ynh1'
Error: Failed to read info for borgserver : Invalid version: '1.4.0~ynh1'
Error: Failed to read info for borgserver__2 : Invalid version: '1.4.0~ynh1'
Error: Failed to read info for coturn : Invalid version: '4.5.2.3~ynh8'
Error: Failed to read info for librespeed : Invalid version: '5.4.1~ynh2'
Error: Failed to read info for nextcloud : Invalid version: '29.0.8~ynh1'
Error: Failed to read info for opensondage : Invalid version: '1.1.19~ynh4'
Error: Failed to read info for roundcube : Invalid version: '1.6.9~ynh1'
Error: Failed to read info for uptime-kuma : Invalid version: '1.23.15~ynh1'
Error: Failed to read info for vpnclient : Invalid version: '2.2~ynh6'
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âŠ
Success! Configuration updated for 'nsswitch'
Info: Cleaning up cache and packages not useful anymoreâŠ
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Info: Starting YunoHost core upgradeâŠ
Info: Downloading...
Info: [....................] > 0.0% Installing python3-all
Info: [....................] > 3.4% Installing lua-rex-pcre2
Info: [#...................] > 6.8% Installing lua-basexx
Info: [##..................] > 10.3% Installing lua-luaossl
Info: [##..................] > 13.7% Installing lua-logging
Info: [###.................] > 17.1% Installing lua-cjson
Info: [####................] > 20.5% Installing ssowat
Info: [####................] > 23.9% Installing python3-jwt
Info: [#####...............] > 27.4% Installing python3-passlib
Info: [######..............] > 30.8% Installing python3-magic
Info: [######..............] > 34.2% Installing python3-typing-extensions
Info: [#######.............] > 37.6% Installing python3-pydantic
Info: [########............] > 41.0% Installing python3-email-validator
Info: [########............] > 44.4% Installing libmilter1.0.1
Info: [#########...........] > 47.9% Installing opendkim
Info: [##########..........] > 51.3% Installing moulinette
Info: [##########..........] > 54.7% Installing yunohost
Info: [###########.........] > 58.1% Installing metronome
Info: [###########.........] > 59.8% Installing libidn11
Info: [############........] > 61.5% Installing lua-bitop
Info: [############........] > 63.2% Installing lua-event
Info: [#############.......] > 65.0% Installing lua-expat
Info: [#############.......] > 66.7% Installing lua-ldap
Info: [#############.......] > 68.4% Installing lua-rex-pcre
Info: [##############......] > 70.1% Installing lua-sec
Info: [##############......] > 71.8% Installing lua-zlib
Info: [##############......] > 73.5% Installing lua5.3
Info: [###############.....] > 75.2% Installing php-php-gettext
Info: [###############.....] > 76.9% Installing php-mbstring
Info: [###############.....] > 78.6% Installing php7.4-curl
Info: [################....] > 80.3% Installing php7.4-fpm
Info: [################....] > 82.1% Installing php7.4-intl
Info: [################....] > 83.8% Installing php7.4-ldap
Info: [#################...] > 85.5% Installing php7.4-mbstring
Info: [#################...] > 87.2% Installing php7.4-mysql
Info: [#################...] > 88.9% Installing lua-sql-sqlite3
Info: [##################..] > 90.6% Installing yunohost-admin
Info: [##################..] > 92.3% Installing yunohost-portal
Info: [##################..] > 94.0% Installing yunohost-admin
Info: [###################.] > 95.7% Installing lua-sql-sqlite3
Info: [###################.] > 97.4% Installing yunohost-portal
Info: [####################] > 100.0% Done
Warning: WARNING To run the migration 0031_terms_of_services, your must accept t
he following disclaimer:
Warning: ---
Warning: This migration is purely an informational message about the fact that t
he YunoHost project now publishes Terms of Services related to the technical and
community services.
Warning:
Warning: The YunoHost project is a team of volunteers who have made common cause
to create a free operating system for servers, called YunoHost. The YunoHost so
ftware is published under the AGPLv3 license (<https://www.gnu.org/licenses/agpl
-3.0.txt>). In connection with this software, the project administers and makes
available several technical and community services for various purposes. By usin
g these services, you agree to be bound by the following Terms of Services: <htt
ps://yunohost.org/terms_of_services>.
Warning: ---
Warning: If you accept to run the migration, please re-run the command with the
option '--accept-disclaimer'.
Success! Migration 0027_migrate_to_bookworm completed
root@machine:~#
Relance de la VM, vérif applications OK et acceptation des termes de services. Tout semble OK.
Petit complément : réinstallation du serveur metronome pour XMPP :
yunohost app install metronome
Note : le dossier â/home/yunohost.app/metronome/â ne reprenais pas les anciennes configurations (notamment le ârosterâ des contacts XMPP) donc jâai renommĂ© le dossier en â_oldâ et recopiĂ© le contenu de â/var/lib/metronome/â dans â/home/yunohost.app/metronome/â .
Les fonctions principales : salon (MUC), transferts via xmpp-upload, OMEMO, contacts (roster) => OK.
Merci aux développeurs et mainteneurs yunohost/applications.
Bonjour,
Lâapplication que je maintiens, my_webdav, semble causer des problĂšmes de connexion chez les utilisateurs qui ont fait le upgrade en version 12.
Or jâutilise uniquement nginx et SSOwat
OĂč puis-je trouver les explications techniques dĂ©taillĂ©es de ce qui a changĂ©?
Merci dâavance
Hi Yuno!
I wanted to install from fresh Yunohost based on Debian 12 Bookworm for Raspberry, but the link on the install page points still towards 11.2 version.
In the images directory (Index of /images/), there is a Bookworm image, but itâs a testing version.
Where can I find the final image?
NB: the install page, points out only Raspberry 3 and 4. Now, it is also compatible with Raspberry 5
Is there an image for the Pi 5?
Not yet
After upgrading to Yuno 12.0, the Transmission application seems to have authentification issue:
Has this problem been identified?
Same problem here.
Also, the icon linked to the /downloads/
URL has disappeared.
Same here. Was there some kind of problem so that the image got pulled?
@thewholelifetolearn, @arnauld, and others : I just release fresh 12.0 images for x86 and RPi (which should also support RPi 5) â Pre-installed images | Yunohost Documentation
Feedback is welcome !
Hi Aleks,
When I follow your link, I end up on a NGinx 403 page. I think you wanted to say
https://repo.yunohost.org/images/
Thank for the images but the link on the download page is incorrect. As @rungeard mentioned, the link ends up on a 403 page. It is because the link points on yunohost-bullseye-12.0-rpi-stable.img.zip instead of yunohost-bookworm-12.0-rpi-stable.img.zip.
I realized too that the image is an v12.0 version. Without mentioning the patch version. Is it the latest (v12.0.7 as of today) ?