Update sudo command for yarn during upgrade
This commit is contained in:
parent
a5f0521f03
commit
fbd2ad19b6
1 changed files with 2 additions and 2 deletions
|
@ -205,7 +205,7 @@ Now your instance is up you can:
|
||||||
The password it asks is PeerTube's database user password.
|
The password it asks is PeerTube's database user password.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd /var/www/peertube/peertube-latest/scripts && sudo -u peertube ./upgrade.sh
|
$ cd /var/www/peertube/peertube-latest/scripts && sudo -H -u peertube ./upgrade.sh
|
||||||
$ sudo systemctl restart peertube && sudo journalctl -fu peertube
|
$ sudo systemctl restart peertube && sudo journalctl -fu peertube
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -238,7 +238,7 @@ Install node dependencies:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd /var/www/peertube/versions/peertube-${VERSION} && \
|
$ cd /var/www/peertube/versions/peertube-${VERSION} && \
|
||||||
sudo -u peertube yarn install --production --pure-lockfile
|
sudo -H -u peertube yarn install --production --pure-lockfile
|
||||||
```
|
```
|
||||||
|
|
||||||
Copy new configuration defaults values and update your configuration file:
|
Copy new configuration defaults values and update your configuration file:
|
||||||
|
|
Loading…
Reference in a new issue