Erreur MAJ Peertube toujours impossible

I have searched the forum for similar issues

on

This category is for general issues(=something is broken) regarding YunoHost, NOT apps.

on

This form is written in English but feel free to write in French if you’re more comfortable!

on

What type of hardware are you using

VPS bought online

What YunoHost version are you running

12.1.41.2

How are you able to access your server

SSH

Describe your issue

Bonjour,
Dans cette question je parlais d’une erreur suite à mise à jour de peertube sur mon serveur. Grâce à @artlog j’ai réussis à restaurer l’ancienne version de mon peertube.

Mais plus tard, j’ai réessayé, après avoir mis à jour YNH, et d’autres dépendances. Mais j’ai encore la même erreur. Donc j’ai à nouveau restauré l’ancien peertube.
Pour le moment j’y reste car je nes ais pas dutout ce qui peut causer ce problème et encore moins comment le résoudre.
Quelqu’un pourait-il m’aider s’il vous plait ?
Merci par avance
Guillaume

Share relevant logs or error messages

2026-05-27 09:45:06,220: DEBUG - err: Error: Command failed: pnpm add peertube-plugin-auth-ldap@0.0.14
2026-05-27 09:45:06,221: DEBUG -
2026-05-27 09:45:06,221: DEBUG - at genericNodeError (node:internal/errors:985:15)
2026-05-27 09:45:06,221: DEBUG - at wrappedFn (node:internal/errors:539:14)
2026-05-27 09:45:06,221: DEBUG - at ChildProcess.exithandler (node:child_process:417:12)
2026-05-27 09:45:06,221: DEBUG - at ChildProcess.emit (node:events:509:28)
2026-05-27 09:45:06,222: DEBUG - at maybeClose (node:internal/child_process:1124:16)
2026-05-27 09:45:06,222: DEBUG - at ChildProcess._handle.onexit (node:internal/child_process:306:5) {
2026-05-27 09:45:06,222: DEBUG - code: 1,
2026-05-27 09:45:06,222: DEBUG - killed: false,
2026-05-27 09:45:06,222: DEBUG - signal: null,
2026-05-27 09:45:06,223: DEBUG - cmd: ‘pnpm add peertube-plugin-auth-ldap@0.0.14’
2026-05-27 09:45:06,223: DEBUG - },
2026-05-27 09:45:06,223: DEBUG - stdout: ‘[ERR_PNPM_UNEXPECTED_STORE] Unexpected store location\n’ +
2026-05-27 09:45:06,223: DEBUG - ‘\n’ +
2026-05-27 09:45:06,223: DEBUG - ‘The dependencies at “/home/yunohost.app/peertube/storage/plugins/node_modules” are currently linked from the store at “/var/www/peertube/.local/share/pnpm/store/v10”.\n’ +
2026-05-27 09:45:06,224: DEBUG - ‘\n’ +
2026-05-27 09:45:06,224: DEBUG - ‘pnpm now wants to use the store at “/var/www/peertube/.local/share/pnpm/store/v11” to link dependencies.\n’ +
2026-05-27 09:45:06,224: DEBUG - ‘\n’ +
2026-05-27 09:45:06,224: DEBUG - ‘If you want to use the new store location, reinstall your dependencies with “pnpm install”.\n’ +
2026-05-27 09:45:06,224: DEBUG - ‘\n’ +
2026-05-27 09:45:06,225: DEBUG - ‘You may change the global store location by running “pnpm config set store-dir --global”.\n’ +
2026-05-27 09:45:06,225: DEBUG - ‘(This error may happen if the node_modules was installed with a different major version of pnpm)\n’,
2026-05-27 09:45:06,225: DEBUG - stderr: ‘’
2026-05-27 09:45:06,225: DEBUG - }
2026-05-27 09:45:06,262: DEBUG - ELIFECYCLE Command failed with exit code 255.
2026-05-27 09:45:06,283: DEBUG - + ynh_exit_properly
2026-05-27 09:45:06,283: DEBUG - + local exit_code=255
2026-05-27 09:45:06,283: DEBUG - + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
2026-05-27 09:45:06,285: DEBUG - + ‘[’ 255 -eq 0 ‘]’
2026-05-27 09:45:06,888: ERROR - Failed to upgrade peertube: An error occurred inside the app upgrade script