X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdoc%2Ftools.md;h=e6c4c2010820d542d558917f37654f5ee9264190;hb=9162476fe9fe022ff24bd42ff828aca7c68129ef;hp=6a7d16a3c2ce34a4d8c95f4472c3a2fc39b2c663;hpb=c977fd3ec931c059111ddb2b8d6ddbb20b6b99a1;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/doc/tools.md b/support/doc/tools.md index 6a7d16a3c..e6c4c2010 100644 --- a/support/doc/tools.md +++ b/support/doc/tools.md @@ -39,7 +39,6 @@ You need to follow all the following steps even if you are on a PeerTube server ### Dependencies Install the [PeerTube dependencies](dependencies.md) except PostgreSQL and Redis. -PeerTube supports NodeJS 12. ### Installation @@ -302,9 +301,10 @@ $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production ### update-host.js +**Changing the hostname is unsupported and may be a risky operation, especially if you have already federated.** If you started PeerTube with a domain, and then changed it you will have invalid torrent files and invalid URLs in your database. To fix this, you have -to run: +to run the command below (keep in mind your follower instances will NOT update their URLs). ``` $ cd /var/www/peertube/peertube-latest @@ -347,7 +347,7 @@ $ cd /var/www/peertube/peertube-latest $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run plugin:uninstall -- --npm-name peertube-plugin-myplugin ``` -### REPL ([Read Eval Print Loop](https://nodejs.org/docs/latest-v10.x/api/repl.html)) +### REPL (Read Eval Print Loop) If you want to interact with the application libraries and objects even when PeerTube is not running, there is a REPL for that.