Giter Site home page Giter Site logo

yunohost-apps / peertube_ynh Goto Github PK

View Code? Open in Web Editor NEW
86.0 20.0 26.0 2.33 MB

Federated (ActivityPub) video streaming platform using P2P for YunoHost

Home Page: https://joinpeertube.org/fr/

License: GNU Affero General Public License v3.0

Shell 100.00%
yunohost peertube webtorrent p2p video bittorrent

peertube_ynh's Introduction

PeerTube for YunoHost

Integration level Working status Maintenance status

Install PeerTube with YunoHost

Read this README in other languages.

This package allows you to install PeerTube quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

PeerTube is a decentralized and federated video hosting software. To publish videos, the user must register with a host (called an instance). Each host has its own conditions of use (storage space per user, moderation rules, themes, etc.). Thanks to WebTorrent, if several people view the same video, fragments of it are exchanged between people so as not to overload the instance. Decentralized: Each instance can follow one or more other PeerTube instances in order to allow its users to view their videos. Federated: Via the ActivityPub protocol, Peertube can interact with other software that is part of the Fediverse, such as Mastodon for example.

Shipped version: 6.0.4~ynh1

Demo: http://peertube.cpy.re

Screenshots

Screenshot of PeerTube

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that:

sudo yunohost app install https://github.com/YunoHost-Apps/peertube_ynh/tree/testing --debug
or
sudo yunohost app upgrade peertube -u https://github.com/YunoHost-Apps/peertube_ynh/tree/testing --debug

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

peertube_ynh's People

Contributors

alexaubin avatar anmol26s avatar ericgaspar avatar fflorent avatar github-actions[bot] avatar gnouts avatar h3ndrik avatar isaaac avatar jibec avatar lab-8916100448256 avatar lapineige avatar liberodark avatar nemsia avatar oufmilo avatar rigelk avatar taekiro avatar tagadda avatar tituspijean avatar yalh76 avatar yunohost-bot avatar zamentur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

peertube_ynh's Issues

Oneprovider root access

Hey guys I just ordered oneprivider one of them vps so install yunohost app and peertube as well everything like and fine but when I wanna share iframe link its not working so I found a solution yunohost forum what I have to do just

edit the main domain nginx file to remove X-frame header.

$ nano /etc/nginx/conf.d/tube.ziuri.me.conf

Remove
add_header X-Frame-Options "SAMEORIGIN";

But there is the problem they dont give a root access i was trying to do that over ftp nothing they gave me error Im not root guy or something like that so just question maybe possible to do that via terminal? If yes can someone explain how to do that

Thanks

[URGENT] Branch ovh-fix Corrupt source

Hi,

yesterday the installation was functional, but this morning on another server with same config, not working :

https://github.com/YunoHost-Apps/peertube_ynh/tree/ovh_fix

2018-10-12 06:37:03,498: DEBUG - + src_filename=app.tar.xz 2018-10-12 06:37:03,499: DEBUG - + local local_src=/opt/yunohost-apps-src/peertube/app.tar.xz 2018-10-12 06:37:03,500: DEBUG - + test -e /opt/yunohost-apps-src/peertube/app.tar.xz 2018-10-12 06:37:03,501: DEBUG - + wget -nv -O app.tar.xz https://github.com/Chocobozzz/PeerTube/releases/download/v1.0.0/peertube-v1.0.0.tar.xz 2018-10-12 06:37:05,007: DEBUG - + echo '3222dff35dd6784001732e3599f435fb58a7304acffe12a7c19c59a4ee88bbc0 app.tar.xz' 2018-10-12 06:37:05,008: WARNING - 2018-10-12 06:37:04 URL:https://github-production-release-asset-2e65be.s3.amazonaws.com/45213667/f4dfc080-cd37-11e8-9022-8105d549465b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181012%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181012T063703Z&X-Amz-Expires=300&X-Amz-Signature=2b03282b2cba3db2a85c06f5d02bf560797f74bc6e82ae6750a448d52bd3fb5d&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dpeertube-v1.0.0.tar.xz&response-content-type=application%2Foctet-stream [2179332/2179332] -> "app.tar.xz" [1] 2018-10-12 06:37:05,009: DEBUG - + sha256sum -c --status 2018-10-12 06:37:05,111: DEBUG - + ynh_die 'Corrupt source' 2018-10-12 06:37:05,113: WARNING - Corrupt source 2018-10-12 06:37:05,115: DEBUG - + echo 'Corrupt source' 2018-10-12 06:37:05,117: WARNING - !! 2018-10-12 06:37:05,118: DEBUG - + exit 1

Fail to install peertube_ynh on Yunohost 3.1

Hi,
I have a fresh Yunohost 3.1 running on a proxmox server (as container).
When trying to install peertube_ynh, I get these messages and then the installation fails:
WARNING psql: could not connect to server: No such file or directory
WARNING Is the server running locally and accepting
WARNING connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
See the full log.
Thanks.

502 Bad Gateway after reboot

Hi,
i uploaded some videos, and reboot the server,
but peertube is unreachable, error 502 : Bad Gateway

