YunoHost 11.0 (Bullseye) release / Sortie de YunoHost 11.0 (Bullseye)

Finalement, le Yunohost démarre, mais je vois le message d’erreur :


[FAILED] Failes to start dhcpcd on all interfaces

Et pour finir, sous le logo YUNOHOST

Local IP: (no ip detected?)

et le RPi se fige.

J’ai encore des petits soucis:

J’ai aussi Nextcloud en carafe j’ai essayé ça:

https://paste.yunohost.org/xisivufawa.pl

Finalement j’ai fait un

sudo yunohost app upgrade -F nextcloud

pour ce résultat:

https://paste.yunohost.org/favalocaxo.coffeescript

Je vais poster un sujet à part et ne pas polluer ce fil :slight_smile:

Hello @Aleks,
Est ce qu’il y aurait d’autres paquets que armbian-config (qui effectivement nest pas vital) à enlever ?
D’avance merci beaucoup pour ton aide / Anything else to remove in addition of armbian-config ?

Déso ton post était passé à la trappe … Essayons de brute-forcer apt un peu plus :

sudo apt install libc6 libc6-dev binutils unscd libgcc-8-dev- libstdc++-8-dev- gcc-8- g++- g++-8- gcc- gcc-8-base build-essential- armbian-config- libc-dev-bin libc6:armhf- libc6-dev libcrypt-dev libnsl-dev openssh-sftp-client libmailutils5 --dry-run

1 Like

Je t’en prie @Aleks c’est déjà très sympa de ta part de m’aider…
Alors voici le résultat de la commande que tu proposes

# sudo apt install libc6 libc6-dev binutils unscd libgcc-8-dev- libstdc++-8-dev- gcc-8- g++- g++-8- gcc- gcc-8-base build-essential- armbian-config- libc-dev-bin libc6:armhf- libc6-dev libcrypt-dev libnsl-dev openssh-sftp-client libmailutils5 --dry-run
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Le paquet « libgcc-8-dev » n'est pas installé, et ne peut donc être supprimé
Aucune version du paquet libmailutils5 n'est disponible, mais il existe dans la base
de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
ou qu'il n'est disponible que sur une autre source

E: Impossible de trouver le paquet openssh-sftp-client
E: Le paquet « libmailutils5 » n'a pas de version susceptible d'être installée

Et la migration échoue toujours https://paste.yunohost.org/raw/qobetutuxi

My bad c’était une typo dans ma commande, en fait c’est openssh-sftp-server :

sudo apt install libc6 libc6-dev binutils unscd libgcc-8-dev- libstdc++-8-dev- gcc-8- g++- g++-8- gcc- gcc-8-base build-essential- armbian-config- libc-dev-bin libc6:armhf- libc6-dev libcrypt-dev libnsl-dev openssh-sftp-server libmailutils5 --dry-run

Merci @Aleks
Le résultat de la dernière commande

# sudo apt install libc6 libc6-dev binutils unscd libgcc-8-dev- libstdc++-8-dev- gcc-8- g++- g++-8- gcc- gcc-8-base build-essential- armbian-config- libc-dev-bin libc6:armhf- libc6-dev libcrypt-dev libnsl-dev openssh-sftp-server libmailutils5 --dry-run
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Le paquet « libgcc-8-dev » n'est pas installé, et ne peut donc être supprimé
Aucune version du paquet libmailutils5 n'est disponible, mais il existe dans la base
de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
ou qu'il n'est disponible que sur une autre source

E: Le paquet « libmailutils5 » n'a pas de version susceptible d'être installée

Zgrmbl moui les trucs ont un peu changé de nom … Alors tentons :

sudo apt install libc6 libc6-dev binutils unscd libgcc-8-dev- libstdc++-8-dev- gcc-8- g++- g++-8- gcc- gcc-8-base build-essential- armbian-config- libc-dev-bin libc6:armhf- libc6-dev libcrypt-dev libnsl-dev openssh-sftp-server mailutils libmailutils7 --dry-run
1 Like

