Changes
Page history
Update plugin install
authored
Sep 11, 2022
by
Roland Alton
Show whitespace changes
Inline
Side-by-side
Technical-setup.md
View page @
1ae59685
...
@@ -14,13 +14,15 @@ peertube was manually installed in 2021 on bridge2 server in `/var/www/peertube/
...
@@ -14,13 +14,15 @@ peertube was manually installed in 2021 on bridge2 server in `/var/www/peertube/
## Install plugin
## 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>
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>
```
```
Y
ou'll have to change the owner after that. Also check other dirs such as /var/www/peertube/storage/plugins/data/
Caution: y
ou'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 *
...
...
...
...