18
0
Fork 0
This commit is contained in:
kcoupal 2022-04-05 20:04:12 +02:00
parent ddfb8398e4
commit 28ed3b8945
1 changed files with 20 additions and 0 deletions

View File

@ -4,6 +4,12 @@ toc: no
title: How to install peertube
...
Package install
~~~
$ sudo apt install install nginx ffmpeg wget redis postgresql
~~~
PeerTube user
@ -261,6 +267,13 @@ $ cd /var/www/peertube && \
sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest
~~~
Start dependencies
~~~
sudo systemctl enable --now redis
sudo systemctl enable --now postgresql
~~~
nginx
@ -300,6 +313,13 @@ Restart PeerTube and check the logs:
$ sudo systemctl restart peertube && sudo journalctl -fu peertube
~~~
To reset a user password from CLI, run:
~~~
$ cd /var/www/peertube/peertube-latest
$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run reset-password -- -u target_username
~~~
Things went wrong?
Change peertube-latest destination to the previous version and restore your SQL backup: