Fail to Install YnH 3.0

Hey Im using Sys server OS Debian 9.4 Stretch (stable) (64bits) so from the beginning I got problem and can you tell me what I have to do

root@ns317521:~# bash <(wget -q -O- https://install.yunohost.org/)
[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_111257.log

As the message says :

if you don’t know how to uninstall bind9 (sorry, the message should explicit this), try running apt-get remove bind9

So problem is when Im trying install sudo yunohost app install https://github.com/YunoHost-Apps/peertube_ynh

Choose a domain name for PeerTube (default: tube.ziuri.me):
Choose an admin email (can be changed after installation): uglymug89@gmail.com
Is it a public application? [0 | 1] (default: 1):
Warning: Installation of N - Node.js version management
Warning: 2018-07-15 20:30:05 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> “n.tar.gz” [1]
######################################################################## 100.0%
Warning: Warning: apt-key output should not be parsed (stdout is not a terminal)
Extracting templates from packages: 100%
Warning: 2018-07-15 20:31:28 URL:https://github-production-release-asset-2e65be.s3.amazonaws.com/45213667/25a8261c-785b-11e8-96ac-61883a546a4a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180715%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180715T203127Z&X-Amz-Expires=300&X-Amz-Signature=2917da8a0672cd2460b87c4389d3f3a02af9cf68a33bbdf863a2cb2b38b925dc&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dpeertube-v1.0.0-beta.9.tar.xz&response-content-type=application%2Foctet-stream [1575288/1575288] -> “app.tar.xz” [1]
Warning: error /var/www/peertube/node_modules/rdf-canonize: Command failed.
Warning: Exit code: 1
Warning: Command: node-gyp rebuild
Warning: Arguments:
Warning: Directory: /var/www/peertube/node_modules/rdf-canonize
Warning: Output:
Warning: /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: gyp info it worked if it ends with ok
Warning: gyp info using node-gyp@3.6.2
Warning: gyp info using node@8.11.3 | linux | x64
Warning: gyp info spawn /usr/bin/python2
Warning: gyp info spawn args [ ‘/opt/node_n/n/versions/node/8.11.3/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py’,
Warning: gyp info spawn args ‘binding.gyp’,
Warning: gyp info spawn args ‘-f’,
Warning: gyp info spawn args ‘make’,
Warning: gyp info spawn args ‘-I’,
Warning: gyp info spawn args ‘/var/www/peertube/node_modules/rdf-canonize/build/config.gypi’,
Warning: gyp info spawn args ‘-I’,
Warning: gyp info spawn args ‘/opt/node_n/n/versions/node/8.11.3/lib/node_modules/npm/node_modules/node-gyp/addon.gypi’,
Warning: gyp info spawn args ‘-I’,
Warning: gyp info spawn args ‘/root/.node-gyp/8.11.3/include/node/common.gypi’,
Warning: gyp info spawn args ‘-Dlibrary=shared_library’,
Warning: gyp info spawn args ‘-Dvisibility=default’,
Warning: gyp info spawn args ‘-Dnode_root_dir=/root/.node-gyp/8.11.3’,
Warning: gyp info spawn args ‘-Dnode_gyp_dir=/opt/node_n/n/versions/node/8.11.3/lib/node_modules/npm/node_modules/node-gyp’,
Warning: gyp info spawn args ‘-Dnode_lib_file=/root/.node-gyp/8.11.3/<(target_arch)/node.lib’,
Warning: gyp info spawn args ‘-Dmodule_root_dir=/var/www/peertube/node_modules/rdf-canonize’,
Warning: gyp info spawn args ‘-Dnode_engine=v8’,
Warning: gyp info spawn args ‘–depth=.’,
Warning: gyp info spawn args ‘–no-parallel’,
Warning: gyp info spawn args ‘–generator-output’,
Warning: gyp info spawn args ‘build’,
Warning: gyp info spawn args ‘-Goutput_dir=.’ ]
Warning: /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: gyp: Call to ‘node -e “require(‘nan’)”’ returned exit status 0 while in binding.gyp. while trying to load binding.gyp
Warning: gyp ERR! configure error
Warning: gyp ERR! stack Error: gyp failed with exit code: 1
Warning: gyp ERR! stack at ChildProcess.onCpExit (/opt/node_n/n/versions/node/8.11.3/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
Warning: gyp ERR! stack at emitTwo (events.js:126:13)
Warning: gyp ERR! stack at ChildProcess.emit (events.js:214:7)
Warning: gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
Warning: gyp ERR! System Linux 4.9.0-7-amd64
Warning: gyp ERR! command “/opt/node_n/n/versions/node/8.11.3/bin/node” “/opt/node_n/n/versions/node/8.11.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
Warning: gyp ERR! cwd /var/www/peertube/node_modules/rdf-canonize
Warning: gyp ERR! node -v v8.11.3
Warning: gyp ERR! node-gyp -v v3.6.2
Warning: gyp ERR! not ok
Warning: !!
Warning: peertube’s script has encountered an error. Its execution was cancelled.
Warning: !!
Warning:

and more…

Okay but how does this relates to the original issue ? Did you solve it ? :confused:

No and no idea what i have to do I just start from begining and still everything the same I have to keep this bind9 for dns but script asking to uninstall it

New one

root@tube:~# sudo yunohost app install https://github.com/YunoHost-Apps/peertube_ynh
Available domains:

  • tube.filmaidykai.net
    Choose a domain name for PeerTube (default: tube.filmaidykai.net):
    Choose an admin email (can be changed after installation): …
    Is it a public application? [0 | 1] (default: 1):
    Warning: Installation of N - Node.js version management
    Warning: 2018-07-15 21:11:46 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> “n.tar.gz” [1]
    Warning: !!
    Warning: peertube’s script has encountered an error. Its execution was cancelled.
    Warning: !!
    Warning:
    Warning: E: Unable to locate package peertube-ynh-deps
    Warning: sed: can’t read /opt/node_n/ynh_app_version: No such file or directory
    Warning: grep: /opt/node_n/ynh_app_version: No such file or directory
    Warning: /usr/share/yunohost/helpers.d/nodejs: line 133: /opt/node_n/bin/n: No such file or directory
    Warning: /usr/local/n wasn’t deleted because it doesn’t exist.
    Warning: /etc/apt/sources.list.d/jessie-backports.list wasn’t deleted because it doesn’t exist.
    Warning: /etc/apt/sources.list.d/yarn.list wasn’t deleted because it doesn’t exist.
    Warning: sudo: unknown user: postgres
    Warning: sudo: unable to initialize policy plugin
    Warning: sudo: unknown user: postgres
    Warning: sudo: unable to initialize policy plugin
    Warning: Avoid deleting .
    Warning: /etc/nginx/conf.d/tube.filmaidykai.net.d/peertube.conf wasn’t deleted because it doesn’t exist.
    Warning: The user peertube was not found
    Success! The SSOwat configuration has been generated
    Error: Installation failed

@djsets

YunoHost don’t use bind9 now, so none of the app is configured in a way that it will want bind9.
Can you show the line in the logs of PeerTube and Roundcube from which you come to the conclusion that they require bind9.

PeerTube is failing because of node error not bind9.

So YunoHost or Peertube , Roundcube will never ask for bind9. If you want bind9 , you will have to use another server for bind9.

Yunohost Install:

  1. root@tube:~# bash <(wget -q -O- https://install.yunohost.org/)

  2. [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.

  3. [INFO] Installation logs are available in /var/log/yunohost-installation_20180716_090012.log

  4. root@tube:~# bash <(wget -q -O- https://install.yunohost.org/) -f

  5. [INFO] Running upgrade_system

  6. [INFO] Running install_script_dependencies

  7. [INFO] Running create_custom_config

  8. [INFO] Running confirm_installation

  9. [INFO] Running setup_package_source

  10. [INFO] Running apt_update

  11. [INFO] Running register_debconf

  12. [INFO] Running workaround_avahi_installation

  13. [INFO] Workaround for avahi : creating avahi user with uid 837

  14. [INFO] Running install_yunohost_packages

  15. [INFO] Running restart_services

  16. [INFO] Running post_install

  17. Main domain: tube.filmaidykai.net

  18. New administration password:

  19. Confirm new administration password:

  20. Installing YunoHost…

  21. The configuration file ‘/etc/nsswitch.conf’ is now managed by the service nsswitch.

  22. Success! The configuration has been updated for service ‘nsswitch’

  23. The configuration file ‘/etc/nslcd.conf’ is now managed by the service nslcd.

  24. Success! The configuration has been updated for service ‘nslcd’

  25. Success! LDAP has been initialized

  26. Success! The configuration has been updated for service ‘ssl’

  27. Success! The local certification authority has been created.

  28. Success! Successfully installed a self-signed certificate for domain tube.filmaidykai.net!

  29. Success! The domain has been created

  30. Success! The SSOwat configuration has been generated

  31. Success! The main domain has been changed

  32. Success! The administration password has been changed

  33. Success! The firewall has been reloaded

  34. Success! The application list yunohost has been fetched

  35. Warning: Skipping migration 1 change_cert_group_to_sslcert…

  36. Warning: Skipping migration 2 migrate_to_tsig_sha256…

  37. Warning: Skipping migration 3 migrate_to_stretch…

  38. Warning: Skipping migration 4 php5_to_php7_pools…

  39. Warning: Skipping migration 5 postgresql_9p4_to_9p6…

  40. Synchronizing state of yunohost-firewall.service with SysV service script with /lib/systemd/systemd-sysv-install.

  41. Executing: /lib/systemd/systemd-sysv-install enable yunohost-firewall

  42. Success! The service ‘yunohost-firewall’ has been enabled

  43. Success! The service ‘yunohost-firewall’ has been started

  44. The configuration file ‘/etc/default/glances’ is now managed by the service glances.

  45. Success! The configuration has been updated for service ‘glances’

  46. The configuration file ‘/etc/metronome/metronome.cfg.lua’ is now managed by the service metronome.

  47. Success! The configuration has been updated for service ‘metronome’

  48. The configuration file ‘/etc/postfix/master.cf’ is now managed by the service postfix.

  49. The configuration file ‘/etc/postfix/main.cf’ is now managed by the service postfix.

  50. Success! The configuration has been updated for service ‘postfix’

  51. Success! The configuration has been updated for service ‘yunohost’

  52. Success! The configuration has been updated for service ‘rspamd’

  53. Success! The configuration has been updated for service ‘nginx’

  54. The configuration file ‘/etc/default/dnsmasq’ is now managed by the service dnsmasq.

  55. The configuration file ‘/etc/dnsmasq.conf’ is now managed by the service dnsmasq.

  56. Success! The configuration has been updated for service ‘dnsmasq’

  57. The configuration file ‘/etc/fail2ban/jail.conf’ is now managed by the service fail2ban.

  58. Success! The configuration has been updated for service ‘fail2ban’

  59. The configuration file ‘/etc/mysql/my.cnf’ is now managed by the service mysql.

  60. Success! The configuration has been updated for service ‘mysql’

  61. The configuration file ‘/etc/avahi/avahi-daemon.conf’ is now managed by the service avahi-daemon.

  62. Success! The configuration has been updated for service ‘avahi-daemon’

  63. The configuration file ‘/etc/dovecot/dovecot.conf’ is now managed by the service dovecot.

  64. Success! The configuration has been updated for service ‘dovecot’

  65. Success! The configuration has been updated for service ‘slapd’

  66. Warning: Job for dnsmasq.service failed because the control process exited with error code.

  67. Warning: See “systemctl status dnsmasq.service” and “journalctl -xe” for details.

  68. Error: Script execution failed: /usr/share/yunohost/hooks/conf_regen/43-dnsmasq

  69. Success! YunoHost has been configured

  70. [INFO] Installation logs are available in /var/log/yunohost-installation_20180716_090026.log

  71. [ OK ] YunoHost installation completed !

Peertube Install:

  1. root@tube:~# sudo yunohost app install https://github.com/YunoHost-Apps/peertube_ynh
  2. Available domains:
  3. Choose a domain name for PeerTube (default: tube.filmaidykai.net):
  4. Choose an admin email (can be changed after installation): xxx@gmail.com
  5. Is it a public application? [0 | 1] (default: 1):
  6. Warning: Installation of N - Node.js version management
  7. Warning: 2018-07-16 09:11:27 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> “n.tar.gz” [1]
  8. Warning: !!
  9. Warning: peertube’s script has encountered an error. Its execution was cancelled.
  10. Warning: !!
  11. Warning:
  12. Warning: E: Unable to locate package peertube-ynh-deps
  13. Warning: sed: can’t read /opt/node_n/ynh_app_version: No such file or directory
  14. Warning: grep: /opt/node_n/ynh_app_version: No such file or directory
  15. Warning: /usr/share/yunohost/helpers.d/nodejs: line 133: /opt/node_n/bin/n: No such file or directory
  16. Warning: /usr/local/n wasn’t deleted because it doesn’t exist.
  17. Warning: /etc/apt/sources.list.d/jessie-backports.list wasn’t deleted because it doesn’t exist.
  18. Warning: /etc/apt/sources.list.d/yarn.list wasn’t deleted because it doesn’t exist.
  19. Warning: sudo: unknown user: postgres
  20. Warning: sudo: unable to initialize policy plugin
  21. Warning: sudo: unknown user: postgres
  22. Warning: sudo: unable to initialize policy plugin
  23. Warning: Avoid deleting .
  24. Warning: /etc/nginx/conf.d/tube.filmaidykai.net.d/peertube.conf wasn’t deleted because it doesn’t exist.
  25. Warning: The user peertube was not found
  26. Success! The SSOwat configuration has been generated
  27. Error: Installation failed
1 Like

Install peertube with this command and show complete log.

$ sudo yunohost app install https://github.com/YunoHost-Apps/peertube_ynh --debug

  • root@tube:~# sudo yunohost app install https://github.com/YunoHost-Apps/peertube_ynh --debug
  • 120 DEBUG loading actions map namespace ‘yunohost’
  • 136 DEBUG extra parameter classes loaded: [‘ask’, ‘password’, ‘required’, ‘pattern’]
  • 136 DEBUG initializing base actions map parser for cli
  • 137 DEBUG registering new callback action ‘yunohost.utils.packages.ynh_packages_version’ to [’-v’, ‘–version’]
  • 207 DEBUG initialize authenticator ‘ldap-anonymous’ with: uri=‘ldap://localhost:389’, base_dn=‘dc=yunohost,dc=org’, user_rdn=‘None’
  • 209 DEBUG lock has been acquired
  • 238 DEBUG loading python module yunohost.app took 0.022s
  • 238 INFO processing action [4464.1]: yunohost.app.install with args={‘app’: ‘https://github.com/YunoHost-Apps/peertube_ynh’, ‘args’: None, ‘auth’: <moulinette.authenticators.ldap.Authenticator object at 0x7fb67e5cb910>, ‘label’: None, ‘no_remove_on_failure’: False}
  • 241 DEBUG Downloading…
  • 1158 DEBUG Extracting…
  • 1166 DEBUG Done
  • 1730 DEBUG Checking required packages for peertube…
  • Available domains:
  • Choose a domain name for PeerTube (default: tube.filmaidykai.net):
  • Choose an admin email (can be changed after installation): 6666689@gmail.com
  • Is it a public application? [0 | 1] (default: 1): 1
  • 36012 DEBUG Executing command ‘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 YNH_APP_ARG_EMAIL=uglymug89@gmail.com YNH_APP_ID=peertube YNH_APP_ARG_DOMAIN=tube.filmaidykai.net BASH_XTRACEFD=7 /bin/bash -x “./install” tube.filmaidykai.net uglymug89@gmail.com 1 peertube 7>&1’…
  • 36021 DEBUG + source _common.sh
  • 36022 DEBUG + source /usr/share/yunohost/helpers
  • 36022 DEBUG +++ run-parts --list /usr/share/yunohost/helpers.d
  • 36022 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 36022 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/backend ‘]’
  • 36022 DEBUG ++ . /usr/share/yunohost/helpers.d/backend
  • 36022 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 36022 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/filesystem ‘]’
  • 36022 DEBUG ++ . /usr/share/yunohost/helpers.d/filesystem
  • 36022 DEBUG +++ CAN_BIND=1
  • 36023 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 36023 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/ip ‘]’
  • 36023 DEBUG ++ . /usr/share/yunohost/helpers.d/ip
  • 36023 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 36023 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
  • 36023 DEBUG ++ . /usr/share/yunohost/helpers.d/mysql
  • 36023 DEBUG +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
  • 36023 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 36024 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
  • 36024 DEBUG ++ . /usr/share/yunohost/helpers.d/network
  • 36024 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 36024 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/nodejs ‘]’
  • 36024 DEBUG ++ . /usr/share/yunohost/helpers.d/nodejs
  • 36024 DEBUG +++ n_install_dir=/opt/node_n
  • 36024 DEBUG +++ node_version_path=/opt/node_n/n/versions/node
  • 36024 DEBUG +++ export N_PREFIX=/opt/node_n
  • 36024 DEBUG +++ N_PREFIX=/opt/node_n
  • 36025 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 36025 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/package ‘]’
  • 36025 DEBUG ++ . /usr/share/yunohost/helpers.d/package
  • 36025 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 36026 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/print ‘]’
  • 36026 DEBUG ++ . /usr/share/yunohost/helpers.d/print
  • 36026 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 36026 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/psql ‘]’
  • 36026 DEBUG ++ . /usr/share/yunohost/helpers.d/psql
  • 36026 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 36026 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
  • 36026 DEBUG ++ . /usr/share/yunohost/helpers.d/setting
  • 36027 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 36027 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
  • 36027 DEBUG ++ . /usr/share/yunohost/helpers.d/string
  • 36027 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 36027 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/system ‘]’
  • 36027 DEBUG ++ . /usr/share/yunohost/helpers.d/system
  • 36027 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 36027 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
  • 36027 DEBUG ++ . /usr/share/yunohost/helpers.d/user
  • 36028 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 36028 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
  • 36028 DEBUG ++ . /usr/share/yunohost/helpers.d/utils
  • 36029 DEBUG + source psql.sh
  • 36029 DEBUG + ynh_abort_if_errors
  • 36029 DEBUG + set -eu
  • 36030 DEBUG + trap ynh_exit_properly EXIT
  • 36030 DEBUG + domain=tube.filmaidykai.net
  • 36030 DEBUG + path_url=/
  • 36030 DEBUG + admin_email=uglymug89@gmail.com
  • 36030 DEBUG ++ ynh_string_random 24
  • 36030 DEBUG ++ dd if=/dev/urandom bs=1 count=200
  • 36030 DEBUG ++ tr -c -d A-Za-z0-9
  • 36030 DEBUG ++ sed -n ‘s/(.{24}).*/\1/p’
  • 36032 DEBUG + admin_pass=OUVz3gGhbHoR75day5QuK6Oz
  • 36032 DEBUG + is_public=1
  • 36032 DEBUG + app=peertube
  • 36033 DEBUG + final_path=/var/www/peertube
  • 36033 DEBUG + test ‘!’ -e /var/www/peertube
  • 36033 DEBUG + ynh_webpath_available tube.filmaidykai.net /
  • 36033 DEBUG + local domain=tube.filmaidykai.net
  • 36033 DEBUG + local path=/
  • 36033 DEBUG + sudo yunohost domain url-available tube.filmaidykai.net /
  • 36315 DEBUG True
  • 36339 DEBUG + ynh_webpath_register peertube tube.filmaidykai.net /
  • 36339 DEBUG + local app=peertube
  • 36339 DEBUG + local domain=tube.filmaidykai.net
  • 36339 DEBUG + local path=/
  • 36339 DEBUG + sudo yunohost app register-url peertube tube.filmaidykai.net /
  • 36664 DEBUG + ynh_app_setting_set peertube domain tube.filmaidykai.net
  • 36664 DEBUG + sudo yunohost app setting peertube domain --value=tube.filmaidykai.net --quiet
  • 36943 DEBUG + ynh_app_setting_set peertube admin_email uglymug89@gmail.com
  • 36943 DEBUG + sudo yunohost app setting peertube admin_email --value=uglymug89@gmail.com --quiet
  • 37226 DEBUG + ynh_app_setting_set peertube admin_pass OUVz3gGhbHoR75day5QuK6Oz
  • 37226 DEBUG + sudo yunohost app setting peertube admin_pass --value=OUVz3gGhbHoR75day5QuK6Oz --quiet
  • 37509 DEBUG + ynh_app_setting_set peertube is_public 1
  • 37509 DEBUG + sudo yunohost app setting peertube is_public --value=1 --quiet
  • 37794 DEBUG ++ ynh_find_port 9000
  • 37794 DEBUG ++ local port=9000
  • 37794 DEBUG ++ test -n 9000
  • 37794 DEBUG ++ netcat -z 127.0.0.1 9000
  • 37795 DEBUG ++ echo 9000
  • 37796 DEBUG + port=9000
  • 37796 DEBUG + yunohost firewall allow Both 9000
  • 46069 DEBUG The firewall has been reloaded
  • 46077 DEBUG opened_ports:
  • 46077 DEBUG - 22
  • 46077 DEBUG - 25
  • 46077 DEBUG - 53
  • 46077 DEBUG - 80
  • 46077 DEBUG - 443
  • 46078 DEBUG - 587
  • 46078 DEBUG - 993
  • 46078 DEBUG - 5222
  • 46078 DEBUG - 5269
  • 46078 DEBUG - 5353
  • 46078 DEBUG - 9000
  • 46102 DEBUG + ynh_app_setting_set peertube port 9000
  • 46102 DEBUG + sudo yunohost app setting peertube port --value=9000 --quiet
  • 46393 DEBUG + datadir=/home/yunohost.app/peertube/storage
  • 46393 DEBUG + mkdir -p /home/yunohost.app/peertube/storage
  • 46394 DEBUG + ynh_install_nodejs 8
  • 46395 DEBUG + nodejs_version=8
  • 46395 DEBUG + mkdir -p /opt/node_n
  • 46396 DEBUG + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  • 46396 DEBUG ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  • 46396 DEBUG ++ sed s@/usr/local/bin:@@
  • 46398 DEBUG + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
  • 46398 DEBUG + test -x /usr/bin/node
  • 46398 DEBUG + test -x /usr/bin/npm
  • 46398 DEBUG ++ n --version
  • 46399 DEBUG + test
  • 46399 DEBUG + ynh_install_n
  • 46399 DEBUG + echo ‘Installation of N - Node.js version management’
  • 46399 DEBUG + mkdir -p …/conf
  • 46399 WARNING Installation of N - Node.js version management
  • 46400 DEBUG + echo 'SOURCE_URL=https://github.com/tj/n/archive/v2.1.7.tar.gz
  • 46400 DEBUG SOURCE_SUM=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f’
  • 46400 DEBUG + ynh_setup_source /opt/node_n/git n
  • 46400 DEBUG + local dest_dir=/opt/node_n/git
  • 46401 DEBUG + local src_id=n
  • 46401 DEBUG ++ grep SOURCE_URL= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/…/conf/n.src
  • 46401 DEBUG ++ cut -d= -f2-
  • 46402 DEBUG + local src_url=https://github.com/tj/n/archive/v2.1.7.tar.gz
  • 46403 DEBUG ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/…/conf/n.src
  • 46403 DEBUG ++ cut -d= -f2-
  • 46404 DEBUG + local src_sum=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f
  • 46404 DEBUG ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/…/conf/n.src
  • 46405 DEBUG ++ cut -d= -f2-
  • 46406 DEBUG + local src_sumprg=
  • 46406 DEBUG ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/…/conf/n.src
  • 46406 DEBUG ++ cut -d= -f2-
  • 46407 DEBUG + local src_format=
  • 46408 DEBUG ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/…/conf/n.src
  • 46408 DEBUG ++ cut -d= -f2-
  • 46409 DEBUG + local src_extract=
  • 46410 DEBUG ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/…/conf/n.src
  • 46410 DEBUG ++ cut -d= -f2-
  • 46411 DEBUG + local src_in_subdir=
  • 46411 DEBUG ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/…/conf/n.src
  • 46412 DEBUG ++ cut -d= -f2-
  • 46413 DEBUG + local src_filename=
  • 46413 DEBUG + src_sumprg=sha256sum
  • 46413 DEBUG + src_in_subdir=true
  • 46413 DEBUG + src_format=tar.gz
  • 46413 DEBUG ++ echo tar.gz
  • 46413 DEBUG ++ tr ‘[:upper:]’ ‘[:lower:]’
  • 46414 DEBUG + src_format=tar.gz
  • 46414 DEBUG + src_extract=true
  • 46414 DEBUG + ‘[’ ‘’ = ‘’ ‘]’
  • 46415 DEBUG + src_filename=n.tar.gz
  • 46415 DEBUG + local local_src=/opt/yunohost-apps-src/peertube/n.tar.gz
  • 46415 DEBUG + test -e /opt/yunohost-apps-src/peertube/n.tar.gz
  • 46415 DEBUG + wget -nv -O n.tar.gz https://github.com/tj/n/archive/v2.1.7.tar.gz
  • 47250 WARNING 2018-07-16 22:35:46 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> “n.tar.gz” [1]
  • 47251 DEBUG + echo ‘2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f n.tar.gz’
  • 47251 DEBUG + sha256sum -c --status
  • 47257 DEBUG + mkdir -p /opt/node_n/git
  • 47258 DEBUG + true
  • 47258 DEBUG + ‘[’ tar.gz = zip ‘]’
  • 47258 DEBUG + local strip=
  • 47258 DEBUG + true
  • 47259 DEBUG + strip=’–strip-components 1’
  • 47259 DEBUG + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
  • 47259 DEBUG + tar -xf n.tar.gz -C /opt/node_n/git --strip-components 1
  • 47262 DEBUG ++ find /var/cache/yunohost/from_file/peertube_ynh-master/scripts/…/sources/patches/ -type f -name ‘n-*.patch’
  • 47262 DEBUG ++ wc -l
  • 47263 DEBUG + (( 0 > 0 ))
  • 47264 DEBUG + test -e /var/cache/yunohost/from_file/peertube_ynh-master/scripts/…/sources/extra_files/n
  • 47264 DEBUG + cd /opt/node_n/git
  • 47264 DEBUG + PREFIX=/opt/node_n
  • 47264 DEBUG + make install
  • 47264 DEBUG /usr/share/yunohost/helpers.d/nodejs: line 21: make: command not found
  • 47265 DEBUG + ynh_exit_properly
  • 47265 WARNING !!
  • 47265 DEBUG + local exit_code=127
  • 47265 WARNING peertube’s script has encountered an error. Its execution was cancelled.
  • 47265 DEBUG + ‘[’ 127 -eq 0 ‘]’
  • 47265 DEBUG + trap ‘’ EXIT
  • 47265 WARNING !!
  • 47265 DEBUG + set +eu
  • 47265 WARNING
  • 47265 DEBUG + echo -e ‘!!\n peertube’’‘s script has encountered an error. Its execution was cancelled.\n!!’
  • 47265 DEBUG + type -t ynh_clean_setup
  • 47266 DEBUG + ynh_die
  • 47266 DEBUG + echo ‘’
  • 47266 DEBUG + exit 1
  • 47344 DEBUG Executing command ‘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’…
  • 47352 DEBUG + source _common.sh
  • 47353 DEBUG + source /usr/share/yunohost/helpers
  • 47353 DEBUG +++ run-parts --list /usr/share/yunohost/helpers.d
  • 47353 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 47353 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/backend ‘]’
  • 47353 DEBUG ++ . /usr/share/yunohost/helpers.d/backend
  • 47354 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 47354 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/filesystem ‘]’
  • 47354 DEBUG ++ . /usr/share/yunohost/helpers.d/filesystem
  • 47354 DEBUG +++ CAN_BIND=1
  • 47355 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 47355 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/ip ‘]’
  • 47355 DEBUG ++ . /usr/share/yunohost/helpers.d/ip
  • 47355 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 47355 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
  • 47356 DEBUG ++ . /usr/share/yunohost/helpers.d/mysql
  • 47356 DEBUG +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
  • 47356 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 47356 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
  • 47356 DEBUG ++ . /usr/share/yunohost/helpers.d/network
  • 47356 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 47356 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/nodejs ‘]’
  • 47356 DEBUG ++ . /usr/share/yunohost/helpers.d/nodejs
  • 47357 DEBUG +++ n_install_dir=/opt/node_n
  • 47357 DEBUG +++ node_version_path=/opt/node_n/n/versions/node
  • 47357 DEBUG +++ export N_PREFIX=/opt/node_n
  • 47357 DEBUG +++ N_PREFIX=/opt/node_n
  • 47357 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 47357 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/package ‘]’
  • 47357 DEBUG ++ . /usr/share/yunohost/helpers.d/package
  • 47358 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 47358 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/print ‘]’
  • 47358 DEBUG ++ . /usr/share/yunohost/helpers.d/print
  • 47358 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 47358 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/psql ‘]’
  • 47358 DEBUG ++ . /usr/share/yunohost/helpers.d/psql
  • 47359 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 47359 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
  • 47359 DEBUG ++ . /usr/share/yunohost/helpers.d/setting
  • 47359 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 47359 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
  • 47359 DEBUG ++ . /usr/share/yunohost/helpers.d/string
  • 47359 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 47360 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/system ‘]’
  • 47360 DEBUG ++ . /usr/share/yunohost/helpers.d/system
  • 47360 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 47360 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
  • 47360 DEBUG ++ . /usr/share/yunohost/helpers.d/user
  • 47360 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
  • 47360 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
  • 47360 DEBUG ++ . /usr/share/yunohost/helpers.d/utils
  • 47361 DEBUG + source psql.sh
  • 47362 DEBUG + app=peertube
  • 47362 DEBUG ++ ynh_app_setting_get peertube domain
  • 47362 DEBUG ++ sudo yunohost app setting peertube domain --output-as plain --quiet
  • 47636 DEBUG + domain=tube.filmaidykai.net
  • 47636 DEBUG ++ ynh_app_setting_get peertube port
  • 47636 DEBUG ++ sudo yunohost app setting peertube port --output-as plain --quiet
  • 47914 DEBUG + port=9000
  • 47915 DEBUG ++ ynh_app_setting_get peertube psql_db
  • 47915 DEBUG ++ sudo yunohost app setting peertube psql_db --output-as plain --quiet
  • 48190 DEBUG + db_name=
  • 48190 DEBUG ++ ynh_app_setting_get peertube final_path
  • 48190 DEBUG ++ sudo yunohost app setting peertube final_path --output-as plain --quiet
  • 48464 DEBUG + final_path=
  • 48464 DEBUG + ynh_remove_systemd_config
  • 48464 DEBUG + local service_name=peertube
  • 48464 DEBUG + local finalsystemdconf=/etc/systemd/system/peertube.service
  • 48464 DEBUG + ‘[’ -e /etc/systemd/system/peertube.service ‘]’
  • 48465 DEBUG + yunohost service status
  • 48465 DEBUG + grep -q peertube
  • 48879 DEBUG + ynh_remove_app_dependencies
  • 48879 DEBUG + local dep_app=peertube
  • 48879 DEBUG + ynh_package_autopurge peertube-ynh-deps
  • 48879 DEBUG + ynh_apt autoremove --purge peertube-ynh-deps
  • 48880 DEBUG + DEBIAN_FRONTEND=noninteractive
  • 48880 DEBUG + sudo apt-get -y autoremove --purge peertube-ynh-deps
  • 48958 DEBUG Reading package lists…
  • 49100 DEBUG Building dependency tree…
  • 49100 DEBUG Reading state information…
  • 49121 WARNING E: Unable to locate package peertube-ynh-deps
  • 49122 DEBUG + ynh_remove_nodejs
  • 49123 DEBUG ++ ynh_app_setting_get peertube nodejs_version
  • 49123 DEBUG ++ sudo yunohost app setting peertube nodejs_version --output-as plain --quiet
  • 49398 DEBUG + nodejs_version=
  • 49398 DEBUG + sed --in-place /peertube:/d /opt/node_n/ynh_app_version
  • 49399 WARNING sed: can’t read /opt/node_n/ynh_app_version: No such file or directory
  • 49399 DEBUG + grep --quiet ‘’ /opt/node_n/ynh_app_version
  • 49400 WARNING grep: /opt/node_n/ynh_app_version: No such file or directory
  • 49400 DEBUG + /opt/node_n/bin/n rm
  • 49401 WARNING /usr/share/yunohost/helpers.d/nodejs: line 133: /opt/node_n/bin/n: No such file or directory
  • 49401 DEBUG + ‘[’ ‘!’ -s /opt/node_n/ynh_app_version ‘]’
  • 49401 DEBUG + ynh_secure_remove /opt/node_n
  • 49401 DEBUG + local path_to_remove=/opt/node_n
  • 49401 DEBUG + local ‘forbidden_path= /var/www /home/yunohost.app’
  • 49401 DEBUG + [[ /var/www /home/yunohost.app =~ /opt/node_n ]]
  • 49402 DEBUG + [[ /opt/node_n =~ ^/[[:alnum:]]+$ ]]
  • 49402 DEBUG + [[ n = / ]]
  • 49402 DEBUG + ‘[’ -e /opt/node_n ‘]’
  • 49402 DEBUG + sudo rm -R /opt/node_n
  • 49412 DEBUG + ynh_secure_remove /usr/local/n
  • 49412 DEBUG + local path_to_remove=/usr/local/n
  • 49412 WARNING /usr/local/n wasn’t deleted because it doesn’t exist.
  • 49412 DEBUG + local ‘forbidden_path= /var/www /home/yunohost.app’
  • 49412 DEBUG + [[ /var/www /home/yunohost.app =~ /usr/local/n ]]
  • 49412 WARNING /etc/apt/sources.list.d/jessie-backports.list wasn’t deleted because it doesn’t exist.
  • 49412 DEBUG + [[ /usr/local/n =~ ^/[[:alnum:]]+$ ]]
  • 49412 WARNING /etc/apt/sources.list.d/yarn.list wasn’t deleted because it doesn’t exist.
  • 49413 DEBUG + [[ n = / ]]
  • 49413 DEBUG + ‘[’ -e /usr/local/n ‘]’
  • 49413 DEBUG + echo ‘/usr/local/n wasn’’‘t deleted because it doesn’’‘t exist.’
  • 49413 DEBUG + ynh_secure_remove /etc/apt/sources.list.d/jessie-backports.list
  • 49413 DEBUG + local path_to_remove=/etc/apt/sources.list.d/jessie-backports.list
  • 49413 DEBUG + local ‘forbidden_path= /var/www /home/yunohost.app’
  • 49413 DEBUG + [[ /var/www /home/yunohost.app =~ /etc/apt/sources.list.d/jessie-backports.list ]]
  • 49413 DEBUG + [[ /etc/apt/sources.list.d/jessie-backports.list =~ ^/[[:alnum:]]+$ ]]
  • 49413 DEBUG + [[ t = / ]]
  • 49414 DEBUG + ‘[’ -e /etc/apt/sources.list.d/jessie-backports.list ‘]’
  • 49414 DEBUG + echo ‘/etc/apt/sources.list.d/jessie-backports.list wasn’’‘t deleted because it doesn’’‘t exist.’
  • 49414 DEBUG + ynh_secure_remove /etc/apt/sources.list.d/yarn.list
  • 49414 DEBUG + local path_to_remove=/etc/apt/sources.list.d/yarn.list
  • 49414 DEBUG + local ‘forbidden_path= /var/www /home/yunohost.app’
  • 49414 DEBUG + [[ /var/www /home/yunohost.app =~ /etc/apt/sources.list.d/yarn.list ]]
  • 49414 DEBUG + [[ /etc/apt/sources.list.d/yarn.list =~ ^/[[:alnum:]]+$ ]]
  • 49414 DEBUG + [[ t = / ]]
  • 49414 DEBUG + ‘[’ -e /etc/apt/sources.list.d/yarn.list ‘]’
  • 49415 DEBUG + echo ‘/etc/apt/sources.list.d/yarn.list wasn’’‘t deleted because it doesn’’‘t exist.’
  • 49415 DEBUG + ynh_psql_remove_db ‘’ peertube
  • 49415 DEBUG + db=
  • 49415 DEBUG + user=peertube
  • 49415 DEBUG + sudo --login --user=postgres dropdb ‘’
  • 49418 WARNING sudo: unknown user: postgres
  • 49418 WARNING sudo: unable to initialize policy plugin
  • 49419 DEBUG + ynh_psql_drop_user peertube
  • 49419 DEBUG + user=peertube
  • 49419 DEBUG + sudo --login --user=postgres dropuser peertube
  • 49423 WARNING sudo: unknown user: postgres
  • 49423 WARNING sudo: unable to initialize policy plugin
  • 49424 DEBUG + ynh_secure_remove ‘’
  • 49424 DEBUG + local path_to_remove=
  • 49424 WARNING Avoid deleting .
  • 49424 DEBUG + local ‘forbidden_path= /var/www /home/yunohost.app’
  • 49424 DEBUG + [[ /var/www /home/yunohost.app =~ ‘’ ]]
  • 49424 WARNING /etc/nginx/conf.d/tube.filmaidykai.net.d/peertube.conf wasn’t deleted because it doesn’t exist.
  • 49424 DEBUG + echo ‘Avoid deleting .’
  • 49424 DEBUG + ynh_remove_nginx_config
  • 49424 DEBUG + ynh_secure_remove /etc/nginx/conf.d/tube.filmaidykai.net.d/peertube.conf
  • 49424 DEBUG + local path_to_remove=/etc/nginx/conf.d/tube.filmaidykai.net.d/peertube.conf
  • 49425 DEBUG + local ‘forbidden_path= /var/www /home/yunohost.app’
  • 49425 DEBUG + [[ /var/www /home/yunohost.app =~ /etc/nginx/conf.d/tube.filmaidykai.net.d/peertube.conf ]]
  • 49425 DEBUG + [[ /etc/nginx/conf.d/tube.filmaidykai.net.d/peertube.conf =~ ^/[[:alnum:]]+$ ]]
  • 49425 DEBUG + [[ f = / ]]
  • 49425 DEBUG + ‘[’ -e /etc/nginx/conf.d/tube.filmaidykai.net.d/peertube.conf ‘]’
  • 49425 DEBUG + echo ‘/etc/nginx/conf.d/tube.filmaidykai.net.d/peertube.conf wasn’’‘t deleted because it doesn’’‘t exist.’
  • 49425 DEBUG + sudo systemctl reload nginx
  • 49479 DEBUG + ynh_remove_logrotate
  • 49479 DEBUG + ‘[’ -e /etc/logrotate.d/peertube ‘]’
  • 49479 DEBUG + yunohost firewall list
  • 49479 DEBUG + grep -q ‘- 9000$’
  • 49731 DEBUG + echo ‘Close port 9000’
  • 49732 DEBUG Close port 9000
  • 49732 DEBUG + yunohost firewall disallow Both 9000
  • 57582 DEBUG The firewall has been reloaded
  • 57589 DEBUG opened_ports:
  • 57589 DEBUG - 22
  • 57589 DEBUG - 25
  • 57589 DEBUG - 53
  • 57590 DEBUG - 80
  • 57590 DEBUG - 443
  • 57590 DEBUG - 587
  • 57590 DEBUG - 993
  • 57590 DEBUG - 5222
  • 57590 DEBUG - 5269
  • 57590 DEBUG - 5353
  • 57615 DEBUG + ynh_system_user_delete peertube
  • 57615 DEBUG + ynh_system_user_exists peertube
  • 57615 DEBUG + getent passwd peertube
  • 57617 DEBUG + echo ‘The user peertube was not found’
  • 57617 WARNING The user peertube was not found
  • 57618 DEBUG + message='peertube was successfully removed :slight_smile:
  • 57618 DEBUG
  • 57618 DEBUG peertube was successfully removed and domain https://tube.filmaidykai.net is free for other apps now.
  • 57618 DEBUG
  • 57618 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.
  • 57618 DEBUG
  • 57618 DEBUG
  • 57619 DEBUG You need to run this command to remove the data (warning all your videos will be removed) :
  • 57619 DEBUG
  • 57619 DEBUG rm -R /home/yunohost.app/peertube -f
  • 57619 DEBUG
  • 57619 DEBUG
  • 57619 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
  • 57619 DEBUG + ynh_send_readme_to_admin 'peertube was successfully removed :slight_smile:
  • 57619 DEBUG
  • 57619 DEBUG peertube was successfully removed and domain https://tube.filmaidykai.net is free for other apps now.
  • 57620 DEBUG
  • 57620 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.
  • 57620 DEBUG
  • 57620 DEBUG
  • 57620 DEBUG You need to run this command to remove the data (warning all your videos will be removed) :
  • 57620 DEBUG
  • 57620 DEBUG rm -R /home/yunohost.app/peertube -f
  • 57620 DEBUG
  • 57621 DEBUG
  • 57621 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
  • 57621 DEBUG + local 'app_message=peertube was successfully removed :slight_smile:
  • 57621 DEBUG
  • 57621 DEBUG peertube was successfully removed and domain https://tube.filmaidykai.net is free for other apps now.
  • 57621 DEBUG
  • 57621 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.
  • 57621 DEBUG
  • 57621 DEBUG
  • 57622 DEBUG You need to run this command to remove the data (warning all your videos will be removed) :
  • 57622 DEBUG
  • 57622 DEBUG rm -R /home/yunohost.app/peertube -f
  • 57622 DEBUG
  • 57622 DEBUG
  • 57622 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
  • 57622 DEBUG + local recipients=root
  • 57622 DEBUG ++ find_mails root
  • 57622 DEBUG ++ local list_mails=root
  • 57623 DEBUG ++ local mail
  • 57623 DEBUG ++ local 'recipients= ’
  • 57623 DEBUG ++ for mail in $list_mails
  • 57623 DEBUG ++ ‘[’ root = root ‘]’
  • 57623 DEBUG ++ recipients=’ root’
  • 57623 DEBUG ++ echo ’ root’
  • 57623 DEBUG + recipients=’ root’
  • 57623 DEBUG + local ‘mail_subject=☁️🆈🅽🅷☁️: peertube was just installed!’
  • 57623 DEBUG ++ yunohost tools diagnosis
  • 57624 DEBUG ++ grep -B 100 services:
  • 57624 DEBUG ++ sed /services:/d
  • 58844 DEBUG + local 'mail_message=This is an automated message from your beloved YunoHost server.
  • 58844 DEBUG Specific information for the application peertube.
  • 58844 DEBUG peertube was successfully removed :slight_smile:
  • 58844 DEBUG
  • 58844 DEBUG peertube was successfully removed and domain https://tube.filmaidykai.net is free for other apps now.
  • 58845 DEBUG
  • 58845 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.
  • 58845 DEBUG
  • 58845 DEBUG
  • 58845 DEBUG You need to run this command to remove the data (warning all your videos will be removed) :
  • 58845 DEBUG
  • 58845 DEBUG rm -R /home/yunohost.app/peertube -f
  • 58845 DEBUG
  • 58845 DEBUG
  • 58845 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
  • 58846 DEBUG —
  • 58846 DEBUG Automatic diagnosis data from YunoHost
  • 58846 DEBUG host: Debian 9.5
  • 58846 DEBUG kernel: 4.9.0-7-amd64
  • 58846 DEBUG packages:
  • 58846 DEBUG yunohost:
  • 58846 DEBUG repo: stable
  • 58846 DEBUG version: 3.0.0.1
  • 58846 DEBUG yunohost-admin:
  • 58847 DEBUG repo: stable
  • 58847 DEBUG version: 3.0.0
  • 58847 DEBUG moulinette:
  • 58847 DEBUG repo: stable
  • 58847 DEBUG version: 3.0.0
  • 58847 DEBUG ssowat:
  • 58847 DEBUG repo: stable
  • 58847 DEBUG version: 3.0.0
  • 58847 DEBUG backports:
  • 58848 DEBUG system:
  • 58848 DEBUG disks:
  • 58848 DEBUG md2: Mounted on /boot, 486.8MiB (449.2MiB free)
  • 58848 DEBUG md3: Mounted on /, 19.1GiB (17.5GiB free)
  • 58848 DEBUG md4: Mounted on /home, 5.4TiB (5.4TiB free)
  • 58848 DEBUG memory:
  • 58848 DEBUG ram: 31.4GiB (30.6GiB free)
  • 58848 DEBUG swap: 1022.0MiB (1022.0MiB free)
  • 58848 DEBUG nginx:
  • 58849 DEBUG - nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
  • 58849 DEBUG - nginx: configuration file /etc/nginx/nginx.conf test is successful’
  • 58849 DEBUG + ‘[’ -e /usr/bin/bsd-mailx ‘]’
  • 58849 DEBUG + local mail_bin=/usr/bin/mail.mailutils
  • 58849 DEBUG + echo 'This is an automated message from your beloved YunoHost server.
  • 58849 DEBUG Specific information for the application peertube.
  • 58849 DEBUG peertube was successfully removed :slight_smile:
  • 58849 DEBUG
  • 58849 DEBUG peertube was successfully removed and domain https://tube.filmaidykai.net is free for other apps now.
  • 58849 DEBUG
  • 58850 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.
  • 58850 DEBUG
  • 58850 DEBUG
  • 58850 DEBUG You need to run this command to remove the data (warning all your videos will be removed) :
  • 58850 DEBUG
  • 58850 DEBUG rm -R /home/yunohost.app/peertube -f
  • 58850 DEBUG
  • 58850 DEBUG
  • 58850 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
  • 58851 DEBUG —
  • 58851 DEBUG Automatic diagnosis data from YunoHost
  • 58851 DEBUG host: Debian 9.5
  • 58851 DEBUG kernel: 4.9.0-7-amd64
  • 58851 DEBUG packages:
  • 58851 DEBUG yunohost:
  • 58851 DEBUG repo: stable
  • 58851 DEBUG version: 3.0.0.1
  • 58851 DEBUG yunohost-admin:
  • 58851 DEBUG repo: stable
  • 58852 DEBUG version: 3.0.0
  • 58852 DEBUG moulinette:
  • 58852 DEBUG repo: stable
  • 58852 DEBUG version: 3.0.0
  • 58852 DEBUG ssowat:
  • 58852 DEBUG repo: stable
  • 58852 DEBUG version: 3.0.0
  • 58852 DEBUG backports:
  • 58852 DEBUG system:
  • 58853 DEBUG disks:
  • 58853 DEBUG md2: Mounted on /boot, 486.8MiB (449.2MiB free)
  • 58853 DEBUG md3: Mounted on /, 19.1GiB (17.5GiB free)
  • 58853 DEBUG md4: Mounted on /home, 5.4TiB (5.4TiB free)
  • 58853 DEBUG memory:
  • 58853 DEBUG ram: 31.4GiB (30.6GiB free)
  • 58853 DEBUG swap: 1022.0MiB (1022.0MiB free)
  • 58853 DEBUG nginx:
  • 58853 DEBUG - nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
  • 58854 DEBUG - nginx: configuration file /etc/nginx/nginx.conf test is successful’
  • 58854 DEBUG + /usr/bin/mail.mailutils -a ‘Content-Type: text/plain; charset=UTF-8’ -s ‘:cloud:️🆈🅽🅷:cloud:️: peertube was just installed!’ ’ root’
  • 58982 SUCCESS The SSOwat configuration has been generated
  • 58982 DEBUG action [4464.1] executed in 58.744s
  • 58982 DEBUG lock has been released
  • 58982 ERROR Installation failed

Try:
$ sudo apt-get install make

The try to reinstall.

and still in to the end

256175 SUCCESS The SSOwat configuration has been generated
256176 DEBUG action [7246.1] executed in 255.944s
256176 DEBUG lock has been released
256176 ERROR Installation failed

It’s the 11th post in this thread and still have no idea what you are trying to achieve.

The title talks about bind9 and email, yet you are posting logs about peertube install ?

What are you trying to achieve exactly ? And what is the matter with uninstalling bind9 ?

problem is something wrong trying install peertube always take Installation failed

I think so something wrong with OVH I was trying to do everything on Soyourstart dedicated server and got problems but when I tried on Contabo VPS everything was fine so no idea where is the problem…

@djsets
The YnH is not having any problem while install. Its a PeerTube issue you should change the heading accordingly.
You can follow PeerTube issue on github: https://github.com/YunoHost-Apps/peertube_ynh/issues/36#issuecomment-405887434