Mon serveur YunoHost
Matériel: Tourne dans un container dans un proxmox
Version de YunoHost: 11.2.10
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Plus possible de mettre à jour
Bonjour,
Depuis quelques jours je reçois tous les jours un courriel contenant un message du type :
E: Could not get lock /var/lib/dpkg/lock. It is held by process 3347201 (dpkg)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Du coup j’ai essayé de kill le process en question, mais pas mieux.
Puis ce matin, je me suis dit que j’allais essayer de mettre à jour le système, histoire de, mais :
root@yunohost:~# apt upgrade -y
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
root@yunohost:~# dpkg --configure -a
Setting up yunohost (11.2.10) ...
Regenerating configuration, this might take a while...
Warning: Another YunoHost command is running right now, we are waiting for it to finish before running this one
^CError: Operation interrupted
Le Another YunoHost command is running right now
dure trop longtemps donc j’ai ctrl + c
le tout.
Si cela peut aider :
root@yunohost:~# ps -ef --forest | grep -C2 apt
root 30104 30093 0 06:02 pts/3 00:00:00 \_ -bash
root 30113 30104 0 06:02 pts/3 00:00:00 \_ ps -ef --forest
root 30114 30104 0 06:02 pts/3 00:00:00 \_ grep -C2 apt
root 1001240 1 0 Jan01 ? 00:00:21 /usr/lib/postfix/sbin/master -w
postfix 1001242 1001240 0 Jan01 ? 00:00:02 \_ qmgr -l -t unix -u
et aussi :
root@yunohost:~# ps -ef --forest | grep -C2 yunohost
root 2915499 2915498 0 Feb07 ? 00:00:00 | \_ /bin/sh -c test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
root 2915500 2915499 0 Feb07 ? 00:00:00 | \_ run-parts --report /etc/cron.daily
root 28698 2915500 0 05:56 ? 00:00:00 | \_ /bin/bash /etc/cron.daily/yunohost-fetch-apps-catalog
root 28699 28698 0 05:56 ? 00:00:00 | \_ sleep 2690
root 3059598 550 0 Feb08 ? 00:00:00 \_ /usr/sbin/CRON -f
root 3059599 3059598 0 Feb08 ? 00:00:00 | \_ /bin/sh -c test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
root 3059600 3059599 0 Feb08 ? 00:00:00 | \_ run-parts --report /etc/cron.daily
root 28355 3059600 0 05:56 ? 00:00:00 | \_ /bin/bash /etc/cron.daily/yunohost-fetch-apps-catalog
root 28356 28355 0 05:56 ? 00:00:00 | \_ sleep 2857
root 3201875 550 0 Feb09 ? 00:00:00 \_ /usr/sbin/CRON -f
root 3201876 3201875 0 Feb09 ? 00:00:00 | \_ /bin/sh -c test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
root 3201877 3201876 0 Feb09 ? 00:00:00 | \_ run-parts --report /etc/cron.daily
root 28696 3201877 0 05:56 ? 00:00:00 | \_ /bin/bash /etc/cron.daily/yunohost-fetch-apps-catalog
root 28697 28696 0 05:56 ? 00:00:00 | \_ sleep 3505
root 3348193 550 0 Feb10 ? 00:00:00 \_ /usr/sbin/CRON -f
root 3348194 3348193 0 Feb10 ? 00:00:00 | \_ /bin/sh -c test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
root 3348196 3348194 0 Feb10 ? 00:00:00 | \_ run-parts --report /etc/cron.daily
root 28247 3348196 0 05:56 ? 00:00:00 | \_ /bin/bash /etc/cron.daily/yunohost-fetch-apps-catalog
root 28248 28247 0 05:56 ? 00:00:00 | \_ sleep 2110
root 3490672 550 0 Feb11 ? 00:00:00 \_ /usr/sbin/CRON -f
root 3490673 3490672 0 Feb11 ? 00:00:00 | \_ /bin/sh -c test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
root 3490674 3490673 0 Feb11 ? 00:00:00 | \_ run-parts --report /etc/cron.daily
root 28219 3490674 0 05:56 ? 00:00:00 | \_ /bin/bash /etc/cron.daily/yunohost-fetch-apps-catalog
root 28220 28219 0 05:56 ? 00:00:00 | \_ sleep 3591
root 3635057 550 0 Feb12 ? 00:00:00 \_ /usr/sbin/CRON -f
root 3635058 3635057 0 Feb12 ? 00:00:00 | \_ /bin/sh -c test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
root 3635060 3635058 0 Feb12 ? 00:00:00 | \_ run-parts --report /etc/cron.daily
root 28689 3635060 0 05:56 ? 00:00:00 | \_ /bin/bash /etc/cron.daily/yunohost-fetch-apps-catalog
root 28690 28689 0 05:56 ? 00:00:00 | \_ sleep 3473
root 3780822 550 0 Feb13 ? 00:00:00 \_ /usr/sbin/CRON -f
root 3780823 3780822 0 Feb13 ? 00:00:00 | \_ /bin/sh -c test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
root 3780824 3780823 0 Feb13 ? 00:00:00 | \_ run-parts --report /etc/cron.daily
root 28700 3780824 0 05:56 ? 00:00:00 | \_ /bin/bash /etc/cron.daily/yunohost-fetch-apps-catalog
root 28701 28700 0 05:56 ? 00:00:00 | \_ sleep 3123
root 3929932 550 0 Feb14 ? 00:00:00 \_ /usr/sbin/CRON -f
root 3929933 3929932 0 Feb14 ? 00:00:00 | \_ /bin/sh -c test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
root 3929934 3929933 0 Feb14 ? 00:00:00 | \_ run-parts --report /etc/cron.daily
root 28217 3929934 0 05:56 ? 00:00:00 | \_ /bin/bash /etc/cron.daily/yunohost-fetch-apps-catalog
root 28218 28217 0 05:56 ? 00:00:00 | \_ sleep 1873
root 4072684 550 0 Feb15 ? 00:00:00 \_ /usr/sbin/CRON -f
root 4072685 4072684 0 Feb15 ? 00:00:00 | \_ /bin/sh -c test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
root 4072686 4072685 0 Feb15 ? 00:00:00 | \_ run-parts --report /etc/cron.daily
root 28777 4072686 0 05:56 ? 00:00:00 | \_ /bin/bash /etc/cron.daily/yunohost-fetch-apps-catalog
root 28778 28777 0 05:56 ? 00:00:00 | \_ sleep 1411
root 29820 550 0 06:00 ? 00:00:00 \_ /usr/sbin/CRON -f
--
nextclo+ 29822 29821 0 06:00 ? 00:00:00 \_ /usr/bin/php8.2 --define apc.enable_cli=1 -f /var/www/nextcloud/cron.php
daemon 552 1 0 2023 ? 00:00:00 /usr/sbin/atd -f
mautrix+ 1310 1 0 2023 ? 00:00:34 /opt/yunohost/mautrix_signal/bin/python3 -m mautrix_signal
_rspamd 621581 1 0 2023 ? 00:02:34 rspamd: main process; 0.1 msg/sec, 0.0 msg/sec spam, 0.1 msg/sec ham; 0.47s avg processing time
_rspamd 621599 621581 0 2023 ? 00:01:04 \_ rspamd: rspamd_proxy process (localhost:11332)
--
root 30104 30093 0 06:02 pts/3 00:00:00 \_ -bash
root 30239 30104 0 06:03 pts/3 00:00:00 \_ ps -ef --forest
root 30240 30104 0 06:03 pts/3 00:00:00 \_ grep -C2 yunohost
root 1001240 1 0 Jan01 ? 00:00:21 /usr/lib/postfix/sbin/master -w
postfix 1001242 1001240 0 Jan01 ? 00:00:02 \_ qmgr -l -t unix -u
--
www-data 1701447 1032232 0 Jan05 ? 00:00:00 \_ php-fpm: pool www
www-data 1701448 1032232 0 Jan05 ? 00:00:00 \_ php-fpm: pool www
mautrix+ 1187882 1 0 Jan02 ? 00:08:20 /opt/yunohost/mautrix_whatsapp/mautrix-whatsapp -c=/opt/yunohost/mautrix_whatsapp/config.yaml
turnser+ 1710085 1 0 Jan05 ? 00:15:23 /usr/bin/turnserver -c /etc/matrix-synapse/coturn.conf --pidfile=
ttrss 1717754 1 0 Jan05 ? 00:02:57 /usr/bin/php8.2 /var/www/ttrss/update_daemon2.php
debian-+ 1724005 1 0 Jan05 ? 00:13:52 /usr/bin/transmission-daemon -f --log-error
matrix-+ 1793722 1 0 Jan06 ? 04:30:19 /opt/yunohost/matrix-synapse/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/
root 3991482 1 0 Jan18 ? 00:09:00 /lib/systemd/systemd-journald
root 1581936 1 0 Jan29 ? 00:01:00 php-fpm: master process (/etc/php/8.2/fpm/php-fpm.conf)
--
nextclo+ 4140710 1581936 0 Feb15 ? 00:00:12 \_ php-fpm: pool nextcloud
nextclo+ 4141681 1581936 0 Feb15 ? 00:00:13 \_ php-fpm: pool nextcloud
root 2680558 1 0 Feb05 ? 00:00:07 /usr/bin/python3 /usr/bin/yunohost-api
root 2838412 1 0 Feb06 ? 00:00:00 /lib/systemd/systemd --user
root 2838413 2838412 0 Feb06 ? 00:00:00 \_ (sd-pam)
--
root 2878486 1 0 Feb07 ? 00:00:00 /usr/bin/sudo /usr/local/bin/backup-with-borg borg
root 2878499 2878486 0 Feb07 ? 00:00:00 \_ /bin/bash /usr/local/bin/backup-with-borg borg
root 2878536 2878499 0 Feb07 ? 00:00:00 \_ sudo yunohost backup create -n auto_conf --method borg_app --system conf_ldap conf_ynh_settings conf_ynh_certs conf_manually_modified_files
root 2878537 2878536 0 Feb07 ? 00:15:26 \_ /usr/bin/python3 /usr/bin/yunohost backup create -n auto_conf --method borg_app --system conf_ldap conf_ynh_settings conf_ynh_certs conf_manually_modified_files
root 28948 2878537 0 05:56 ? 00:00:00 \_ sh -c /bin/bash -x "./05-borg_app" backup /home/yunohost.backup/tmp/auto_conf auto_conf /home/yunohost.backup/archives 3523060 '' 7>&1
root 28949 28948 0 05:56 ? 00:00:00 \_ /bin/bash -x ./05-borg_app backup /home/yunohost.backup/tmp/auto_conf auto_conf /home/yunohost.backup/archives 3523060
root 28972 28949 0 05:56 ? 00:00:00 \_ /bin/bash /usr/local/bin/borg create ssh://gt9m7s11@gt9m7s11.repo.borgbase.com:22/~/repo::_auto_conf-2024-02-16_05:56 ./
root 28977 28972 0 05:56 ? 00:00:06 | \_ /opt/borg-env/bin/python /opt/borg-env/bin/borg create ssh://gt9m7s11@gt9m7s11.repo.borgbase.com:22/~/repo::_auto_conf-2024-02-16_05:56 ./
root 28979 28977 0 05:56 ? 00:00:00 | \_ ssh -i /root/.ssh/id_borg_ed25519 -oStrictHostKeyChecking=no -p 22 gt9m7s11@gt9m7s11.repo.borgbase.com borg serve --umask=077
root 28973 28949 0 05:56 ? 00:00:00 \_ /bin/bash -x ./05-borg_app backup /home/yunohost.backup/tmp/auto_conf auto_conf /home/yunohost.backup/archives 3523060
root 28974 28973 0 05:56 ? 00:00:00 \_ sed -e s/^/[2024-02-16_05:56:48] /
root 28975 28973 0 05:56 ? 00:00:00 \_ tee -a /var/log/backup_borg.err
Est-ce que quelqu’un pourrait me filer un coup de main ?
Merci merci