root@krashboyz:/home/admin# more /var/www/peertube/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/opt/node_n/bin/node', '/opt/node_n/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart [email protected]
6 info start [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec start script
9 verbose stack Error: [email protected] start: `node dist/server`
9 verbose stack Exit status 1
9 verbose stack     at EventEmitter.<anonymous> (/opt/node_n/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at EventEmitter.emit (events.js:172:7)
9 verbose stack     at ChildProcess.<anonymous> (/opt/node_n/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at ChildProcess.emit (events.js:172:7)
9 verbose stack     at maybeClose (internal/child_process.js:862:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:222:5)
10 verbose pkgid [email protected]
11 verbose cwd /var/www/peertube
12 error Linux 3.16.0-5-amd64
13 error argv "/opt/node_n/bin/node" "/opt/node_n/bin/npm" "start"
14 error node v4.9.1
15 error npm  v2.15.11
16 error code ELIFECYCLE
17 error [email protected] start: `node dist/server`
17 error Exit status 1
18 error Failed at the [email protected] start script 'node dist/server'.
18 error This is most likely a problem with the peertube package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     node dist/server
18 error You can get information on how to open an issue for this project with:
18 error     npm bugs peertube
18 error Or if that isn't available, you can get their info via:
18 error
18 error     npm owner ls peertube
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]
root@krashboyz:/var/www/peertube# service peertube status
● peertube.service - PeerTube daemon
   Loaded: loaded (/etc/systemd/system/peertube.service; enabled)
   Active: failed (Result: start-limit) since sam. 2018-04-07 12:36:35 CEST; 7s ago
  Process: 22941 ExecStart=/bin/sh -c PATH=/opt/node_n/bin:$PATH exec npm start (code=exited, status=1/FAILURE)
 Main PID: 22941 (code=exited, status=1/FAILURE)

avril 07 12:36:35 krashboyz systemd[1]: Unit peertube.service entered failed state.
avril 07 12:36:35 krashboyz systemd[1]: peertube.service holdoff time over, scheduling restart.
avril 07 12:36:35 krashboyz systemd[1]: Stopping PeerTube daemon...
avril 07 12:36:35 krashboyz systemd[1]: Starting PeerTube daemon...
avril 07 12:36:35 krashboyz systemd[1]: peertube.service start request repeated too quickly, refusing to start.
avril 07 12:36:35 krashboyz systemd[1]: Failed to start PeerTube daemon.
avril 07 12:36:35 krashboyz systemd[1]: Unit peertube.service entered failed state.

i'm lost :/
restarting via service peertube stop ; service peertube start isn't changing anything

flatmap-stream was removed, breaking installation

because of the famous npm issue, flatmap-stream was removed from npm: hugeglass/flatmap-stream#2
PeerTube reacted: Chocobozzz/PeerTube#1432

Of course, the package installation is broken.
Long life to npm...

112297 DEBUG yarn install v1.12.3
112800 DEBUG [1/5] Validating package.json...
112801 DEBUG [2/5] Resolving packages...
113606 WARNING warning Resolution field "@types/[email protected]" is incompatible with requested version "@types/[email protected]"
115214 DEBUG [3/5] Fetching packages...
117622 DEBUG info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
117622 WARNING error https://registry.yarnpkg.com/flatmap-stream/-/flatmap-stream-0.1.0.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "Unexpected end of data"
117623 DEBUG + ynh_exit_properly
117624 WARNING !!
117624 DEBUG + local exit_code=1
117625 WARNING peertube's script has encountered an error. Its execution was cancelled.
117626 DEBUG + '[' 1 -eq 0 ']'
117626 WARNING !!
117627 DEBUG + trap '' EXIT
117627 WARNING
117628 DEBUG + set +eu
117629 DEBUG + echo -e '!!\n peertube'''s script has encountered an error. Its execution was cancelled.\n!!'
117629 DEBUG + type -t ynh_clean_setup
117630 DEBUG + ynh_die
117631 DEBUG + echo ''
117631 DEBUG + exit 1
117752 INFO L’opération « Installer l’application « peertube » » a échouée ! Pour avoir de l’aide, merci de partager le log de cette opération en utilisant la commande « yunohost log display 20181130-224558-app_install-peertube --share »

DNS problem

Hey I was moved from ovh to hetzner everything was fine for 24h but this morning I was trying to load domain link and I got a problem. '' This site can’t be reached hostyour.tv’s server IP address could not be found.
DNS_PROBE_FINISHED_NXDOMAIN'' peertube version 1.1.0 maybe anyone can help how solve this problem

Installation failed

Hi,

Thanks for creating this app for YNH ! I tried to install the current version on my system (ARM) :

yunohost:
repo: stable
version: 2.7.10
yunohost-admin:
repo: stable
version: 2.7.7
moulinette:
repo: stable
version: 2.7.7
ssowat:
repo: stable
version: 2.7.7

It failed.
I tried twice, and put the --verbose argument the second time. Here are the logs :

https://paste.yunohost.org/dewosexave.sql

Thanks for your help

Peertube need redis > 2.8.18 on Yunohost 2

Hello,
The new peertube version need backport redis version on Jessie:
"message": "Redis version needs to be greater than 2.8.18. Current: 2.8.17"

Solved by:
apt -t jessie-backports install redis-server

Bind9 install problem

Hey Im using SYS dedicated server with Debian 9.4 Stretch (stable) (64bits) so from start install by this command bash <(wget -q -O- https://install.yunohost.org/) I got fail
[FAIL] Bind9 is installed and might conflict with dnsmasq. Uninstall it first, or if you know what you are doing, run this script with -f.
[INFO] Installation logs are available in /var/log/yunohost-installation_20180715_120932.log

any Idea what I have to do

Can't connect using admin password

hi,

I tried to connect using my email adress and 'root' and the password given during the install : it failed
I tried to renew the admin password using the dedicated script in the terminal, using only 8 letters to be sure it wasn't a special caracter issue : it failed
I tried to use the "I forgot my password" on the webinterface : it failed.

The error message is always "Authentication failed."
I have no log in /var/log/peertube/

My peertube isn't public (i.e behind SSO), if it matters

ynh version :
yunohost:
repo: stable
version: 2.7.10
yunohost-admin:
repo: stable
version: 2.7.7
moulinette:
repo: stable
version: 2.7.7
ssowat:
repo: stable
version: 2.7.7

Peertube version :
1.0.0-beta.3-2 (? last testing version of peertube_ynh)

Embedded video player not working

Hi !
Peertube 1.1.0, fresh updated by
sudo yunohost app upgrade -u https://github.com/YunoHost-Apps/peertube_ynh peertube

Got « peertube.makotoworkshop.org refused to connect. » instead the video player, when i used the html code Share > Embed, to embedded a local video, for example :
<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts" src="https://peertube.makotoworkshop.org/videos/embed/8d76f48d-45bc-453e-aebd-f378eca3dfa4" frameborder="0" allowfullscreen></iframe>

« Funny thing » if i used the code from another instance for the same video, it's work :
<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts" src="https://peertube1.olympe.online/videos/embed/8d76f48d-45bc-453e-aebd-f378eca3dfa4" frameborder="0" allowfullscreen></iframe>

Error.log :

76f48d-45bc-453e-aebd-f378eca3dfa4 HTTP/2.0", upstream: "http://127.0.0.1:9000/videos/embed/8d76f48d-45bc-453e-aebd-f378eca3dfa4", host: "peertube.makotoworkshop.org", referrer: "https://burogu.makotoworkshop.or
g/index.php?preview/makoto/e3a6b36562694e2ca67ca727e7155c40a0df0b50/2019/01/01/eolienne-axe-vertical-12" 

Don't know if it's linked, but got also many error like this :

2019/01/01 20:08:25 [error] 21192#21192: *26167 connect() failed (111: Connection refused) while connecting to upstream, client: 94.237.44.206, server: peertube.makotoworkshop.org, request: "POST /inbox HTTP/1.1
", upstream: "http://127.0.0.1:9000/inbox", host: "peertube.makotoworkshop.org" 

config file reset after upgrade

Hi,

Branch ovh_fix

After an upgrade, my config file production.yaml is partially canceled at email section for example. I do restore it before restart service

Thanks

Yarn dependency problem

I've submit new issue to yarn project : yarnpkg/yarn#6451

Yunohost PeerTube log :

2018-09-29 11:04:20,818: DEBUG - + ynh_app_setting_set peertube nodejs_version 8
2018-09-29 11:04:20,819: DEBUG - + sudo yunohost app setting peertube nodejs_version --value=8 --quiet
2018-09-29 11:04:21,521: DEBUG - + ynh_cron_upgrade_node
2018-09-29 11:04:21,522: DEBUG - + cat
2018-09-29 11:04:21,522: DEBUG - + chmod +x /opt/node_n/node_update.sh
2018-09-29 11:04:21,522: DEBUG - + cat
2018-09-29 11:04:21,523: DEBUG - + chmod +x /etc/cron.daily/node_update
2018-09-29 11:04:21,523: DEBUG - + ynh_use_nodejs
2018-09-29 11:04:21,524: DEBUG - ++ ynh_app_setting_get peertube nodejs_version
2018-09-29 11:04:21,524: DEBUG - ++ sudo yunohost app setting peertube nodejs_version --output-as plain --quiet
2018-09-29 11:04:22,327: DEBUG - + nodejs_version=8
2018-09-29 11:04:22,327: DEBUG - + nodejs_use_version='echo "Deprecated command, should be removed"'
2018-09-29 11:04:22,328: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/8/bin
2018-09-29 11:04:22,328: DEBUG - + [[ :/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: == :/\o\p\t/\n\o\d\e_\n/\n/\v\e\r\s\i\o\n\s/\n\o\d\e/\8/\b\i\n ]]
2018-09-29 11:04:22,328: DEBUG - + PATH=/opt/node_n/n/versions/node/8/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2018-09-29 11:04:22,329: DEBUG - ++ lsb_release --codename --short
2018-09-29 11:04:22,530: DEBUG - + '[' stretch == jessie ']'
2018-09-29 11:04:22,530: DEBUG - + curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg
2018-09-29 11:04:22,531: DEBUG - + apt-key add -
2018-09-29 11:04:22,631: WARNING - Warning: apt-key output should not be parsed (stdout is not a terminal)
2018-09-29 11:04:23,133: DEBUG - OK
2018-09-29 11:04:23,234: DEBUG - + echo 'deb https://dl.yarnpkg.com/debian/ stable main'
2018-09-29 11:04:23,235: DEBUG - + tee /etc/apt/sources.list.d/yarn.list
2018-09-29 11:04:23,235: DEBUG - deb https://dl.yarnpkg.com/debian/ stable main
2018-09-29 11:04:23,236: DEBUG - + ynh_package_update
2018-09-29 11:04:23,236: DEBUG - + ynh_apt update
2018-09-29 11:04:23,236: DEBUG - + DEBIAN_FRONTEND=noninteractive
2018-09-29 11:04:23,237: DEBUG - + sudo apt-get -y update
2018-09-29 11:04:23,538: DEBUG - Atteint:1 http://security.debian.org/debian-security stretch/updates InRelease
2018-09-29 11:04:23,538: DEBUG - Atteint:2 http://forge.yunohost.org/debian stretch InRelease
2018-09-29 11:04:23,539: DEBUG - Ign:3 http://ftp.debian.org/debian stretch InRelease
2018-09-29 11:04:23,540: DEBUG - Atteint:4 http://ftp.debian.org/debian stretch-updates InRelease
2018-09-29 11:04:23,540: DEBUG - Atteint:5 http://ftp.debian.org/debian stretch Release
2018-09-29 11:04:27,350: DEBUG - Lecture des listes de paquets…
2018-09-29 11:04:27,452: DEBUG - + ynh_exit_properly
2018-09-29 11:04:27,453: WARNING - E: Le pilote pour la méthode /usr/lib/apt/methods/https n'a pu être trouvé.
2018-09-29 11:04:27,453: DEBUG - + local exit_code=100
2018-09-29 11:04:27,454: WARNING - E: Impossible de récupérer https://dl.yarnpkg.com/debian/dists/stable/InRelease
2018-09-29 11:04:27,455: DEBUG - + '[' 100 -eq 0 ']'
2018-09-29 11:04:27,455: WARNING - E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
2018-09-29 11:04:27,456: DEBUG - + trap '' EXIT
2018-09-29 11:04:27,457: WARNING - !!
2018-09-29 11:04:27,457: DEBUG - + set +eu
2018-09-29 11:04:27,458: WARNING - peertube's script has encountered an error. Its execution was cancelled.
2018-09-29 11:04:27,459: DEBUG - + echo -e '!!\n peertube'''s script has encountered an error. Its execution was cancelled.\n!!'
2018-09-29 11:04:27,459: WARNING - !!
2018-09-29 11:04:27,460: DEBUG - + type -t ynh_clean_setup
2018-09-29 11:04:27,461: WARNING -
2018-09-29 11:04:27,461: DEBUG - + ynh_die
2018-09-29 11:04:27,462: DEBUG - + echo ''
2018-09-29 11:04:27,463: DEBUG - + exit 1

System can no longer find videos

My instance is stoptrackingus.tv. Installed this past weekend and 4 gigs of videos were playing correctly. Today they are not. I think some how the folder for videos were changed on the server after uploading the most recent videos today with a url. The console show the following errors:

[Report Only] Refused to load media from 'blob:https://stoptrackingus.tv/f23d8178-af3c-46b6-b971-017870481059' because it violates the following Content Security Policy directive: "default-src https: data: 'unsafe-inline' 'unsafe-eval'". Note that 'media-src' was not explicitly set, so 'default-src' is used as a fallback.

/static/webseed/f8042d55-408b-4399-be9b-951baeabcb40-720.mp4:1 Failed to load resource: the server responded with a status of 404 (Not Found)

yard is in conflict with nodejs

i just tried an install using :
yunohost app install https://github.com/YunoHost-Apps/peertube_ynh/tree/testing

but it failed :

Attention : dpkg: concernant yarn_1.5.1_all.deb contenant yarn :
Attention :  yarn entre en conflit avec nodejs (<< 4.0.0)
Attention :   « nodejs » (version « 0.10.29~dfsg-2 ») est présent ainsi que « installé ».
Attention : 
Attention : dpkg: erreur de traitement de l'archive yarn_1.5.1_all.deb (--install) :
Attention :  paquets en conflit - yarn non installé
Attention : Des erreurs ont été rencontrées pendant l'exécution :
Attention :  yarn_1.5.1_all.deb
Attention : !!
Attention :   peertube's script has encountered an error. Its execution was cancelled.
Attention : !!

tell me if you need a full log, i can reproduce it ;)

yunohost -v
yunohost: 
  repo: stable
  version: 2.7.10
yunohost-admin: 
  repo: stable
  version: 2.7.7
moulinette: 
  repo: stable
  version: 2.7.7
ssowat: 
  repo: stable
  version: 2.7.7

Unable to log in as root/admin after installation

After installing a new instance of PeerTube, I was unable to log in as the root / administrator account. Tracking the installation, I found at least three different sets of user and password generated by the installer.

  • One set is generated on installation, and the password is sent to the chosen account by email. In theory it should be able to be reset via NPM, but the installer apparently doesn't configure the Node.js environment correctly, so the command fails.
  • Another set appears on /var/www/peertube/config/production.yaml, next to the username "peertube".
  • A final set appears on a pair of lines from the log file /home/yunohost.app/peertube/storage/logs/peertube.log, next to the username "root".

Attempting all the permutations of these (with usernames "root", "admin", "peertube" and the email corresponding to my administrator account) on the user login field of the web UI has had no result. Attempting to request a password reset to said email does send the link to reset, but the resulting password doesn't work either. Creating a new account by adjusting the production configuration file, and then entering with said account, does work, however the account has no administration permissions and therefore can't follow any users outside of its instance.

Button update configuration is inactive.

Hello
I just installed Peertube version 1.0.0-beta.7
When I go into administration, I can not make any changes because the button update configuration is inactive.

Confusing email send by peertube "installed" in subject, "removed" in content

Related to #58

Subject : ☁️🆈🅽🅷☁️: `peertube` was just installed!

This is an automated message from your beloved YunoHost server. 
Specific information for the application peertube. 
peertube was successfully removed :) 

peertube was successfully removed and domain https://videos.festivalparminous.org is free for other apps now. 

But there is futher action needed from your side to completely remove the peertube data. If you are planing to restore the app in the future don't run the command given below. If you are going to switch to othe server don't forget to copy /home/yunohost.app/peertube to your new server. 


You need to run this command to remove the data (warning all your videos will be removed) : 

rm -R /home/yunohost.app/peertube -f 


If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/peertube_ynh 
--- 
Automatic diagnosis data from YunoHost 
host: Debian 9.6 
kernel: 4.9.0-8-amd64 
packages: 
yunohost: 
repo: stable 
version: 3.2.2 
yunohost-admin: 
repo: stable 
version: 3.2.1 
moulinette: 
repo: stable 
version: 3.2.0 
ssowat: 
repo: stable 
version: 3.2.0 
backports: 
system: 
disks: 
vda1: Mounted on /, 8.1GiB (1.7GiB free) 
vda5: Mounted on /var, 28.1GiB (20.1GiB free) 
vda7: Mounted on /tmp, 4.1GiB (4.0GiB free) 
vda8: Mounted on /home, 114.9GiB (84.1GiB free) 
memory: 
ram: 3.8GiB (1.5GiB free) 
swap: 2.0GiB (1.5GiB free) 
nginx: 
- nginx: [warn] could not build optimal variables_hash, you should increase either variables_hash_max_size: 1024 or variables_hash_bucket_size: 64; ignoring variables_hash_bucket_size 
- nginx: the configuration file /etc/nginx/nginx.conf syntax is ok 
- nginx: configuration file /etc/nginx/nginx.conf test is successful

I have a corrupted source error

Hello

I just tried Peerube on my Yunohost and I have a corrupted source error. Mastodon is already installed on the server

Thank you for your help

Bonjour

Je viens d'essayé d'installer Peertube sur mon Yunohost et j'ai une erreur de source corrompu. Mastodon est déjà installé sur le serveur

Merci de votre aide

peertube-echec-installation

Upgrade script should/could check dpkg state before starting

Follow up of #58

Since launching an application upgrade on a system that has an unfinished dpkg state. Would it be useful to include a check before actually starting the upgrade procedure. To avoid the

  • try upgrade
  • fail
  • try restore
  • fail
  • end up with removed application

Maybe this issue should be upstream (if it doesn't exist yet I can go and create it)

app install in /video even when choosing domain root as installation candidate

Is there a way to redirect to the /video so that when someone types in the base domain it opens peertube.

Right now if you go to stoptrackingus.tv you get redirected to the yunohost admin domain. Looking at the nginx conf for the new install it states location /yunohost/admin.

I am guessing for me the install is not creating the correct nginx conf.

Root login failed after fresh install

Hi,
i just done (twice) a fresh resintall of peertube_ynh
using the command as root :
yunohost app install https://github.com/YunoHost-Apps/peertube_ynh

but i can't login as root user using the new password sended by mail.

  • the first time , i tried the solution used in #13 :
    cd /var/www/peertube && NODE_ENV=production npm run reset-password -- -u root
    but i had the same trouble, new password didn't works
    so i tried npm rebuild without more succes, then, npm install and restarted peertube service, result was a 502 error even a nginx restart... so i reinstalled from scratch the peertube_ynh

  • second time, same trouble, i refresh the page with ctrl+F5, but the password sended by mail is still not working.

Waiting for order to continue investigation ;)

Red PopUp "token is invalid"

Hi,
i don't already looked the logs, but i have a red popup on the right bottom corner, telling that "the token is invalid"
am i alone to have this ?
How can i patch this ?

Cannot change root password

I installed the testing branch on my Yunohost instance.
Everythings looked good.
Then, when I tried to change the root password, got the following errors :

npm ERR! Linux 3.16.0-5-amd64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "reset-password" "--" "-u" "root"
npm ERR! node v6.14.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] reset-password: node ./dist/scripts/reset-password.js "-u" "root"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] reset-password script 'node ./dist/scripts/reset-password.js "-u" "root"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the peertube package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./dist/scripts/reset-password.js "-u" "root"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs peertube
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls peertube
npm ERR! There is likely additional logging output above.

