[Solved] Peertube s'est désinstalé tout seul et refuse de se réinstaller

What app is this about, and its version: Peertube, 8.1.8~ynh1
What YunoHost version are you running: none at the moment
What type of hardware are you using: VPS bought online

Describe your issue

Je ne l’ai pas vu sur le moment mais mon serveur peertube s’est désinstallé, probablement au court d’une mise à jour.

Depuis, j’essaie de le réinstallé mais l’installation fail à chaque fois.

Je suis sur une debian, sur un VPS OVH. Tout est à jour.

Share relevant logs or error messages

2026-06-05 08:00:09,836: INFO - [###############++…] > Installing peertube plugin and password…
2026-06-05 08:00:09,837: DEBUG - /var/www/peertube /var/cache/yunohost/app_tmp_work_dirs/app_mztd0dot/scripts
2026-06-05 08:00:09,838: DEBUG - + ynh_hide_warnings ynh_exec_as_app NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production pnpm run plugin:install --npm-name peertube-plugin-auth-ldap
2026-06-05 08:00:09,839: DEBUG - + ynh_exec_as_app NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production pnpm run plugin:install --npm-name peertube-plugin-auth-ldap
2026-06-05 08:00:09,839: DEBUG - + sudo -u peertube env PATH=/opt/node_n/n/versions/node/24.16.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 NPM_CONFIG_UPDATE_NOTIFIER=false NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production pnpm run plugin:install --npm-name peertube-plugin-auth-ldap
2026-06-05 08:00:10,631: DEBUG -
2026-06-05 08:00:10,631: DEBUG - > peertube@8.1.8 plugin:install /var/www/peertube
2026-06-05 08:00:10,632: DEBUG - > node ./dist/scripts/plugin/install.js --npm-name peertube-plugin-auth-ldap
2026-06-05 08:00:10,632: DEBUG -
2026-06-05 08:00:14,149: DEBUG - [tube.maindomain.tld:443] 2026-06-05 08:00:14.148 info: Installing plugin peertube-plugin-auth-ldap.
2026-06-05 08:00:21,165: DEBUG - [tube.maindomain.tld:443] 2026-06-05 08:00:21.163 error: Cannot install plugin peertube-plugin-auth-ldap, removing it… {
2026-06-05 08:00:21,166: DEBUG - “err”: {
2026-06-05 08:00:21,167: DEBUG - “err”: {
2026-06-05 08:00:21,167: DEBUG - “stack”: “Error: Command failed: pnpm add peertube-plugin-auth-ldap@0.0.14\n\n at genericNodeError (node:internal/errors:985:15)\n at wrappedFn (node:internal/errors:539:14)\n at ChildProcess.exithandler (node:child_process:417:12)\n at ChildProcess.emit (node:events:509:28)\n at maybeClose (node:internal/child_process:1124:16)\n at ChildProcess._handle.onexit (node:internal/child_process:306:5)”,
2026-06-05 08:00:21,168: DEBUG - “message”: “Command failed: pnpm add peertube-plugin-auth-ldap@0.0.14\n”,
2026-06-05 08:00:21,169: DEBUG - “code”: 1,
2026-06-05 08:00:21,169: DEBUG - “killed”: false,
2026-06-05 08:00:21,170: DEBUG - “signal”: null,
2026-06-05 08:00:21,170: DEBUG - “cmd”: “pnpm add peertube-plugin-auth-ldap@0.0.14”
2026-06-05 08:00:21,171: DEBUG - },
2026-06-05 08:00:21,171: DEBUG - “stdout”: “? Verifying lockfile against supply-chain policies (350 entries)…\n✓ Lockfile passes supply-chain policies (350 entries in 2.7s)\nProgress: resolved 1, reused 0, downloaded 0, added 0\nProgress: resolved 299, reused 0, downloaded 0, added 0\n[ERR_PNPM_EXOTIC_SUBDEP] Exotic dependency "@silvermine/videojs-chromecast" (resolved via git-repository) is not allowed in subdependencies when blockExoticSubdeps is enabled\n\nThis error happened while installing the dependencies of peertube-plugin-tv-streaming@1.2.1\n”,
2026-06-05 08:00:21,172: DEBUG - “stderr”: “”
2026-06-05 08:00:21,172: DEBUG - }
2026-06-05 08:00:21,173: DEBUG - }
2026-06-05 08:00:21,173: DEBUG - {
2026-06-05 08:00:21,174: DEBUG - err: Error: Command failed: pnpm add peertube-plugin-auth-ldap@0.0.14
2026-06-05 08:00:21,174: DEBUG -
2026-06-05 08:00:21,175: DEBUG - at genericNodeError (node:internal/errors:985:15)
2026-06-05 08:00:21,175: DEBUG - at wrappedFn (node:internal/errors:539:14)
2026-06-05 08:00:21,176: DEBUG - at ChildProcess.exithandler (node:child_process:417:12)
2026-06-05 08:00:21,176: DEBUG - at ChildProcess.emit (node:events:509:28)
2026-06-05 08:00:21,177: DEBUG - at maybeClose (node:internal/child_process:1124:16)
2026-06-05 08:00:21,178: DEBUG - at ChildProcess._handle.onexit (node:internal/child_process:306:5) {
2026-06-05 08:00:21,178: DEBUG - code: 1,
2026-06-05 08:00:21,179: DEBUG - killed: false,
2026-06-05 08:00:21,179: DEBUG - signal: null,
2026-06-05 08:00:21,180: DEBUG - cmd: ‘pnpm add peertube-plugin-auth-ldap@0.0.14’
2026-06-05 08:00:21,180: DEBUG - },
2026-06-05 08:00:21,181: DEBUG - stdout: ‘? Verifying lockfile against supply-chain policies (350 entries)…\n’ +
2026-06-05 08:00:21,181: DEBUG - ‘✓ Lockfile passes supply-chain policies (350 entries in 2.7s)\n’ +
2026-06-05 08:00:21,182: DEBUG - ‘Progress: resolved 1, reused 0, downloaded 0, added 0\n’ +
2026-06-05 08:00:21,182: DEBUG - ‘Progress: resolved 299, reused 0, downloaded 0, added 0\n’ +
2026-06-05 08:00:21,183: DEBUG - ‘[ERR_PNPM_EXOTIC_SUBDEP] Exotic dependency “@silvermine/videojs-chromecast” (resolved via git-repository) is not allowed in subdependencies when blockExoticSubdeps is enabled\n’ +
2026-06-05 08:00:21,183: DEBUG - ‘\n’ +
2026-06-05 08:00:21,184: DEBUG - ‘This error happened while installing the dependencies of peertube-plugin-tv-streaming@1.2.1\n’,
2026-06-05 08:00:21,184: DEBUG - stderr: ‘’
2026-06-05 08:00:21,185: DEBUG - }
2026-06-05 08:00:21,243: DEBUG - ELIFECYCLE Command failed with exit code 255.
2026-06-05 08:00:21,278: DEBUG - + ynh_exit_properly
2026-06-05 08:00:21,280: DEBUG - + local exit_code=255
2026-06-05 08:00:21,281: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
2026-06-05 08:00:21,282: DEBUG - + ‘[’ 255 -eq 0 ‘]’
2026-06-05 08:00:21,885: ERROR - Impossible d’installer peertube : Une erreur est survenue dans le script d’installation de l’application

Salut @Darfeld
Tu devrais pouvoir dans un premier temps restaurer un backup (webadmin>sauvegardes>peertube-pre-upgrade-x>restaurer).

Dans un deuxième temps, en te connectant en root sur ton instance peertube, tu devrais pouvoir désactiver le plugin qui bloque la màj (peertube-plugin-tv-streaming) et qui ne semble plus compatible (paramètres>plugins>etc).

Ensuite, il faudra retenter l’upgrade.

La restauration plante. J’imagine que c’est pour ça que l’appli a été désinstallé. :confused:

Je n’est qu’une erreur 500 comme retour.

Peux-tu partager le log de la restauration échouée?

2026-06-05 12:46:41,400: DEBUG - + ynh_restore /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf
2026-06-05 12:46:41,401: DEBUG - + target=/etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf
2026-06-05 12:46:41,401: INFO - [##########+++.......] > Restoring system configurations related to peertube...
2026-06-05 12:46:41,402: DEBUG - + local archive_path=/home/yunohost.backup/tmp/peertube-pre-upgrade1/apps/peertube/backup/etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf
2026-06-05 12:46:41,403: DEBUG - + local is_data=false
2026-06-05 12:46:41,404: DEBUG - + [[ -n peertube ]]
2026-06-05 12:46:41,404: DEBUG - + [[ /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf =~ ^/var/log/peertube/?\*?$ ]]
2026-06-05 12:46:41,405: DEBUG - + [[ -n /home/yunohost.app/peertube ]]
2026-06-05 12:46:41,405: DEBUG - + [[ /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf =~ ^/home/yunohost.app/peertube ]]
2026-06-05 12:46:41,406: DEBUG - + '[' '!' -d /home/yunohost.backup/tmp/peertube-pre-upgrade1/apps/peertube/backup/etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf ']'
2026-06-05 12:46:41,409: DEBUG - + '[' '!' -f /home/yunohost.backup/tmp/peertube-pre-upgrade1/apps/peertube/backup/etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf ']'
2026-06-05 12:46:41,409: DEBUG - + [[ -e /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf ]]
2026-06-05 12:46:41,409: DEBUG - ++ dirname /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf
2026-06-05 12:46:41,412: DEBUG - + mkdir --parents /etc/nginx/conf.d/tube.maindomain.tld.d
2026-06-05 12:46:41,414: DEBUG - + mountpoint --quiet /home/yunohost.backup/tmp/peertube-pre-upgrade1
2026-06-05 12:46:41,418: DEBUG - + mv /home/yunohost.backup/tmp/peertube-pre-upgrade1/apps/peertube/backup/etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf
2026-06-05 12:46:41,422: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf
2026-06-05 12:46:41,422: DEBUG - + local target=/etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf
2026-06-05 12:46:41,422: DEBUG - + ynh_system_user_exists --username=peertube
2026-06-05 12:46:41,439: DEBUG - + getent passwd peertube
2026-06-05 12:46:41,441: DEBUG - + '[' -f /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf ']'
2026-06-05 12:46:41,442: DEBUG - + is_in_dir /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf /var/www/peertube
2026-06-05 12:46:41,442: DEBUG - + '[' -n /var/www/peertube ']'
2026-06-05 12:46:41,443: DEBUG - ++ realpath /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf
2026-06-05 12:46:41,445: DEBUG - + local child=/etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf
2026-06-05 12:46:41,446: DEBUG - ++ realpath /var/www/peertube
2026-06-05 12:46:41,448: DEBUG - + local parent=/var/www/peertube
2026-06-05 12:46:41,448: DEBUG - + [[ /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf =~ ^/var/www/peertube ]]
2026-06-05 12:46:41,449: DEBUG - + is_in_dir /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf /home/yunohost.app/peertube
2026-06-05 12:46:41,449: DEBUG - + '[' -n /home/yunohost.app/peertube ']'
2026-06-05 12:46:41,449: DEBUG - ++ realpath /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf
2026-06-05 12:46:41,451: DEBUG - + local child=/etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf
2026-06-05 12:46:41,451: DEBUG - ++ realpath /home/yunohost.app/peertube
2026-06-05 12:46:41,453: DEBUG - + local parent=/home/yunohost.app/peertube
2026-06-05 12:46:41,454: DEBUG - + [[ /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf =~ ^/home/yunohost.app/peertube ]]
2026-06-05 12:46:41,454: DEBUG - + is_in_dir /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf /etc/peertube
2026-06-05 12:46:41,455: DEBUG - + '[' -n /etc/peertube ']'
2026-06-05 12:46:41,455: DEBUG - ++ realpath /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf
2026-06-05 12:46:41,456: DEBUG - + local child=/etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf
2026-06-05 12:46:41,456: DEBUG - ++ realpath /etc/peertube
2026-06-05 12:46:41,458: DEBUG - + local parent=/etc/peertube
2026-06-05 12:46:41,459: DEBUG - + [[ /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf =~ ^/etc/peertube ]]
2026-06-05 12:46:41,459: DEBUG - + '[' /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf == /var/www/peertube ']'
2026-06-05 12:46:41,460: DEBUG - + '[' /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf == /home/yunohost.app/peertube ']'
2026-06-05 12:46:41,460: DEBUG - + '[' /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf == /var/log/peertube ']'
2026-06-05 12:46:41,460: DEBUG - + chmod 400 /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf
2026-06-05 12:46:41,461: DEBUG - + chown root:root /etc/nginx/conf.d/tube.maindomain.tld.d/peertube.conf
2026-06-05 12:46:41,463: DEBUG - + ynh_restore /etc/systemd/system/peertube.service
2026-06-05 12:46:41,463: DEBUG - + target=/etc/systemd/system/peertube.service
2026-06-05 12:46:41,464: DEBUG - + local archive_path=/home/yunohost.backup/tmp/peertube-pre-upgrade1/apps/peertube/backup/etc/systemd/system/peertube.service
2026-06-05 12:46:41,464: DEBUG - + local is_data=false
2026-06-05 12:46:41,464: DEBUG - + [[ -n peertube ]]
2026-06-05 12:46:41,465: DEBUG - + [[ /etc/systemd/system/peertube.service =~ ^/var/log/peertube/?\*?$ ]]
2026-06-05 12:46:41,465: DEBUG - + [[ -n /home/yunohost.app/peertube ]]
2026-06-05 12:46:41,465: DEBUG - + [[ /etc/systemd/system/peertube.service =~ ^/home/yunohost.app/peertube ]]
2026-06-05 12:46:41,466: DEBUG - + '[' '!' -d /home/yunohost.backup/tmp/peertube-pre-upgrade1/apps/peertube/backup/etc/systemd/system/peertube.service ']'
2026-06-05 12:46:41,466: DEBUG - + '[' '!' -f /home/yunohost.backup/tmp/peertube-pre-upgrade1/apps/peertube/backup/etc/systemd/system/peertube.service ']'
2026-06-05 12:46:41,466: DEBUG - + [[ -e /etc/systemd/system/peertube.service ]]
2026-06-05 12:46:41,467: DEBUG - ++ dirname /etc/systemd/system/peertube.service
2026-06-05 12:46:41,467: DEBUG - + mkdir --parents /etc/systemd/system
2026-06-05 12:46:41,469: DEBUG - + mountpoint --quiet /home/yunohost.backup/tmp/peertube-pre-upgrade1
2026-06-05 12:46:41,470: DEBUG - + mv /home/yunohost.backup/tmp/peertube-pre-upgrade1/apps/peertube/backup/etc/systemd/system/peertube.service /etc/systemd/system/peertube.service
2026-06-05 12:46:41,473: DEBUG - + _ynh_apply_default_permissions /etc/systemd/system/peertube.service
2026-06-05 12:46:41,473: DEBUG - + local target=/etc/systemd/system/peertube.service
2026-06-05 12:46:41,473: DEBUG - + ynh_system_user_exists --username=peertube
2026-06-05 12:46:41,487: DEBUG - + getent passwd peertube
2026-06-05 12:46:41,489: DEBUG - + '[' -f /etc/systemd/system/peertube.service ']'
2026-06-05 12:46:41,490: DEBUG - + is_in_dir /etc/systemd/system/peertube.service /var/www/peertube
2026-06-05 12:46:41,490: DEBUG - + '[' -n /var/www/peertube ']'
2026-06-05 12:46:41,491: DEBUG - ++ realpath /etc/systemd/system/peertube.service
2026-06-05 12:46:41,493: DEBUG - + local child=/etc/systemd/system/peertube.service
2026-06-05 12:46:41,493: DEBUG - ++ realpath /var/www/peertube
2026-06-05 12:46:41,495: DEBUG - + local parent=/var/www/peertube
2026-06-05 12:46:41,496: DEBUG - + [[ /etc/systemd/system/peertube.service =~ ^/var/www/peertube ]]
2026-06-05 12:46:41,496: DEBUG - + is_in_dir /etc/systemd/system/peertube.service /home/yunohost.app/peertube
2026-06-05 12:46:41,497: DEBUG - + '[' -n /home/yunohost.app/peertube ']'
2026-06-05 12:46:41,497: DEBUG - ++ realpath /etc/systemd/system/peertube.service
2026-06-05 12:46:41,498: DEBUG - + local child=/etc/systemd/system/peertube.service
2026-06-05 12:46:41,499: DEBUG - ++ realpath /home/yunohost.app/peertube
2026-06-05 12:46:41,501: DEBUG - + local parent=/home/yunohost.app/peertube
2026-06-05 12:46:41,501: DEBUG - + [[ /etc/systemd/system/peertube.service =~ ^/home/yunohost.app/peertube ]]
2026-06-05 12:46:41,502: DEBUG - + is_in_dir /etc/systemd/system/peertube.service /etc/peertube
2026-06-05 12:46:41,502: DEBUG - + '[' -n /etc/peertube ']'
2026-06-05 12:46:41,502: DEBUG - ++ realpath /etc/systemd/system/peertube.service
2026-06-05 12:46:41,503: DEBUG - + local child=/etc/systemd/system/peertube.service
2026-06-05 12:46:41,504: DEBUG - ++ realpath /etc/peertube
2026-06-05 12:46:41,506: DEBUG - + local parent=/etc/peertube
2026-06-05 12:46:41,506: DEBUG - + [[ /etc/systemd/system/peertube.service =~ ^/etc/peertube ]]
2026-06-05 12:46:41,507: DEBUG - + '[' /etc/systemd/system/peertube.service == /var/www/peertube ']'
2026-06-05 12:46:41,507: DEBUG - + '[' /etc/systemd/system/peertube.service == /home/yunohost.app/peertube ']'
2026-06-05 12:46:41,507: DEBUG - + '[' /etc/systemd/system/peertube.service == /var/log/peertube ']'
2026-06-05 12:46:41,508: DEBUG - + chmod 400 /etc/systemd/system/peertube.service
2026-06-05 12:46:41,508: DEBUG - + chown root:root /etc/systemd/system/peertube.service
2026-06-05 12:46:41,510: DEBUG - + systemctl enable peertube.service --quiet
2026-06-05 12:46:42,008: DEBUG - + yunohost service add peertube '--description=Federated video streaming platform' --log=/var/log/peertube/peertube.log --needs_exposed_ports 1935
2026-06-05 12:46:42,391: DEBUG - SUCCESS The service 'peertube' was added
2026-06-05 12:46:42,427: DEBUG - + mkdir -p /var/log/peertube
2026-06-05 12:46:42,430: DEBUG - + touch /var/log/peertube/peertube.log
2026-06-05 12:46:42,433: DEBUG - + chown -R peertube:peertube /var/log/peertube
2026-06-05 12:46:42,439: DEBUG - + ynh_restore /etc/logrotate.d/peertube
2026-06-05 12:46:42,439: DEBUG - + target=/etc/logrotate.d/peertube
2026-06-05 12:46:42,440: DEBUG - + local archive_path=/home/yunohost.backup/tmp/peertube-pre-upgrade1/apps/peertube/backup/etc/logrotate.d/peertube
2026-06-05 12:46:42,440: DEBUG - + local is_data=false
2026-06-05 12:46:42,441: DEBUG - + [[ -n peertube ]]
2026-06-05 12:46:42,441: DEBUG - + [[ /etc/logrotate.d/peertube =~ ^/var/log/peertube/?\*?$ ]]
2026-06-05 12:46:42,441: DEBUG - + [[ -n /home/yunohost.app/peertube ]]
2026-06-05 12:46:42,442: DEBUG - + [[ /etc/logrotate.d/peertube =~ ^/home/yunohost.app/peertube ]]
2026-06-05 12:46:42,442: DEBUG - + '[' '!' -d /home/yunohost.backup/tmp/peertube-pre-upgrade1/apps/peertube/backup/etc/logrotate.d/peertube ']'
2026-06-05 12:46:42,442: DEBUG - + '[' '!' -f /home/yunohost.backup/tmp/peertube-pre-upgrade1/apps/peertube/backup/etc/logrotate.d/peertube ']'
2026-06-05 12:46:42,443: DEBUG - + [[ -e /etc/logrotate.d/peertube ]]
2026-06-05 12:46:42,444: DEBUG - ++ dirname /etc/logrotate.d/peertube
2026-06-05 12:46:42,446: DEBUG - + mkdir --parents /etc/logrotate.d
2026-06-05 12:46:42,448: DEBUG - + mountpoint --quiet /home/yunohost.backup/tmp/peertube-pre-upgrade1
2026-06-05 12:46:42,451: DEBUG - + mv /home/yunohost.backup/tmp/peertube-pre-upgrade1/apps/peertube/backup/etc/logrotate.d/peertube /etc/logrotate.d/peertube
2026-06-05 12:46:42,454: DEBUG - + _ynh_apply_default_permissions /etc/logrotate.d/peertube
2026-06-05 12:46:42,454: DEBUG - + local target=/etc/logrotate.d/peertube
2026-06-05 12:46:42,454: DEBUG - + ynh_system_user_exists --username=peertube
2026-06-05 12:46:42,475: DEBUG - + getent passwd peertube
2026-06-05 12:46:42,477: DEBUG - + '[' -f /etc/logrotate.d/peertube ']'
2026-06-05 12:46:42,478: DEBUG - + is_in_dir /etc/logrotate.d/peertube /var/www/peertube
2026-06-05 12:46:42,479: DEBUG - + '[' -n /var/www/peertube ']'
2026-06-05 12:46:42,480: DEBUG - ++ realpath /etc/logrotate.d/peertube
2026-06-05 12:46:42,483: DEBUG - + local child=/etc/logrotate.d/peertube
2026-06-05 12:46:42,484: DEBUG - ++ realpath /var/www/peertube
2026-06-05 12:46:42,486: DEBUG - + local parent=/var/www/peertube
2026-06-05 12:46:42,487: DEBUG - + [[ /etc/logrotate.d/peertube =~ ^/var/www/peertube ]]
2026-06-05 12:46:42,487: DEBUG - + is_in_dir /etc/logrotate.d/peertube /home/yunohost.app/peertube
2026-06-05 12:46:42,488: DEBUG - + '[' -n /home/yunohost.app/peertube ']'
2026-06-05 12:46:42,489: DEBUG - ++ realpath /etc/logrotate.d/peertube
2026-06-05 12:46:42,492: DEBUG - + local child=/etc/logrotate.d/peertube
2026-06-05 12:46:42,493: DEBUG - ++ realpath /home/yunohost.app/peertube
2026-06-05 12:46:42,496: DEBUG - + local parent=/home/yunohost.app/peertube
2026-06-05 12:46:42,497: DEBUG - + [[ /etc/logrotate.d/peertube =~ ^/home/yunohost.app/peertube ]]
2026-06-05 12:46:42,497: DEBUG - + is_in_dir /etc/logrotate.d/peertube /etc/peertube
2026-06-05 12:46:42,497: DEBUG - + '[' -n /etc/peertube ']'
2026-06-05 12:46:42,498: DEBUG - ++ realpath /etc/logrotate.d/peertube
2026-06-05 12:46:42,501: DEBUG - + local child=/etc/logrotate.d/peertube
2026-06-05 12:46:42,502: DEBUG - ++ realpath /etc/peertube
2026-06-05 12:46:42,505: DEBUG - + local parent=/etc/peertube
2026-06-05 12:46:42,506: DEBUG - + [[ /etc/logrotate.d/peertube =~ ^/etc/peertube ]]
2026-06-05 12:46:42,506: DEBUG - + '[' /etc/logrotate.d/peertube == /var/www/peertube ']'
2026-06-05 12:46:42,506: DEBUG - + '[' /etc/logrotate.d/peertube == /home/yunohost.app/peertube ']'
2026-06-05 12:46:42,507: DEBUG - + '[' /etc/logrotate.d/peertube == /var/log/peertube ']'
2026-06-05 12:46:42,507: DEBUG - + chmod 400 /etc/logrotate.d/peertube
2026-06-05 12:46:42,509: DEBUG - + chown root:root /etc/logrotate.d/peertube
2026-06-05 12:46:42,514: INFO - [#############+++....] > Reloading NGINX web server and peertube's service...
2026-06-05 12:46:42,515: DEBUG - + ynh_systemctl --service=peertube --action=start --log_path=systemd '--wait_until=HTTP server listening on 127.0.0.1'
2026-06-05 12:46:42,772: DEBUG - + service=peertube
2026-06-05 12:46:42,772: DEBUG - + mount=
2026-06-05 12:46:42,773: DEBUG - + action=start
2026-06-05 12:46:42,774: DEBUG - + wait_until='HTTP server listening on 127.0.0.1'
2026-06-05 12:46:42,774: DEBUG - + length=20
2026-06-05 12:46:42,775: DEBUG - + log_path=systemd
2026-06-05 12:46:42,775: DEBUG - + '[' -n '' ']'
2026-06-05 12:46:42,775: DEBUG - + ynh_in_ci_tests
2026-06-05 12:46:42,776: DEBUG - + timeout=300
2026-06-05 12:46:42,776: DEBUG - + '[' start == stop ']'
2026-06-05 12:46:42,777: DEBUG - + [[ -n HTTP server listening on 127.0.0.1 ]]
2026-06-05 12:46:42,778: DEBUG - ++ mktemp
2026-06-05 12:46:42,780: DEBUG - + local templog=/tmp/tmp.G9dY7BicBE
2026-06-05 12:46:42,781: DEBUG - + '[' systemd == systemd ']'
2026-06-05 12:46:42,782: DEBUG - + local pid_tail=517262
2026-06-05 12:46:42,782: DEBUG - + '[' start == reload ']'
2026-06-05 12:46:42,783: DEBUG - + journalctl --unit=peertube --follow --since=-0 --quiet
2026-06-05 12:46:42,785: DEBUG - ++ date --utc --rfc-3339=seconds
2026-06-05 12:46:42,793: DEBUG - ++ cut -d+ -f1
2026-06-05 12:46:42,796: DEBUG - + local 'time_start=2026-06-05 12:46:42 UTC'
2026-06-05 12:46:42,797: DEBUG - + systemctl start peertube
2026-06-05 12:46:42,835: DEBUG - + [[ -n HTTP server listening on 127.0.0.1 ]]
2026-06-05 12:47:12,600: WARNING - (this may take some time)
2026-06-05 12:51:43,397: DEBUG - + '[' 300 -ge 3 ']'
2026-06-05 12:51:43,398: DEBUG - 
2026-06-05 12:51:43,399: WARNING - The service peertube didn't fully execute the action start before the timeout.
2026-06-05 12:51:43,402: DEBUG - + '[' 300 -eq 300 ']'
2026-06-05 12:51:43,403: WARNING - Please find here an extract of the end of the log of the service peertube:
2026-06-05 12:51:43,404: DEBUG - + ynh_print_warn 'The service peertube didn'\''t fully execute the action start before the timeout.'
2026-06-05 12:51:43,405: DEBUG - + ynh_print_warn 'Please find here an extract of the end of the log of the service peertube:'
2026-06-05 12:51:43,405: DEBUG - + journalctl --quiet --no-hostname --no-pager --lines=20 --unit=peertube
2026-06-05 12:51:43,453: WARNING - Jun 05 12:46:43 systemd[1]: peertube.service: Failed with result 'exit-code'.
2026-06-05 12:51:43,455: DEBUG - + '[' -e systemd ']'
2026-06-05 12:51:43,456: WARNING - Jun 05 12:46:43 systemd[1]: peertube.service: Scheduled restart job, restart counter is at 3.
2026-06-05 12:51:43,457: DEBUG - + '[' start == reload ']'
2026-06-05 12:51:43,457: WARNING - Jun 05 12:46:43 systemd[1]: Stopped peertube.service - PeerTube: video streaming platform.
2026-06-05 12:51:43,458: DEBUG - + '[' start == start ']'
2026-06-05 12:51:43,459: WARNING - Jun 05 12:46:43 systemd[1]: Started peertube.service - PeerTube: video streaming platform.
2026-06-05 12:51:43,460: DEBUG - + _ynh_clean_check_starting
2026-06-05 12:51:43,460: WARNING - Jun 05 12:46:43 (node)[517283]: peertube.service: Failed to locate executable /opt/node_n/n/versions/node/22.22.2/bin/node: No such file or directory
2026-06-05 12:51:43,461: DEBUG - + '[' -n 517262 ']'
2026-06-05 12:51:43,462: WARNING - Jun 05 12:46:43 (node)[517283]: peertube.service: Failed at step EXEC spawning /opt/node_n/n/versions/node/22.22.2/bin/node: No such file or directory
2026-06-05 12:51:43,463: DEBUG - + kill -SIGTERM 517262
2026-06-05 12:51:43,463: WARNING - Jun 05 12:46:43 systemd[1]: peertube.service: Main process exited, code=exited, status=203/EXEC
2026-06-05 12:51:43,464: DEBUG - + '[' -n /tmp/tmp.G9dY7BicBE ']'
2026-06-05 12:51:43,464: WARNING - Jun 05 12:46:43 systemd[1]: peertube.service: Failed with result 'exit-code'.
2026-06-05 12:51:43,465: DEBUG - + ynh_safe_rm /tmp/tmp.G9dY7BicBE
2026-06-05 12:51:43,466: WARNING - Jun 05 12:46:43 systemd[1]: peertube.service: Scheduled restart job, restart counter is at 4.
2026-06-05 12:51:43,467: DEBUG - + local target=/tmp/tmp.G9dY7BicBE
2026-06-05 12:51:43,467: WARNING - Jun 05 12:46:43 systemd[1]: Stopped peertube.service - PeerTube: video streaming platform.
2026-06-05 12:51:43,469: WARNING - Jun 05 12:46:43 systemd[1]: Started peertube.service - PeerTube: video streaming platform.
2026-06-05 12:51:43,470: DEBUG - + return 1
2026-06-05 12:51:43,470: WARNING - Jun 05 12:46:43 (node)[517286]: peertube.service: Failed to locate executable /opt/node_n/n/versions/node/22.22.2/bin/node: No such file or directory
2026-06-05 12:51:43,471: DEBUG - + ynh_exit_properly
2026-06-05 12:51:43,472: WARNING - Jun 05 12:46:43 (node)[517286]: peertube.service: Failed at step EXEC spawning /opt/node_n/n/versions/node/22.22.2/bin/node: No such file or directory
2026-06-05 12:51:43,473: WARNING - Jun 05 12:46:44 systemd[1]: peertube.service: Main process exited, code=exited, status=203/EXEC
2026-06-05 12:51:43,474: DEBUG - + [[ restore =~ ^install$|^upgrade$|^restore$ ]]
2026-06-05 12:51:43,474: WARNING - Jun 05 12:46:44 systemd[1]: peertube.service: Failed with result 'exit-code'.
2026-06-05 12:51:43,476: WARNING - Jun 05 12:46:44 systemd[1]: peertube.service: Scheduled restart job, restart counter is at 5.
2026-06-05 12:51:43,477: WARNING - Jun 05 12:46:44 systemd[1]: Stopped peertube.service - PeerTube: video streaming platform.
2026-06-05 12:51:43,479: WARNING - Jun 05 12:46:44 systemd[1]: peertube.service: Start request repeated too quickly.
2026-06-05 12:51:43,480: WARNING - Jun 05 12:46:44 systemd[1]: peertube.service: Failed with result 'exit-code'.
2026-06-05 12:51:43,482: WARNING - Jun 05 12:46:44 systemd[1]: Failed to start peertube.service - PeerTube: video streaming platform.
2026-06-05 12:51:44,076: ERROR - Could not restore peertube: An error occured inside the app restore script

Je rajoute le cartouche :

ended_at: 2026-06-05 12:51:44.076706
env:
BASH_XTRACEFD: ‘7’
YNH_APP_ACTION: restore
YNH_APP_BACKUP_DIR: /home/yunohost.backup/tmp/peertube-pre-upgrade1/apps/peertube/backup
YNH_APP_BASEDIR: /home/yunohost.backup/tmp/peertube-pre-upgrade1/apps/peertube/settings
YNH_APP_ID: peertube
YNH_APP_INSTANCE_NAME: peertube
YNH_APP_INSTANCE_NUMBER: ‘1’
YNH_APP_MANIFEST_VERSION: 8.1.5~ynh1
YNH_APP_PACKAGING_FORMAT: ‘2.0’
YNH_ARCH: amd64
YNH_BACKUP_CSV: /home/yunohost.backup/tmp/peertube-pre-upgrade1/backup.csv
YNH_BACKUP_DIR: /home/yunohost.backup/tmp/peertube-pre-upgrade1
YNH_CWD: /home/yunohost.backup/tmp/peertube-pre-upgrade1/apps/peertube/backup
YNH_DEBIAN_VERSION: bookworm
YNH_DEFAULT_PHP_VERSION: ‘8.2’
YNH_HELPERS_VERSION: ‘2.1’
YNH_INTERFACE: api
YNH_STDRETURN: /tmp/tmpgzmt2xw6/stdreturn
error: An error occured inside the app restore script
interface: api
operation: backup_restore_app
parent: null
related_to:

    • app
    • peertube
      started_at: 2026-06-05 12:45:37.735345
      started_by: ******
      success: false
      yunohost_version: 12.1.40.1

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

En ligne de commande

yunohost backup restore  peertube-pre-upgrade1 --no-remove-on-failure

puis

ls -la /opt/node_n/n/versions/node/
1 Like
2026-06-05 14:25:48,341: WARNING - (this may take some time)
2026-06-05 14:30:19,830: DEBUG - 
2026-06-05 14:30:19,831: WARNING - The service peertube didn't fully execute the action start before the timeout.
2026-06-05 14:30:19,832: WARNING - Please find here an extract of the end of the log of the service peertube:
2026-06-05 14:30:19,833: DEBUG - + '[' 300 -ge 3 ']'
2026-06-05 14:30:19,834: DEBUG - + '[' 300 -eq 300 ']'
2026-06-05 14:30:19,834: DEBUG - + ynh_print_warn 'The service peertube didn'\''t fully execute the action start before the timeout.'
2026-06-05 14:30:19,834: DEBUG - + ynh_print_warn 'Please find here an extract of the end of the log of the service peertube:'
2026-06-05 14:30:19,834: DEBUG - + journalctl --quiet --no-hostname --no-pager --lines=20 --unit=peertube
2026-06-05 14:30:19,881: WARNING - Jun 05 14:25:19 systemd[1]: peertube.service: Failed with result 'exit-code'.
2026-06-05 14:30:19,885: WARNING - Jun 05 14:25:19 systemd[1]: peertube.service: Scheduled restart job, restart counter is at 3.
2026-06-05 14:30:19,886: WARNING - Jun 05 14:25:19 systemd[1]: Stopped peertube.service - PeerTube: video streaming platform.
2026-06-05 14:30:19,889: WARNING - Jun 05 14:25:19 systemd[1]: Started peertube.service - PeerTube: video streaming platform.
2026-06-05 14:30:19,890: WARNING - Jun 05 14:25:19 (node)[532400]: peertube.service: Failed to locate executable /opt/node_n/n/versions/node/22.22.2/bin/node: No such file or directory
2026-06-05 14:30:19,891: WARNING - Jun 05 14:25:19 (node)[532400]: peertube.service: Failed at step EXEC spawning /opt/node_n/n/versions/node/22.22.2/bin/node: No such file or directory
2026-06-05 14:30:19,892: WARNING - Jun 05 14:25:19 systemd[1]: peertube.service: Main process exited, code=exited, status=203/EXEC
2026-06-05 14:30:19,893: WARNING - Jun 05 14:25:19 systemd[1]: peertube.service: Failed with result 'exit-code'.
2026-06-05 14:30:19,895: WARNING - Jun 05 14:25:19 systemd[1]: peertube.service: Scheduled restart job, restart counter is at 4.
2026-06-05 14:30:19,896: WARNING - Jun 05 14:25:19 systemd[1]: Stopped peertube.service - PeerTube: video streaming platform.
2026-06-05 14:30:19,897: WARNING - Jun 05 14:25:19 systemd[1]: Started peertube.service - PeerTube: video streaming platform.
2026-06-05 14:30:19,899: WARNING - Jun 05 14:25:19 (node)[532403]: peertube.service: Failed to locate executable /opt/node_n/n/versions/node/22.22.2/bin/node: No such file or directory
2026-06-05 14:30:19,900: WARNING - Jun 05 14:25:19 (node)[532403]: peertube.service: Failed at step EXEC spawning /opt/node_n/n/versions/node/22.22.2/bin/node: No such file or directory
2026-06-05 14:30:19,901: WARNING - Jun 05 14:25:19 systemd[1]: peertube.service: Main process exited, code=exited, status=203/EXEC
2026-06-05 14:30:19,902: WARNING - Jun 05 14:25:19 systemd[1]: peertube.service: Failed with result 'exit-code'.
2026-06-05 14:30:19,903: WARNING - Jun 05 14:25:19 systemd[1]: peertube.service: Scheduled restart job, restart counter is at 5.
2026-06-05 14:30:19,907: WARNING - Jun 05 14:25:19 systemd[1]: Stopped peertube.service - PeerTube: video streaming platform.
2026-06-05 14:30:19,908: WARNING - Jun 05 14:25:19 systemd[1]: peertube.service: Start request repeated too quickly.
2026-06-05 14:30:19,909: WARNING - Jun 05 14:25:19 systemd[1]: peertube.service: Failed with result 'exit-code'.
2026-06-05 14:30:19,911: WARNING - Jun 05 14:25:19 systemd[1]: Failed to start peertube.service - PeerTube: video streaming platform.
2026-06-05 14:30:19,913: DEBUG - + '[' -e systemd ']'
2026-06-05 14:30:19,913: DEBUG - + '[' start == reload ']'
2026-06-05 14:30:19,913: DEBUG - + '[' start == start ']'
2026-06-05 14:30:19,913: DEBUG - + _ynh_clean_check_starting
2026-06-05 14:30:19,913: DEBUG - + '[' -n 532378 ']'
2026-06-05 14:30:19,913: DEBUG - + kill -SIGTERM 532378
2026-06-05 14:30:19,913: DEBUG - + '[' -n /tmp/tmp.0B05WX5FJ8 ']'
2026-06-05 14:30:19,913: DEBUG - + ynh_safe_rm /tmp/tmp.0B05WX5FJ8
2026-06-05 14:30:19,913: DEBUG - + local target=/tmp/tmp.0B05WX5FJ8
2026-06-05 14:30:19,914: DEBUG - + return 1
2026-06-05 14:30:19,914: DEBUG - + ynh_exit_properly
2026-06-05 14:30:19,914: DEBUG - + [[ restore =~ ^install$|^upgrade$|^restore$ ]]
2026-06-05 14:30:20,505: ERROR - Could not restore peertube: An error occured inside the app restore script

Sorry I took some time to answer. This is still not working.

Il faudrait que l’on sache à quoi cela correspond (le log de backup?) et avoir la sortie de l’autre commande.

The backup restore --no-remove-on-failure is not supposed to work: the node version needs to be changed.

Ah oui, désoler. C’était le résultat de cette ligne là :
yunohost backup restore peertube-pre-upgrade1 --no-remove-on-failure

L’objectif est bien de réinstaller une version non fonctionnelle et de la remettre en route en rectifiant la version de node dans le fichier systemd en fonction de celle effectivement présente sur le serveur..

Voilà la sortie de la deuxième ligne

ls -la /opt/node_n/n/versions/node/
total 12
drwxr-xr-x 3 root root 4096 Jun 5 14:24 .
drwxr-xr-x 3 root root 4096 Feb 17 10:22 ..
drwxrwxrwx 6 root root 4096 Jun 5 14:24 22.22.3

sudo nano /etc/systemd/system/peertube.service
# Remplacer les occurrences de 22.22.2 par 22.22.3
# Recharger systemd et redémarrer peertube
sudo systemctl daemon-reload
sudo systemctl restart peertube

Si peertube redémarre correctement, tu pourras essayer les modifications suggérées ici:

La bonne nouvelle, c’est que la version précédente à bien été restaurée. Merci de ta patience. :folded_hands:

Par contre, l’update ne fonctionne toujours pas. le plug-in ldap à l’air être en cause mais j’hésite à le retirer. Est-ce que je ne risque pas de perdre l’accès à mon compte admin ?

2026-06-08 11:41:48,026: INFO - The service peertube has correctly executed the action start.
2026-06-08 11:41:48,027: DEBUG -
2026-06-08 11:41:48,028: DEBUG - + ‘[’ 17 -ge 3 ‘]’
2026-06-08 11:41:48,030: DEBUG - + ‘[’ 17 -eq 300 ‘]’
2026-06-08 11:41:48,031: DEBUG - + _ynh_clean_check_starting
2026-06-08 11:41:48,031: DEBUG - + ‘[’ -n 722714 ‘]’
2026-06-08 11:41:48,033: DEBUG - + kill -SIGTERM 722714
2026-06-08 11:41:48,033: DEBUG - + ‘[’ -n /tmp/tmp.w1Yr6BDN8w ‘]’
2026-06-08 11:41:48,034: DEBUG - + ynh_safe_rm /tmp/tmp.w1Yr6BDN8w
2026-06-08 11:41:48,034: DEBUG - + local target=/tmp/tmp.w1Yr6BDN8w
2026-06-08 11:41:48,061: INFO - [################++..] > Installing peertube plugin…
2026-06-08 11:41:48,062: DEBUG - + pushd /var/www/peertube
2026-06-08 11:41:48,063: DEBUG - /var/www/peertube /var/cache/yunohost/app_tmp_work_dirs/app_e4qjlbl9/scripts
2026-06-08 11:41:48,064: DEBUG - + ynh_hide_warnings ynh_exec_as_app NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production pnpm run plugin:install --npm-name peertube-plugin-auth-ldap
2026-06-08 11:41:48,064: DEBUG - + ynh_exec_as_app NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production pnpm run plugin:install --npm-name peertube-plugin-auth-ldap
2026-06-08 11:41:48,065: DEBUG - + sudo -u peertube env PATH=/opt/node_n/n/versions/node/24.16.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COREPACK_ENABLE_DOWNLOAD_PROMPT=0 NPM_CONFIG_UPDATE_NOTIFIER=false NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production pnpm run plugin:install --npm-name peertube-plugin-auth-ldap
2026-06-08 11:41:48,819: DEBUG -
2026-06-08 11:41:48,819: DEBUG - > peertube@8.1.8 plugin:install /var/www/peertube
2026-06-08 11:41:48,820: DEBUG - > node ./dist/scripts/plugin/install.js --npm-name peertube-plugin-auth-ldap
2026-06-08 11:41:48,822: DEBUG -
2026-06-08 11:41:53,383: DEBUG - [tube.maindomain.tld:443] 2026-06-08 11:41:53.381 info: Installing plugin peertube-plugin-auth-ldap.
2026-06-08 11:41:59,310: DEBUG - [tube.maindomain.tld:443] 2026-06-08 11:41:59.308 error: Cannot install plugin peertube-plugin-auth-ldap, removing it… {
2026-06-08 11:41:59,311: DEBUG - “err”: {
2026-06-08 11:41:59,312: DEBUG - “err”: {
2026-06-08 11:41:59,312: DEBUG - “stack”: “Error: Command failed: pnpm add peertube-plugin-auth-ldap@0.0.14\n\n at genericNodeError (node:internal/errors:985:15)\n at wrappedFn (node:internal/errors:539:14)\n at ChildProcess.exithandler (node:child_process:417:12)\n at ChildProcess.emit (node:events:509:28)\n at maybeClose (node:internal/child_process:1124:16)\n at ChildProcess._handle.onexit (node:internal/child_process:306:5)”,
2026-06-08 11:41:59,313: DEBUG - “message”: “Command failed: pnpm add peertube-plugin-auth-ldap@0.0.14\n”,
2026-06-08 11:41:59,314: DEBUG - “code”: 1,
2026-06-08 11:41:59,314: DEBUG - “killed”: false,
2026-06-08 11:41:59,314: DEBUG - “signal”: null,
2026-06-08 11:41:59,315: DEBUG - “cmd”: “pnpm add peertube-plugin-auth-ldap@0.0.14”
2026-06-08 11:41:59,315: DEBUG - },
2026-06-08 11:41:59,316: DEBUG - “stdout”: “? Verifying lockfile against supply-chain policies (350 entries)…\n✓ Lockfile passes supply-chain policies (350 entries in 2.6s)\nProgress: resolved 1, reused 0, downloaded 0, added 0\nProgress: resolved 306, reused 0, downloaded 0, added 0\n[ERR_PNPM_EXOTIC_SUBDEP] Exotic dependency \”@silvermine/videojs-chromecast\" (resolved via git-repository) is not allowed in subdependencies when blockExoticSubdeps is enabled\n\nThis error happened while installing the dependencies of peertube-plugin-tv-streaming@1.2.1\n",
2026-06-08 11:41:59,326: DEBUG - “stderr”: “”
2026-06-08 11:41:59,326: DEBUG - }
2026-06-08 11:41:59,327: DEBUG - }
2026-06-08 11:41:59,327: DEBUG - {
2026-06-08 11:41:59,327: DEBUG - err: Error: Command failed: pnpm add peertube-plugin-auth-ldap@0.0.14
2026-06-08 11:41:59,328: DEBUG -
2026-06-08 11:41:59,328: DEBUG - at genericNodeError (node:internal/errors:985:15)
2026-06-08 11:41:59,329: DEBUG - at wrappedFn (node:internal/errors:539:14)
2026-06-08 11:41:59,329: DEBUG - at ChildProcess.exithandler (node:child_process:417:12)
2026-06-08 11:41:59,329: DEBUG - at ChildProcess.emit (node:events:509:28)
2026-06-08 11:41:59,330: DEBUG - at maybeClose (node:internal/child_process:1124:16)
2026-06-08 11:41:59,330: DEBUG - at ChildProcess._handle.onexit (node:internal/child_process:306:5) {
2026-06-08 11:41:59,331: DEBUG - code: 1,
2026-06-08 11:41:59,331: DEBUG - killed: false,
2026-06-08 11:41:59,331: DEBUG - signal: null,
2026-06-08 11:41:59,332: DEBUG - cmd: ‘pnpm add peertube-plugin-auth-ldap@0.0.14’
2026-06-08 11:41:59,332: DEBUG - },
2026-06-08 11:41:59,332: DEBUG - stdout: ‘? Verifying lockfile against supply-chain policies (350 entries)…\n’ +
2026-06-08 11:41:59,333: DEBUG - ‘✓ Lockfile passes supply-chain policies (350 entries in 2.6s)\n’ +
2026-06-08 11:41:59,333: DEBUG - ‘Progress: resolved 1, reused 0, downloaded 0, added 0\n’ +
2026-06-08 11:41:59,334: DEBUG - ‘Progress: resolved 306, reused 0, downloaded 0, added 0\n’ +
2026-06-08 11:41:59,334: DEBUG - ‘[ERR_PNPM_EXOTIC_SUBDEP] Exotic dependency “@silvermine/videojs-chromecast” (resolved via git-repository) is not allowed in subdependencies when blockExoticSubdeps is enabled\n’ +
2026-06-08 11:41:59,335: DEBUG - ‘\n’ +
2026-06-08 11:41:59,335: DEBUG - ‘This error happened while installing the dependencies of peertube-plugin-tv-streaming@1.2.1\n’,
2026-06-08 11:41:59,335: DEBUG - stderr: ‘’
2026-06-08 11:41:59,336: DEBUG - }
2026-06-08 11:41:59,381: DEBUG - ELIFECYCLE Command failed with exit code 255.
2026-06-08 11:41:59,417: DEBUG - + ynh_exit_properly
2026-06-08 11:41:59,418: DEBUG - + local exit_code=255
2026-06-08 11:41:59,418: DEBUG - + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
2026-06-08 11:41:59,422: DEBUG - + ‘[’ 255 -eq 0 ‘]’
2026-06-08 11:42:00,032: ERROR - Failed to upgrade peertube: An error occurred inside the app upgrade script

As-tu retiré le plugin peertube-plugin-tv-streaming@1.2.1 ?

oui

ls -la /home/yunohost.app/peertube/storage/plugins/node_modules/ |   grep peertube-plugin-*
grep "peertube-plugin-" /home/yunohost.app/peertube/storage/plugins/package.json
grep "peertube-plugin-" /home/yunohost.app/peertube/storage/plugins/pnpm-lock.yaml
grep "peertube-plugin-" /home/yunohost.app/peertube/storage/plugins/yarn.lock

ls -la /home/yunohost.app/peertube/storage/plugins/node_modules/ | grep peertube-plugin-*
drwxr-xr-x 2 peertube www-data 4096 Feb 17 10:23 peertube-plugin-auth-ldap
drwxr-xr-x 14 peertube www-data 4096 Feb 17 10:23 peertube-plugin-livechat
drwxr-xr-x 5 peertube www-data 4096 Feb 17 12:54 peertube-plugin-tv-streaming

hmm… il n’est plus visible depuis l’interface admin pourtant. :confused:

grep “peertube-plugin-” /home/yunohost.app/peertube/storage/plugins/package.json
{“dependencies”:{“peertube-plugin-auth-ldap”:“0.0.14”,“peertube-plugin-livechat”:“14.0.2”,“peertube-plugin-tv-streaming”:“1.2.1”}}

grep “peertube-plugin-” /home/yunohost.app/peertube/storage/plugins/pnpm-lock.yaml
peertube-plugin-auth-ldap:
peertube-plugin-livechat:
peertube-plugin-tv-streaming:
peertube-plugin-auth-ldap@0.0.14:
peertube-plugin-livechat@14.0.2:
peertube-plugin-tv-streaming@1.2.1:
peertube-plugin-auth-ldap@0.0.14:
peertube-plugin-livechat@14.0.2:
peertube-plugin-tv-streaming@1.2.1(video.js@8.23.7):

grep “peertube-plugin-” /home/yunohost.app/peertube/storage/plugins/yarn.lock
grep: /home/yunohost.app/peertube/storage/plugins/yarn.lock: No such file or directory

sudo -u postgres psql -d peertube -c "SELECT name FROM plugin;"

ls -la /home/yunohost.app/peertube/storage/plugins/