/
Hardware: Old laptop or computer
YunoHost version: 11.1.21
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:
Description of my issue
I’ve just upgrade Yunohost to 11.1.21 (and from 11.1.20). When I look at my upgrade logs, here is what I see (permission issue).
[…]
+ (Lecture de la base de données... 169927 fichiers et répertoires déjà installés.)
+ Préparation du dépaquetage de .../yunohost_11.1.21_all.deb ...
+ Dépaquetage de yunohost (11.1.21) sur (11.1.20) ...
+ Paramétrage de yunohost (11.1.21) ...
+ Installation de la nouvelle version du fichier de configuration /etc/bash_completion.d/yunohost ...
+ Regenerating configuration, this might take a while...
+ La configuration a été mise à jour pour 'yunohost'
+ La configuration a été mise à jour pour 'nginx'
+ La configuration a été mise à jour pour 'dnsmasq'
/opt/goenv/bin/goenv: ligne 23: /dev/null: Permission non accordée
/opt/goenv/libexec/goenv-init: ligne 36: /dev/null: Permission non accordée
/etc/profile.d/goenv.sh: ligne 10: /dev/null: Permission non accordée
/opt/goenv/bin/goenv: ligne 23: /dev/null: Permission non accordée
/opt/goenv/libexec/goenv-hooks: ligne 24: /dev/null: Permission non accordée
+ Launching migrations...
+ Aucune migration à lancer
[…]
When I connect to ssh, I see (but I can connect to ssh):
-bash: /dev/null: Permission non accordée
/opt/goenv/bin/goenv: ligne 23: /dev/null: Permission non accordée
/opt/goenv/libexec/goenv-init: ligne 36: /dev/null: Permission non accordée
-bash: /dev/null: Permission non accordée
/opt/goenv/bin/goenv: ligne 23: /dev/null: Permission non accordée
/opt/goenv/libexec/goenv-hooks: ligne 24: /dev/null: Permission non accordée
-bash: /dev/null: Permission non accordée
And here are my logs from yunohost-api:
Jun 11 22:11:18 next.nohost.me yunohost-api[3815631]: return callback(*args, **kwargs)
Jun 11 22:11:18 next.nohost.me yunohost-api[3815631]: File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 736, in wrapper
Jun 11 22:11:18 next.nohost.me yunohost-api[3815631]: return callback(*args, **kwargs)
Jun 11 22:11:18 next.nohost.me yunohost-api[3815631]: File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 748, in wrapper
Jun 11 22:11:18 next.nohost.me yunohost-api[3815631]: return callback(*args, **kwargs)
Jun 11 22:11:18 next.nohost.me yunohost-api[3815631]: File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 394, in logout
Jun 11 22:11:18 next.nohost.me yunohost-api[3815631]: authenticator.get_session_cookie()
Jun 11 22:11:18 next.nohost.me yunohost-api[3815631]: File "/usr/lib/python3/dist-packages/yunohost/authenticators/ldap_admin.py", line 162, in get_session_cookie
Jun 11 22:11:18 next.nohost.me yunohost-api[3815631]: raise YunohostAuthenticationError("unable_authenticate")
Jun 11 22:11:18 next.nohost.me yunohost-api[3815631]: yunohost.utils.error.YunohostAuthenticationError: Impossible de vous authentifier
Other than that (so thoses permissions and authentification issues), everything works on the server.
Thanks for your support!
EDIT : I spoke to fast, after cleaning cache, the webadmin works, but when I try to upgrade, I’ve an error:
Impossible de mettre à jour le cache APT (gestionnaire de paquets Debian). Voici un extrait du fichier sources.list qui pourrait vous aider à identifier les lignes problématiques :
sources.list:deb http://ftp.debian.org/debian bullseye main contrib
sources.list:deb-src http://ftp.debian.org/debian bullseye main contrib
sources.list:deb http://forge.yunohost.org/debian/ bullseye stable testing
sources.list:deb http://security.debian.org/debian-security bullseye-security main contrib non-free
sources.list:deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
sources.list:deb http://ftp.debian.org/debian bullseye-updates main contrib non-free
sources.list:deb-src http://ftp.debian.org/debian bullseye-updates main contrib non-free
sources.list.d/extra_php_version.list:deb https://packages.sury.org/php/ bullseye main
sources.list.d/docker.list:deb [arch=amd64] https://download.docker.com/linux/debian bullseye stable
sources.list.d/crystal.list:deb http://download.opensuse.org/repositories/devel:languages:crystal/Debian_Unstable/ /
Pendant le traitement de l'action, le serveur a dit :
Récupération des mises à jour disponibles pour les paquets du système...
gpgv: Signature made Sun Jun 11 19:53:17 2023 CEST
gpgv: using RSA key 40AA6D5FE49AD892BF762EC8FDBB9F3D83BD9E70
gpgv: Good signature from "Yunohost .deb build system "
/usr/bin/apt-key: 57: cannot create /dev/null: Permission denied
gpgv: Signature made Sun Jun 11 19:03:17 2023 CEST
gpgv: using RSA key 5237CEEEF212F3D51C74ABE0112695A0E562B32A
gpgv: Good signature from "Debian Security Archive Automatic Signing Key (10/buster) "
gpgv: Signature made Sun Jun 11 19:03:17 2023 CEST
gpgv: using RSA key ED541312A33F1128F10B1C6C54404762BBB6E853
gpgv: Good signature from "Debian Security Archive Automatic Signing Key (11/bullseye) "
/usr/bin/apt-key: 57: cannot create /dev/null: Permission denied
gpgv: Signature made Sat Jun 10 10:53:06 2023 CEST
gpgv: using RSA key 0146DC6D4A0B2914BDED34DB648ACFD622F3D138
gpgv: Good signature from "Debian Archive Automatic Signing Key (10/buster) "
gpgv: Signature made Sat Jun 10 10:53:07 2023 CEST
gpgv: using RSA key A7236886F3CCCAAD148A27F80E98404D386FA1D9
gpgv: Good signature from "Debian Archive Automatic Signing Key (11/bullseye) "
gpgv: Signature made Sat Jun 10 11:32:24 2023 CEST
gpgv: using RSA key A4285295FC7B1A81600062A9605C66F00D6C9793
gpgv: issuer "debian-release@lists.debian.org"
gpgv: Good signature from "Debian Stable Release Key (11/bullseye) "
/usr/bin/apt-key: 57: cannot create /dev/null: Permission denied
gpgv: Signature made Sun Jun 11 16:09:26 2023 CEST
gpgv: using RSA key A7236886F3CCCAAD148A27F80E98404D386FA1D9
gpgv: Good signature from "Debian Archive Automatic Signing Key (11/bullseye) "
gpgv: Signature made Sun Jun 11 16:10:08 2023 CEST
gpgv: using RSA key 4CB50190207B4758A3F73A796ED0E7B82643E131
gpgv: Good signature from "Debian Archive Automatic Signing Key (12/bookworm) "
/usr/bin/apt-key: 57: cannot create /dev/null: Permission denied
gpgv: Signature made Fri Jun 9 19:19:00 2023 CEST
gpgv: using RSA key 7EA0A9C3F273FCD8
gpgv: Good signature from "Docker Release (CE deb) "
/usr/bin/apt-key: 57: cannot create /dev/null: Permission denied
gpgv: Signature made Sun Jun 11 03:58:31 2023 CEST
gpgv: using RSA key 15058500A0235D97F5D10063B188E2B695BD4743
gpgv: Good signature from "DEB.SURY.ORG Automatic Signing Key "
/usr/bin/apt-key: 57: cannot create /dev/null: Permission denied
E: The repository 'http://download.opensuse.org/repositories/devel:languages:crystal/Debian_Unstable Release' no longer has a Release file.