Closed JohnnyPicnic closed 1 year ago
It's because it is not stored in the yunohost settings.
Run the following commands:
sudo su # so you log in as root
su - peertube -s /bin/bash # so you log in as peertube
cd /var/www/peertube # adapt if you have multiple instances of peertube
export PATH="/opt/node_n/n/versions/node/16/bin:$PATH"
echo "YOUR_PASSWORD_HERE" | NODE_CONFIG_DIR="/var/www/peertube/config" NODE_ENV=production npm run reset-password -- -u root
You can use a temporary password and then change it on the web UI
Thanks for the quick reply! Where do I find or what is the password for user peertube?
Actually you cannot, you have to reset it by the procedure I gave you above
Account is not available?
admin@stream:~$ sudo su
root@stream:/home/admin# su - peertube
This account is currently not available.
root@stream:/home/admin# ~
Oops, I missed the -s /bin/bash
:
su - peertube -s /bin/bash # so you log in as peertube
I also updated the procedure above
Cheers that worked. Thank you very much!
You're welcome! Could you please close the issue then at it is resolved?
I don't have e-mail setup and am having trouble getting the root password. I've tried
yunohost app setting peertube admin_pass
but get no response.