Erreur dans la mise à jour / webadmin bloqué

Mon serveur YunoHost

Matériel: VPS acheté en ligne …
Version de YunoHost:
yunohost:
repo: stable
version: 3.8.5.9
yunohost-admin:
repo: stable
version: 3.8.3.5
moulinette:
repo: stable
version: 3.8.1.3
ssowat:
repo: stable
version: 3.8.0.3

J’ai accès à mon serveur : En SSH
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Si oui, expliquer:

Description du problème

Bonjour,
Bravo pour Yunohost, c’est super bien fait. J’adore. Je n’y connais rien, mais jusqu’à présent je m’en suis toujours sorti… jusqu’à présent!
J’ai tenté une mise à jour complète de mon serveur, juste pour que tout soit à jour. Via l’interface administrateur web j’ai : mis à jour les librairies (ok), essayé de mettre à jour Piwigo (nok), Wordpress (ok), tenté de faire un upgrade complet vers la dernière version yunohost (nok).
Et maintenant l’interface admin par le web ne répond plus, pacman tourne toujours par exemple quand je veux aller dans les logs.
Comme demandé dans un autre topic similaire, voici :
systemctl status yunohost-api
● yunohost-api.service - YunoHost API Server
Loaded: loaded (/lib/systemd/system/yunohost-api.service; enabled; vendor pre
Active: active (running) since Wed 2021-01-06 14:30:19 UTC; 1 months 13 days
Main PID: 587 (yunohost-api)
Memory: 1.0G
CGroup: /system.slice/yunohost-api.service
├─ 587 /usr/bin/python /usr/bin/yunohost-api
├─16035 /bin/bash -x ./upgrade piwigo__3
├─22559 sh -c YNH_APP_INSTANCE_NUMBER=3 YNH_CWD=/var/cache/yunohost/f
├─22560 /bin/bash -x ./upgrade piwigo__3
├─22561 /usr/bin/python /usr/bin/yunohost-api
├─22562 /usr/bin/python /usr/bin/yunohost-api
├─22565 /usr/bin/python /usr/bin/yunohost-api
├─22645 /bin/bash -x ./upgrade piwigo__3
└─22646 /bin/bash -x ./upgrade piwigo__3

c’est pas bizarre trois fois piwigo ? et trois fois yunohost-api ?

Toujours selon un topic semblable j’ai essayé :
sudo apt install yunohost-admin
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
yunohost-admin : Depends: yunohost (>= 4.0.0~alpha) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Je crois que la migration Debian s’est bien passée :
cat /etc/*-release
PRETTY_NAME=“Debian GNU/Linux 10 (buster)”
NAME=“Debian GNU/Linux”
VERSION_ID=“10”
VERSION=“10 (buster)”
VERSION_CODENAME=buster
ID=debian

Du coup je ne sais pas où regarder, je préfère demander avant de faire plus de bétises…
Merci de votre aide.

Dans ce cas il faudrait partager le log de la migration échouée … Tu peux la trouver en faisant (à défaut d’avoir accès a la webadmin) :

yunohost log list

puis après avoir trouvé le bon identifiant correspondant à la migration,

yunohost log display <l'identificant de l'opération échouée> --share

En parallèle, tu peux investiguer pourquoi piwigo est bloqué avec:

ps -ef --forest | grep -C3 piwigo

Bonsoir, merci du coup de main.
yunohost log list ne done rien, pas de réponse.

mais j’avais réussi à aller dans /var/log/yunohost siça peut aider ?

ps -ef --forest | grep -C3 piwigo
root       497     1  0 Jan06 ?        00:11:09 /lib/systemd/systemd-logind
message+   520     1  0 Jan06 ?        00:22:49 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root       587     1  0 Jan06 ?        00:09:01 /usr/bin/python /usr/bin/yunohost-api
root     22559   587  0 10:22 ?        00:00:00  \_ sh -c YNH_APP_INSTANCE_NUMBER=3 YNH_CWD=/var/cache/yunohost/from_file/piwigo_ynh-d0b7de496cd022bd048e59c8bf638b5f3df26c53/scripts YNH_STDINFO=/tmp/tmpJsnRLZ/stdinfo YNH_APP_INSTANCE_NAME=piwigo__3 YNH_INTERFACE=api YNH_APP_ID=piwigo YNH_STDRETURN=/tmp/tmpaEm72C/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./upgrade" piwigo__3 7>&1
root     22560 22559  0 10:22 ?        00:00:00  |   \_ /bin/bash -x ./upgrade piwigo__3
root     22645 22560  0 10:22 ?        00:00:00  |       \_ /bin/bash -x ./upgrade piwigo__3
root     22646 22645 34 10:22 ?        02:12:07  |           \_ /bin/bash -x ./upgrade piwigo__3
root     22561   587  0 10:22 ?        00:00:00  \_ /usr/bin/python /usr/bin/yunohost-api
root     22562   587  0 10:22 ?        00:00:00  \_ /usr/bin/python /usr/bin/yunohost-api
root     22565   587  0 10:22 ?        00:01:06  \_ /usr/bin/python /usr/bin/yunohost-api
--
admin    13580 12560  0 10:40 ?        00:00:00      \_ sshd: admin@pts/0
admin    13596 13580  0 10:40 pts/0    00:00:00          \_ -bash
admin    31363 13596  0 16:47 pts/0    00:00:00              \_ ps -ef --forest
admin    31364 13596  0 16:47 pts/0    00:00:00              \_ grep -C3 piwigo
avahi    20679     1  0 09:42 ?        00:00:00 avahi-daemon: running [yunohost.local]
avahi    20681 20679  0 09:42 ?        00:00:00  \_ avahi-daemon: chroot helper
dnsmasq  21251     1  0 09:43 ?        00:00:03 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service --trust-anchor=.,20326,8,2,e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
--
nextclo+ 16874 16871  0 10:01 ?        00:00:00  \_ php-fpm: pool nextcloud__2
nextclo+ 16875 16871  0 10:01 ?        00:00:00  \_ php-fpm: pool nextcloud__2
nextclo+ 16876 16871  0 10:01 ?        00:00:00  \_ php-fpm: pool nextcloud__2
piwigo_+ 16877 16871  0 10:01 ?        00:00:00  \_ php-fpm: pool piwigo__2
piwigo_+ 16878 16871  0 10:01 ?        00:00:00  \_ php-fpm: pool piwigo__2
piwigo_+ 16879 16871  0 10:01 ?        00:00:00  \_ php-fpm: pool piwigo__3
piwigo_+ 16880 16871  0 10:01 ?        00:00:00  \_ php-fpm: pool piwigo__3
prettyn+ 16881 16871  0 10:01 ?        00:00:00  \_ php-fpm: pool prettynoemiecms__2
prettyn+ 16882 16871  0 10:01 ?        00:00:00  \_ php-fpm: pool prettynoemiecms__2
prettyn+ 16883 16871  0 10:01 ?        00:00:00  \_ php-fpm: pool prettynoemiecms__3

désolé pour la mise en page, je suis pas encore au top…

Mouairf bon ça donne malheureusement pas moulte indice de pourquoi c’est bloqué …

J’imagine qu’on peut déploquer la situation avec par exemple

kill 22559

… ça ne change rien. Toujours bloqué.
Comme vu dans un précédent topic, j’ai essayé de réinstaller yunohost. Mais il y a un problème.

Blockquote

sudo apt install yunohost-admin
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
yunohost-admin : Depends: yunohost (>= 4.0.0~alpha) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Blockquote

Bon, conclusion de cette affaire :
j’ai essayé de mettre les paquets à jour mais du coup Yunohost a été desinstallé,
puis j’ai essayé d’installer Yunohost mais il y avait un problème de dépendances.
Et finalement je ne peux plus me connecter au serveur, l’utilisateur admin avait été suprimé et root ne peut utiliser la console (?).
Je vais tout réinstaller, ça ira plus vite.
Bonne soirée.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.