Here is my installation log

Automatic diagnosis data from YunoHost
host: Debian 8.10
kernel: 3.16.0-5-amd64
packages:
yunohost:
repo: stable
version: 2.7.10
yunohost-admin:
repo: stable
version: 2.7.7
moulinette:
repo: stable
version: 2.7.7
ssowat:
repo: stable
version: 2.7.7
backports:

  • ffmpeg
  • i965-va-driver:amd64
  • libavcodec57:amd64
  • libavdevice57:amd64
  • libavfilter6:amd64
  • libavformat57:amd64
  • libavresample3:amd64
  • libavutil55:amd64
  • libbluray1:amd64
  • libchromaprint1:amd64
  • libdrm-amdgpu1:amd64
  • libdrm-intel1:amd64
  • libdrm-nouveau2:amd64
  • libdrm-radeon1:amd64
  • libdrm2:amd64
  • libegl1-mesa:amd64
  • libgbm1:amd64
  • libgl1-mesa-dri:amd64
  • libgl1-mesa-glx:amd64
  • libglapi-mesa:amd64
  • libjs-jquery
  • libjs-sphinxdoc
  • libllvm3.8:amd64
  • libpostproc54:amd64
  • libpulse0:amd64
  • libswresample2:amd64
  • libswscale4:amd64
  • libva-drm1:amd64
  • libva-x11-1:amd64
  • libva1:amd64
  • libvdpau1:amd64
  • libwayland-egl1-mesa:amd64
  • libx265-87:amd64
  • mesa-va-drivers:amd64
  • python-future
  • python-six
  • va-driver-all:amd64
    system:
    disks:
    sda1: Mounted on /, 9.8GiB (3.2GiB free)
    sdb1: Mounted on /home, 98.3GiB (19.1GiB free)
    sdc1: Mounted on /mnt/disk, 98.3GiB (19.1GiB free)
    memory:
    ram: 1.9GiB (965.7MiB free)
    swap: 0B (0B free)
    nginx:
  • nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
  • nginx: configuration file /etc/nginx/nginx.conf test is successful

Attached my log file
Thanks !
npm-debug.log

Having special character in password fails installation

