plugin install chown authored by Roland Alton's avatar Roland Alton
fair.tube is based on peertube and the wonderful work of Framasoft for a GAFAM free Fediverse. fair.tube is based on peertube and the wonderful work of Framasoft for a GAFAM free Fediverse.
# Installation ## Installation
peertube was manually installed in 2021 on bridge2 server in `/var/www/peertube/` which now contains a link to the used version peertube was manually installed in 2021 on bridge2 server in `/var/www/peertube/` which now contains a link to the version used in production
lrwxrwxrwx 1 peertube peertube 24 Sep 5 15:34 peertube-latest -> versions/peertube-v4.2.2 lrwxrwxrwx 1 peertube peertube 24 Sep 5 15:34 peertube-latest -> versions/peertube-v4.2.2
## Logs
/var/www/peertube/storage/logs/
## Install plugin ## Install plugin
...@@ -17,10 +20,12 @@ To update or install a plugin you have to run this command on bridge2: ...@@ -17,10 +20,12 @@ To update or install a plugin you have to run this command on bridge2:
cd /var/www/peertube/peertube-latest && NODE_ENV=production NODE_CONFIG_DIR=/var/www/peertube/config node dist/scripts/plugin/install.js -n peertube-plugin-<plugin_name> cd /var/www/peertube/peertube-latest && NODE_ENV=production NODE_CONFIG_DIR=/var/www/peertube/config node dist/scripts/plugin/install.js -n peertube-plugin-<plugin_name>
``` ```
You'll have to change the owner after that. You'll have to change the owner after that. Also check other dirs such as /var/www/peertube/storage/plugins/data/
``` ```
cd /var/www/peertube/storage/plugins/node_modules && chown -R peertube:peertube * cd /var/www/peertube/storage/plugins/node_modules && chown -R peertube:peertube *
``` ```
and then do a restart. and then do a restart.
... ...
......