Unfortunately that wasn’t it yet: mailman seems to work in general but I cannot access the messages moderation page in the frontend due to Mailman REST API not available. Please start Mailman core.

How can I debug this? Is there maybe an additional step to repair sth that broke with my reinstall of the backup?

I guess I would start by checking systemctl | grep -i mailman

This is the response

mailman3-web.service.         loaded active running   Mailman3-web uWSGI service
mailman3.service.             loaded active running   Mailman3 server

Also checked out sudo grep REST_API_URL /etc/mailman3/mailman-web.py with the response:

MAILMAN_REST_API_URL = 'http://localhost:8095'

Is that right? I mean in general I can use the webservice, so there must be a connection right?

EDIT: Wait, I think I found the problem. There are some corrupted “whitheld” mails that cause the error

Solved by deleting the corrupted withheld messages with the mailman shell. Thx to Mark

 >>> from mailman.app.moderator import handle_message
 >>> requestdb = IListRequests(m)
 >>> for req in requestdb.held_requests:
...     if req.request_type == RequestType.held_message:
...         handle_message(m, req.id, Action.discard)
...
 >>> commit()

Merci @Aleks ; alors la sortie de la commande proposée est :

# sudo apt install libc6 libc6-dev binutils unscd libgcc-8-dev- libstdc++-8-dev- gcc-8- g++- g++-8- gcc- gcc-8-base build-essential- armbian-config- libc-dev-bin libc6:armhf- libc6-dev libcrypt-dev libnsl-dev openssh-sftp-server mailutils libmailutils7 --dry-run

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Le paquet « libgcc-8-dev » n'est pas installé, et ne peut donc être supprimé
libc6 est déjà la version la plus récente (2.31-13+deb11u3).
gcc-8-base est déjà la version la plus récente (8.3.0-6).
Vous pouvez lancer « apt --fix-broken install » pour corriger ces problèmes.
Les paquets suivants contiennent des dépendances non satisfaites :
 dkms : Dépend: gcc mais ne sera pas installé
 libc6-dev : Casse: python3.7 (< 3.7.7-1+b1) mais 3.7.3-2+deb10u3 devra être installé
 libcrypt1:armhf : Dépend: libc6:armhf (>= 2.25) mais ne sera pas installé
 libgcc-s1:armhf : Dépend: libc6:armhf (>= 2.4) mais ne sera pas installé
 libgcc1:armhf : Dépend: libc6:armhf (>= 2.4) mais ne sera pas installé
 liblzo2-2:armhf : Dépend: libc6:armhf (>= 2.4) mais ne sera pas installé
 libmailutils7 : Dépend: libpython3.9 (>= 3.9.0~b4) mais ne sera pas installé
 libnsl-dev : Dépend: libnsl2 (= 1.3.0-2) mais ne sera pas installé
              Dépend: libtirpc-dev mais ne sera pas installé
 libtool : Dépend: gcc mais ne sera pas installé ou
                    c-compiler
 mailutils : Dépend: libreadline8 (>= 6.0) mais ne sera pas installé
E: Dépendances non satisfaites. Essayez « apt --fix-broken install » sans paquet
   (ou indiquez une solution).

Et, @Aleks, la migration échoue toujours https://paste.yunohost.org/raw/qecopifabu

Je pensais être limite en espace disque, mais finalement la migration est très légère !
Tout s’est bien passé, grand bravo aux équipes ! :smiling_face_with_three_hearts:

Astuces pour gagner de l’espace disque avant la migration :
Vider le cache yarn (pour les instances peertube notamment)

# yarn cache clean

Vérifier la version usitée de nodejs

# grep -nr "nodejs_version:" /etc/yunohost/apps/*/settings.yml

Puis supprimer les versions non usitées :

# rm -R /usr/local/n/versions/node/xx.xx.x

4G de récupéré !
Pour info,
espace utilisé avant migration : 6,9G.
espace utilisé après migration : 7,6G.

4 Likes

