# Cannot login Peertube or change password

**URL:** https://forum.yunohost.org/t/cannot-login-peertube-or-change-password/36983
**Category:** Support apps
**Tags:** peertube, english
**Created:** [May 20, 2025, 7:32am UTC](https://forum.yunohost.org/t/cannot-login-peertube-or-change-password/36983 "2025-05-20T07:32:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![syrabo](https://forum.yunohost.org/user_avatar/forum.yunohost.org/syrabo/32/6776_2.png) [@syrabo](https://forum.yunohost.org/u/syrabo)
#### Post date: [May 20, 2025, 7:32am UTC](https://forum.yunohost.org/t/cannot-login-peertube-or-change-password/36983/1 "2025-05-20T07:32:08Z")

</div>

**What type of hardware are you using** : VPS bought online  
**What YunoHost version are you running** : 12.0.17  
**What app is this about** : Peertube

### Describe your issue

Hi,

I cannot login in Peertube with root or the admin mail from yunohost (ldab).

It is a error in log with this  
“stack”: "Error: /var/www/peertube/node\_modules/bcrypt/lib/binding/napi-v3/bcrypt\_lib.node: cannot open shared object file: No such file or directory\n

I cannot change root password with this tip: [How to set the root user password for Peertube](https://forum.yunohost.org/t/how-to-set-the-root-user-password-for-peertube/26162)

Error is bcrypt not found.

### Share relevant logs or error messages

> **[hastebin](https://paste.yunohost.org/roruwabubi)**

---

<div class="post-metadata">

### Author: ![syrabo](https://forum.yunohost.org/user_avatar/forum.yunohost.org/syrabo/32/6776_2.png) [@syrabo](https://forum.yunohost.org/u/syrabo)
#### Post date: [May 20, 2025, 11:56am UTC](https://forum.yunohost.org/t/cannot-login-peertube-or-change-password/36983/2 "2025-05-20T11:56:19Z")

</div>

I solved the problem through a workaround:

1. Backup of the existing instance
2. Deleted the instance and performed a clean new installation
3. Copied the directory /var/www/peertube from the new instance to a new directory
4. Deleted the new instance and restored the backup from step 1  
Copied the backup created in step 3 over the /var/www/peertube directory, except for the config directory

Now it works, and the old videos are still there.

---

<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: [June 4, 2025, 11:56am UTC](https://forum.yunohost.org/t/cannot-login-peertube-or-change-password/36983/3 "2025-06-04T11:56:34Z")

</div>

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