aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/doc/production.md16
1 files changed, 7 insertions, 9 deletions
diff --git a/support/doc/production.md b/support/doc/production.md
index e3187d481..06a51dedf 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -289,19 +289,17 @@ $ cd /var/www/peertube/peertube-latest && NODE_CONFIG_DIR=/var/www/peertube/conf
289``` 289```
290 290
291## Upgrade 291## Upgrade
292#### Auto
293 292
294Via the bash Script : 293#### Auto (minor versions only)
295 294
296``` 295```
297$ su - peertube 296$ cd /var/www/peertube/peertube-latest/scripts && sudo -u peertube ./upgrade.sh
298$ cd scripts && ./upgrade.sh 297$ diff /var/www/peertube/versions/peertube-${VERSION}/config/production.yaml.example /var/www/peertube/config/production.yaml
299$ exit 298$ sudo systemctl restart peertube && sudo journalctl -fu peertube
300$ systemctl restart peertube
301$ systemctl status peertube
302``` 299```
303 300
304#### Manuel 301#### Manually
302
305Make a SQL backup 303Make a SQL backup
306 304
307``` 305```
@@ -336,7 +334,7 @@ Copy new configuration defaults values and update your configuration file:
336 334
337``` 335```
338$ sudo -u peertube cp /var/www/peertube/versions/peertube-${VERSION}/config/default.yaml /var/www/peertube/config/default.yaml 336$ sudo -u peertube cp /var/www/peertube/versions/peertube-${VERSION}/config/default.yaml /var/www/peertube/config/default.yaml
339$ diff /var/www/peertube/versions/peertube-${VERSION}/config//production.yaml.example /var/www/peertube/config/production.yaml 337$ diff /var/www/peertube/versions/peertube-${VERSION}/config/production.yaml.example /var/www/peertube/config/production.yaml
340``` 338```
341 339
342Change the link to point to the latest version: 340Change the link to point to the latest version: