diff options
Diffstat (limited to 'support/doc/tools.md')
-rw-r--r-- | support/doc/tools.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/support/doc/tools.md b/support/doc/tools.md index 0addc0803..cb3944595 100644 --- a/support/doc/tools.md +++ b/support/doc/tools.md | |||
@@ -113,4 +113,13 @@ To delete them (a confirmation will be demanded first): | |||
113 | 113 | ||
114 | ``` | 114 | ``` |
115 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run prune-storage | 115 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run prune-storage |
116 | ``` | ||
117 | |||
118 | ### update-host.js | ||
119 | |||
120 | If you started PeerTube with a domain, and then changed it you will have invalid torrent files and invalid URLs in your database. | ||
121 | To fix this, you have to run: | ||
122 | |||
123 | ``` | ||
124 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run update-host | ||
116 | ``` \ No newline at end of file | 125 | ``` \ No newline at end of file |