# Peertube not installing

**URL:** https://forum.yunohost.org/t/peertube-not-installing/42475
**Category:** Support apps
**Tags:** peertube, english
**Created:** [June 16, 2026, 6:27pm UTC](https://forum.yunohost.org/t/peertube-not-installing/42475 "2026-06-16T18:27:51Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![mxtthxw](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mxtthxw/32/11351_2.png) [@mxtthxw](https://forum.yunohost.org/u/mxtthxw)
#### Post date: [June 16, 2026, 6:27pm UTC](https://forum.yunohost.org/t/peertube-not-installing/42475/1 "2026-06-16T18:27:51Z")

</div>

**What app is this about, and its version** : Peertube  
**What YunoHost version are you running** : YunoHost 12.1.40.1 (  
**What type of hardware are you using** : Old laptop or computer

### Describe your issue

I recently tried to update PeerTube. After attempting the install, which failed, Yunohsot removed the application and now I can neither restore my PeerTube back or nor do a clean install of PeerTube.

Any help much appreciated!

### Share relevant logs or error messages

This is the log from the failed backup restore

[https://paste.yunohost.org/raw/wizutudeme](https://paste.yunohost.org/raw/wizutudeme)

The log which removed PeerTube

[https://paste.yunohost.org/raw/qeyilucuto](https://paste.yunohost.org/raw/qeyilucuto)

And the log for a fresh install

[https://paste.yunohost.org/raw/eyidixibab](https://paste.yunohost.org/raw/eyidixibab)

---

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [June 16, 2026, 6:45pm UTC](https://forum.yunohost.org/t/peertube-not-installing/42475/2 "2026-06-16T18:45:35Z")

</div>

Try this to reinstall peertube in a broken state

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

```

Then you will need to edit a service file.

---

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [June 16, 2026, 6:56pm UTC](https://forum.yunohost.org/t/peertube-not-installing/42475/3 "2026-06-16T18:56:23Z")

</div>

Then `ls -la /opt/node_n/n/versions/node/ `will show the latest nodejs 22.x version installed on your system.

In the peertube service file you will need to replace 22.22.2 with the version you found above.

```auto
sudo nano /etc/systemd/system/peertube.service
# Replace 22.22.2 with 22.22.?
# Reload systemd and restart peertube
sudo systemctl daemon-reload
sudo systemctl restart peertube

```

Can you share the log of the failed _upgrade_ ?

---

<div class="post-metadata">

### Author: ![mxtthxw](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mxtthxw/32/11351_2.png) [@mxtthxw](https://forum.yunohost.org/u/mxtthxw)
#### Post date: [June 16, 2026, 7:40pm UTC](https://forum.yunohost.org/t/peertube-not-installing/42475/4 "2026-06-16T19:40:25Z")

</div>

Thanks for the quick response! I followed the instructions and updated the Nodejs config to version 22.2.3. It seemed to restore PeerTube (At least it then appeared back in the applications list). However when I tried to open it, I was taken to a Welcome To NGINGX page.

I then tried to update, which then failed. However, it then reverted to the back up properly and appears to be working. However I haven’t tried the upgrade for fear of breaking again.

Here’s the log for the failed upgrade and it’s still being flagged as a vulnerability in system diagnostics. It looks like PNPM is still a problem.

## Upgrade the ‘peertube’ app

[https://paste.yunohost.org/raw/henumoyoxi](https://paste.yunohost.org/raw/henumoyoxi)

##

---

<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: [June 17, 2026, 9:05am UTC](https://forum.yunohost.org/t/peertube-not-installing/42475/5 "2026-06-17T09:05:04Z")

</div>

@mxtthxw

You are not the first to hit this issue but it takes differents flavours …

This issue and some way to fix it is here [Upgrade 8.1.5 –\> 8.1.8 failed : pnpm v10/v11 · Issue #549 · YunoHost-Apps/peertube\_ynh · GitHub](https://github.com/YunoHost-Apps/peertube_ynh/issues/549)

problem is that dependencies of plugins are collected by pnpm in node\_modules and if pnpm version change it tries to use existing node\_modules directory that is not organised the same way with newer pnpm version. The quickest way to resolve it is to move away the node\_modules content and leave install to repopulate it.

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [July 2, 2026, 9:05am UTC](https://forum.yunohost.org/t/peertube-not-installing/42475/6 "2026-07-02T09:05:33Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
