upgrade to do authored by Roland Alton's avatar Roland Alton
......@@ -2,7 +2,7 @@ fair.tube is based on peertube and the wonderful work of Framasoft for a GAFAM f
## Installation
peertube was manually installed in 2021 on bridge2 server in `/var/www/peertube/` which now contains a link to the version used in production
peertube was manually installed in 2021 on fairkoms 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
......@@ -22,12 +22,13 @@ 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>
```
Caution: you'll have to change the owner after that. Also check other dirs such as /var/www/peertube/storage/plugins/data/
Do a `su peertube` first.
Else 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 *
```
and then do a restart.
......@@ -41,4 +42,10 @@ 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
```
## Upgrade
to do
#18
\ No newline at end of file