Update Technical setup 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.
# Installation
manual installation on bridge2 server in `/var/www/peertube/`
## Install plugin
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>
```
You'll have to change the owner after that.
```
cd /var/www/peertube/storage/plugins/node_modules && chown -R peertube:peertube *
```
and then do a restart.
But this procedure seems not to work properly ATM!
## Restart
```
service peertube start
service peertube status
peertube stopped, but pid file exists
rm /var/www/peertube/peertube-latest/pid/peertube.pid
```
\ No newline at end of file