Just in case… Any one experiencing issues with MySQL after the migration ?
With the service not starting/stopping, Nextcloud not working, timeouts…

I have a weird issue here, I’m trying to diagnose it, if you have any input regarding a kind of similar problem… please reach out :arrow_right: Issues with Mysql/InnoDB after Bullseye migration - #9 by Lapineige

Hi!

Raspberry PI 4B. Upgrade failed for the 2nd time.
I’m following steps shown here Migrating from 4.x to 11.x
This is the output from 2nd time. Can anyone point me in right direction.

ended_at: 2022-09-09 18:38:13.895164
error: 'Migration 0021_migrate_to_bullseye did not complete, aborting. Error: Failed
  to reinstall mariadb-common ?'
interface: api
operation: tools_migrations_migrate_forward
parent: null
started_at: 2022-09-09 18:37:48.639347
success: false
yunohost_version: 4.4.2.14

============

2022-09-09 19:37:48,660: INFO - Running migration 0021_migrate_to_bullseye...
2022-09-09 19:37:48,699: INFO - Starting migration to Bullseye
2022-09-09 19:37:49,222: INFO - Patching the sources.lists...
2022-09-09 19:37:55,013: INFO - Fetching available upgrades for system packages...
2022-09-09 19:37:55,324: DEBUG - Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
2022-09-09 19:37:55,325: DEBUG - Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
2022-09-09 19:37:55,325: DEBUG - Hit:3 https://packages.sury.org/php bullseye InRelease
2022-09-09 19:37:55,337: DEBUG - Hit:4 http://forge.yunohost.org/debian bullseye InRelease
2022-09-09 19:37:59,732: DEBUG - Reading package lists...
2022-09-09 19:38:01,536: DEBUG - Done
2022-09-09 19:38:02,525: INFO - Applying patch to workaround conflict issue...
2022-09-09 19:38:02,600: DEBUG - Running: sed -i /var/lib/dpkg/status -e 's@Conflicts: apache2, bind9@Conflicts: apache2, bind9@g'
2022-09-09 19:38:02,726: DEBUG - Running: LC_ALL=C DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none apt install --quiet -o=Dpkg::Use-Pty=0 --fix-broken --assume-yes mariadb-common --reinstall -o Dpkg::Options::='--force-confmiss'
2022-09-09 19:38:02,752: DEBUG - 
2022-09-09 19:38:02,754: WARNING - WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
2022-09-09 19:38:02,756: DEBUG - 
2022-09-09 19:38:04,888: INFO - + Reading package lists...
2022-09-09 19:38:05,538: INFO - + Building dependency tree...
2022-09-09 19:38:05,542: INFO - + Reading state information...
2022-09-09 19:38:06,498: INFO - + The following packages were automatically installed and are no longer required:
2022-09-09 19:38:06,516: INFO - +   bsdmainutils cpp-8 dh-python guile-2.0-libs libasan5 libbind9-161 libcroco3
2022-09-09 19:38:06,518: INFO - +   libcupsfilters1 libcupsimage2 libdns1104 libdns1110 libevent-2.1-6
2022-09-09 19:38:06,520: INFO - +   libevent-core-2.1-6 libevent-pthreads-2.1-6 libfreetype6-dev libhavege1
2022-09-09 19:38:06,522: INFO - +   libhiredis0.14 libicu63 libilmbase23 libirs161 libisc1100 libisc1105
2022-09-09 19:38:06,524: INFO - +   libisccc161 libisccfg163 libisl19 libjemalloc2 libjim0.77 libjs-bootstrap
2022-09-09 19:38:06,526: INFO - +   libjs-d3 libjsoncpp1 libkyotocabinet16v5 liblwres161 liblzo2-2 libmatheval1
2022-09-09 19:38:06,528: INFO - +   libmemcachedutil2 libmpdec2 libncursesw5 libopenexr23 libperl5.28
2022-09-09 19:38:06,530: INFO - +   libpgm-5.2-0 libpng12-0 libpython2-stdlib libpython2.7 libpython2.7-minimal
2022-09-09 19:38:06,532: INFO - +   libpython2.7-stdlib libpython3.7 libpython3.7-dev libpython3.7-minimal
2022-09-09 19:38:06,533: INFO - +   libpython3.7-stdlib libreadline5 libusb-0.1-4 libx265-165 perl-modules-5.28
2022-09-09 19:38:06,535: INFO - +   php-apcu-bc php7.4-phpdbg python2 python2-minimal python2.7
2022-09-09 19:38:06,537: INFO - +   python2.7-minimal python3-aiohttp python3-asn1crypto python3-async-timeout
2022-09-09 19:38:06,539: INFO - +   python3-crypto python3-entrypoints python3-jeepney python3-keyring
2022-09-09 19:38:06,541: INFO - +   python3-keyrings.alt python3-multidict python3-pycryptodome
2022-09-09 19:38:06,542: INFO - +   python3-secretstorage python3-typing-extensions python3-xdg python3-yarl
2022-09-09 19:38:06,545: INFO - +   python3.7-minimal rpi.gpio-common usb.ids
2022-09-09 19:38:06,546: INFO - + Use 'apt autoremove' to remove them.
2022-09-09 19:38:07,014: INFO - + 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 7 not upgraded.
2022-09-09 19:38:07,016: INFO - + 2 not fully installed or removed.
2022-09-09 19:38:07,018: INFO - + Need to get 36.7 kB of archives.
2022-09-09 19:38:07,019: INFO - + After this operation, 0 B of additional disk space will be used.
2022-09-09 19:38:07,020: INFO - + Get:1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf mariadb-common all 1:10.5.15-0+deb11u1 [36.7 kB]
2022-09-09 19:38:08,555: INFO - + Fetched 36.7 kB in 0s (92.4 kB/s)
2022-09-09 19:38:08,825: DEBUG - (Reading database ... 73466 files and directories currently installed.)
2022-09-09 19:38:08,832: DEBUG - Preparing to unpack .../mariadb-common_1%3a10.5.15-0+deb11u1_all.deb ...
2022-09-09 19:38:08,857: INFO - + Unpacking mariadb-common (1:10.5.15-0+deb11u1) over (1:10.5.15-0+deb11u1) ...
2022-09-09 19:38:09,066: INFO - + Setting up mariadb-common (1:10.5.15-0+deb11u1) ...
2022-09-09 19:38:09,073: DEBUG - 
2022-09-09 19:38:09,073: DEBUG - Configuration file '/etc/mysql/mariadb.cnf', does not exist on system.
2022-09-09 19:38:09,075: DEBUG - Installing new config file as you requested.
2022-09-09 19:38:09,093: DEBUG - update-alternatives: warning: forcing reinstallation of alternative /etc/mysql/mariadb.cnf because link group my.cnf is broken
2022-09-09 19:38:09,221: INFO - + Setting up raspberrypi-sys-mods (20220901) ...
2022-09-09 19:38:09,235: INFO - + Fixing previous dhcpcd wait.conf drop-in to prevent double logging...
2022-09-09 19:38:09,242: INFO - + Removing vscode repo stubs...
2022-09-09 19:38:09,295: INFO - + Checking if boot partition needs 'flush' option...
2022-09-09 19:38:09,301: WARNING - dpkg: error processing package raspberrypi-sys-mods (--configure):
2022-09-09 19:38:09,303: WARNING -  installed raspberrypi-sys-mods package post-installation script subprocess returned error exit status 1
2022-09-09 19:38:09,306: WARNING - dpkg: dependency problems prevent configuration of pi-bluetooth:
2022-09-09 19:38:09,307: WARNING -  pi-bluetooth depends on raspberrypi-sys-mods; however:
2022-09-09 19:38:09,308: WARNING -   Package raspberrypi-sys-mods is not configured yet.
2022-09-09 19:38:09,309: DEBUG - 
2022-09-09 19:38:09,310: WARNING - dpkg: error processing package pi-bluetooth (--configure):
2022-09-09 19:38:09,311: WARNING -  dependency problems - leaving unconfigured
2022-09-09 19:38:09,313: INFO - + Processing triggers for mariadb-server-10.5 (1:10.5.15-0+deb11u1) ...
2022-09-09 19:38:12,116: WARNING - Errors were encountered while processing:
2022-09-09 19:38:12,117: WARNING -  raspberrypi-sys-mods
2022-09-09 19:38:12,118: WARNING -  pi-bluetooth
2022-09-09 19:38:12,891: WARNING - E: Sub-process /usr/bin/dpkg returned an error code (1)
2022-09-09 19:38:13,893: ERROR - Migration 0021_migrate_to_bullseye did not complete, aborting. Error: Failed to reinstall mariadb-common ?
Traceback (most recent call last):
  File "/usr/lib/moulinette/yunohost/tools.py", line 944, in tools_migrations_run
    migration.run()
  File "/usr/lib/moulinette/yunohost/data_migrations/0021_migrate_to_bullseye.py", line 174, in run
    raise YunohostError("Failed to reinstall mariadb-common ?", raw_msg=True)
