Update plugin install authored by Roland Alton's avatar Roland Alton
......@@ -14,13 +14,15 @@ peertube was manually installed in 2021 on bridge2 server in `/var/www/peertube/
## Install plugin
To update or install a plugin you have to run this command on bridge2:
To update or install a plugin use the web interface.
You could also run this command (not recommended):
```
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. Also check other dirs such as /var/www/peertube/storage/plugins/data/
Caution: 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 *
......
......