aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>2020-12-11 23:48:48 +0100
committerGitHub <noreply@github.com>2020-12-11 23:48:48 +0100
commitfffc7c08649ead08007f9cf6d80d87a14ae05703 (patch)
tree7291897f0c5b62d45bbbea695f4562cb1a936d52
parente134eb03cb31bc53cae19aa4adf472b2a6a0b658 (diff)
downloadPeerTube-fffc7c08649ead08007f9cf6d80d87a14ae05703.tar.gz
PeerTube-fffc7c08649ead08007f9cf6d80d87a14ae05703.tar.zst
PeerTube-fffc7c08649ead08007f9cf6d80d87a14ae05703.zip
add info about hostname change (#3434)
Co-authored-by: Rigel Kent <par@rigelk.eu>
-rw-r--r--support/doc/production.md2
-rw-r--r--support/doc/tools.md3
2 files changed, 3 insertions, 2 deletions
diff --git a/support/doc/production.md b/support/doc/production.md
index 4a8c488ee..625e8b26a 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -84,7 +84,7 @@ $ cd /var/www/peertube && sudo -u peertube cp peertube-latest/config/production.
84Then edit the `config/production.yaml` file according to your webserver 84Then edit the `config/production.yaml` file according to your webserver
85configuration. 85configuration.
86 86
87**PeerTube does not support webserver host change**. Keep in mind your domain name is definitive after your first PeerTube start. 87**PeerTube does not support webserver host change**. Even though [PeerTube CLI can help you to switch hostname](https://docs.joinpeertube.org/#/maintain-tools?id=update-hostjs) there's no official support for that since it is a risky operation that might result in unforeseen errors.
88 88
89### Webserver 89### Webserver
90 90
diff --git a/support/doc/tools.md b/support/doc/tools.md
index 6a7d16a3c..62ba52111 100644
--- a/support/doc/tools.md
+++ b/support/doc/tools.md
@@ -302,9 +302,10 @@ $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production
302 302
303### update-host.js 303### update-host.js
304 304
305**Changing the hostname is unsupported and may be a risky operation, especially if you have already federated.**
305If you started PeerTube with a domain, and then changed it you will have 306If you started PeerTube with a domain, and then changed it you will have
306invalid torrent files and invalid URLs in your database. To fix this, you have 307invalid torrent files and invalid URLs in your database. To fix this, you have
307to run: 308to run the command below (keep in mind your follower instances will NOT update their URLs).
308 309
309``` 310```
310$ cd /var/www/peertube/peertube-latest 311$ cd /var/www/peertube/peertube-latest