yunohost.utils.error.YunohostError: Failed to reinstall mariadb-common ?

Here the apt log mentions MySQL/MariaDB:

I’m running a migration now, and keep my eyes open to see if it is mentioned in my case as well.


Update: No MySQL/MariaDB-related warnings have passed (yet). I ran the migration through the web interface. It just gave up with a gateway timeout error.

Once SSH got logged in, yunohost tools migrations list showed rebuild_python_venv as pending. I’ll pick up the migration from there… in a screen session :smiley:


Update2: the migration was done in a minute after restarting it, only coturn (for Matrix) mentioned by others needed some attention.

1 Like

I had the very same problem today.

I “solved” the issue by :

  • removing pi-bluetooth and raspberrypi-sys-mods packages
  • migrating to Debian 11
  • installing them again

I don’t know if there is any consequences / side effects. At least you can upgrade.
(make a backup before :wink: )

1 Like

Thanks for the input. I did all 3 inputs from your message. It seems that upgrade is partially finished.

sudo yunohost diagnosis show --issues --human-readable

=================================
Base system (basesystem)
=================================

[ERROR] You are running inconsistent versions of the YunoHost packages... most probably because of a failed or partial upgrade.
  - yunohost version: 11.0.9.14 (stable)
  - yunohost-admin version: 4.4.1 (stable)
  - moulinette version: 11.0.9 (stable)
  - ssowat version: 11.0.9 (stable)

