# Erreur MAJ Peertube toujours impossible

**URL:** https://forum.yunohost.org/t/erreur-maj-peertube-toujours-impossible/43145
**Category:** Support
**Tags:** \_others, french
**Created:** [October 10, 2026, 10:16am UTC](https://forum.yunohost.org/t/erreur-maj-peertube-toujours-impossible/43145 "2026-10-10T10:16:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gheleguen](https://forum.yunohost.org/user_avatar/forum.yunohost.org/gheleguen/32/4070_2.png) [@gheleguen](https://forum.yunohost.org/u/gheleguen)
#### Post date: [October 10, 2026, 10:16am UTC](https://forum.yunohost.org/t/erreur-maj-peertube-toujours-impossible/43145/1 "2026-10-10T10:16:56Z")

</div>

### 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.

> [@Erreur de MAJ de peertube. Désinstallation automatique](https://forum.yunohost.org/t/erreur-de-maj-de-peertube-desinstallation-automatique/42354/4):
>
> J’ai créé un backup de 8.1.5~ynh et je l’ai restauré cela fonctionne et peut servir de référence. [https://paste.yunohost.org/raw/egiropotoy](https://paste.yunohost.org/raw/egiropotoy) en passant en revue celui qui n’a pas fonctionné [https://paste.yunohost.org/raw/mohoguxuju](https://paste.yunohost.org/raw/mohoguxuju) l’erreur est sur la version de node, il attends 22.22.2 alors qu’il a installé le 22.22.3. 2026-05-27 09:46:38,016: DEBUG - + /usr/share/yunohost/helpers.v2.1.d/vendor/n/n install 22 2026-05-27 09:46:38,139: DEBUG - installing : node-v22.22.3 2026-05-27 09:51:5…

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

```auto
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
```
