Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 21070 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=bill.666@live.fr YNH_APP_ID=peertube YNH_APP_ARG_DOMAIN=liberodark.ynh.fr BASH_XTRACEFD=7 /bin/bash -x "./install" liberodark.ynh.fr bill.666@live.fr 1 peertube 7>&1'...
- 21082 DEBUG + source _common.sh
- 21083 DEBUG + source /usr/share/yunohost/helpers
- 21084 DEBUG +++ run-parts --list /usr/share/yunohost/helpers.d
- 21093 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21093 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
- 21093 DEBUG ++ . /usr/share/yunohost/helpers.d/backend
- 21094 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21095 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
- 21095 DEBUG ++ . /usr/share/yunohost/helpers.d/filesystem
- 21096 DEBUG +++ CAN_BIND=1
- 21096 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21097 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
- 21097 DEBUG ++ . /usr/share/yunohost/helpers.d/ip
- 21097 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21097 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
- 21097 DEBUG ++ . /usr/share/yunohost/helpers.d/mysql
- 21098 DEBUG +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
- 21098 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21099 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
- 21099 DEBUG ++ . /usr/share/yunohost/helpers.d/network
- 21100 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21100 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
- 21100 DEBUG ++ . /usr/share/yunohost/helpers.d/nodejs
- 21101 DEBUG +++ n_install_dir=/opt/node_n
- 21101 DEBUG +++ node_version_path=/opt/node_n/n/versions/node
- 21101 DEBUG +++ export N_PREFIX=/opt/node_n
- 21101 DEBUG +++ N_PREFIX=/opt/node_n
- 21102 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21102 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
- 21102 DEBUG ++ . /usr/share/yunohost/helpers.d/package
- 21103 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21103 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
- 21104 DEBUG ++ . /usr/share/yunohost/helpers.d/print
- 21104 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21104 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
- 21105 DEBUG ++ . /usr/share/yunohost/helpers.d/psql
- 21105 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21106 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
- 21106 DEBUG ++ . /usr/share/yunohost/helpers.d/setting
- 21106 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21107 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
- 21107 DEBUG ++ . /usr/share/yunohost/helpers.d/string
- 21107 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21107 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
- 21108 DEBUG ++ . /usr/share/yunohost/helpers.d/system
- 21108 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21109 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
- 21109 DEBUG ++ . /usr/share/yunohost/helpers.d/user
- 21110 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21110 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
- 21110 DEBUG ++ . /usr/share/yunohost/helpers.d/utils
- 21110 DEBUG + source psql.sh
- 21111 DEBUG + ynh_abort_if_errors
- 21111 DEBUG + set -eu
- 21111 DEBUG + trap ynh_exit_properly EXIT
- 21111 DEBUG + domain=liberodark.ynh.fr
- 21111 DEBUG + path_url=/
- 21112 DEBUG + admin_email=bill.666@live.fr
- 21112 DEBUG ++ ynh_string_random 24
- 21113 DEBUG ++ sed -n 's/\(.\{24\}\).*/\1/p'
- 21114 DEBUG ++ tr -c -d A-Za-z0-9
- 21114 DEBUG ++ dd if=/dev/urandom bs=1 count=200
- 21129 DEBUG + admin_pass=hvotwUqEterry7N9AuuRr0BV
- 21130 DEBUG + is_public=1
- 21130 DEBUG + app=peertube
- 21130 DEBUG + final_path=/var/www/peertube
- 21130 DEBUG + test '!' -e /var/www/peertube
- 21130 DEBUG + ynh_webpath_available liberodark.ynh.fr /
- 21130 DEBUG + local domain=liberodark.ynh.fr
- 21130 DEBUG + local path=/
- 21130 DEBUG + sudo yunohost domain url-available liberodark.ynh.fr /
- 21354 DEBUG False
- 21372 DEBUG + ynh_webpath_register peertube liberodark.ynh.fr /
- 21372 DEBUG + local app=peertube
- 21372 DEBUG + local domain=liberodark.ynh.fr
- 21372 DEBUG + local path=/
- 21372 DEBUG + sudo yunohost app register-url peertube liberodark.ynh.fr /
- 21555 WARNING This url is not available or conflicts with an already installed app
- 21579 DEBUG + ynh_exit_properly
- 21579 DEBUG + local exit_code=22
- 21579 DEBUG + '[' 22 -eq 0 ']'
- 21579 DEBUG + trap '' EXIT
- 21579 DEBUG + set +eu
- 21579 DEBUG + echo -e '!!\n peertube'\''s script has encountered an error. Its execution was cancelled.\n!!'
- 21579 DEBUG + type -t ynh_clean_setup
- 21579 DEBUG + ynh_die
- 21580 DEBUG + echo ''
- 21580 DEBUG + exit 1
- 21580 WARNING !!
- 21580 WARNING peertube's script has encountered an error. Its execution was cancelled.
- 21580 WARNING !!
- 21580 WARNING
- 21683 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'...
- 21701 DEBUG + source _common.sh
- 21702 DEBUG + source /usr/share/yunohost/helpers
- 21702 DEBUG +++ run-parts --list /usr/share/yunohost/helpers.d
- 21707 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21707 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
- 21708 DEBUG ++ . /usr/share/yunohost/helpers.d/backend
- 21708 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21708 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
- 21709 DEBUG ++ . /usr/share/yunohost/helpers.d/filesystem
- 21710 DEBUG +++ CAN_BIND=1
- 21710 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21710 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
- 21710 DEBUG ++ . /usr/share/yunohost/helpers.d/ip
- 21711 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21711 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
- 21711 DEBUG ++ . /usr/share/yunohost/helpers.d/mysql
- 21711 DEBUG +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
- 21712 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21713 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
- 21713 DEBUG ++ . /usr/share/yunohost/helpers.d/network
- 21713 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21714 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
- 21714 DEBUG ++ . /usr/share/yunohost/helpers.d/nodejs
- 21714 DEBUG +++ n_install_dir=/opt/node_n
- 21714 DEBUG +++ node_version_path=/opt/node_n/n/versions/node
- 21715 DEBUG +++ export N_PREFIX=/opt/node_n
- 21716 DEBUG +++ N_PREFIX=/opt/node_n
- 21716 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21716 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
- 21716 DEBUG ++ . /usr/share/yunohost/helpers.d/package
- 21717 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21718 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
- 21718 DEBUG ++ . /usr/share/yunohost/helpers.d/print
- 21718 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21718 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
- 21719 DEBUG ++ . /usr/share/yunohost/helpers.d/psql
- 21720 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21720 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
- 21720 DEBUG ++ . /usr/share/yunohost/helpers.d/setting
- 21720 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21721 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
- 21721 DEBUG ++ . /usr/share/yunohost/helpers.d/string
- 21721 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21722 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
- 21722 DEBUG ++ . /usr/share/yunohost/helpers.d/system
- 21722 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21723 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
- 21723 DEBUG ++ . /usr/share/yunohost/helpers.d/user
- 21724 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
- 21725 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
- 21725 DEBUG ++ . /usr/share/yunohost/helpers.d/utils
- 21726 DEBUG + source psql.sh
- 21726 DEBUG + app=peertube
- 21727 DEBUG ++ ynh_app_setting_get peertube domain
- 21727 DEBUG ++ sudo yunohost app setting peertube domain --output-as plain --quiet
- 21901 DEBUG + domain=
- 21902 DEBUG ++ ynh_app_setting_get peertube port
- 21902 DEBUG ++ sudo yunohost app setting peertube port --output-as plain --quiet
- 22073 DEBUG + port=
- 22073 DEBUG ++ ynh_app_setting_get peertube psql_db
- 22073 DEBUG ++ sudo yunohost app setting peertube psql_db --output-as plain --quiet
- 22242 DEBUG + db_name=
- 22243 DEBUG ++ ynh_app_setting_get peertube final_path
- 22243 DEBUG ++ sudo yunohost app setting peertube final_path --output-as plain --quiet
- 22421 DEBUG + final_path=
- 22421 DEBUG + ynh_remove_systemd_config
- 22422 DEBUG + local service_name=peertube
- 22422 DEBUG + local finalsystemdconf=/etc/systemd/system/peertube.service
- 22422 DEBUG + '[' -e /etc/systemd/system/peertube.service ']'
- 22422 DEBUG + grep -q peertube
- 22423 DEBUG + yunohost service status
- 22709 DEBUG + ynh_remove_app_dependencies
- 22709 DEBUG + local dep_app=peertube
- 22709 DEBUG + ynh_package_autopurge peertube-ynh-deps
- 22709 DEBUG + ynh_apt autoremove --purge peertube-ynh-deps
- 22709 DEBUG + DEBIAN_FRONTEND=noninteractive
- 22709 DEBUG + sudo apt-get -y autoremove --purge peertube-ynh-deps
- 22778 DEBUG Reading package lists...
- 22895 DEBUG Building dependency tree...
- 22896 DEBUG Reading state information...
- 22913 WARNING E: Unable to locate package peertube-ynh-deps
- 22916 DEBUG + ynh_remove_nodejs
- 22916 DEBUG ++ ynh_app_setting_get peertube nodejs_version
- 22917 DEBUG ++ sudo yunohost app setting peertube nodejs_version --output-as plain --quiet
- 23083 DEBUG + nodejs_version=
- 23083 DEBUG + sed --in-place /peertube:/d /opt/node_n/ynh_app_version
- 23084 WARNING sed: can't read /opt/node_n/ynh_app_version: No such file or directory
- 23085 DEBUG + grep --quiet '' /opt/node_n/ynh_app_version
- 23085 WARNING grep: /opt/node_n/ynh_app_version: No such file or directory
- 23086 DEBUG + /opt/node_n/bin/n rm
- 23086 WARNING /usr/share/yunohost/helpers.d/nodejs: line 133: /opt/node_n/bin/n: No such file or directory
- 23088 DEBUG + '[' '!' -s /opt/node_n/ynh_app_version ']'
- 23088 DEBUG + ynh_secure_remove /opt/node_n
- 23088 DEBUG + local path_to_remove=/opt/node_n
- 23089 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
- 23089 DEBUG + [[ /var/www /home/yunohost.app =~ /opt/node_n ]]
- 23089 DEBUG + [[ /opt/node_n =~ ^/[[:alnum:]]+$ ]]
- 23089 DEBUG + [[ n = \/ ]]
- 23089 DEBUG + '[' -e /opt/node_n ']'
- 23089 DEBUG + echo '/opt/node_n wasn'\''t deleted because it doesn'\''t exist.'
- 23089 DEBUG + ynh_secure_remove /usr/local/n
- 23089 DEBUG + local path_to_remove=/usr/local/n
- 23089 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
- 23089 DEBUG + [[ /var/www /home/yunohost.app =~ /usr/local/n ]]
- 23089 DEBUG + [[ /usr/local/n =~ ^/[[:alnum:]]+$ ]]
- 23089 DEBUG + [[ n = \/ ]]
- 23089 DEBUG + '[' -e /usr/local/n ']'
- 23089 DEBUG + echo '/usr/local/n wasn'\''t deleted because it doesn'\''t exist.'
- 23089 DEBUG + ynh_secure_remove /etc/apt/sources.list.d/jessie-backports.list
- 23090 DEBUG + local path_to_remove=/etc/apt/sources.list.d/jessie-backports.list
- 23090 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
- 23090 DEBUG + [[ /var/www /home/yunohost.app =~ /etc/apt/sources\.list\.d/jessie-backports\.list ]]
- 23090 DEBUG + [[ /etc/apt/sources.list.d/jessie-backports.list =~ ^/[[:alnum:]]+$ ]]
- 23090 DEBUG + [[ t = \/ ]]
- 23090 DEBUG + '[' -e /etc/apt/sources.list.d/jessie-backports.list ']'
- 23090 DEBUG + echo '/etc/apt/sources.list.d/jessie-backports.list wasn'\''t deleted because it doesn'\''t exist.'
- 23090 DEBUG + ynh_secure_remove /etc/apt/sources.list.d/yarn.list
- 23090 DEBUG + local path_to_remove=/etc/apt/sources.list.d/yarn.list
- 23090 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
- 23090 DEBUG + [[ /var/www /home/yunohost.app =~ /etc/apt/sources\.list\.d/yarn\.list ]]
- 23090 DEBUG + [[ /etc/apt/sources.list.d/yarn.list =~ ^/[[:alnum:]]+$ ]]
- 23090 DEBUG + [[ t = \/ ]]
- 23090 DEBUG + '[' -e /etc/apt/sources.list.d/yarn.list ']'
- 23090 DEBUG + echo '/etc/apt/sources.list.d/yarn.list wasn'\''t deleted because it doesn'\''t exist.'
- 23091 DEBUG + ynh_psql_remove_db '' peertube
- 23091 DEBUG + db=
- 23091 DEBUG + user=peertube
- 23091 DEBUG + sudo --login --user=postgres dropdb ''
- 23091 WARNING /opt/node_n wasn't deleted because it doesn't exist.
- 23091 WARNING /usr/local/n wasn't deleted because it doesn't exist.
- 23091 WARNING /etc/apt/sources.list.d/jessie-backports.list wasn't deleted because it doesn't exist.
- 23091 WARNING /etc/apt/sources.list.d/yarn.list wasn't deleted because it doesn't exist.
- 23148 WARNING dropdb: missing required argument database name
- 23149 WARNING Try "dropdb --help" for more information.
- 23151 DEBUG + ynh_psql_drop_user peertube
- 23151 DEBUG + user=peertube
- 23151 DEBUG + sudo --login --user=postgres dropuser peertube
- 23198 WARNING dropuser: removal of role "peertube" failed: ERROR: role "peertube" does not exist
- 23200 DEBUG + ynh_secure_remove ''
- 23201 DEBUG + local path_to_remove=
- 23201 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
- 23201 DEBUG + [[ /var/www /home/yunohost.app =~ '' ]]
- 23201 DEBUG + echo 'Avoid deleting .'
- 23201 DEBUG + ynh_secure_remove /home/yunohost.app/peertube
- 23201 DEBUG + local path_to_remove=/home/yunohost.app/peertube
- 23201 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
- 23201 DEBUG + [[ /var/www /home/yunohost.app =~ /home/yunohost\.app/peertube ]]
- 23201 DEBUG + [[ /home/yunohost.app/peertube =~ ^/[[:alnum:]]+$ ]]
- 23201 DEBUG + [[ e = \/ ]]
- 23202 DEBUG + '[' -e /home/yunohost.app/peertube ']'
- 23202 DEBUG + echo '/home/yunohost.app/peertube wasn'\''t deleted because it doesn'\''t exist.'
- 23202 DEBUG + ynh_remove_nginx_config
- 23202 DEBUG + ynh_secure_remove /etc/nginx/conf.d/.d/peertube.conf
- 23202 DEBUG + local path_to_remove=/etc/nginx/conf.d/.d/peertube.conf
- 23202 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
- 23202 DEBUG + [[ /var/www /home/yunohost.app =~ /etc/nginx/conf\.d/\.d/peertube\.conf ]]
- 23202 DEBUG + [[ /etc/nginx/conf.d/.d/peertube.conf =~ ^/[[:alnum:]]+$ ]]
- 23202 DEBUG + [[ f = \/ ]]
- 23202 DEBUG + '[' -e /etc/nginx/conf.d/.d/peertube.conf ']'
- 23202 DEBUG + echo '/etc/nginx/conf.d/.d/peertube.conf wasn'\''t deleted because it doesn'\''t exist.'
- 23203 WARNING Avoid deleting .
- 23203 WARNING /home/yunohost.app/peertube wasn't deleted because it doesn't exist.
- 23203 WARNING /etc/nginx/conf.d/.d/peertube.conf wasn't deleted because it doesn't exist.
- 23203 DEBUG + sudo systemctl reload nginx
- 23296 DEBUG + ynh_remove_logrotate
- 23296 DEBUG + '[' -e /etc/logrotate.d/peertube ']'
- 23297 DEBUG + ynh_secure_remove /var/log/peertube
- 23297 DEBUG + local path_to_remove=/var/log/peertube
- 23297 DEBUG + local 'forbidden_path= /var/www /home/yunohost.app'
- 23297 DEBUG + [[ /var/www /home/yunohost.app =~ /var/log/peertube ]]
- 23297 DEBUG + [[ /var/log/peertube =~ ^/[[:alnum:]]+$ ]]
- 23297 DEBUG + [[ e = \/ ]]
- 23297 DEBUG + '[' -e /var/log/peertube ']'
- 23297 DEBUG + echo '/var/log/peertube wasn'\''t deleted because it doesn'\''t exist.'
- 23297 WARNING /var/log/peertube wasn't deleted because it doesn't exist.
- 23301 DEBUG + yunohost firewall list
- 23301 DEBUG + grep -q '\- $'
- 23487 DEBUG + ynh_system_user_delete peertube
- 23487 DEBUG + ynh_system_user_exists peertube
- 23487 DEBUG + getent passwd peertube
- 23490 DEBUG + echo 'The user peertube was not found'
- 23490 WARNING The user peertube was not found
- 23535 SUCCESS The SSOwat configuration has been generated
- 23536 DEBUG action [8091.1] executed in 23.382s
- 23536 DEBUG lock has been released
- 23536 ERROR Installation failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement