aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-08 09:37:18 +0100
committerChocobozzz <me@florianbigard.com>2018-02-08 09:52:57 +0100
commitf529f9835e66880821237929f3452a520117799b (patch)
tree534c7a305eb771ee1c20c0918e329dd3f7b3e618 /support
parent18cfac83a18102273880e8817e0603f020c23d21 (diff)
downloadPeerTube-f529f9835e66880821237929f3452a520117799b.tar.gz
PeerTube-f529f9835e66880821237929f3452a520117799b.tar.zst
PeerTube-f529f9835e66880821237929f3452a520117799b.zip
Fix "things went wrong" documentation
Diffstat (limited to 'support')
-rw-r--r--support/doc/production.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/doc/production.md b/support/doc/production.md
index a10ccea3f..734f44d74 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -316,6 +316,6 @@ Change `peertube-latest` destination to the previous version and restore your SQ
316$ OLD_VERSION="v0.42.42" && SQL_BACKUP_PATH="backup/sql-peertube_prod-2018-01-19T10:18+01:00.bak" && \ 316$ OLD_VERSION="v0.42.42" && SQL_BACKUP_PATH="backup/sql-peertube_prod-2018-01-19T10:18+01:00.bak" && \
317 cd /var/www/peertube && rm ./peertube-latest && \ 317 cd /var/www/peertube && rm ./peertube-latest && \
318 sudo -u peertube ln -s "versions/peertube-$OLD_VERSION" peertube-latest && \ 318 sudo -u peertube ln -s "versions/peertube-$OLD_VERSION" peertube-latest && \
319 pg_restore -U peertube -c -d peertube_prod "$SQL_BACKUP_PATH" 319 pg_restore -U peertube -W -h localhost -c -d peertube_prod "$SQL_BACKUP_PATH"
320 sudo systemctl restart peertube 320 sudo systemctl restart peertube
321``` 321```