# Erreur de MAJ de peertube. Désinstallation automatique

**URL:** <https://forum.yunohost.org/t/erreur-de-maj-de-peertube-desinstallation-automatique/42354>\
**Category:** Support apps\
**Tags:** peertube, french\
**Created:** [May 27, 2026, 10:02am UTC](https://forum.yunohost.org/t/erreur-de-maj-de-peertube-desinstallation-automatique/42354 "2026-05-27T10:02:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![artlog](https://forum.yunohost.org/user_avatar/forum.yunohost.org/artlog/32/12399_2.png) [@artlog](https://forum.yunohost.org/u/artlog)\
**Post date:** [May 27, 2026, 3:44pm UTC](https://forum.yunohost.org/t/erreur-de-maj-de-peertube-desinstallation-automatique/42354/4 "2026-05-27T15:44:07Z")

</div>

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.

```auto
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:56,476: WARNING - May 27 09:46:55 (node)[2475478]: peertube.service: Failed to locate executable /opt/node\_n/n/versions/node/22.22.2/bin/node: No such file or directory

la version integrale du node est specifiée dans le service systemd

dans mon cas

cat /etc/systemd/system/peertube.service

```auto
Environment="PATH=/opt/node_n/n/versions/node/22.22.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
ExecStart=/opt/node_n/n/versions/node/22.22.3/bin/node /var/www/peertube/dist/server

```

---

_[View the full topic](https://forum.yunohost.org/t/erreur-de-maj-de-peertube-desinstallation-automatique/42354)._