=================================
Ports exposure (ports)
=================================

[ERROR] Port 22 is not reachable from outside.
  - Exposing this port is needed for admin features (service ssh)
  - To fix this issue, you most probably need to configure port forwarding on your internet router as described in https://yunohost.org/isp_box_config

[ERROR] Port 80 is not reachable from outside.
  - Exposing this port is needed for web features (service nginx)
  - To fix this issue, you most probably need to configure port forwarding on your internet router as described in https://yunohost.org/isp_box_config

[ERROR] Port 443 is not reachable from outside.
  - Exposing this port is needed for web features (service nginx)
  - To fix this issue, you most probably need to configure port forwarding on your internet router as described in https://yunohost.org/isp_box_config

=================================
Services status check (services)
=================================

[ERROR] Service calibreweb is failed :(
  - You can try to restart the service, and if it doesn't work, have a look at the service logs in the webadmin (from the command line, you can do this with 'yunohost service restart calibreweb' and 'yunohost service log calibreweb').

[ERROR] Service nginx is failed :(
  - You can try to restart the service, and if it doesn't work, have a look at the service logs in the webadmin (from the command line, you can do this with 'yunohost service restart nginx' and 'yunohost service log nginx').

[ERROR] Service yunohost-firewall is failed :(
  - You can try to restart the service, and if it doesn't work, have a look at the service logs in the webadmin (from the command line, you can do this with 'yunohost service restart yunohost-firewall' and 'yunohost service log yunohost-firewall').

nginx and yunohost-firewall services I’m unable to restart. I think for this reasons I’m unable to even get to web interface and all I can do is connect through ssh.
Any idea?

Hi!

I’ve encountered an issue doing a migration on my VPS:

2022-09-10 18:25:21,145: WARNING - WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
2022-09-10 18:25:21,145: DEBUG - 
2022-09-10 18:25:21,533: INFO - + Reading package lists...
2022-09-10 18:25:21,792: INFO - + Building dependency tree...
2022-09-10 18:25:21,793: INFO - + Reading state information...
2022-09-10 18:25:21,830: INFO - + You might want to run 'apt --fix-broken install' to correct these.
2022-09-10 18:25:21,831: INFO - + The following packages have unmet dependencies:
2022-09-10 18:25:21,958: INFO - +  libpq-dev : Depends: libpq5 (= 13.8-0+deb11u1) but 11.17-0+deb10u1 is to be installed
2022-09-10 18:25:21,958: INFO - +  libpurple-bin : Depends: python
2022-09-10 18:25:21,959: INFO - +  libssl-dev : Depends: libssl1.1 (= 1.1.1n-0+deb11u3) but 1.1.1n-0+deb10u3 is to be installed
2022-09-10 18:25:21,960: INFO - +  libstdc++-8-dev : Depends: libgcc-8-dev (= 8.3.0-6) but it is not installable
2022-09-10 18:25:21,960: INFO - +  lstu-ynh-deps : Depends: libpod-parser-perl but it is not going to be installed
2022-09-10 18:25:21,961: INFO - +  nslcd-utils : Depends: python:any (>= 2.6.6-7~)
2022-09-10 18:25:21,961: INFO - +  python-dbus : Depends: python (< 2.8)
2022-09-10 18:25:21,962: INFO - +                Depends: python (>= 2.7~)
2022-09-10 18:25:21,962: INFO - +                Depends: python:any (< 2.8)
2022-09-10 18:25:21,962: INFO - +                Depends: python:any (>= 2.7~)
2022-09-10 18:25:21,962: INFO - +                Recommends: python-gi but it is not installable
2022-09-10 18:25:21,963: INFO - +  python-gpg : Depends: python (< 2.8)
2022-09-10 18:25:21,963: INFO - +               Depends: python (>= 2.7~)
2022-09-10 18:25:21,963: INFO - +               Depends: python:any (< 2.8)
2022-09-10 18:25:21,964: INFO - +               Depends: python:any (>= 2.7~)
2022-09-10 18:25:21,964: INFO - +  python-meld3 : Depends: python:any (< 2.8)
2022-09-10 18:25:21,964: INFO - +                 Depends: python:any (>= 2.7.5-5~)
2022-09-10 18:25:21,964: INFO - +  python-pkg-resources : Depends: python:any (< 2.8)
2022-09-10 18:25:21,965: INFO - +                         Depends: python:any (>= 2.7~)
2022-09-10 18:25:21,965: INFO - +  python-setuptools : Depends: python:any (< 2.8)
2022-09-10 18:25:21,965: INFO - +                      Depends: python:any (>= 2.7~)
2022-09-10 18:25:21,966: INFO - +  python-tz : Depends: python:any (< 2.8)
2022-09-10 18:25:21,966: INFO - +              Depends: python:any (>= 2.7~)
2022-09-10 18:25:21,966: INFO - +  python3.7-venv : Depends: python3.7 (= 3.7.3-2+deb10u3) but it is not installable
2022-09-10 18:25:21,967: INFO - +  rabbitmq-server : Depends: python:any
2022-09-10 18:25:21,967: INFO - +  supervisor : Depends: python:any (< 2.8)
2022-09-10 18:25:21,967: INFO - +               Depends: python:any (>= 2.7~)
2022-09-10 18:25:22,031: WARNING - E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
2022-09-10 18:25:23,032: ERROR - Migration 0021_migrate_to_bullseye did not complete, aborting. Error: Failed to reinstall mariadb-common ?