Special character like brackets ( give error in the command :
(cd /var/www/$app && sleep 15 && exec /bin/sh -c "echo $admin_pass | NODE_CONFIG_DIR=/var/www/$app/config NODE_ENV=production PATH=/opt/node_n/bin:$PATH npm run reset-password -- -u root")

There is need to handle the password in a better way.

Upgrade failed

2018-11-19 12:54:59,178: WARNING - Installation of N - Node.js version management
2018-11-19 12:55:00,197: WARNING - 2018-11-19 12:55:00 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> "n.tar.gz" [1]
2018-11-19 12:55:18,313: WARNING - Warning: apt-key output should not be parsed (stdout is not a terminal)
2018-11-19 12:55:57,822: WARNING - E: Sub-process /usr/bin/dpkg returned an error code (1)
2018-11-19 12:55:57,826: WARNING - Unable to install dependencies
2018-11-19 12:55:57,827: WARNING - !!
2018-11-19 12:55:57,830: WARNING -   peertube's script has encountered an error. Its execution was cancelled.
2018-11-19 12:55:57,831: WARNING - !!
2018-11-19 12:55:57,833: WARNING - Upgrade failed.
2018-11-19 12:56:04,615: WARNING - Removed /etc/systemd/system/multi-user.target.wants/peertube.service.
2018-11-19 12:56:24,631: WARNING - E: Sub-process /usr/bin/dpkg returned an error code (1)
2018-11-19 12:56:34,969: WARNING - /usr/local/n wasn't deleted because it doesn't exist.
2018-11-19 12:56:36,375: WARNING - /var/www/peertube wasn't deleted because it doesn't exist.
2018-11-19 12:56:51,455: WARNING - Remove the user peertube
2018-11-19 12:58:43,560: WARNING - Installation of N - Node.js version management
2018-11-19 12:58:44,364: WARNING - 2018-11-19 12:58:44 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> "n.tar.gz" [1]
2018-11-19 12:58:48,292: WARNING - 
                                                                           1.2%
###                                                                        5.4%
#######                                                                    9.7%
###############                                                           22.1%
################                                                          23.0%
################                                                          23.4%
##########################                                                36.8%
#################################                                         46.5%
#################################                                         46.9%
#######################################                                   54.6%
################################################                          67.4%
###################################################                       70.9%
###################################################                       72.0%
########################################################                  78.5%
#############################################################             84.9%
#################################################################         91.3%
######################################################################    97.8%
######################################################################## 100.0%
2018-11-19 12:58:51,305: WARNING - Warning: apt-key output should not be parsed (stdout is not a terminal)
2018-11-19 12:59:34,511: WARNING - E: Sub-process /usr/bin/dpkg returned an error code (1)
2018-11-19 12:59:34,512: WARNING - Unable to install dependencies
2018-11-19 12:59:34,514: WARNING - !!
2018-11-19 12:59:34,515: WARNING -   peertube's script has encountered an error. Its execution was cancelled.
2018-11-19 12:59:34,516: WARNING - !!
2018-11-19 12:59:34,517: WARNING - 
2018-11-19 12:59:34,619: WARNING - Unable to restore the app 'peertube'
2018-11-19 12:59:56,838: WARNING - E: Sub-process /usr/bin/dpkg returned an error code (1)
2018-11-19 12:59:58,249: WARNING - /usr/local/n wasn't deleted because it doesn't exist.
2018-11-19 12:59:58,250: WARNING - /etc/apt/sources.list.d/jessie-backports.list wasn't deleted because it doesn't exist.
2018-11-19 12:59:58,653: WARNING - dropdb: database removal failed: ERROR:  database "peertube_prod" does not exist
2018-11-19 12:59:58,855: WARNING - dropuser: removal of role "peertube" failed: ERROR:  role "peertube" does not exist
2018-11-19 13:00:16,852: WARNING - Remove the user peertube
2018-11-19 13:00:37,910: WARNING - Nothing has been restored
2018-11-19 13:00:38,011: WARNING - The app was restored to the way it was before the failed upgrade.
2018-11-19 13:00:38,170: ERROR - Unable to upgrade peertube 

It seems that the rollback failed too. The site isn't available anymore and does not list in the yunohost admin interface.

Consider adding the app to the community list

Hello !

This is a friendly automatic notice from the Yunohost Apps team : our tool noticed that your app is pretty interesting but is not listed in the community list !

Please consider making a pull request to add it, such that people can easily learn about its existence from this page. If you declare your app as working, you might also benefit from automatic tests on the app C.I..

It is relevant to add your app to the list even if it's not working or unmaintained since it might still help people who might want to continue packaging the app. Just be sure to correctly flag it as notworking/unmaintained.

Checkout the README to learn how to add your app to the list (should take only a few minutes).

Datalove <3,

The YunoHost team.

[Temp fix provided] Peertube can't send mail

I juste install Ynh 3.0.0.1
Install the package
Everything looks fine
I can see the peertube main page
But my server never send me an email for my administrator password, so i check the log with

sudo journalctl -feu peertube

The first lines of the logs show me this :

juil. 25 01:29:44 peern.pw systemd[1]: Started PeerTube daemon. juil. 25 01:29:47 peern.pw peertube[3184]: > [email protected] start /var/www/peertube juil. 25 01:29:47 peern.pw peertube[3184]: > node dist/server juil. 25 01:30:05 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:05.106 info: Database peertube_peertube is ready. juil. 25 01:30:09 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:09.477 info: Creating application account. juil. 25 01:30:09 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:09.649 info: Generating a RSA key... juil. 25 01:30:10 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:10.433 info: Creating a default OAuth Client. juil. 25 01:30:10 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:10.468 info: Client id: pxwzqzw5bmy5tc73e4584whtjljuhx5v juil. 25 01:30:10 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:10.472 info: Client secret: fgrOdonYgGlCasbg3ExPeZhDiCHB6a9A juil. 25 01:30:10 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:10.494 info: Creating the administrator. juil. 25 01:30:10 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:10.807 info: Generating a RSA key... juil. 25 01:30:11 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:11.516 info: Generating a RSA key... juil. 25 01:30:12 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:12.232 info: Username: root juil. 25 01:30:12 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:12.233 info: User password: wocafezedefutapo juil. 25 01:30:12 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:12.242 info: Using localhost:25 as SMTP server. juil. 25 01:30:12 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:12.251 info: Testing SMTP server... juil. 25 01:30:12 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:12.289 info: Connection established to 127.0.0.1:25 { juil. 25 01:30:12 peern.pw peertube[3184]: "meta": { juil. 25 01:30:12 peern.pw peertube[3184]: "component": "smtp-connection", juil. 25 01:30:12 peern.pw peertube[3184]: "sid": "BYyXfdCKaI", juil. 25 01:30:12 peern.pw peertube[3184]: "tnx": "network", juil. 25 01:30:12 peern.pw peertube[3184]: "localAddress": "127.0.0.1", juil. 25 01:30:12 peern.pw peertube[3184]: "localPort": 56822, juil. 25 01:30:12 peern.pw peertube[3184]: "remoteAddress": "127.0.0.1", juil. 25 01:30:12 peern.pw peertube[3184]: "remotePort": 25 juil. 25 01:30:12 peern.pw peertube[3184]: } juil. 25 01:30:12 peern.pw peertube[3184]: } juil. 25 01:30:12 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:12.588 info: Successfully connected to SMTP server. juil. 25 01:30:12 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:12.656 info: Server listening on localhost:9000 juil. 25 01:30:12 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:12.657 info: Web server: https://peern.pw juil. 25 01:30:12 peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 01:30:12.668 info: Connection closed { juil. 25 01:30:12 peern.pw peertube[3184]: "component": "smtp-connection", juil. 25 01:30:12 peern.pw peertube[3184]: "sid": "BYyXfdCKaI", juil. 25 01:30:12 peern.pw peertube[3184]: "tnx": "network" juil. 25 01:30:12 peern.pw peertube[3184]: }
So I tried the login "root" and the password "wocafezedefutapo" this doesn't work

I tried also to reset the password with the form on the login interface of course the mail never arrived and the log show me this :

juil. 25 02:16:24 yh.peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 02:16:24.839 info: 92.102.104.115 - - [25/Jul/2018:02:16:24 +0000] "GET / HTTP/1.0" 304 - "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0" juil. 25 02:16:25 yh.peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 02:16:25.163 info: 92.102.104.115 - - [25/Jul/2018:02:16:25 +0000] "GET /api/v1/config/ HTTP/1.0" 304 - "https://peern.pw/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0" juil. 25 02:16:25 yh.peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 02:16:25.166 info: 92.102.104.115 - - [25/Jul/2018:02:16:25 +0000] "GET /api/v1/videos/categories HTTP/1.0" 304 - "https://peern.pw/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0" juil. 25 02:16:25 yh.peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 02:16:25.171 info: 92.102.104.115 - - [25/Jul/2018:02:16:25 +0000] "GET /api/v1/videos/languages HTTP/1.0" 304 - "https://peern.pw/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0" juil. 25 02:16:25 yh.peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 02:16:25.191 info: 92.102.104.115 - - [25/Jul/2018:02:16:25 +0000] "GET /api/v1/oauth-clients/local HTTP/1.0" 304 - "https://peern.pw/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0" juil. 25 02:16:25 yh.peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 02:16:25.270 info: 92.102.104.115 - - [25/Jul/2018:02:16:25 +0000] "GET /api/v1/videos/licences HTTP/1.0" 304 - "https://peern.pw/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0" juil. 25 02:16:25 yh.peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 02:16:25.274 info: 92.102.104.115 - - [25/Jul/2018:02:16:25 +0000] "GET /api/v1/videos/privacies HTTP/1.0" 304 - "https://peern.pw/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0" juil. 25 02:16:25 yh.peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 02:16:25.417 info: 92.102.104.115 - - [25/Jul/2018:02:16:25 +0000] "GET /api/v1/videos/?start=0&count=28&sort=-views HTTP/1.0" 304 - "https://peern.pw/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0" juil. 25 02:16:36 yh.peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 02:16:36.142 info: 92.102.104.115 - - [25/Jul/2018:02:16:36 +0000] "POST /api/v1/users//ask-reset-password HTTP/1.0" 204 - "https://peern.pw/login" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0" juil. 25 02:16:36 yh.peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 02:16:36.148 info: Processing email in job 2. juil. 25 02:16:36 yh.peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 02:16:36.156 info: Connection established to 127.0.0.1:25 { juil. 25 02:16:36 yh.peern.pw peertube[3184]: "meta": { juil. 25 02:16:36 yh.peern.pw peertube[3184]: "component": "smtp-connection", juil. 25 02:16:36 yh.peern.pw peertube[3184]: "sid": "f1DXr5ygaaE", juil. 25 02:16:36 yh.peern.pw peertube[3184]: "tnx": "network", juil. 25 02:16:36 yh.peern.pw peertube[3184]: "localAddress": "127.0.0.1", juil. 25 02:16:36 yh.peern.pw peertube[3184]: "localPort": 58092, juil. 25 02:16:36 yh.peern.pw peertube[3184]: "remoteAddress": "127.0.0.1", juil. 25 02:16:36 yh.peern.pw peertube[3184]: "remotePort": 25 juil. 25 02:16:36 yh.peern.pw peertube[3184]: } juil. 25 02:16:36 yh.peern.pw peertube[3184]: } juil. 25 02:16:36 yh.peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 02:16:36.268 info: Sending message <[email protected]> to <[email protected]> { juil. 25 02:16:36 yh.peern.pw peertube[3184]: "meta": { juil. 25 02:16:36 yh.peern.pw peertube[3184]: "component": "smtp-transport", juil. 25 02:16:36 yh.peern.pw peertube[3184]: "tnx": "send", juil. 25 02:16:36 yh.peern.pw peertube[3184]: "messageId": "<[email protected]>" juil. 25 02:16:36 yh.peern.pw peertube[3184]: } juil. 25 02:16:36 yh.peern.pw peertube[3184]: } juil. 25 02:16:36 yh.peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 02:16:36.313 error: Send error for <[email protected]>: Can't send mail - all recipients were rejected: 553 5.7.1 <[email protected]>: Sender address rejected: not logged in { juil. 25 02:16:36 yh.peern.pw peertube[3184]: "meta": { juil. 25 02:16:36 yh.peern.pw peertube[3184]: "component": "smtp-transport", juil. 25 02:16:36 yh.peern.pw peertube[3184]: "err": "Error: Can't send mail - all recipients were rejected: 553 5.7.1 <[email protected]>: Sender address rejected: not logged in\n at SMTPConnection._formatError (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:606:19)\n at SMTPConnection._actionRCPT (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:1425:28)\n at SMTPConnection._responseActions.push.str (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:1378:30)\n at SMTPConnection._processResponse (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:762:20)\n at SMTPConnection._onData (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:558:14)\n at Socket._socket.on.chunk (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:510:47)\n at emitOne (events.js:116:13)\n at Socket.emit (events.js:211:7)\n at addChunk (_stream_readable.js:263:12)\n at readableAddChunk (_stream_readable.js:250:11)\n at Socket.Readable.push (_stream_readable.js:208:10)\n at TCP.onread (net.js:597:20)", juil. 25 02:16:36 yh.peern.pw peertube[3184]: "tnx": "send" juil. 25 02:16:36 yh.peern.pw peertube[3184]: } juil. 25 02:16:36 yh.peern.pw peertube[3184]: } juil. 25 02:16:36 yh.peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 02:16:36.314 error: Send Error: Can't send mail - all recipients were rejected: 553 5.7.1 <[email protected]>: Sender address rejected: not logged in { juil. 25 02:16:36 yh.peern.pw peertube[3184]: "meta": { juil. 25 02:16:36 yh.peern.pw peertube[3184]: "component": "mail", juil. 25 02:16:36 yh.peern.pw peertube[3184]: "err": "Error: Can't send mail - all recipients were rejected: 553 5.7.1 <[email protected]>: Sender address rejected: not logged in\n at SMTPConnection._formatError (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:606:19)\n at SMTPConnection._actionRCPT (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:1425:28)\n at SMTPConnection._responseActions.push.str (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:1378:30)\n at SMTPConnection._processResponse (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:762:20)\n at SMTPConnection._onData (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:558:14)\n at Socket._socket.on.chunk (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:510:47)\n at emitOne (events.js:116:13)\n at Socket.emit (events.js:211:7)\n at addChunk (_stream_readable.js:263:12)\n at readableAddChunk (_stream_readable.js:250:11)\n at Socket.Readable.push (_stream_readable.js:208:10)\n at TCP.onread (net.js:597:20)", juil. 25 02:16:36 yh.peern.pw peertube[3184]: "tnx": "transport", juil. 25 02:16:36 yh.peern.pw peertube[3184]: "action": "send" juil. 25 02:16:36 yh.peern.pw peertube[3184]: } juil. 25 02:16:36 yh.peern.pw peertube[3184]: } juil. 25 02:16:36 yh.peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 02:16:36.315 error: Cannot execute job 2. { juil. 25 02:16:36 yh.peern.pw peertube[3184]: "meta": { juil. 25 02:16:36 yh.peern.pw peertube[3184]: "err": "Error: Can't send mail - all recipients were rejected: 553 5.7.1 <[email protected]>: Sender address rejected: not logged in\n at SMTPConnection._formatError (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:606:19)\n at SMTPConnection._actionRCPT (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:1425:28)\n at SMTPConnection._responseActions.push.str (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:1378:30)\n at SMTPConnection._processResponse (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:762:20)\n at SMTPConnection._onData (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:558:14)\n at Socket._socket.on.chunk (/var/www/peertube/node_modules/nodemailer/lib/smtp-connection/index.js:510:47)\n at emitOne (events.js:116:13)\n at Socket.emit (events.js:211:7)\n at addChunk (_stream_readable.js:263:12)\n at readableAddChunk (_stream_readable.js:250:11)\n at Socket.Readable.push (_stream_readable.js:208:10)\n at TCP.onread (net.js:597:20)" juil. 25 02:16:36 yh.peern.pw peertube[3184]: } juil. 25 02:16:36 yh.peern.pw peertube[3184]: } juil. 25 02:16:36 yh.peern.pw peertube[3184]: [peern.pw:443] 2018-07-25 02:16:36.322 info: Connection closed { juil. 25 02:16:36 yh.peern.pw peertube[3184]: "component": "smtp-connection", juil. 25 02:16:36 yh.peern.pw peertube[3184]: "sid": "f1DXr5ygaaE", juil. 25 02:16:36 yh.peern.pw peertube[3184]: "tnx": "network" juil. 25 02:16:36 yh.peern.pw peertube[3184]: }
I also use the https://ports.yunohost.org/?host=peern.pw&eport=&submit=Check and this reveal me that the port 465 is closed. I try to set it up by the firewall in the YNH but this not work.

I'm using the OVH repository , use a Let's Encrypt certificate and config the my domain name as it's said in the YNH.

Thank you

[testing] Fails to install on the reset-password step

Warning: warning " > @angular/[email protected]" has incorrect peer dependency "typescript@>=2.4.2 <2.7".
Warning: warning " > @ngx-meta/[email protected]" has unmet peer dependency "lodash@>=4.17.4".
Warning: Created symlink from /etc/systemd/system/multi-user.target.wants/peertube.service to /etc/systemd/system/peertube.service.
Warning: User unknown.
Warning: npm ERR! code ELIFECYCLE
Warning: npm ERR! errno 255
Warning: npm ERR! [email protected] reset-password: `node ./dist/scripts/reset-password.js "-u" "root"`
Warning: npm ERR! Exit status 255
Warning: npm ERR!
Warning: npm ERR! Failed at the [email protected] reset-password script.
Warning: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Warning: 
Warning: npm ERR! A complete log of this run can be found in:
Warning: npm ERR!     /root/.npm/_logs/2018-03-22T15_10_40_679Z-debug.log
Warning: !!
Warning:   peertube's script has encountered an error. Its execution was cancelled.
Warning: !!
Warning: 
Warning: Removed symlink /etc/systemd/system/multi-user.target.wants/peertube.service.

The debug log says :

0 info it worked if it ends with ok
1 verbose cli [ '/opt/node_n/bin/node',
1 verbose cli   '/opt/node_n/bin/npm',
1 verbose cli   'run',
1 verbose cli   'reset-password',
1 verbose cli   '--',
1 verbose cli   '-u',
1 verbose cli   'root' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prereset-password', 'reset-password', 'postreset-password' ]
5 info lifecycle [email protected]~prereset-password: [email protected]
6 info lifecycle [email protected]~reset-password: [email protected]
7 verbose lifecycle [email protected]~reset-password: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~reset-password: PATH: /opt/node_n/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/var/www/peertube/node_modules/.bin:/opt/node_n/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
9 verbose lifecycle [email protected]~reset-password: CWD: /var/www/peertube
10 silly lifecycle [email protected]~reset-password: Args: [ '-c', 'node ./dist/scripts/reset-password.js "-u" "root"' ]
11 silly lifecycle [email protected]~reset-password: Returned: code: 255  signal: null
12 info lifecycle [email protected]~reset-password: Failed to exec reset-password script
13 verbose stack Error: [email protected] reset-password: `node ./dist/scripts/reset-password.js "-u" "root"`
13 verbose stack Exit status 255
13 verbose stack     at EventEmitter.<anonymous> (/opt/node_n/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess.<anonymous> (/opt/node_n/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:925:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid [email protected]
15 verbose cwd /var/www/peertube
16 verbose Linux 4.9.0-0.bpo.5-amd64
17 verbose argv "/opt/node_n/bin/node" "/opt/node_n/bin/npm" "run" "reset-password" "--" "-u" "root"
18 verbose node v8.10.0
19 verbose npm  v5.6.0
20 error code ELIFECYCLE
21 error errno 255
22 error [email protected] reset-password: `node ./dist/scripts/reset-password.js "-u" "root"`
22 error Exit status 255
23 error Failed at the [email protected] reset-password script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 255, true ]

For now, I've commented out the line to finish the install.

And then when I do the command line manually it works.

Might it be the sleep 5 which is too short ?

Install / yarn --production error

Hi, i'm stock to this error when i try to install Peertube.

Command used : sudo yunohost app install https://github.com/YunoHost-Apps/peertube_ynh

A part of the --debug log.

35056 DEBUG + wget -nv -O app.tar.xz https://github.com/Chocobozzz/PeerTube/releases/download/v1.0.0-beta.13/peertube-v1.0.0-beta.13.tar.xz
38160 DEBUG + sha256sum -c --status
38160 WARNING 2018-09-16 18:20:29 URL:https://github-production-release-asset-2e65be.s3.amazonaws.com/45213667/4bada680-b748-11e8-91ec-99094d9e9b08?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180916%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180916T162026Z&X-Amz-Expires=300&X-Amz-Signature=d0274448f97d389e9c7458edb255c7f5babef933c44bb1ba1313bca5107f6826&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dpeertube-v1.0.0-beta.13.tar.xz&response-content-type=application%2Foctet-stream [2040752/2040752] -> "app.tar.xz" [1]
38160 DEBUG + echo 'd23ebad3d1348a8fdf6ccaff81c16849045574578656ab7e676d4580c2da7383 app.tar.xz'
38160 DEBUG + mkdir -p /var/www/peertube
38160 DEBUG + true
38160 DEBUG + '[' tar.xz = zip ']'
38160 DEBUG + local strip=
38160 DEBUG + true
38160 DEBUG + strip='--strip-components 1'
38160 DEBUG + [[ tar.xz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
38161 DEBUG + tar -xf app.tar.xz -C /var/www/peertube --strip-components 1
38461 DEBUG ++ find /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../sources/patches/ -type f -name 'app-*.patch'
38461 DEBUG ++ wc -l
38461 DEBUG + ((  0 > 0  ))
38461 DEBUG + test -e /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../sources/extra_files/app
38462 WARNING Usage: yarn [options]
38462 DEBUG + cp ../conf/production.yaml /var/www/peertube/config/production.yaml
38462 WARNING
38462 DEBUG + touch /var/www/peertube/config/local-production.json
38462 WARNING yarn: error: no such option: --production
38462 DEBUG + cd /var/www/peertube
38462 DEBUG + yarn install --production --pure-lockfile
38562 DEBUG + ynh_exit_properly
38562 WARNING !!
38563 DEBUG + local exit_code=2
38563 WARNING   peertube's script has encountered an error. Its execution was cancelled.
38563 DEBUG + '[' 2 -eq 0 ']'
38563 WARNING !!
38563 DEBUG + trap '' EXIT
38563 WARNING
38563 DEBUG + set +eu
38563 DEBUG + echo -e '!!\n  peertube'\''s script has encountered an error. Its execution was cancelled.\n!!'
38563 DEBUG + type -t ynh_clean_setup
38563 DEBUG + ynh_die
38563 DEBUG + echo ''
38563 DEBUG + exit 1

Versions :

host: Debian 9.5
kernel: 4.9.0-8-amd64
packages:
yunohost:
repo: stable
version: 3.2.0
yunohost-admin:
repo: stable
version: 3.2.0
moulinette:
repo: stable
version: 3.2.0
ssowat:
repo: stable
version: 3.2.0
backports:
system:
disks:
dm-2: Mounted on /, 2.7TiB (1.6TiB free)
md0p1: Mounted on /boot, 231.3MiB (129.3MiB free)
memory:
ram: 7.7GiB (5.7GiB free)
swap: 976.0MiB (975.6MiB free)

nodejs -v
v8.12.0
npm -v
6.4.1
yarn -v
1.9.4
ffmpeg --version
ffmpeg version 3.2.12-1~deb9u1
g++ --version
g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516

Install script failure at node

Installing the app leads to errors when installing Node. Likely a problem with scripts/nodejs.sh, occuring on the ynh_install_nodejs 8 call in the install script.

My environment is the latest vagrant ynh_dev VM.

manual install log

# yunohost app install -a "domain=peertube.example.com&[email protected]&is_public=1" /vagrant/peertube_ynh/
Warning: E: Packages need to be removed but remove is disabled.
Warning: Installation of N - Node.js version management
Warning: 2018-02-27 10:04:21 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> "n.tar.gz" [1]
Warning: sed: can't read $: No such file or directory
Warning: !!
Warning:   peertube's script has encountered an error. Its execution was cancelled.
Warning: !!
[...]
Success! The SSOwat configuration has been generated
Error: Installation failed

Install failed on testing branch

Hi,

After I was told to install peertube on testing, as the main branch isn't up to date, I tried to install peertube on an olimex Lime2 :

yunohost:
repo: stable
version: 2.7.10
yunohost-admin:
repo: stable
version: 2.7.7
moulinette:
repo: stable
version: 2.7.7
ssowat:
repo: stable
version: 2.7.7

Here are the verbose logs
https://paste.yunohost.org/enilupinek.diff

domain and passphrase have been changed

It seems it failed starting with

"/var/www/peertube/node_modules/rdf-canonize: Command failed. (l.530)

The log mentionned line 531 (/var/www/peertube/yarn-error.log) doesn't exist (at least after the installation failed)

I don't need the working peertube right now, this report is more to help the maintainers to improve it. Thanks for your work !

Don't store videos on /var/www/peertube (small partition)

I don't know if this is only on my yunohost install, but the partition is done so that /var is 2Go and most of the space available is on /home. So I ended up filling my /var with uploaded videos. I moved the videos folder to /home/peertube/videos and added a symbolic link :

ls /var/www/peertube 
[snip]
lrwxrwxrwx   1 root     root       22 mars  22 21:29 videos -> /home/peertube/videos/

Install Failed on Yunohost 3.0

Hi,

Have try to install peertube but install failed !

Please have you information, for this ?

Cordialy

La configuration de SSOwat a été générée

The user peertube was not found

/var/log/peertube wasn't deleted because it doesn't exist.

/etc/nginx/conf.d/.d/peertube.conf wasn't deleted because it doesn't exist.

/home/yunohost.app/peertube wasn't deleted because it doesn't exist.

Avoid deleting .

dropuser: removal of role "peertube" failed: ERROR: role "peertube" does not exist

Try "dropdb --help" for more information.

dropdb: missing required argument database name

/etc/apt/sources.list.d/yarn.list wasn't deleted because it doesn't exist.

/etc/apt/sources.list.d/jessie-backports.list wasn't deleted because it doesn't exist.

/usr/local/n wasn't deleted because it doesn't exist.

/opt/node_n wasn't deleted because it doesn't exist.

/usr/share/yunohost/helpers.d/nodejs: line 133: /opt/node_n/bin/n: No such file or directory

grep: /opt/node_n/ynh_app_version: No such file or directory

sed: can't read /opt/node_n/ynh_app_version: No such file or directory

E: Unable to locate package peertube-ynh-deps

!!

peertube's script has encountered an error. Its execution was cancelled.

!!

This url is not available or conflicts with an already installed app

Connecté

[Temp fix provided] Fail to Install YnH 3.0

New fail on new server :

root@ns376866:~#  yunohost app install --debug https://github.com/YunoHost-Apps/peertube_ynh
417  DEBUG loading actions map namespace 'yunohost'
485  DEBUG extra parameter classes loaded: ['ask', 'password', 'required', 'pattern']
485  DEBUG initializing base actions map parser for cli
490  DEBUG registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
807  DEBUG initialize authenticator 'ldap-anonymous' with: uri='ldap://localhost:389', base_dn='dc=yunohost,dc=org', user_rdn='None'
814  DEBUG lock has been acquired
897  DEBUG loading python module yunohost.app took 0.082s
898  INFO processing action [10184.1]: yunohost.app.install with args={'app': 'https://github.com/YunoHost-Apps/peertube_ynh', 'args': None, 'auth': <moulinette.authenticators.ldap.Authenticator object at 0x7fc9153ec090>, 'label': None, 'no_remove_on_failure': False}
910  DEBUG Téléchargement...
1919 DEBUG Extraction...
1943 DEBUG Terminé
2671 DEBUG Vérification des paquets requis pour peertube...
Domaines disponibles :
- kimsufi.firewall-sec.com
- peertube1.firewall-sec.com
Choose a domain name for PeerTube (default: kimsufi.firewall-sec.com) : peertube1.firewall-sec.com
Choose an admin email (can be changed after installation) : [email protected]
Is it a public application? [0 | 1] (default: 1) : 
20402 DEBUG Exécution de la commande « sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/peertube_ynh-master/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_APP_INSTANCE_NAME=peertube [email protected] YNH_APP_ID=peertube YNH_APP_ARG_DOMAIN=peertube1.firewall-sec.com BASH_XTRACEFD=7 /bin/bash -x "./install" peertube1.firewall-sec.com [email protected] 1 peertube 7>&1 »...
20444 DEBUG + source _common.sh
20448 DEBUG + source /usr/share/yunohost/helpers
20449 DEBUG +++ run-parts --list /usr/share/yunohost/helpers.d
20450 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
20455 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
20455 DEBUG ++ . /usr/share/yunohost/helpers.d/backend
20456 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
20457 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
20457 DEBUG ++ . /usr/share/yunohost/helpers.d/filesystem
20458 DEBUG +++ CAN_BIND=1
20460 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
20461 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
20462 DEBUG ++ . /usr/share/yunohost/helpers.d/ip
20462 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
20463 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
20464 DEBUG ++ . /usr/share/yunohost/helpers.d/mysql
20464 DEBUG +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
20465 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
20466 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
20467 DEBUG ++ . /usr/share/yunohost/helpers.d/network
20467 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
20468 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
20469 DEBUG ++ . /usr/share/yunohost/helpers.d/nodejs
20469 DEBUG +++ n_install_dir=/opt/node_n
20470 DEBUG +++ node_version_path=/opt/node_n/n/versions/node
20471 DEBUG +++ export N_PREFIX=/opt/node_n
20471 DEBUG +++ N_PREFIX=/opt/node_n
20472 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
20473 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
20474 DEBUG ++ . /usr/share/yunohost/helpers.d/package
20474 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
20475 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
20476 DEBUG ++ . /usr/share/yunohost/helpers.d/print
20477 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
20477 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
20478 DEBUG ++ . /usr/share/yunohost/helpers.d/psql
20479 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
20479 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
20480 DEBUG ++ . /usr/share/yunohost/helpers.d/setting
20481 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
20481 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
20482 DEBUG ++ . /usr/share/yunohost/helpers.d/string
20483 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
20484 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
20484 DEBUG ++ . /usr/share/yunohost/helpers.d/system
20485 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
20486 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
20486 DEBUG ++ . /usr/share/yunohost/helpers.d/user
20487 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
20488 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
20488 DEBUG ++ . /usr/share/yunohost/helpers.d/utils
20489 DEBUG + source psql.sh
20490 DEBUG + ynh_abort_if_errors
20491 DEBUG + set -eu
20492 DEBUG + trap ynh_exit_properly EXIT
20493 DEBUG + domain=peertube1.firewall-sec.com
20495 DEBUG + path_url=/
20496 DEBUG + [email protected]
20497 DEBUG ++ ynh_string_random 24
20498 DEBUG ++ dd if=/dev/urandom bs=1 count=200
20498 DEBUG ++ tr -c -d A-Za-z0-9
20499 DEBUG ++ sed -n 's/\(.\{24\}\).*/\1/p'
20500 DEBUG + admin_pass=snLK654hbReOOzY5uzXU858O
20501 DEBUG + is_public=1
20502 DEBUG + app=peertube
20503 DEBUG + final_path=/var/www/peertube
20504 DEBUG + test '!' -e /var/www/peertube
20504 DEBUG + ynh_webpath_available peertube1.firewall-sec.com /
20505 DEBUG + local domain=peertube1.firewall-sec.com
20506 DEBUG + local path=/
20507 DEBUG + sudo yunohost domain url-available peertube1.firewall-sec.com /
21612 DEBUG True
21683 DEBUG + ynh_webpath_register peertube peertube1.firewall-sec.com /
21684 DEBUG + local app=peertube
21685 DEBUG + local domain=peertube1.firewall-sec.com
21686 DEBUG + local path=/
21686 DEBUG + sudo yunohost app register-url peertube peertube1.firewall-sec.com /
22918 DEBUG + ynh_app_setting_set peertube domain peertube1.firewall-sec.com
22920 DEBUG + sudo yunohost app setting peertube domain --value=peertube1.firewall-sec.com --quiet
23978 DEBUG + ynh_app_setting_set peertube admin_email [email protected]
23980 DEBUG + sudo yunohost app setting peertube admin_email [email protected] --quiet
25041 DEBUG + ynh_app_setting_set peertube admin_pass snLK654hbReOOzY5uzXU858O
25042 DEBUG + sudo yunohost app setting peertube admin_pass --value=snLK654hbReOOzY5uzXU858O --quiet
26106 DEBUG + ynh_app_setting_set peertube is_public 1
26107 DEBUG + sudo yunohost app setting peertube is_public --value=1 --quiet
27170 DEBUG ++ ynh_find_port 9000
27171 DEBUG ++ local port=9000
27172 DEBUG ++ test -n 9000
27173 DEBUG ++ netcat -z 127.0.0.1 9000
27176 DEBUG ++ echo 9000
27178 DEBUG + port=9000
27179 DEBUG + yunohost firewall allow Both 9000
38266 DEBUG Le pare-feu a été rechargé
38299 DEBUG opened_ports:
38300 DEBUG   - 22
38301 DEBUG   - 25
38302 DEBUG   - 53
38303 DEBUG   - 80
38304 DEBUG   - 443
38305 DEBUG   - 587
38306 DEBUG   - 993
38307 DEBUG   - 5222
38307 DEBUG   - 5269
38308 DEBUG   - 5353
38309 DEBUG   - 9000
38375 DEBUG + ynh_app_setting_set peertube port 9000
38377 DEBUG + sudo yunohost app setting peertube port --value=9000 --quiet
39458 DEBUG + datadir=/home/yunohost.app/peertube/storage
39459 DEBUG + mkdir -p /home/yunohost.app/peertube/storage
39462 DEBUG + ynh_install_nodejs 8
39463 DEBUG + nodejs_version=8
39464 DEBUG + mkdir -p /opt/node_n
39467 DEBUG + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
39469 DEBUG ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
39471 DEBUG ++ sed s@/usr/local/bin:@@
39476 DEBUG + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
39477 DEBUG + test -x /usr/bin/node
39479 DEBUG + test -x /usr/bin/npm
39480 DEBUG ++ n --version
39482 DEBUG + test
39483 DEBUG + ynh_install_n
39484 DEBUG + echo 'Installation of N - Node.js version management'
39483 WARNING Installation of N - Node.js version management
39485 DEBUG + mkdir -p ../conf
39488 DEBUG + echo 'SOURCE_URL=https://github.com/tj/n/archive/v2.1.7.tar.gz
39489 DEBUG SOURCE_SUM=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f'
39490 DEBUG + ynh_setup_source /opt/node_n/git n
39491 DEBUG + local dest_dir=/opt/node_n/git
39492 DEBUG + local src_id=n
39493 DEBUG ++ grep SOURCE_URL= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/n.src
39494 DEBUG ++ cut -d= -f2-
39496 DEBUG + local src_url=https://github.com/tj/n/archive/v2.1.7.tar.gz
39498 DEBUG ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/n.src
39500 DEBUG ++ cut -d= -f2-
39503 DEBUG + local src_sum=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f
39506 DEBUG ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/n.src
39507 DEBUG ++ cut -d= -f2-
39510 DEBUG + local src_sumprg=
39513 DEBUG ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/n.src
39514 DEBUG ++ cut -d= -f2-
39518 DEBUG + local src_format=
39521 DEBUG ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/n.src
39522 DEBUG ++ cut -d= -f2-
39526 DEBUG + local src_extract=
39529 DEBUG ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/n.src
39530 DEBUG ++ cut -d= -f2-
39533 DEBUG + local src_in_subdir=
39536 DEBUG ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/n.src
39537 DEBUG ++ cut -d= -f2-
39542 DEBUG + local src_filename=
39542 DEBUG + src_sumprg=sha256sum
39543 DEBUG + src_in_subdir=true
39545 DEBUG + src_format=tar.gz
39546 DEBUG ++ echo tar.gz
39547 DEBUG ++ tr '[:upper:]' '[:lower:]'
39548 DEBUG + src_format=tar.gz
39549 DEBUG + src_extract=true
39550 DEBUG + '[' '' = '' ']'
39551 DEBUG + src_filename=n.tar.gz
39552 DEBUG + local local_src=/opt/yunohost-apps-src/peertube/n.tar.gz
39553 DEBUG + test -e /opt/yunohost-apps-src/peertube/n.tar.gz
39553 DEBUG + wget -nv -O n.tar.gz https://github.com/tj/n/archive/v2.1.7.tar.gz
40390 WARNING 2018-07-16 18:01:12 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592/9592] -> "n.tar.gz" [1]
40396 DEBUG + echo '2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f n.tar.gz'
40398 DEBUG + sha256sum -c --status
40401 DEBUG + mkdir -p /opt/node_n/git
40405 DEBUG + true
40407 DEBUG + '[' tar.gz = zip ']'
40408 DEBUG + local strip=
40410 DEBUG + true
40411 DEBUG + strip='--strip-components 1'
40412 DEBUG + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
40414 DEBUG + tar -xf n.tar.gz -C /opt/node_n/git --strip-components 1
40422 DEBUG ++ find /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../sources/patches/ -type f -name 'n-*.patch'
40423 DEBUG ++ wc -l
40428 DEBUG + ((  0 > 0  ))
40429 DEBUG + test -e /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../sources/extra_files/n
40430 DEBUG + cd /opt/node_n/git
40432 DEBUG + PREFIX=/opt/node_n
40433 DEBUG + make install
40434 DEBUG /usr/share/yunohost/helpers.d/nodejs: ligne 21: make : commande introuvable
40435 WARNING !!
40436 WARNING   peertube's script has encountered an error. Its execution was cancelled.
40436 DEBUG + ynh_exit_properly
40437 WARNING !!
40437 DEBUG + local exit_code=127
40438 DEBUG + '[' 127 -eq 0 ']'
40438 WARNING 
40439 DEBUG + trap '' EXIT
40440 DEBUG + set +eu
40441 DEBUG + echo -e '!!\n  peertube'\''s script has encountered an error. Its execution was cancelled.\n!!'
40442 DEBUG + type -t ynh_clean_setup
40443 DEBUG + ynh_die
40444 DEBUG + echo ''
40445 DEBUG + exit 1
40516 DEBUG Exécution de la commande « sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ID=peertube YNH_CWD=/var/cache/yunohost/from_file/peertube_ynh-master/scripts YNH_APP_INSTANCE_NAME=peertube BASH_XTRACEFD=7 /bin/bash -x "./remove" peertube 7>&1 »...
40556 DEBUG + source _common.sh
40561 DEBUG + source /usr/share/yunohost/helpers
40562 DEBUG +++ run-parts --list /usr/share/yunohost/helpers.d
40564 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
40565 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
40567 DEBUG ++ . /usr/share/yunohost/helpers.d/backend
40569 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
40570 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
40571 DEBUG ++ . /usr/share/yunohost/helpers.d/filesystem
40573 DEBUG +++ CAN_BIND=1
40577 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
40577 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
40578 DEBUG ++ . /usr/share/yunohost/helpers.d/ip
40579 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
40580 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
40581 DEBUG ++ . /usr/share/yunohost/helpers.d/mysql
40582 DEBUG +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
40582 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
40583 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
40584 DEBUG ++ . /usr/share/yunohost/helpers.d/network
40585 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
40586 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
40586 DEBUG ++ . /usr/share/yunohost/helpers.d/nodejs
40587 DEBUG +++ n_install_dir=/opt/node_n
40588 DEBUG +++ node_version_path=/opt/node_n/n/versions/node
40589 DEBUG +++ export N_PREFIX=/opt/node_n
40590 DEBUG +++ N_PREFIX=/opt/node_n
40591 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
40591 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
40592 DEBUG ++ . /usr/share/yunohost/helpers.d/package
40593 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
40593 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
40594 DEBUG ++ . /usr/share/yunohost/helpers.d/print
40595 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
40596 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
40596 DEBUG ++ . /usr/share/yunohost/helpers.d/psql
40597 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
40598 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
40598 DEBUG ++ . /usr/share/yunohost/helpers.d/setting
40599 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
40600 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
40601 DEBUG ++ . /usr/share/yunohost/helpers.d/string
40601 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
40602 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
40603 DEBUG ++ . /usr/share/yunohost/helpers.d/system
40604 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
40604 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
40605 DEBUG ++ . /usr/share/yunohost/helpers.d/user
40606 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
40607 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
40607 DEBUG ++ . /usr/share/yunohost/helpers.d/utils
40608 DEBUG + source psql.sh
40609 DEBUG + app=peertube
40610 DEBUG ++ ynh_app_setting_get peertube domain
40611 DEBUG ++ sudo yunohost app setting peertube domain --output-as plain --quiet
41657 DEBUG + domain=peertube1.firewall-sec.com
41658 DEBUG ++ ynh_app_setting_get peertube port
41659 DEBUG ++ sudo yunohost app setting peertube port --output-as plain --quiet
42722 DEBUG + port=9000
42723 DEBUG ++ ynh_app_setting_get peertube psql_db
42724 DEBUG ++ sudo yunohost app setting peertube psql_db --output-as plain --quiet
43792 DEBUG + db_name=
43794 DEBUG ++ ynh_app_setting_get peertube final_path
43795 DEBUG ++ sudo yunohost app setting peertube final_path --output-as plain --quiet
44856 DEBUG + final_path=
44857 DEBUG + ynh_remove_systemd_config
44858 DEBUG + local service_name=peertube
44860 DEBUG + local finalsystemdconf=/etc/systemd/system/peertube.service
44861 DEBUG + '[' -e /etc/systemd/system/peertube.service ']'
44862 DEBUG + grep -q peertube
44863 DEBUG + yunohost service status
46501 DEBUG + ynh_remove_app_dependencies
46502 DEBUG + local dep_app=peertube
46503 DEBUG + ynh_package_autopurge peertube-ynh-deps
46504 DEBUG + ynh_apt autoremove --purge peertube-ynh-deps
46505 DEBUG + DEBIAN_FRONTEND=noninteractive
46506 DEBUG + sudo apt-get -y autoremove --purge peertube-ynh-deps
46720 DEBUG Lecture des listes de paquets…
47193 DEBUG Construction de l'arbre des dépendances…
47195 DEBUG Lecture des informations d'état…
47298 WARNING E: Impossible de trouver le paquet peertube-ynh-deps
47302 DEBUG + ynh_remove_nodejs
47304 DEBUG ++ ynh_app_setting_get peertube nodejs_version
47305 DEBUG ++ sudo yunohost app setting peertube nodejs_version --output-as plain --quiet
48367 DEBUG + nodejs_version=
48369 DEBUG + sed --in-place /peertube:/d /opt/node_n/ynh_app_version
48372 WARNING sed: impossible de lire /opt/node_n/ynh_app_version: Aucun fichier ou dossier de ce type
48373 DEBUG + grep --quiet '' /opt/node_n/ynh_app_version
48379 WARNING grep: /opt/node_n/ynh_app_version: Aucun fichier ou dossier de ce type
48381 DEBUG + /opt/node_n/bin/n rm
48382 WARNING /usr/share/yunohost/helpers.d/nodejs: ligne 133: /opt/node_n/bin/n: Aucun fichier ou dossier de ce type
48383 DEBUG + '[' '!' -s /opt/node_n/ynh_app_version ']'
48384 DEBUG + ynh_secure_remove /opt/node_n
48385 DEBUG + local path_to_remove=/opt/node_n
48386 DEBUG + local 'forbidden_path= 	/var/www 	/home/yunohost.app'
48387 DEBUG + [[  	/var/www 	/home/yunohost.app =~ /opt/node_n ]]
48389 DEBUG + [[ /opt/node_n =~ ^/[[:alnum:]]+$ ]]
48390 DEBUG + [[ n = \/ ]]
48391 DEBUG + '[' -e /opt/node_n ']'
48392 DEBUG + sudo rm -R /opt/node_n
48433 DEBUG + ynh_secure_remove /usr/local/n
48433 DEBUG + local path_to_remove=/usr/local/n
48434 DEBUG + local 'forbidden_path= 	/var/www 	/home/yunohost.app'
48435 DEBUG + [[  	/var/www 	/home/yunohost.app =~ /usr/local/n ]]
48436 DEBUG + [[ /usr/local/n =~ ^/[[:alnum:]]+$ ]]
48436 WARNING /usr/local/n wasn't deleted because it doesn't exist.
48437 WARNING /etc/apt/sources.list.d/jessie-backports.list wasn't deleted because it doesn't exist.
48437 DEBUG + [[ n = \/ ]]
48438 WARNING /etc/apt/sources.list.d/yarn.list wasn't deleted because it doesn't exist.
48438 DEBUG + '[' -e /usr/local/n ']'
48439 DEBUG + echo '/usr/local/n wasn'\''t deleted because it doesn'\''t exist.'
48440 DEBUG + ynh_secure_remove /etc/apt/sources.list.d/jessie-backports.list
48442 DEBUG + local path_to_remove=/etc/apt/sources.list.d/jessie-backports.list
48443 DEBUG + local 'forbidden_path= 	/var/www 	/home/yunohost.app'
48444 DEBUG + [[  	/var/www 	/home/yunohost.app =~ /etc/apt/sources\.list\.d/jessie-backports\.list ]]
48445 DEBUG + [[ /etc/apt/sources.list.d/jessie-backports.list =~ ^/[[:alnum:]]+$ ]]
48446 DEBUG + [[ t = \/ ]]
48447 DEBUG + '[' -e /etc/apt/sources.list.d/jessie-backports.list ']'
48448 DEBUG + echo '/etc/apt/sources.list.d/jessie-backports.list wasn'\''t deleted because it doesn'\''t exist.'
48449 DEBUG + ynh_secure_remove /etc/apt/sources.list.d/yarn.list
48450 DEBUG + local path_to_remove=/etc/apt/sources.list.d/yarn.list
48451 DEBUG + local 'forbidden_path= 	/var/www 	/home/yunohost.app'
48452 DEBUG + [[  	/var/www 	/home/yunohost.app =~ /etc/apt/sources\.list\.d/yarn\.list ]]
48453 DEBUG + [[ /etc/apt/sources.list.d/yarn.list =~ ^/[[:alnum:]]+$ ]]
48453 DEBUG + [[ t = \/ ]]
48454 DEBUG + '[' -e /etc/apt/sources.list.d/yarn.list ']'
48455 DEBUG + echo '/etc/apt/sources.list.d/yarn.list wasn'\''t deleted because it doesn'\''t exist.'
48456 DEBUG + ynh_psql_remove_db '' peertube
48457 DEBUG + db=
48458 DEBUG + user=peertube
48459 DEBUG + sudo --login --user=postgres dropdb ''
48465 WARNING sudo: utilisateur inconnu : postgres
48466 WARNING sudo: impossible d'initialiser le greffon de règles
48466 DEBUG + ynh_psql_drop_user peertube
48467 DEBUG + user=peertube
48468 DEBUG + sudo --login --user=postgres dropuser peertube
48486 WARNING sudo: utilisateur inconnu : postgres
48487 WARNING sudo: impossible d'initialiser le greffon de règles
48488 DEBUG + ynh_secure_remove ''
48488 WARNING Avoid deleting .
48489 DEBUG + local path_to_remove=
48490 WARNING /etc/nginx/conf.d/peertube1.firewall-sec.com.d/peertube.conf wasn't deleted because it doesn't exist.
48490 DEBUG + local 'forbidden_path= 	/var/www 	/home/yunohost.app'
48491 DEBUG + [[  	/var/www 	/home/yunohost.app =~ '' ]]
48492 DEBUG + echo 'Avoid deleting .'
48494 DEBUG + ynh_remove_nginx_config
48495 DEBUG + ynh_secure_remove /etc/nginx/conf.d/peertube1.firewall-sec.com.d/peertube.conf
48496 DEBUG + local path_to_remove=/etc/nginx/conf.d/peertube1.firewall-sec.com.d/peertube.conf
48498 DEBUG + local 'forbidden_path= 	/var/www 	/home/yunohost.app'
48499 DEBUG + [[  	/var/www 	/home/yunohost.app =~ /etc/nginx/conf\.d/peertube1\.firewall-sec\.com\.d/peertube\.conf ]]
48500 DEBUG + [[ /etc/nginx/conf.d/peertube1.firewall-sec.com.d/peertube.conf =~ ^/[[:alnum:]]+$ ]]
48501 DEBUG + [[ f = \/ ]]
48502 DEBUG + '[' -e /etc/nginx/conf.d/peertube1.firewall-sec.com.d/peertube.conf ']'
48504 DEBUG + echo '/etc/nginx/conf.d/peertube1.firewall-sec.com.d/peertube.conf wasn'\''t deleted because it doesn'\''t exist.'
48505 DEBUG + sudo systemctl reload nginx
48719 DEBUG + ynh_remove_logrotate
48720 DEBUG + '[' -e /etc/logrotate.d/peertube ']'
48721 DEBUG + grep -q '\- 9000$'
48722 DEBUG + yunohost firewall list
49711 DEBUG + echo 'Close port 9000'
49712 DEBUG Close port 9000
49713 DEBUG + yunohost firewall disallow Both 9000
61274 DEBUG Le pare-feu a été rechargé
61311 DEBUG opened_ports:
61312 DEBUG   - 22
61313 DEBUG   - 25
61314 DEBUG   - 53
61315 DEBUG   - 80
61316 DEBUG   - 443
61317 DEBUG   - 587
61319 DEBUG   - 993
61320 DEBUG   - 5222
61321 DEBUG   - 5269
61322 DEBUG   - 5353
61391 DEBUG + ynh_system_user_delete peertube
61392 DEBUG + ynh_system_user_exists peertube
61393 DEBUG + getent passwd peertube
61405 WARNING The user peertube was not found
61408 DEBUG + echo 'The user peertube was not found'
61410 DEBUG + message='peertube was successfully removed :)
61411 DEBUG 
61413 DEBUG peertube was successfully removed and domain https://peertube1.firewall-sec.com is free for other apps now.
61414 DEBUG 
61416 DEBUG But there is futher action needed from your side to completely remove the peertube data. If you are planing to restore the app in the future don'\''t run the command given below. If you are going to switch to othe server don'\''t forget to copy /home/yunohost.app/peertube to your new server.
61417 DEBUG 
61419 DEBUG 
61420 DEBUG You need to run this command to remove the data (warning all your videos will be removed) :
61422 DEBUG 
61423 DEBUG rm -R /home/yunohost.app/peertube -f
61425 DEBUG 
61426 DEBUG 
61427 DEBUG If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/peertube_ynh'
61429 DEBUG + ynh_send_readme_to_admin 'peertube was successfully removed :)
61430 DEBUG 
61431 DEBUG peertube was successfully removed and domain https://peertube1.firewall-sec.com is free for other apps now.
61432 DEBUG 
61433 DEBUG But there is futher action needed from your side to completely remove the peertube data. If you are planing to restore the app in the future don'\''t run the command given below. If you are going to switch to othe server don'\''t forget to copy /home/yunohost.app/peertube to your new server.
61434 DEBUG 
61435 DEBUG 
61435 DEBUG You need to run this command to remove the data (warning all your videos will be removed) :
61436 DEBUG 
61437 DEBUG rm -R /home/yunohost.app/peertube -f
61438 DEBUG 
61439 DEBUG 
61440 DEBUG If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/peertube_ynh'
61440 DEBUG + local 'app_message=peertube was successfully removed :)
61441 DEBUG 
61442 DEBUG peertube was successfully removed and domain https://peertube1.firewall-sec.com is free for other apps now.
61443 DEBUG 
61443 DEBUG But there is futher action needed from your side to completely remove the peertube data. If you are planing to restore the app in the future don'\''t run the command given below. If you are going to switch to othe server don'\''t forget to copy /home/yunohost.app/peertube to your new server.
61444 DEBUG 
61445 DEBUG 
61446 DEBUG You need to run this command to remove the data (warning all your videos will be removed) :
61446 DEBUG 
61447 DEBUG rm -R /home/yunohost.app/peertube -f
61448 DEBUG 
61449 DEBUG 
61449 DEBUG If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/peertube_ynh'
61450 DEBUG + local recipients=root
61451 DEBUG ++ find_mails root
61451 DEBUG ++ local list_mails=root
61452 DEBUG ++ local mail
61453 DEBUG ++ local 'recipients= '
61454 DEBUG ++ for mail in $list_mails
61454 DEBUG ++ '[' root = root ']'
61455 DEBUG ++ recipients='  root'
61456 DEBUG ++ echo '  root'
61457 DEBUG + recipients='  root'
61457 DEBUG + local 'mail_subject=☁️🆈🅽🅷☁️: `peertube` was just installed!'
61458 DEBUG ++ sed /services:/d
61459 DEBUG ++ yunohost tools diagnosis
61459 DEBUG ++ grep -B 100 services:
66761 DEBUG + local 'mail_message=This is an automated message from your beloved YunoHost server.
66762 DEBUG Specific information for the application peertube.
66763 DEBUG peertube was successfully removed :)
66764 DEBUG 
66765 DEBUG peertube was successfully removed and domain https://peertube1.firewall-sec.com is free for other apps now.
66766 DEBUG 
66767 DEBUG But there is futher action needed from your side to completely remove the peertube data. If you are planing to restore the app in the future don'\''t run the command given below. If you are going to switch to othe server don'\''t forget to copy /home/yunohost.app/peertube to your new server.
66768 DEBUG 
66769 DEBUG 
66770 DEBUG You need to run this command to remove the data (warning all your videos will be removed) :
66772 DEBUG 
66773 DEBUG rm -R /home/yunohost.app/peertube -f
66774 DEBUG 
66775 DEBUG 
66776 DEBUG If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/peertube_ynh
66777 DEBUG ---
66778 DEBUG Automatic diagnosis data from YunoHost
66779 DEBUG host: Debian 9.5
66780 DEBUG kernel: 4.9.103-xxxx-std-ipv6-64
66780 DEBUG packages:
66781 DEBUG   yunohost:
66782 DEBUG     repo: stable
66782 DEBUG     version: 3.0.0.1
66783 DEBUG   yunohost-admin:
66784 DEBUG     repo: stable
66784 DEBUG     version: 3.0.0
66785 DEBUG   moulinette:
66786 DEBUG     repo: stable
66786 DEBUG     version: 3.0.0
66787 DEBUG   ssowat:
66788 DEBUG     repo: stable
66789 DEBUG     version: 3.0.0
66789 DEBUG backports:
66790 DEBUG system:
66791 DEBUG   disks:
66791 DEBUG     sda1: Mounted on /boot, 486.8MiB (458.3MiB free)
66792 DEBUG     sda2: Mounted on /, 19.1GiB (17.8GiB free)
66793 DEBUG     sda3: Mounted on /home, 1.8TiB (1.8TiB free)
66794 DEBUG   memory:
66794 DEBUG     ram: 3.8GiB (3.0GiB free)
66795 DEBUG     swap: 511.0MiB (511.0MiB free)
66796 DEBUG nginx:
66796 DEBUG   - nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
66797 DEBUG   - nginx: configuration file /etc/nginx/nginx.conf test is successful'
66798 DEBUG + '[' -e /usr/bin/bsd-mailx ']'
66799 DEBUG + local mail_bin=/usr/bin/mail.mailutils
66799 DEBUG + /usr/bin/mail.mailutils -a 'Content-Type: text/plain; charset=UTF-8' -s '☁️🆈🅽🅷☁️: `peertube` was just installed!' '  root'
66800 DEBUG + echo 'This is an automated message from your beloved YunoHost server.
66801 DEBUG Specific information for the application peertube.
66801 DEBUG peertube was successfully removed :)
66802 DEBUG 
66803 DEBUG peertube was successfully removed and domain https://peertube1.firewall-sec.com is free for other apps now.
66803 DEBUG 
66804 DEBUG But there is futher action needed from your side to completely remove the peertube data. If you are planing to restore the app in the future don'\''t run the command given below. If you are going to switch to othe server don'\''t forget to copy /home/yunohost.app/peertube to your new server.
66805 DEBUG 
66806 DEBUG 
66806 DEBUG You need to run this command to remove the data (warning all your videos will be removed) :
66807 DEBUG 
66808 DEBUG rm -R /home/yunohost.app/peertube -f
66809 DEBUG 
66809 DEBUG 
66810 DEBUG If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/peertube_ynh
66811 DEBUG ---
66811 DEBUG Automatic diagnosis data from YunoHost
66812 DEBUG host: Debian 9.5
66813 DEBUG kernel: 4.9.103-xxxx-std-ipv6-64
66814 DEBUG packages:
66814 DEBUG   yunohost:
66815 DEBUG     repo: stable
66816 DEBUG     version: 3.0.0.1
66817 DEBUG   yunohost-admin:
66818 DEBUG     repo: stable
66819 DEBUG     version: 3.0.0
66819 DEBUG   moulinette:
66820 DEBUG     repo: stable
66821 DEBUG     version: 3.0.0
66822 DEBUG   ssowat:
66822 DEBUG     repo: stable
66823 DEBUG     version: 3.0.0
66824 DEBUG backports:
66825 DEBUG system:
66825 DEBUG   disks:
66826 DEBUG     sda1: Mounted on /boot, 486.8MiB (458.3MiB free)
66827 DEBUG     sda2: Mounted on /, 19.1GiB (17.8GiB free)
66828 DEBUG     sda3: Mounted on /home, 1.8TiB (1.8TiB free)
66829 DEBUG   memory:
66829 DEBUG     ram: 3.8GiB (3.0GiB free)
66830 DEBUG     swap: 511.0MiB (511.0MiB free)
66831 DEBUG nginx:
66831 DEBUG   - nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
66833 DEBUG   - nginx: configuration file /etc/nginx/nginx.conf test is successful'
66975 SUCCESS La configuration de SSOwat a été générée
66976 DEBUG action [10184.1] executed in 66.077s
66977 DEBUG lock has been released
66978 ERROR Échec de l'installation
root@ns376866:~# 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.