1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00
Federated (ActivityPub) video streaming platform using P2P for YunoHost
Find a file
2022-01-18 19:51:47 +01:00
.github [autopatch] Update issue and PR templates 2021-05-13 17:50:50 +02:00
conf Add patch for add python path in config file 2022-01-11 23:06:33 +01:00
doc Few improvements 2022-01-07 04:42:28 +01:00
scripts Merge branch 'testing' into ovh_fix_testing 2022-01-18 19:51:47 +01:00
sources/patches-4.0.0 Add patch for add python path in config file 2022-01-11 23:06:33 +01:00
.travis.yml Adding automations 2019-05-22 17:55:10 +02:00
check_process increase version 2022-01-14 20:07:19 +01:00
LICENSE commits to make the app in working state 2017-12-11 09:58:25 +05:30
manifest.json increase version 2022-01-14 20:07:19 +01:00
README.md Merge branch 'testing' into ovh_fix_testing 2022-01-18 19:51:47 +01:00

ovh_fix branch for peertube_ynh

If installing on an ovh virtual machine or having gyp ERR! configure error please follow the steps below

Steps for installing

  1. Install nodejs
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
$ sudo apt-get install -y nodejs
  1. Install the peertube with OVH fix branch.
$ yunohost app install https://github.com/YunoHost-Apps/peertube_ynh/tree/ovh_fix --debug
  1. After installation is complete run yarn install.
$ cd /var/www/peertube && yarn install --production --pure-lockfile
  1. Give proper permissions to peertube
$ chown -R peertube:peertube /var/www/peertube
  1. Restart peertube and check if there is any error message.
$ service peertube restart
$ journalctl -feu peertube
  1. If there is no error in red in the last lines of log. Press ctrl+c to stop the logs.

  2. Go to your domain to check if peertube is running and everthing is ok.

  3. Change your root password by this command:

    $ cd /var/www/peertube && NODE_CONFIG_DIR="/var/www/peertube/config/" NODE_ENV=production npm run reset-password -- -u root

Username: root password: created in above step

Steps for upgrading

  1. Upgrade peertube with OVH fix branch.
$ yunohost app upgrade peertube -u https://github.com/YunoHost-Apps/peertube_ynh/tree/ovh_fix --debug
  1. After upgrade is complete run yarn install.
$ cd /var/www/peertube && sudo yarn install --production --pure-lockfile
  1. Give proper permissions to peertube
$ chown -R peertube:peertube /var/www/peertube
  1. Restart peertube and check if there is any error message.
$ service peertube restart

More info regarding app packaging: https://yunohost.org/packaging_apps