[Temp fix provided] Peertube Fails


#21

I think something wrong
> root@homerc2:~# apt-get purge yarn
> Reading package lists… Done
> Building dependency tree
> Reading state information… Done
> Note, selecting ‘cmdtest’ instead of ‘yarn’
> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> root@homerc2:~# apt-get install yarn
> Reading package lists… Done
> Building dependency tree
> Reading state information… Done
> Note, selecting ‘cmdtest’ instead of ‘yarn’
> cmdtest is already the newest version (0.27-1).
> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> root@homerc2:~# yarn -v
> ERROR: There are no scenarios; must have at least one.


#22

Why is cmdtest there? If I get similar problem from someone else, I may think of removing cmdtest before installing dependencies.

$ apt-get remove cmdtest

Install the app again.


#23

Thanks I try when I can


#24

Same player lose again ^^

> 2018-09-27 15:05:12,037: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/peertube_ynh-npm/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpK3ywi5/stdinfo YNH_APP_INSTANCE_NAME=peertube YNH_APP_ARG_EMAIL=homerc@free.fr YNH_APP_ID=peertube YNH_APP_ARG_DOMAIN=video.iphodase.fr BASH_XTRACEFD=7 /bin/bash -x "./install" video.iphodase.fr homerc@free.fr 1 peertube 7>&1'...
> 2018-09-27 15:05:12,038: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/peertube_ynh-npm/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpK3ywi5/stdinfo YNH_APP_INSTANCE_NAME=peertube YNH_APP_ARG_EMAIL=homerc@free.fr YNH_APP_ID=peertube YNH_APP_ARG_DOMAIN=video.iphodase.fr BASH_XTRACEFD=7 /bin/bash -x "./install" video.iphodase.fr homerc@free.fr 1 peertube 7>&1']'
> 2018-09-27 15:05:12,047: DEBUG - + source _common.sh
> 2018-09-27 15:05:12,048: DEBUG - + source /usr/share/yunohost/helpers
> 2018-09-27 15:05:12,048: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
> 2018-09-27 15:05:12,049: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 15:05:12,049: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
> 2018-09-27 15:05:12,049: DEBUG - ++ . /usr/share/yunohost/helpers.d/backend
> 2018-09-27 15:05:12,049: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 15:05:12,050: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
> 2018-09-27 15:05:12,050: DEBUG - ++ . /usr/share/yunohost/helpers.d/filesystem
> 2018-09-27 15:05:12,050: DEBUG - +++ CAN_BIND=1
> 2018-09-27 15:05:12,050: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 15:05:12,051: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
> 2018-09-27 15:05:12,051: DEBUG - ++ . /usr/share/yunohost/helpers.d/ip
> 2018-09-27 15:05:12,051: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 15:05:12,051: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
> 2018-09-27 15:05:12,052: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
> 2018-09-27 15:05:12,052: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
> 2018-09-27 15:05:12,052: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 15:05:12,052: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
> 2018-09-27 15:05:12,053: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
> 2018-09-27 15:05:12,053: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 15:05:12,053: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
> 2018-09-27 15:05:12,053: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
> 2018-09-27 15:05:12,054: DEBUG - +++ n_install_dir=/opt/node_n
> 2018-09-27 15:05:12,054: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
> 2018-09-27 15:05:12,054: DEBUG - +++ export N_PREFIX=/opt/node_n
> 2018-09-27 15:05:12,054: DEBUG - +++ N_PREFIX=/opt/node_n
> 2018-09-27 15:05:12,055: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 15:05:12,055: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
> 2018-09-27 15:05:12,055: DEBUG - ++ . /usr/share/yunohost/helpers.d/package
> 2018-09-27 15:05:12,055: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 15:05:12,055: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
> 2018-09-27 15:05:12,056: DEBUG - ++ . /usr/share/yunohost/helpers.d/print
> 2018-09-27 15:05:12,056: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 15:05:12,056: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
> 2018-09-27 15:05:12,056: DEBUG - ++ . /usr/share/yunohost/helpers.d/psql
> 2018-09-27 15:05:12,057: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 15:05:12,057: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
> 2018-09-27 15:05:12,057: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
> 2018-09-27 15:05:12,057: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 15:05:12,057: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
> 2018-09-27 15:05:12,058: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
> 2018-09-27 15:05:12,058: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 15:05:12,058: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
> 2018-09-27 15:05:12,058: DEBUG - ++ . /usr/share/yunohost/helpers.d/system
> 2018-09-27 15:05:12,059: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 15:05:12,059: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
> 2018-09-27 15:05:12,059: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
> 2018-09-27 15:05:12,059: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 15:05:12,059: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
> 2018-09-27 15:05:12,059: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
> 2018-09-27 15:05:12,060: DEBUG - + source psql.sh
> 2018-09-27 15:05:12,060: DEBUG - + ynh_abort_if_errors
> 2018-09-27 15:05:12,060: DEBUG - + set -eu
> 2018-09-27 15:05:12,060: DEBUG - + trap ynh_exit_properly EXIT
> 2018-09-27 15:05:12,061: DEBUG - + domain=video.iphodase.fr
> 2018-09-27 15:05:12,061: DEBUG - + path_url=/
> 2018-09-27 15:05:12,061: DEBUG - + admin_email=homerc@free.fr
> 2018-09-27 15:05:12,061: DEBUG - ++ ynh_string_random 24
> 2018-09-27 15:05:12,061: DEBUG - ++ dd if=/dev/urandom bs=1 count=200
> 2018-09-27 15:05:12,062: DEBUG - ++ tr -c -d A-Za-z0-9
> 2018-09-27 15:05:12,062: DEBUG - ++ sed -n 's/\(.\{24\}\).*/\1/p'
> 2018-09-27 15:05:12,062: DEBUG - + admin_pass=3eFi1LYbUWYWaIv6MGh0GfGr
> 2018-09-27 15:05:12,062: DEBUG - + is_public=1
> 2018-09-27 15:05:12,062: DEBUG - + app=peertube
> 2018-09-27 15:05:12,063: DEBUG - + final_path=/var/www/peertube
> 2018-09-27 15:05:12,063: DEBUG - + test '!' -e /var/www/peertube
> 2018-09-27 15:05:12,063: DEBUG - + ynh_webpath_available video.iphodase.fr /
> 2018-09-27 15:05:12,063: DEBUG - + local domain=video.iphodase.fr
> 2018-09-27 15:05:12,063: DEBUG - + local path=/
> 2018-09-27 15:05:12,063: DEBUG - + sudo yunohost domain url-available video.iphodase.fr /
> 2018-09-27 15:05:12,364: DEBUG - True
> 2018-09-27 15:05:12,365: DEBUG - + ynh_webpath_register peertube video.iphodase.fr /
> 2018-09-27 15:05:12,365: DEBUG - + local app=peertube
> 2018-09-27 15:05:12,366: DEBUG - + local domain=video.iphodase.fr
> 2018-09-27 15:05:12,366: DEBUG - + local path=/
> 2018-09-27 15:05:12,366: DEBUG - + sudo yunohost app register-url peertube video.iphodase.fr /
> 2018-09-27 15:05:12,767: DEBUG - + ynh_app_setting_set peertube domain video.iphodase.fr
> 2018-09-27 15:05:12,768: DEBUG - + sudo yunohost app setting peertube domain --value=video.iphodase.fr --quiet
> 2018-09-27 15:05:12,968: DEBUG - + ynh_app_setting_set peertube admin_email homerc@free.fr
> 2018-09-27 15:05:12,969: DEBUG - + sudo yunohost app setting peertube admin_email --value=homerc@free.fr --quiet
> 2018-09-27 15:05:13,270: DEBUG - + ynh_app_setting_set peertube admin_pass 3eFi1LYbUWYWaIv6MGh0GfGr
> 2018-09-27 15:05:13,270: DEBUG - + sudo yunohost app setting peertube admin_pass --value=3eFi1LYbUWYWaIv6MGh0GfGr --quiet
> 2018-09-27 15:05:13,471: DEBUG - + ynh_app_setting_set peertube is_public 1
> 2018-09-27 15:05:13,471: DEBUG - + sudo yunohost app setting peertube is_public --value=1 --quiet
> 2018-09-27 15:05:13,772: DEBUG - ++ ynh_find_port 9000
> 2018-09-27 15:05:13,772: DEBUG - ++ local port=9000
> 2018-09-27 15:05:13,772: DEBUG - ++ test -n 9000
> 2018-09-27 15:05:13,773: DEBUG - ++ netcat -z 127.0.0.1 9000
> 2018-09-27 15:05:13,773: DEBUG - ++ echo 9000
> 2018-09-27 15:05:13,773: DEBUG - + port=9000
> 2018-09-27 15:05:13,773: DEBUG - + yunohost firewall allow Both 9000
> 2018-09-27 15:05:23,699: DEBUG - The firewall has been reloaded
> 2018-09-27 15:05:23,699: DEBUG - opened_ports:
> 2018-09-27 15:05:23,699: DEBUG -   - 22
> 2018-09-27 15:05:23,700: DEBUG -   - 25
> 2018-09-27 15:05:23,700: DEBUG -   - 53
> 2018-09-27 15:05:23,700: DEBUG -   - 80
> 2018-09-27 15:05:23,701: DEBUG -   - 443
> 2018-09-27 15:05:23,701: DEBUG -   - 587
> 2018-09-27 15:05:23,701: DEBUG -   - 993
> 2018-09-27 15:05:23,702: DEBUG -   - 5222
> 2018-09-27 15:05:23,702: DEBUG -   - 5269
> 2018-09-27 15:05:23,703: DEBUG -   - 5353
> 2018-09-27 15:05:23,703: DEBUG -   - 9000
> 2018-09-27 15:05:23,703: DEBUG - + ynh_app_setting_set peertube port 9000
> 2018-09-27 15:05:23,703: DEBUG - + sudo yunohost app setting peertube port --value=9000 --quiet
> 2018-09-27 15:05:24,004: DEBUG - + datadir=/home/yunohost.app/peertube/storage
> 2018-09-27 15:05:24,005: WARNING - Installation of N - Node.js version management
> 2018-09-27 15:05:24,005: DEBUG - + mkdir -p /home/yunohost.app/peertube/storage
> 2018-09-27 15:05:24,005: DEBUG - + ynh_install_nodejs 8
> 2018-09-27 15:05:24,005: DEBUG - + nodejs_version=8
> 2018-09-27 15:05:24,005: DEBUG - + mkdir -p /opt/node_n
> 2018-09-27 15:05:24,006: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> 2018-09-27 15:05:24,006: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> 2018-09-27 15:05:24,006: DEBUG - ++ sed s@/usr/local/bin:@@
> 2018-09-27 15:05:24,006: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
> 2018-09-27 15:05:24,007: DEBUG - + test -x /usr/bin/node
> 2018-09-27 15:05:24,007: DEBUG - + test -x /usr/bin/npm
> 2018-09-27 15:05:24,007: DEBUG - ++ n --version
> 2018-09-27 15:05:24,007: DEBUG - + test
> 2018-09-27 15:05:24,008: DEBUG - + ynh_install_n
> 2018-09-27 15:05:24,008: DEBUG - + echo 'Installation of N - Node.js version management'
> 2018-09-27 15:05:24,008: DEBUG - + mkdir -p ../conf
> 2018-09-27 15:05:24,009: DEBUG - + echo 'SOURCE_URL=https://github.com/tj/n/archive/v2.1.7.tar.gz
> 2018-09-27 15:05:24,009: DEBUG - SOURCE_SUM=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f'
> 2018-09-27 15:05:24,009: DEBUG - + ynh_setup_source /opt/node_n/git n
> 2018-09-27 15:05:24,009: DEBUG - + local dest_dir=/opt/node_n/git
> 2018-09-27 15:05:24,010: DEBUG - + local src_id=n
> 2018-09-27 15:05:24,010: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/n.src
> 2018-09-27 15:05:24,010: DEBUG - ++ cut -d= -f2-
> 2018-09-27 15:05:24,011: DEBUG - + local src_url=https://github.com/tj/n/archive/v2.1.7.tar.gz
> 2018-09-27 15:05:24,011: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/n.src
> 2018-09-27 15:05:24,011: DEBUG - ++ cut -d= -f2-
> 2018-09-27 15:05:24,011: DEBUG - + local src_sum=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f
> 2018-09-27 15:05:24,012: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/n.src
> 2018-09-27 15:05:24,012: DEBUG - ++ cut -d= -f2-
> 2018-09-27 15:05:24,012: DEBUG - + local src_sumprg=
> 2018-09-27 15:05:24,013: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/n.src
> 2018-09-27 15:05:24,013: DEBUG - ++ cut -d= -f2-
> 2018-09-27 15:05:24,013: DEBUG - + local src_format=
> 2018-09-27 15:05:24,013: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/n.src
> 2018-09-27 15:05:24,014: DEBUG - ++ cut -d= -f2-
> 2018-09-27 15:05:24,014: DEBUG - + local src_extract=
> 2018-09-27 15:05:24,014: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/n.src
> 2018-09-27 15:05:24,015: DEBUG - ++ cut -d= -f2-
> 2018-09-27 15:05:24,015: DEBUG - + local src_in_subdir=
> 2018-09-27 15:05:24,015: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/n.src
> 2018-09-27 15:05:24,015: DEBUG - ++ cut -d= -f2-
> 2018-09-27 15:05:24,016: DEBUG - + local src_filename=
> 2018-09-27 15:05:24,016: DEBUG - + src_sumprg=sha256sum
> 2018-09-27 15:05:24,016: DEBUG - + src_in_subdir=true
> 2018-09-27 15:05:24,016: DEBUG - + src_format=tar.gz
> 2018-09-27 15:05:24,017: DEBUG - ++ echo tar.gz
> 2018-09-27 15:05:24,017: DEBUG - ++ tr '[:upper:]' '[:lower:]'
> 2018-09-27 15:05:24,017: DEBUG - + src_format=tar.gz
> 2018-09-27 15:05:24,018: DEBUG - + src_extract=true
> 2018-09-27 15:05:24,018: DEBUG - + '[' '' = '' ']'
> 2018-09-27 15:05:24,018: DEBUG - + src_filename=n.tar.gz
> 2018-09-27 15:05:24,018: DEBUG - + local local_src=/opt/yunohost-apps-src/peertube/n.tar.gz
> 2018-09-27 15:05:24,018: DEBUG - + test -e /opt/yunohost-apps-src/peertube/n.tar.gz
> 2018-09-27 15:05:24,019: DEBUG - + wget -nv -O n.tar.gz https://github.com/tj/n/archive/v2.1.7.tar.gz
> 2018-09-27 15:05:24,821: DEBUG - + echo '2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f n.tar.gz'
> 2018-09-27 15:05:24,821: WARNING - 2018-09-27 15:05:24 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> "n.tar.gz" [1]
> 2018-09-27 15:05:24,822: DEBUG - + sha256sum -c --status
> 2018-09-27 15:05:24,822: DEBUG - + mkdir -p /opt/node_n/git
> 2018-09-27 15:05:24,822: DEBUG - + true
> 2018-09-27 15:05:24,823: DEBUG - + '[' tar.gz = zip ']'
> 2018-09-27 15:05:24,823: DEBUG - + local strip=
> 2018-09-27 15:05:24,824: DEBUG - + true
> 2018-09-27 15:05:24,824: DEBUG - + strip='--strip-components 1'
> 2018-09-27 15:05:24,824: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
> 2018-09-27 15:05:24,824: DEBUG - + tar -xf n.tar.gz -C /opt/node_n/git --strip-components 1
> 2018-09-27 15:05:24,825: DEBUG - ++ find /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../sources/patches/ -type f -name 'n-*.patch'
> 2018-09-27 15:05:24,825: DEBUG - ++ wc -l
> 2018-09-27 15:05:24,825: DEBUG - + ((  0 > 0  ))
> 2018-09-27 15:05:24,826: DEBUG - + test -e /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../sources/extra_files/n
> 2018-09-27 15:05:24,826: DEBUG - + cd /opt/node_n/git
> 2018-09-27 15:05:24,826: DEBUG - + PREFIX=/opt/node_n
> 2018-09-27 15:05:24,827: DEBUG - + make install
> 2018-09-27 15:05:24,827: DEBUG - mkdir -p /opt/node_n/bin/
> 2018-09-27 15:05:24,827: DEBUG - cp bin/n /opt/node_n/bin/n
> 2018-09-27 15:05:24,827: DEBUG - + ynh_replace_string '^N_PREFIX=${N_PREFIX-.*}$' 'N_PREFIX=${N_PREFIX-/opt/node_n}' /opt/node_n/bin/n
> 2018-09-27 15:05:24,828: DEBUG - + local delimit=@
> 2018-09-27 15:05:24,828: DEBUG - + local 'match_string=^N_PREFIX=${N_PREFIX-.*}$'
> 2018-09-27 15:05:24,828: DEBUG - + local 'replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}'
> 2018-09-27 15:05:24,828: DEBUG - + local workfile=/opt/node_n/bin/n
> 2018-09-27 15:05:24,829: DEBUG - + match_string='^N_PREFIX=${N_PREFIX-.*}$'
> 2018-09-27 15:05:24,829: DEBUG - + replace_string='N_PREFIX=${N_PREFIX-/opt/node_n}'
> 2018-09-27 15:05:24,829: DEBUG - + sudo sed --in-place 's@^N_PREFIX=${N_PREFIX-.*}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n
> 2018-09-27 15:05:24,829: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> 2018-09-27 15:05:24,829: DEBUG - + test -x /usr/bin/node_n
> 2018-09-27 15:05:24,830: DEBUG - + test -x /usr/bin/npm_n
> 2018-09-27 15:05:24,830: DEBUG - + n 8
> 2018-09-27 15:05:25,031: DEBUG - ++ find /opt/node_n/n/versions/node/8 /opt/node_n/n/versions/node/8.12.0 -maxdepth 0
> 2018-09-27 15:05:25,031: DEBUG - ++ sort --version-sort
> 2018-09-27 15:05:25,032: DEBUG - ++ tail --lines=1
> 2018-09-27 15:05:25,032: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/8.12.0
> 2018-09-27 15:05:25,032: DEBUG - ++ basename /opt/node_n/n/versions/node/8.12.0
> 2018-09-27 15:05:25,033: DEBUG - + real_nodejs_version=8.12.0
> 2018-09-27 15:05:25,033: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/8 ']'
> 2018-09-27 15:05:25,033: DEBUG - + echo peertube:8
> 2018-09-27 15:05:25,034: DEBUG - + tee --append /opt/node_n/ynh_app_version
> 2018-09-27 15:05:25,034: DEBUG - peertube:8
> 2018-09-27 15:05:25,034: DEBUG - + ynh_app_setting_set peertube nodejs_version 8
> 2018-09-27 15:05:25,034: DEBUG - + sudo yunohost app setting peertube nodejs_version --value=8 --quiet
> 2018-09-27 15:05:25,335: DEBUG - + ynh_cron_upgrade_node
> 2018-09-27 15:05:25,335: DEBUG - + cat
> 2018-09-27 15:05:25,336: DEBUG - + chmod +x /opt/node_n/node_update.sh
> 2018-09-27 15:05:25,336: DEBUG - + cat
> 2018-09-27 15:05:25,336: DEBUG - + chmod +x /etc/cron.daily/node_update
> 2018-09-27 15:05:25,336: DEBUG - + ynh_use_nodejs
> 2018-09-27 15:05:25,336: DEBUG - ++ ynh_app_setting_get peertube nodejs_version
> 2018-09-27 15:05:25,337: DEBUG - ++ sudo yunohost app setting peertube nodejs_version --output-as plain --quiet
> 2018-09-27 15:05:25,637: DEBUG - + nodejs_version=8
> 2018-09-27 15:05:25,638: DEBUG - + nodejs_use_version='echo "Deprecated command, should be removed"'
> 2018-09-27 15:05:25,638: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/8/bin
> 2018-09-27 15:05:25,638: 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-27 15:05:25,638: 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-27 15:05:25,639: DEBUG - ++ lsb_release --codename --short
> 2018-09-27 15:05:25,639: DEBUG - + '[' stretch == jessie ']'
> 2018-09-27 15:05:25,639: DEBUG - + curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg
> 2018-09-27 15:05:25,639: DEBUG - + apt-key add -
> 2018-09-27 15:05:25,740: WARNING - Warning: apt-key output should not be parsed (stdout is not a terminal)
> 2018-09-27 15:05:26,141: DEBUG - OK
> 2018-09-27 15:05:26,141: DEBUG - + echo 'deb https://dl.yarnpkg.com/debian/ stable main'
> 2018-09-27 15:05:26,141: DEBUG - + tee /etc/apt/sources.list.d/yarn.list
> 2018-09-27 15:05:26,142: DEBUG - deb https://dl.yarnpkg.com/debian/ stable main
> 2018-09-27 15:05:26,142: DEBUG - + ynh_package_update
> 2018-09-27 15:05:26,142: DEBUG - + ynh_apt update
> 2018-09-27 15:05:26,142: DEBUG - + DEBIAN_FRONTEND=noninteractive
> 2018-09-27 15:05:26,143: DEBUG - + sudo apt-get -y update
> 2018-09-27 15:05:26,343: DEBUG - Ign:1 http://debian.mirrors.ovh.net/debian stretch InRelease
> 2018-09-27 15:05:26,344: DEBUG - Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
> 2018-09-27 15:05:26,344: DEBUG - Get:3 http://debian.mirrors.ovh.net/debian stretch-updates InRelease
> 2018-09-27 15:05:26,344: DEBUG - Get:4 http://debian.mirrors.ovh.net/debian stretch Release [118 kB]
> 2018-09-27 15:05:26,345: DEBUG - Hit:5 http://forge.yunohost.org/debian stretch InRelease
> 2018-09-27 15:05:26,445: DEBUG - Get:6 https://dl.yarnpkg.com/debian stable InRelease [13.3 kB]
> 2018-09-27 15:05:27,147: DEBUG - Get:8 https://dl.yarnpkg.com/debian stable/main amd64 Packages [7,905 B]
> 2018-09-27 15:05:27,248: DEBUG - Get:9 https://dl.yarnpkg.com/debian stable/main all Packages [7,905 B]
> 2018-09-27 15:05:27,248: DEBUG - Fetched 238 kB in 0s (254 kB/s)
> 2018-09-27 15:05:27,950: DEBUG - Reading package lists...
> 2018-09-27 15:05:28,050: DEBUG - + ynh_install_app_dependencies postgresql postgresql-contrib openssl g++ ffmpeg redis-server redis-tools mailutils yarn apt-transport-https
> 2018-09-27 15:05:28,051: DEBUG - + local 'dependencies=postgresql postgresql-contrib openssl g++ ffmpeg redis-server redis-tools mailutils yarn apt-transport-https'
> 2018-09-27 15:05:28,051: DEBUG - + local 'dependencies=postgresql, postgresql-contrib, openssl, g++, ffmpeg, redis-server, redis-tools, mailutils, yarn, apt-transport-https'
> 2018-09-27 15:05:28,051: DEBUG - + local 'dependencies=postgresql, postgresql-contrib, openssl, g++, ffmpeg, redis-server, redis-tools, mailutils, yarn, apt-transport-https'
> 2018-09-27 15:05:28,051: DEBUG - + local manifest_path=../manifest.json
> 2018-09-27 15:05:28,051: DEBUG - + '[' '!' -e ../manifest.json ']'
> 2018-09-27 15:05:28,052: DEBUG - ++ grep '\"version\": ' ../manifest.json
> 2018-09-27 15:05:28,052: DEBUG - ++ cut -d '"' -f 4
> 2018-09-27 15:05:28,052: DEBUG - + local version=1.0.0-beta.13
> 2018-09-27 15:05:28,052: DEBUG - + '[' 13 -eq 0 ']'
> 2018-09-27 15:05:28,052: DEBUG - + local dep_app=peertube
> 2018-09-27 15:05:28,053: DEBUG - + cat
> 2018-09-27 15:05:28,053: DEBUG - + ynh_package_install_from_equivs /tmp/peertube-ynh-deps.control
> 2018-09-27 15:05:28,053: DEBUG - + local controlfile=/tmp/peertube-ynh-deps.control
> 2018-09-27 15:05:28,053: DEBUG - ++ grep '^Package: ' /tmp/peertube-ynh-deps.control
> 2018-09-27 15:05:28,053: DEBUG - ++ cut '-d ' -f 2
> 2018-09-27 15:05:28,054: DEBUG - + local pkgname=peertube-ynh-deps
> 2018-09-27 15:05:28,054: DEBUG - ++ grep '^Version: ' /tmp/peertube-ynh-deps.control
> 2018-09-27 15:05:28,054: DEBUG - ++ cut '-d ' -f 2
> 2018-09-27 15:05:28,054: DEBUG - + local pkgversion=1.0.0-beta.13
> 2018-09-27 15:05:28,054: DEBUG - + [[ -z peertube-ynh-deps ]]
> 2018-09-27 15:05:28,055: DEBUG - + [[ -z 1.0.0-beta.13 ]]
> 2018-09-27 15:05:28,055: DEBUG - + ynh_package_update
> 2018-09-27 15:05:28,055: DEBUG - + ynh_apt update
> 2018-09-27 15:05:28,055: DEBUG - + DEBIAN_FRONTEND=noninteractive
> 2018-09-27 15:05:28,055: DEBUG - + sudo apt-get -y update
> 2018-09-27 15:05:28,156: DEBUG - Ign:1 http://debian.mirrors.ovh.net/debian stretch InRelease
> 2018-09-27 15:05:28,156: DEBUG - Get:2 http://debian.mirrors.ovh.net/debian stretch-updates InRelease [91.0 kB]
> 2018-09-27 15:05:28,156: DEBUG - Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
> 2018-09-27 15:05:28,156: DEBUG - Get:4 http://debian.mirrors.ovh.net/debian stretch Release [118 kB]
> 2018-09-27 15:05:28,157: DEBUG - Hit:5 http://forge.yunohost.org/debian stretch InRelease
> 2018-09-27 15:05:28,257: DEBUG - Hit:6 https://dl.yarnpkg.com/debian stable InRelease
> 2018-09-27 15:05:29,059: DEBUG - Fetched 209 kB in 0s (247 kB/s)
> 2018-09-27 15:05:29,761: DEBUG - Reading package lists...
> 2018-09-27 15:05:29,761: DEBUG - ++ mktemp -d
> 2018-09-27 15:05:29,762: DEBUG - + local TMPDIR=/tmp/tmp.3tBji1qx55
> 2018-09-27 15:05:29,762: DEBUG - + echo 10
> 2018-09-27 15:05:29,762: DEBUG - + cp /tmp/peertube-ynh-deps.control /tmp/tmp.3tBji1qx55/control
> 2018-09-27 15:05:29,762: DEBUG - + cd /tmp/tmp.3tBji1qx55
> 2018-09-27 15:05:29,762: DEBUG - + equivs-build ./control
> 2018-09-27 15:05:30,665: DEBUG - + sudo dpkg --force-depends -i ./peertube-ynh-deps_1.0.0-beta.13_all.deb
> 2018-09-27 15:05:30,765: DEBUG - Selecting previously unselected package peertube-ynh-deps.
> 2018-09-27 15:05:30,766: DEBUG - (Reading database ... 42934 files and directories currently installed.)
> 2018-09-27 15:05:30,766: DEBUG - Preparing to unpack .../peertube-ynh-deps_1.0.0-beta.13_all.deb ...
> 2018-09-27 15:05:30,767: DEBUG - Unpacking peertube-ynh-deps (1.0.0-beta.13) ...
> 2018-09-27 15:05:30,967: DEBUG - dpkg: peertube-ynh-deps: dependency problems, but configuring anyway as you requested:
> 2018-09-27 15:05:30,968: DEBUG -  peertube-ynh-deps depends on postgresql; however:
> 2018-09-27 15:05:30,968: DEBUG -   Package postgresql is not installed.
> 2018-09-27 15:05:30,969: DEBUG -  peertube-ynh-deps depends on ffmpeg; however:
> 2018-09-27 15:05:30,969: DEBUG -   Package ffmpeg is not installed.
> 2018-09-27 15:05:30,969: DEBUG - 
> 2018-09-27 15:05:30,970: DEBUG - Setting up peertube-ynh-deps (1.0.0-beta.13) ...
> 2018-09-27 15:05:31,171: DEBUG - + ynh_package_install -f
> 2018-09-27 15:05:31,171: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
> 2018-09-27 15:05:31,171: DEBUG - + DEBIAN_FRONTEND=noninteractive
> 2018-09-27 15:05:31,171: DEBUG - + sudo apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
> 2018-09-27 15:05:31,372: DEBUG - Reading package lists...
> 2018-09-27 15:05:31,473: DEBUG - Building dependency tree...
> 2018-09-27 15:05:31,473: DEBUG - Reading state information...
> 2018-09-27 15:05:31,573: DEBUG - Correcting dependencies... Done
> 2018-09-27 15:05:31,674: DEBUG - The following additional packages will be installed:
> 2018-09-27 15:05:31,674: DEBUG -   ffmpeg libasound2 libasound2-data libass5 libasyncns0 libavc1394-0
> 2018-09-27 15:05:31,674: DEBUG -   libavcodec57 libavdevice57 libavfilter6 libavformat57 libavresample3
> 2018-09-27 15:05:31,675: DEBUG -   libavutil55 libbluray1 libbs2b0 libcaca0 libcairo2 libcdio-cdda1
> 2018-09-27 15:05:31,675: DEBUG -   libcdio-paranoia1 libcdio13 libchromaprint1 libcrystalhd3 libdc1394-22
> 2018-09-27 15:05:31,675: DEBUG -   libdrm2 libebur128-1 libegl1-mesa libfftw3-double3 libflac8 libflite1
> 2018-09-27 15:05:31,675: DEBUG -   libgbm1 libgl1-mesa-glx libglapi-mesa libgme0 libgraphite2-3 libgsm1
> 2018-09-27 15:05:31,675: DEBUG -   libharfbuzz0b libice6 libiec61883-0 libjack-jackd2-0 libmp3lame0 libmpg123-0
> 2018-09-27 15:05:31,676: DEBUG -   libogg0 libopenal-data libopenal1 libopencv-core2.4v5 libopencv-imgproc2.4v5
> 2018-09-27 15:05:31,676: DEBUG -   libopenjp2-7 libopenmpt0 libopus0 libpgm-5.2-0 libpixman-1-0 libpostproc54
> 2018-09-27 15:05:31,676: DEBUG -   libpulse0 libraw1394-11 librubberband2 libsamplerate0 libsdl2-2.0-0
> 2018-09-27 15:05:31,676: DEBUG -   libshine3 libsm6 libsnappy1v5 libsndfile1 libsndio6.1 libsodium18 libsoxr0
> 2018-09-27 15:05:31,676: DEBUG -   libspeex1 libssh-gcrypt-4 libswresample2 libswscale4 libtbb2 libtheora0
> 2018-09-27 15:05:31,676: DEBUG -   libtwolame0 libusb-1.0-0 libva-drm1 libva-x11-1 libva1 libvdpau1 libvorbis0a
> 2018-09-27 15:05:31,677: DEBUG -   libvorbisenc2 libvorbisfile3 libvpx4 libwavpack1 libwayland-client0
> 2018-09-27 15:05:31,677: DEBUG -   libwayland-cursor0 libwayland-egl1-mesa libwayland-server0 libwebpmux2
> 2018-09-27 15:05:31,677: DEBUG -   libx11-xcb1 libx264-148 libx265-95 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
> 2018-09-27 15:05:31,677: DEBUG -   libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1
> 2018-09-27 15:05:31,677: DEBUG -   libxcb-xfixes0 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6
> 2018-09-27 15:05:31,678: DEBUG -   libxinerama1 libxkbcommon0 libxrandr2 libxrender1 libxshmfence1 libxss1
> 2018-09-27 15:05:31,678: DEBUG -   libxtst6 libxv1 libxvidcore4 libxxf86vm1 libzmq5 libzvbi-common libzvbi0
> 2018-09-27 15:05:31,678: DEBUG -   postgresql x11-common
> 2018-09-27 15:05:31,678: DEBUG - Suggested packages:
> 2018-09-27 15:05:31,678: DEBUG -   ffmpeg-doc libasound2-plugins alsa-utils libbluray-bdj firmware-crystalhd
> 2018-09-27 15:05:31,679: DEBUG -   libfftw3-bin libfftw3-dev alsa-base jackd2 libportaudio2 opus-tools
> 2018-09-27 15:05:31,679: DEBUG -   pulseaudio libraw1394-doc sndiod speex postgresql-doc
> 2018-09-27 15:05:31,679: DEBUG - Recommended packages:
> 2018-09-27 15:05:31,679: DEBUG -   libaacs0 libgl1-mesa-dri va-driver-all | va-driver vdpau-driver-all
> 2018-09-27 15:05:31,679: DEBUG -   | vdpau-driver
> 2018-09-27 15:05:31,680: DEBUG - The following NEW packages will be installed:
> 2018-09-27 15:05:31,680: DEBUG -   ffmpeg libasound2 libasound2-data libass5 libasyncns0 libavc1394-0
> 2018-09-27 15:05:31,680: DEBUG -   libavcodec57 libavdevice57 libavfilter6 libavformat57 libavresample3
> 2018-09-27 15:05:31,680: DEBUG -   libavutil55 libbluray1 libbs2b0 libcaca0 libcairo2 libcdio-cdda1
> 2018-09-27 15:05:31,680: DEBUG -   libcdio-paranoia1 libcdio13 libchromaprint1 libcrystalhd3 libdc1394-22
> 2018-09-27 15:05:31,680: DEBUG -   libdrm2 libebur128-1 libegl1-mesa libfftw3-double3 libflac8 libflite1
> 2018-09-27 15:05:31,681: DEBUG -   libgbm1 libgl1-mesa-glx libglapi-mesa libgme0 libgraphite2-3 libgsm1
> 2018-09-27 15:05:31,681: DEBUG -   libharfbuzz0b libice6 libiec61883-0 libjack-jackd2-0 libmp3lame0 libmpg123-0
> 2018-09-27 15:05:31,681: DEBUG -   libogg0 libopenal-data libopenal1 libopencv-core2.4v5 libopencv-imgproc2.4v5
> 2018-09-27 15:05:31,681: DEBUG -   libopenjp2-7 libopenmpt0 libopus0 libpgm-5.2-0 libpixman-1-0 libpostproc54
> 2018-09-27 15:05:31,681: DEBUG -   libpulse0 libraw1394-11 librubberband2 libsamplerate0 libsdl2-2.0-0
> 2018-09-27 15:05:31,682: DEBUG -   libshine3 libsm6 libsnappy1v5 libsndfile1 libsndio6.1 libsodium18 libsoxr0
> 2018-09-27 15:05:31,682: DEBUG -   libspeex1 libssh-gcrypt-4 libswresample2 libswscale4 libtbb2 libtheora0
> 2018-09-27 15:05:31,682: DEBUG -   libtwolame0 libusb-1.0-0 libva-drm1 libva-x11-1 libva1 libvdpau1 libvorbis0a
> 2018-09-27 15:05:31,682: DEBUG -   libvorbisenc2 libvorbisfile3 libvpx4 libwavpack1 libwayland-client0
> 2018-09-27 15:05:31,682: DEBUG -   libwayland-cursor0 libwayland-egl1-mesa libwayland-server0 libwebpmux2
> 2018-09-27 15:05:31,683: DEBUG -   libx11-xcb1 libx264-148 libx265-95 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
> 2018-09-27 15:05:31,683: DEBUG -   libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1
> 2018-09-27 15:05:31,683: DEBUG -   libxcb-xfixes0 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6
> 2018-09-27 15:05:31,683: DEBUG -   libxinerama1 libxkbcommon0 libxrandr2 libxrender1 libxshmfence1 libxss1
> 2018-09-27 15:05:31,683: DEBUG -   libxtst6 libxv1 libxvidcore4 libxxf86vm1 libzmq5 libzvbi-common libzvbi0
> 2018-09-27 15:05:31,684: DEBUG -   postgresql x11-common
> 2018-09-27 15:05:31,985: WARNING - N: Ignoring file 'yarn.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
> 2018-09-27 15:05:32,185: WARNING - 
> Extracting templates from packages: 25%N: Ignoring file 'yarn.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
> 2018-09-27 15:05:32,286: WARNING - 
> Extracting templates from packages: 51%N: Ignoring file 'yarn.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
> 2018-09-27 15:05:32,386: DEBUG - 0 upgraded, 117 newly installed, 0 to remove and 1 not upgraded.
> 2018-09-27 15:05:32,387: WARNING - 
> Extracting templates from packages: 76%N: Ignoring file 'yarn.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
> 2018-09-27 15:05:32,387: DEBUG - Need to get 0 B/39.0 MB of archives.
> 2018-09-27 15:05:32,387: WARNING - 
> Extracting templates from packages: 100%
> 2018-09-27 15:05:32,388: DEBUG - After this operation, 104 MB of additional disk space will be used.
> 2018-09-27 15:05:32,589: DEBUG - Selecting previously unselected package libogg0:amd64.
> 2018-09-27 15:05:32,589: DEBUG - (Reading database ... 
> (Reading database ... 5%
> (Reading database ... 10%
> (Reading database ... 15%
> (Reading database ... 20%
> (Reading database ... 25%
> (Reading database ... 30%
> (Reading database ... 35%
> (Reading database ... 40%
> (Reading database ... 45%
> (Reading database ... 50%
> (Reading database ... 55%
> (Reading database ... 60%
> (Reading database ... 65%
> (Reading database ... 70%
> (Reading database ... 75%
> (Reading database ... 80%
> (Reading database ... 85%
> (Reading database ... 90%
> (Reading database ... 95%
> (Reading database ... 100%
> (Reading database ... 42938 files and directories currently installed.)
> 2018-09-27 15:05:32,590: DEBUG - Preparing to unpack .../000-libogg0_1.3.2-1_amd64.deb ...
> 2018-09-27 15:05:32,690: DEBUG - Unpacking libogg0:amd64 (1.3.2-1) ...
> 2018-09-27 15:05:32,891: DEBUG - Selecting previously unselected package libxext6:amd64.
> 2018-09-27 15:05:32,992: DEBUG - Preparing to unpack .../001-libxext6_2%3a1.3.3-1+b2_amd64.deb ...
> 2018-09-27 15:05:32,992: DEBUG - Unpacking libxext6:amd64 (2:1.3.3-1+b2) ...
> 2018-09-27 15:05:33,394: DEBUG - Selecting previously unselected package x11-common.
> 2018-09-27 15:05:33,394: DEBUG - Preparing to unpack .../002-x11-common_1%3a7.7+19_all.deb ...
> 2018-09-27 15:05:33,395: DEBUG - Unpacking x11-common (1:7.7+19) ...
> 2018-09-27 15:05:33,796: DEBUG - Selecting previously unselected package libxss1:amd64.
> 2018-09-27 15:05:33,797: DEBUG - Preparing to unpack .../003-libxss1_1%3a1.2.2-1_amd64.deb ...
> 2018-09-27 15:05:33,797: DEBUG - Unpacking libxss1:amd64 (1:1.2.2-1) ...
> 2018-09-27 15:05:34,098: DEBUG - Selecting previously unselected package libdrm2:amd64.
> 2018-09-27 15:05:34,099: DEBUG - Preparing to unpack .../004-libdrm2_2.4.74-1_amd64.deb ...
> 2018-09-27 15:05:34,199: DEBUG - Unpacking libdrm2:amd64 (2.4.74-1) ...
> 2018-09-27 15:05:34,500: DEBUG - Selecting previously unselected package libva1:amd64.
> 2018-09-27 15:05:34,501: DEBUG - Preparing to unpack .../005-libva1_1.7.3-2_amd64.deb ...
> 2018-09-27 15:05:34,501: DEBUG - Unpacking libva1:amd64 (1.7.3-2) ...
> 2018-09-27 15:05:34,803: DEBUG - Selecting previously unselected package libva-drm1:amd64.
> 2018-09-27 15:05:34,803: DEBUG - Preparing to unpack .../006-libva-drm1_1.7.3-2_amd64.deb ...
> 2018-09-27 15:05:34,803: DEBUG - Unpacking libva-drm1:amd64 (1.7.3-2) ...
> 2018-09-27 15:05:35,105: DEBUG - Selecting previously unselected package libxfixes3:amd64.
> 2018-09-27 15:05:35,105: DEBUG - Preparing to unpack .../007-libxfixes3_1%3a5.0.3-1_amd64.deb ...
> 2018-09-27 15:05:35,105: DEBUG - Unpacking libxfixes3:amd64 (1:5.0.3-1) ...
> 2018-09-27 15:05:35,507: DEBUG - Selecting previously unselected package libva-x11-1:amd64.
> 2018-09-27 15:05:35,507: DEBUG - Preparing to unpack .../008-libva-x11-1_1.7.3-2_amd64.deb ...
> 2018-09-27 15:05:35,507: DEBUG - Unpacking libva-x11-1:amd64 (1.7.3-2) ...
> 2018-09-27 15:05:35,808: DEBUG - Selecting previously unselected package libvdpau1:amd64.
> 2018-09-27 15:05:35,809: DEBUG - Preparing to unpack .../009-libvdpau1_1.1.1-6_amd64.deb ...
> 2018-09-27 15:05:35,809: DEBUG - Unpacking libvdpau1:amd64 (1.1.1-6) ...
> 2018-09-27 15:05:36,110: DEBUG - Selecting previously unselected package libavutil55:amd64.
> 2018-09-27 15:05:36,111: DEBUG - Preparing to unpack .../010-libavutil55_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 15:05:36,211: DEBUG - Unpacking libavutil55:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:05:36,513: DEBUG - Selecting previously unselected package libcrystalhd3:amd64.
> 2018-09-27 15:05:36,513: DEBUG - Preparing to unpack .../011-libcrystalhd3_1%3a0.0~git20110715.fdd2f19-12_amd64.deb ...
> 2018-09-27 15:05:36,614: DEBUG - Unpacking libcrystalhd3:amd64 (1:0.0~git20110715.fdd2f19-12) ...
> 2018-09-27 15:05:36,815: DEBUG - Selecting previously unselected package libgsm1:amd64.
> 2018-09-27 15:05:36,915: DEBUG - Preparing to unpack .../012-libgsm1_1.0.13-4+b2_amd64.deb ...
> 2018-09-27 15:05:36,916: DEBUG - Unpacking libgsm1:amd64 (1.0.13-4+b2) ...
> 2018-09-27 15:05:37,217: DEBUG - Selecting previously unselected package libmp3lame0:amd64.
> 2018-09-27 15:05:37,217: DEBUG - Preparing to unpack .../013-libmp3lame0_3.99.5+repack1-9+b2_amd64.deb ...
> 2018-09-27 15:05:37,217: DEBUG - Unpacking libmp3lame0:amd64 (3.99.5+repack1-9+b2) ...
> 2018-09-27 15:05:37,618: DEBUG - Selecting previously unselected package libopenjp2-7:amd64.
> 2018-09-27 15:05:37,619: DEBUG - Preparing to unpack .../014-libopenjp2-7_2.1.2-1.1+deb9u2_amd64.deb ...
> 2018-09-27 15:05:37,619: DEBUG - Unpacking libopenjp2-7:amd64 (2.1.2-1.1+deb9u2) ...
> 2018-09-27 15:05:37,920: DEBUG - Selecting previously unselected package libopus0:amd64.
> 2018-09-27 15:05:38,021: DEBUG - Preparing to unpack .../015-libopus0_1.2~alpha2-1_amd64.deb ...
> 2018-09-27 15:05:38,021: DEBUG - Unpacking libopus0:amd64 (1.2~alpha2-1) ...
> 2018-09-27 15:05:38,322: DEBUG - Selecting previously unselected package libshine3:amd64.
> 2018-09-27 15:05:38,323: DEBUG - Preparing to unpack .../016-libshine3_3.1.0-5_amd64.deb ...
> 2018-09-27 15:05:38,423: DEBUG - Unpacking libshine3:amd64 (3.1.0-5) ...
> 2018-09-27 15:05:38,724: DEBUG - Selecting previously unselected package libsnappy1v5:amd64.
> 2018-09-27 15:05:38,725: DEBUG - Preparing to unpack .../017-libsnappy1v5_1.1.3-3_amd64.deb ...
> 2018-09-27 15:05:38,725: DEBUG - Unpacking libsnappy1v5:amd64 (1.1.3-3) ...
> 2018-09-27 15:05:39,026: DEBUG - Selecting previously unselected package libspeex1:amd64.
> 2018-09-27 15:05:39,027: DEBUG - Preparing to unpack .../018-libspeex1_1.2~rc1.2-1+b2_amd64.deb ...
> 2018-09-27 15:05:39,127: DEBUG - Unpacking libspeex1:amd64 (1.2~rc1.2-1+b2) ...
> 2018-09-27 15:05:39,328: DEBUG - Selecting previously unselected package libsoxr0:amd64.
> 2018-09-27 15:05:39,328: DEBUG - Preparing to unpack .../019-libsoxr0_0.1.2-2_amd64.deb ...
> 2018-09-27 15:05:39,429: DEBUG - Unpacking libsoxr0:amd64 (0.1.2-2) ...
> 2018-09-27 15:05:39,730: DEBUG - Selecting previously unselected package libswresample2:amd64.
> 2018-09-27 15:05:39,730: DEBUG - Preparing to unpack .../020-libswresample2_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 15:05:39,730: DEBUG - Unpacking libswresample2:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:05:40,032: DEBUG - Selecting previously unselected package libpixman-1-0:amd64.
> 2018-09-27 15:05:40,032: DEBUG - Preparing to unpack .../021-libpixman-1-0_0.34.0-1_amd64.deb ...
> 2018-09-27 15:05:40,133: DEBUG - Unpacking libpixman-1-0:amd64 (0.34.0-1) ...
> 2018-09-27 15:05:40,434: DEBUG - Selecting previously unselected package libxcb-render0:amd64.
> 2018-09-27 15:05:40,434: DEBUG - Preparing to unpack .../022-libxcb-render0_1.12-1_amd64.deb ...
> 2018-09-27 15:05:40,434: DEBUG - Unpacking libxcb-render0:amd64 (1.12-1) ...
> 2018-09-27 15:05:40,836: DEBUG - Selecting previously unselected package libxcb-shm0:amd64.
> 2018-09-27 15:05:40,836: DEBUG - Preparing to unpack .../023-libxcb-shm0_1.12-1_amd64.deb ...
> 2018-09-27 15:05:40,836: DEBUG - Unpacking libxcb-shm0:amd64 (1.12-1) ...
> 2018-09-27 15:05:41,137: DEBUG - Selecting previously unselected package libxrender1:amd64.
> 2018-09-27 15:05:41,137: DEBUG - Preparing to unpack .../024-libxrender1_1%3a0.9.10-1_amd64.deb ...
> 2018-09-27 15:05:41,138: DEBUG - Unpacking libxrender1:amd64 (1:0.9.10-1) ...
> 2018-09-27 15:05:41,439: DEBUG - Selecting previously unselected package libcairo2:amd64.
> 2018-09-27 15:05:41,439: DEBUG - Preparing to unpack .../025-libcairo2_1.14.8-1_amd64.deb ...
> 2018-09-27 15:05:41,539: DEBUG - Unpacking libcairo2:amd64 (1.14.8-1) ...
> 2018-09-27 15:05:41,840: DEBUG - Selecting previously unselected package libtheora0:amd64.
> 2018-09-27 15:05:41,841: DEBUG - Preparing to unpack .../026-libtheora0_1.1.1+dfsg.1-14+b1_amd64.deb ...
> 2018-09-27 15:05:41,942: DEBUG - Unpacking libtheora0:amd64 (1.1.1+dfsg.1-14+b1) ...
> 2018-09-27 15:05:42,243: DEBUG - Selecting previously unselected package libtwolame0:amd64.
> 2018-09-27 15:05:42,243: DEBUG - Preparing to unpack .../027-libtwolame0_0.3.13-2_amd64.deb ...
> 2018-09-27 15:05:42,244: DEBUG - Unpacking libtwolame0:amd64 (0.3.13-2) ...
> 2018-09-27 15:05:42,545: DEBUG - Selecting previously unselected package libvorbis0a:amd64.
> 2018-09-27 15:05:42,545: DEBUG - Preparing to unpack .../028-libvorbis0a_1.3.5-4+deb9u2_amd64.deb ...
> 2018-09-27 15:05:42,646: DEBUG - Unpacking libvorbis0a:amd64 (1.3.5-4+deb9u2) ...
> 2018-09-27 15:05:42,947: DEBUG - Selecting previously unselected package libvorbisenc2:amd64.
> 2018-09-27 15:05:42,947: DEBUG - Preparing to unpack .../029-libvorbisenc2_1.3.5-4+deb9u2_amd64.deb ...
> 2018-09-27 15:05:42,947: DEBUG - Unpacking libvorbisenc2:amd64 (1.3.5-4+deb9u2) ...
> 2018-09-27 15:05:43,348: DEBUG - Selecting previously unselected package libvpx4:amd64.
> 2018-09-27 15:05:43,349: DEBUG - Preparing to unpack .../030-libvpx4_1.6.1-3+deb9u1_amd64.deb ...
> 2018-09-27 15:05:43,349: DEBUG - Unpacking libvpx4:amd64 (1.6.1-3+deb9u1) ...
> 2018-09-27 15:05:43,750: DEBUG - Selecting previously unselected package libwavpack1:amd64.
> 2018-09-27 15:05:43,750: DEBUG - Preparing to unpack .../031-libwavpack1_5.0.0-2+deb9u2_amd64.deb ...
> 2018-09-27 15:05:43,751: DEBUG - Unpacking libwavpack1:amd64 (5.0.0-2+deb9u2) ...
> 2018-09-27 15:05:44,052: DEBUG - Selecting previously unselected package libwebpmux2:amd64.
> 2018-09-27 15:05:44,052: DEBUG - Preparing to unpack .../032-libwebpmux2_0.5.2-1_amd64.deb ...
> 2018-09-27 15:05:44,053: DEBUG - Unpacking libwebpmux2:amd64 (0.5.2-1) ...
> 2018-09-27 15:05:44,354: DEBUG - Selecting previously unselected package libx264-148:amd64.
> 2018-09-27 15:05:44,354: DEBUG - Preparing to unpack .../033-libx264-148_2%3a0.148.2748+git97eaef2-1_amd64.deb ...
> 2018-09-27 15:05:44,354: DEBUG - Unpacking libx264-148:amd64 (2:0.148.2748+git97eaef2-1) ...
> 2018-09-27 15:05:44,755: DEBUG - Selecting previously unselected package libx265-95:amd64.
> 2018-09-27 15:05:44,756: DEBUG - Preparing to unpack .../034-libx265-95_2.1-2+b2_amd64.deb ...
> 2018-09-27 15:05:44,756: DEBUG - Unpacking libx265-95:amd64 (2.1-2+b2) ...
> 2018-09-27 15:05:45,258: DEBUG - Selecting previously unselected package libxvidcore4:amd64.
> 2018-09-27 15:05:45,258: DEBUG - Preparing to unpack .../035-libxvidcore4_2%3a1.3.4-1+b2_amd64.deb ...
> 2018-09-27 15:05:45,359: DEBUG - Unpacking libxvidcore4:amd64 (2:1.3.4-1+b2) ...
> 2018-09-27 15:05:45,560: DEBUG - Selecting previously unselected package libzvbi-common.
> 2018-09-27 15:05:45,560: DEBUG - Preparing to unpack .../036-libzvbi-common_0.2.35-13_all.deb ...
> 2018-09-27 15:05:45,661: DEBUG - Unpacking libzvbi-common (0.2.35-13) ...
> 2018-09-27 15:05:45,962: DEBUG - Selecting previously unselected package libzvbi0:amd64.
> 2018-09-27 15:05:45,962: DEBUG - Preparing to unpack .../037-libzvbi0_0.2.35-13_amd64.deb ...
> 2018-09-27 15:05:45,963: DEBUG - Unpacking libzvbi0:amd64 (0.2.35-13) ...
> 2018-09-27 15:05:46,264: DEBUG - Selecting previously unselected package libavcodec57:amd64.
> 2018-09-27 15:05:46,264: DEBUG - Preparing to unpack .../038-libavcodec57_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 15:05:46,365: DEBUG - Unpacking libavcodec57:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:05:47,066: DEBUG - Selecting previously unselected package libasound2-data.
> 2018-09-27 15:05:47,067: DEBUG - Preparing to unpack .../039-libasound2-data_1.1.3-5_all.deb ...
> 2018-09-27 15:05:47,067: DEBUG - Unpacking libasound2-data (1.1.3-5) ...
> 2018-09-27 15:05:47,468: DEBUG - Selecting previously unselected package libasound2:amd64.
> 2018-09-27 15:05:47,469: DEBUG - Preparing to unpack .../040-libasound2_1.1.3-5_amd64.deb ...
> 2018-09-27 15:05:47,469: DEBUG - Unpacking libasound2:amd64 (1.1.3-5) ...
> 2018-09-27 15:05:47,770: DEBUG - Selecting previously unselected package libraw1394-11:amd64.
> 2018-09-27 15:05:47,770: DEBUG - Preparing to unpack .../041-libraw1394-11_2.1.2-1+b1_amd64.deb ...
> 2018-09-27 15:05:47,871: DEBUG - Unpacking libraw1394-11:amd64 (2.1.2-1+b1) ...
> 2018-09-27 15:05:48,172: DEBUG - Selecting previously unselected package libavc1394-0:amd64.
> 2018-09-27 15:05:48,173: DEBUG - Preparing to unpack .../042-libavc1394-0_0.5.4-4+b1_amd64.deb ...
> 2018-09-27 15:05:48,173: DEBUG - Unpacking libavc1394-0:amd64 (0.5.4-4+b1) ...
> 2018-09-27 15:05:48,474: DEBUG - Selecting previously unselected package libgraphite2-3:amd64.
> 2018-09-27 15:05:48,475: DEBUG - Preparing to unpack .../043-libgraphite2-3_1.3.10-1_amd64.deb ...
> 2018-09-27 15:05:48,475: DEBUG - Unpacking libgraphite2-3:amd64 (1.3.10-1) ...
> 2018-09-27 15:05:48,776: DEBUG - Selecting previously unselected package libharfbuzz0b:amd64.
> 2018-09-27 15:05:48,777: DEBUG - Preparing to unpack .../044-libharfbuzz0b_1.4.2-1_amd64.deb ...
> 2018-09-27 15:05:48,877: DEBUG - Unpacking libharfbuzz0b:amd64 (1.4.2-1) ...
> 2018-09-27 15:05:49,179: DEBUG - Selecting previously unselected package libass5:amd64.
> 2018-09-27 15:05:49,179: DEBUG - Preparing to unpack .../045-libass5_1%3a0.13.4-2_amd64.deb ...
> 2018-09-27 15:05:49,280: DEBUG - Unpacking libass5:amd64 (1:0.13.4-2) ...
> 2018-09-27 15:05:49,481: DEBUG - Selecting previously unselected package libbluray1:amd64.
> 2018-09-27 15:05:49,481: DEBUG - Preparing to unpack .../046-libbluray1_1%3a0.9.3-3_amd64.deb ...
> 2018-09-27 15:05:49,582: DEBUG - Unpacking libbluray1:amd64 (1:0.9.3-3) ...
> 2018-09-27 15:05:49,883: DEBUG - Selecting previously unselected package libchromaprint1:amd64.
> 2018-09-27 15:05:49,884: DEBUG - Preparing to unpack .../047-libchromaprint1_1.4.2-1_amd64.deb ...
> 2018-09-27 15:05:49,884: DEBUG - Unpacking libchromaprint1:amd64 (1.4.2-1) ...
> 2018-09-27 15:05:50,185: DEBUG - Selecting previously unselected package libgme0:amd64.
> 2018-09-27 15:05:50,186: DEBUG - Preparing to unpack .../048-libgme0_0.6.0-4_amd64.deb ...
> 2018-09-27 15:05:50,286: DEBUG - Unpacking libgme0:amd64 (0.6.0-4) ...
> 2018-09-27 15:05:50,587: DEBUG - Selecting previously unselected package libmpg123-0:amd64.
> 2018-09-27 15:05:50,588: DEBUG - Preparing to unpack .../049-libmpg123-0_1.23.8-1+b1_amd64.deb ...
> 2018-09-27 15:05:50,588: DEBUG - Unpacking libmpg123-0:amd64 (1.23.8-1+b1) ...
> 2018-09-27 15:05:50,990: DEBUG - Selecting previously unselected package libvorbisfile3:amd64.
> 2018-09-27 15:05:50,990: DEBUG - Preparing to unpack .../050-libvorbisfile3_1.3.5-4+deb9u2_amd64.deb ...
> 2018-09-27 15:05:50,991: DEBUG - Unpacking libvorbisfile3:amd64 (1.3.5-4+deb9u2) ...
> 2018-09-27 15:05:51,292: DEBUG - Selecting previously unselected package libopenmpt0:amd64.
> 2018-09-27 15:05:51,292: DEBUG - Preparing to unpack .../051-libopenmpt0_0.2.7386~beta20.3-3+deb9u2_amd64.deb ...
> 2018-09-27 15:05:51,393: DEBUG - Unpacking libopenmpt0:amd64 (0.2.7386~beta20.3-3+deb9u2) ...
> 2018-09-27 15:05:51,694: DEBUG - Selecting previously unselected package libssh-gcrypt-4:amd64.
> 2018-09-27 15:05:51,694: DEBUG - Preparing to unpack .../052-libssh-gcrypt-4_0.7.3-2_amd64.deb ...
> 2018-09-27 15:05:51,795: DEBUG - Unpacking libssh-gcrypt-4:amd64 (0.7.3-2) ...
> 2018-09-27 15:05:52,096: DEBUG - Selecting previously unselected package libavformat57:amd64.
> 2018-09-27 15:05:52,096: DEBUG - Preparing to unpack .../053-libavformat57_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 15:05:52,096: DEBUG - Unpacking libavformat57:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:05:52,498: DEBUG - Selecting previously unselected package libavresample3:amd64.
> 2018-09-27 15:05:52,498: DEBUG - Preparing to unpack .../054-libavresample3_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 15:05:52,499: DEBUG - Unpacking libavresample3:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:05:52,800: DEBUG - Selecting previously unselected package libbs2b0:amd64.
> 2018-09-27 15:05:52,800: DEBUG - Preparing to unpack .../055-libbs2b0_3.1.0+dfsg-2.2_amd64.deb ...
> 2018-09-27 15:05:52,901: DEBUG - Unpacking libbs2b0:amd64 (3.1.0+dfsg-2.2) ...
> 2018-09-27 15:05:53,202: DEBUG - Selecting previously unselected package libebur128-1:amd64.
> 2018-09-27 15:05:53,203: DEBUG - Preparing to unpack .../056-libebur128-1_1.2.2-2_amd64.deb ...
> 2018-09-27 15:05:53,203: DEBUG - Unpacking libebur128-1:amd64 (1.2.2-2) ...
> 2018-09-27 15:05:53,604: DEBUG - Selecting previously unselected package libflite1:amd64.
> 2018-09-27 15:05:53,605: DEBUG - Preparing to unpack .../057-libflite1_2.0.0-release-3+b1_amd64.deb ...
> 2018-09-27 15:05:53,605: DEBUG - Unpacking libflite1:amd64 (2.0.0-release-3+b1) ...
> 2018-09-27 15:05:55,008: DEBUG - Selecting previously unselected package libtbb2:amd64.
> 2018-09-27 15:05:55,008: DEBUG - Preparing to unpack .../058-libtbb2_4.3~20150611-2_amd64.deb ...
> 2018-09-27 15:05:55,009: DEBUG - Unpacking libtbb2:amd64 (4.3~20150611-2) ...
> 2018-09-27 15:05:55,310: DEBUG - Selecting previously unselected package libopencv-core2.4v5:amd64.
> 2018-09-27 15:05:55,310: DEBUG - Preparing to unpack .../059-libopencv-core2.4v5_2.4.9.1+dfsg1-2_amd64.deb ...
> 2018-09-27 15:05:55,411: DEBUG - Unpacking libopencv-core2.4v5:amd64 (2.4.9.1+dfsg1-2) ...
> 2018-09-27 15:05:55,712: DEBUG - Selecting previously unselected package libopencv-imgproc2.4v5:amd64.
> 2018-09-27 15:05:55,813: DEBUG - Preparing to unpack .../060-libopencv-imgproc2.4v5_2.4.9.1+dfsg1-2_amd64.deb ...
> 2018-09-27 15:05:55,813: DEBUG - Unpacking libopencv-imgproc2.4v5:amd64 (2.4.9.1+dfsg1-2) ...
> 2018-09-27 15:05:56,114: DEBUG - Selecting previously unselected package libpostproc54:amd64.
> 2018-09-27 15:05:56,115: DEBUG - Preparing to unpack .../061-libpostproc54_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 15:05:56,215: DEBUG - Unpacking libpostproc54:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:05:56,416: DEBUG - Selecting previously unselected package libfftw3-double3:amd64.
> 2018-09-27 15:05:56,417: DEBUG - Preparing to unpack .../062-libfftw3-double3_3.3.5-3_amd64.deb ...
> 2018-09-27 15:05:56,517: DEBUG - Unpacking libfftw3-double3:amd64 (3.3.5-3) ...
> 2018-09-27 15:05:57,119: DEBUG - Selecting previously unselected package libsamplerate0:amd64.
> 2018-09-27 15:05:57,119: DEBUG - Preparing to unpack .../063-libsamplerate0_0.1.8-8+b2_amd64.deb ...
> 2018-09-27 15:05:57,120: DEBUG - Unpacking libsamplerate0:amd64 (0.1.8-8+b2) ...
> 2018-09-27 15:05:57,521: DEBUG - Selecting previously unselected package librubberband2:amd64.
> 2018-09-27 15:05:57,521: DEBUG - Preparing to unpack .../064-librubberband2_1.8.1-7_amd64.deb ...
> 2018-09-27 15:05:57,522: DEBUG - Unpacking librubberband2:amd64 (1.8.1-7) ...
> 2018-09-27 15:05:57,823: DEBUG - Selecting previously unselected package libswscale4:amd64.
> 2018-09-27 15:05:57,823: DEBUG - Preparing to unpack .../065-libswscale4_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 15:05:57,924: DEBUG - Unpacking libswscale4:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:05:58,225: DEBUG - Selecting previously unselected package libpgm-5.2-0:amd64.
> 2018-09-27 15:05:58,226: DEBUG - Preparing to unpack .../066-libpgm-5.2-0_5.2.122~dfsg-2_amd64.deb ...
> 2018-09-27 15:05:58,326: DEBUG - Unpacking libpgm-5.2-0:amd64 (5.2.122~dfsg-2) ...
> 2018-09-27 15:05:58,627: DEBUG - Selecting previously unselected package libsodium18:amd64.
> 2018-09-27 15:05:58,628: DEBUG - Preparing to unpack .../067-libsodium18_1.0.11-2_amd64.deb ...
> 2018-09-27 15:05:58,728: DEBUG - Unpacking libsodium18:amd64 (1.0.11-2) ...
> 2018-09-27 15:05:59,029: DEBUG - Selecting previously unselected package libzmq5:amd64.
> 2018-09-27 15:05:59,030: DEBUG - Preparing to unpack .../068-libzmq5_4.2.1-4_amd64.deb ...
> 2018-09-27 15:05:59,131: DEBUG - Unpacking libzmq5:amd64 (4.2.1-4) ...
> 2018-09-27 15:05:59,432: DEBUG - Selecting previously unselected package libavfilter6:amd64.
> 2018-09-27 15:05:59,432: DEBUG - Preparing to unpack .../069-libavfilter6_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 15:05:59,432: DEBUG - Unpacking libavfilter6:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:05:59,834: DEBUG - Selecting previously unselected package libcaca0:amd64.
> 2018-09-27 15:05:59,834: DEBUG - Preparing to unpack .../070-libcaca0_0.99.beta19-2+b2_amd64.deb ...
> 2018-09-27 15:05:59,835: DEBUG - Unpacking libcaca0:amd64 (0.99.beta19-2+b2) ...
> 2018-09-27 15:06:00,136: DEBUG - Selecting previously unselected package libcdio13:amd64.
> 2018-09-27 15:06:00,236: DEBUG - Preparing to unpack .../071-libcdio13_0.83-4.3+b1_amd64.deb ...
> 2018-09-27 15:06:00,237: DEBUG - Unpacking libcdio13:amd64 (0.83-4.3+b1) ...
> 2018-09-27 15:06:00,538: DEBUG - Selecting previously unselected package libcdio-cdda1:amd64.
> 2018-09-27 15:06:00,538: DEBUG - Preparing to unpack .../072-libcdio-cdda1_0.83-4.3+b1_amd64.deb ...
> 2018-09-27 15:06:00,639: DEBUG - Unpacking libcdio-cdda1:amd64 (0.83-4.3+b1) ...
> 2018-09-27 15:06:00,940: DEBUG - Selecting previously unselected package libcdio-paranoia1:amd64.
> 2018-09-27 15:06:00,940: DEBUG - Preparing to unpack .../073-libcdio-paranoia1_0.83-4.3+b1_amd64.deb ...
> 2018-09-27 15:06:00,941: DEBUG - Unpacking libcdio-paranoia1:amd64 (0.83-4.3+b1) ...
> 2018-09-27 15:06:01,242: DEBUG - Selecting previously unselected package libusb-1.0-0:amd64.
> 2018-09-27 15:06:01,242: DEBUG - Preparing to unpack .../074-libusb-1.0-0_2%3a1.0.21-1_amd64.deb ...
> 2018-09-27 15:06:01,343: DEBUG - Unpacking libusb-1.0-0:amd64 (2:1.0.21-1) ...
> 2018-09-27 15:06:01,544: DEBUG - Selecting previously unselected package libdc1394-22:amd64.
> 2018-09-27 15:06:01,644: DEBUG - Preparing to unpack .../075-libdc1394-22_2.2.5-1_amd64.deb ...
> 2018-09-27 15:06:01,645: DEBUG - Unpacking libdc1394-22:amd64 (2.2.5-1) ...
> 2018-09-27 15:06:01,946: DEBUG - Selecting previously unselected package libglapi-mesa:amd64.
> 2018-09-27 15:06:01,946: DEBUG - Preparing to unpack .../076-libglapi-mesa_13.0.6-1+b2_amd64.deb ...
> 2018-09-27 15:06:01,946: DEBUG - Unpacking libglapi-mesa:amd64 (13.0.6-1+b2) ...
> 2018-09-27 15:06:02,448: DEBUG - Selecting previously unselected package libx11-xcb1:amd64.
> 2018-09-27 15:06:02,448: DEBUG - Preparing to unpack .../077-libx11-xcb1_2%3a1.6.4-3_amd64.deb ...
> 2018-09-27 15:06:02,549: DEBUG - Unpacking libx11-xcb1:amd64 (2:1.6.4-3) ...
> 2018-09-27 15:06:02,750: DEBUG - Selecting previously unselected package libxcb-dri2-0:amd64.
> 2018-09-27 15:06:02,750: DEBUG - Preparing to unpack .../078-libxcb-dri2-0_1.12-1_amd64.deb ...
> 2018-09-27 15:06:02,851: DEBUG - Unpacking libxcb-dri2-0:amd64 (1.12-1) ...
> 2018-09-27 15:06:03,152: DEBUG - Selecting previously unselected package libxcb-dri3-0:amd64.
> 2018-09-27 15:06:03,152: DEBUG - Preparing to unpack .../079-libxcb-dri3-0_1.12-1_amd64.deb ...
> 2018-09-27 15:06:03,253: DEBUG - Unpacking libxcb-dri3-0:amd64 (1.12-1) ...
> 2018-09-27 15:06:03,554: DEBUG - Selecting previously unselected package libxcb-glx0:amd64.
> 2018-09-27 15:06:03,555: DEBUG - Preparing to unpack .../080-libxcb-glx0_1.12-1_amd64.deb ...
> 2018-09-27 15:06:03,555: DEBUG - Unpacking libxcb-glx0:amd64 (1.12-1) ...
> 2018-09-27 15:06:03,957: DEBUG - Selecting previously unselected package libxcb-present0:amd64.
> 2018-09-27 15:06:03,957: DEBUG - Preparing to unpack .../081-libxcb-present0_1.12-1_amd64.deb ...
> 2018-09-27 15:06:03,957: DEBUG - Unpacking libxcb-present0:amd64 (1.12-1) ...
> 2018-09-27 15:06:04,258: DEBUG - Selecting previously unselected package libxcb-sync1:amd64.
> 2018-09-27 15:06:04,258: DEBUG - Preparing to unpack .../082-libxcb-sync1_1.12-1_amd64.deb ...
> 2018-09-27 15:06:04,359: DEBUG - Unpacking libxcb-sync1:amd64 (1.12-1) ...
> 2018-09-27 15:06:04,660: DEBUG - Selecting previously unselected package libxdamage1:amd64.
> 2018-09-27 15:06:04,660: DEBUG - Preparing to unpack .../083-libxdamage1_1%3a1.1.4-2+b3_amd64.deb ...
> 2018-09-27 15:06:04,761: DEBUG - Unpacking libxdamage1:amd64 (1:1.1.4-2+b3) ...
> 2018-09-27 15:06:05,062: DEBUG - Selecting previously unselected package libxshmfence1:amd64.
> 2018-09-27 15:06:05,062: DEBUG - Preparing to unpack .../084-libxshmfence1_1.2-1+b2_amd64.deb ...
> 2018-09-27 15:06:05,063: DEBUG - Unpacking libxshmfence1:amd64 (1.2-1+b2) ...
> 2018-09-27 15:06:05,263: DEBUG - Selecting previously unselected package libxxf86vm1:amd64.
> 2018-09-27 15:06:05,264: DEBUG - Preparing to unpack .../085-libxxf86vm1_1%3a1.1.4-1+b2_amd64.deb ...
> 2018-09-27 15:06:05,365: DEBUG - Unpacking libxxf86vm1:amd64 (1:1.1.4-1+b2) ...
> 2018-09-27 15:06:05,666: DEBUG - Selecting previously unselected package libgl1-mesa-glx:amd64.
> 2018-09-27 15:06:05,666: DEBUG - Preparing to unpack .../086-libgl1-mesa-glx_13.0.6-1+b2_amd64.deb ...
> 2018-09-27 15:06:05,666: DEBUG - Unpacking libgl1-mesa-glx:amd64 (13.0.6-1+b2) ...
> 2018-09-27 15:06:05,967: DEBUG - Selecting previously unselected package libiec61883-0:amd64.
> 2018-09-27 15:06:06,068: DEBUG - Preparing to unpack .../087-libiec61883-0_1.2.0-2_amd64.deb ...
> 2018-09-27 15:06:06,068: DEBUG - Unpacking libiec61883-0:amd64 (1.2.0-2) ...
> 2018-09-27 15:06:06,369: DEBUG - Selecting previously unselected package libjack-jackd2-0:amd64.
> 2018-09-27 15:06:06,369: DEBUG - Preparing to unpack .../088-libjack-jackd2-0_1.9.10+20150825git1ed50c92~dfsg-5_amd64.deb ...
> 2018-09-27 15:06:06,370: DEBUG - Unpacking libjack-jackd2-0:amd64 (1.9.10+20150825git1ed50c92~dfsg-5) ...
> 2018-09-27 15:06:06,671: DEBUG - Selecting previously unselected package libopenal-data.
> 2018-09-27 15:06:06,671: DEBUG - Preparing to unpack .../089-libopenal-data_1%3a1.17.2-4_all.deb ...
> 2018-09-27 15:06:06,772: DEBUG - Unpacking libopenal-data (1:1.17.2-4) ...
> 2018-09-27 15:06:07,073: DEBUG - Selecting previously unselected package libsndio6.1:amd64.
> 2018-09-27 15:06:07,073: DEBUG - Preparing to unpack .../090-libsndio6.1_1.1.0-3_amd64.deb ...
> 2018-09-27 15:06:07,074: DEBUG - Unpacking libsndio6.1:amd64 (1.1.0-3) ...
> 2018-09-27 15:06:07,475: DEBUG - Selecting previously unselected package libopenal1:amd64.
> 2018-09-27 15:06:07,476: DEBUG - Preparing to unpack .../091-libopenal1_1%3a1.17.2-4+b2_amd64.deb ...
> 2018-09-27 15:06:07,476: DEBUG - Unpacking libopenal1:amd64 (1:1.17.2-4+b2) ...
> 2018-09-27 15:06:07,777: DEBUG - Selecting previously unselected package libasyncns0:amd64.
> 2018-09-27 15:06:07,778: DEBUG - Preparing to unpack .../092-libasyncns0_0.8-6_amd64.deb ...
> 2018-09-27 15:06:07,878: DEBUG - Unpacking libasyncns0:amd64 (0.8-6) ...
> 2018-09-27 15:06:08,079: DEBUG - Selecting previously unselected package libice6:amd64.
> 2018-09-27 15:06:08,080: DEBUG - Preparing to unpack .../093-libice6_2%3a1.0.9-2_amd64.deb ...
> 2018-09-27 15:06:08,080: DEBUG - Unpacking libice6:amd64 (2:1.0.9-2) ...
> 2018-09-27 15:06:08,482: DEBUG - Selecting previously unselected package libsm6:amd64.
> 2018-09-27 15:06:08,482: DEBUG - Preparing to unpack .../094-libsm6_2%3a1.2.2-1+b3_amd64.deb ...
> 2018-09-27 15:06:08,482: DEBUG - Unpacking libsm6:amd64 (2:1.2.2-1+b3) ...
> 2018-09-27 15:06:08,784: DEBUG - Selecting previously unselected package libflac8:amd64.
> 2018-09-27 15:06:08,784: DEBUG - Preparing to unpack .../095-libflac8_1.3.2-1_amd64.deb ...
> 2018-09-27 15:06:08,785: DEBUG - Unpacking libflac8:amd64 (1.3.2-1) ...
> 2018-09-27 15:06:09,086: DEBUG - Selecting previously unselected package libsndfile1:amd64.
> 2018-09-27 15:06:09,086: DEBUG - Preparing to unpack .../096-libsndfile1_1.0.27-3_amd64.deb ...
> 2018-09-27 15:06:09,187: DEBUG - Unpacking libsndfile1:amd64 (1.0.27-3) ...
> 2018-09-27 15:06:09,488: DEBUG - Selecting previously unselected package libxi6:amd64.
> 2018-09-27 15:06:09,489: DEBUG - Preparing to unpack .../097-libxi6_2%3a1.7.9-1_amd64.deb ...
> 2018-09-27 15:06:09,589: DEBUG - Unpacking libxi6:amd64 (2:1.7.9-1) ...
> 2018-09-27 15:06:09,790: DEBUG - Selecting previously unselected package libxtst6:amd64.
> 2018-09-27 15:06:09,790: DEBUG - Preparing to unpack .../098-libxtst6_2%3a1.2.3-1_amd64.deb ...
> 2018-09-27 15:06:09,891: DEBUG - Unpacking libxtst6:amd64 (2:1.2.3-1) ...
> 2018-09-27 15:06:10,192: DEBUG - Selecting previously unselected package libpulse0:amd64.
> 2018-09-27 15:06:10,193: DEBUG - Preparing to unpack .../099-libpulse0_10.0-1+deb9u1_amd64.deb ...
> 2018-09-27 15:06:10,293: DEBUG - Unpacking libpulse0:amd64 (10.0-1+deb9u1) ...
> 2018-09-27 15:06:10,594: DEBUG - Selecting previously unselected package libwayland-client0:amd64.
> 2018-09-27 15:06:10,595: DEBUG - Preparing to unpack .../100-libwayland-client0_1.12.0-1_amd64.deb ...
> 2018-09-27 15:06:10,695: DEBUG - Unpacking libwayland-client0:amd64 (1.12.0-1) ...
> 2018-09-27 15:06:10,997: DEBUG - Selecting previously unselected package libwayland-cursor0:amd64.
> 2018-09-27 15:06:10,997: DEBUG - Preparing to unpack .../101-libwayland-cursor0_1.12.0-1_amd64.deb ...
> 2018-09-27 15:06:10,997: DEBUG - Unpacking libwayland-cursor0:amd64 (1.12.0-1) ...
> 2018-09-27 15:06:11,299: DEBUG - Selecting previously unselected package libwayland-server0:amd64.
> 2018-09-27 15:06:11,299: DEBUG - Preparing to unpack .../102-libwayland-server0_1.12.0-1_amd64.deb ...
> 2018-09-27 15:06:11,400: DEBUG - Unpacking libwayland-server0:amd64 (1.12.0-1) ...
> 2018-09-27 15:06:11,701: DEBUG - Selecting previously unselected package libgbm1:amd64.
> 2018-09-27 15:06:11,701: DEBUG - Preparing to unpack .../103-libgbm1_13.0.6-1+b2_amd64.deb ...
> 2018-09-27 15:06:11,702: DEBUG - Unpacking libgbm1:amd64 (13.0.6-1+b2) ...
> 2018-09-27 15:06:12,003: DEBUG - Selecting previously unselected package libxcb-xfixes0:amd64.
> 2018-09-27 15:06:12,004: DEBUG - Preparing to unpack .../104-libxcb-xfixes0_1.12-1_amd64.deb ...
> 2018-09-27 15:06:12,104: DEBUG - Unpacking libxcb-xfixes0:amd64 (1.12-1) ...
> 2018-09-27 15:06:12,405: DEBUG - Selecting previously unselected package libegl1-mesa:amd64.
> 2018-09-27 15:06:12,406: DEBUG - Preparing to unpack .../105-libegl1-mesa_13.0.6-1+b2_amd64.deb ...
> 2018-09-27 15:06:12,406: DEBUG - Unpacking libegl1-mesa:amd64 (13.0.6-1+b2) ...
> 2018-09-27 15:06:12,708: DEBUG - Selecting previously unselected package libwayland-egl1-mesa:amd64.
> 2018-09-27 15:06:12,708: DEBUG - Preparing to unpack .../106-libwayland-egl1-mesa_13.0.6-1+b2_amd64.deb ...
> 2018-09-27 15:06:12,809: DEBUG - Unpacking libwayland-egl1-mesa:amd64 (13.0.6-1+b2) ...
> 2018-09-27 15:06:13,110: DEBUG - Selecting previously unselected package libxcursor1:amd64.
> 2018-09-27 15:06:13,110: DEBUG - Preparing to unpack .../107-libxcursor1_1%3a1.1.14-1+deb9u1_amd64.deb ...
> 2018-09-27 15:06:13,111: DEBUG - Unpacking libxcursor1:amd64 (1:1.1.14-1+deb9u1) ...
> 2018-09-27 15:06:13,412: DEBUG - Selecting previously unselected package libxinerama1:amd64.
> 2018-09-27 15:06:13,412: DEBUG - Preparing to unpack .../108-libxinerama1_2%3a1.1.3-1+b3_amd64.deb ...
> 2018-09-27 15:06:13,413: DEBUG - Unpacking libxinerama1:amd64 (2:1.1.3-1+b3) ...
> 2018-09-27 15:06:13,714: DEBUG - Selecting previously unselected package libxkbcommon0:amd64.
> 2018-09-27 15:06:13,714: DEBUG - Preparing to unpack .../109-libxkbcommon0_0.7.1-2~deb9u1_amd64.deb ...
> 2018-09-27 15:06:13,815: DEBUG - Unpacking libxkbcommon0:amd64 (0.7.1-2~deb9u1) ...
> 2018-09-27 15:06:14,116: DEBUG - Selecting previously unselected package libxrandr2:amd64.
> 2018-09-27 15:06:14,117: DEBUG - Preparing to unpack .../110-libxrandr2_2%3a1.5.1-1_amd64.deb ...
> 2018-09-27 15:06:14,217: DEBUG - Unpacking libxrandr2:amd64 (2:1.5.1-1) ...
> 2018-09-27 15:06:14,519: DEBUG - Selecting previously unselected package libsdl2-2.0-0:amd64.
> 2018-09-27 15:06:14,519: DEBUG - Preparing to unpack .../111-libsdl2-2.0-0_2.0.5+dfsg1-2_amd64.deb ...
> 2018-09-27 15:06:14,520: DEBUG - Unpacking libsdl2-2.0-0:amd64 (2.0.5+dfsg1-2) ...
> 2018-09-27 15:06:14,821: DEBUG - Selecting previously unselected package libxcb-shape0:amd64.
> 2018-09-27 15:06:14,821: DEBUG - Preparing to unpack .../112-libxcb-shape0_1.12-1_amd64.deb ...
> 2018-09-27 15:06:14,922: DEBUG - Unpacking libxcb-shape0:amd64 (1.12-1) ...
> 2018-09-27 15:06:15,223: DEBUG - Selecting previously unselected package libxv1:amd64.
> 2018-09-27 15:06:15,224: DEBUG - Preparing to unpack .../113-libxv1_2%3a1.0.11-1_amd64.deb ...
> 2018-09-27 15:06:15,324: DEBUG - Unpacking libxv1:amd64 (2:1.0.11-1) ...
> 2018-09-27 15:06:15,626: DEBUG - Selecting previously unselected package libavdevice57:amd64.
> 2018-09-27 15:06:15,626: DEBUG - Preparing to unpack .../114-libavdevice57_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 15:06:15,627: DEBUG - Unpacking libavdevice57:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:06:15,928: DEBUG - Selecting previously unselected package ffmpeg.
> 2018-09-27 15:06:15,928: DEBUG - Preparing to unpack .../115-ffmpeg_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 15:06:15,928: DEBUG - Unpacking ffmpeg (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:06:16,330: DEBUG - Selecting previously unselected package postgresql.
> 2018-09-27 15:06:16,330: DEBUG - Preparing to unpack .../116-postgresql_9.6+181+deb9u2_all.deb ...
> 2018-09-27 15:06:16,331: DEBUG - Unpacking postgresql (9.6+181+deb9u2) ...
> 2018-09-27 15:06:16,632: DEBUG - Setting up libpgm-5.2-0:amd64 (5.2.122~dfsg-2) ...
> 2018-09-27 15:06:16,732: DEBUG - Setting up libxcb-present0:amd64 (1.12-1) ...
> 2018-09-27 15:06:16,833: DEBUG - Setting up libx265-95:amd64 (2.1-2+b2) ...
> 2018-09-27 15:06:16,933: DEBUG - Setting up libxcb-dri2-0:amd64 (1.12-1) ...
> 2018-09-27 15:06:17,034: DEBUG - Setting up libxcb-dri3-0:amd64 (1.12-1) ...
> 2018-09-27 15:06:17,135: DEBUG - Setting up libxcb-glx0:amd64 (1.12-1) ...
> 2018-09-27 15:06:17,235: DEBUG - Setting up libtwolame0:amd64 (0.3.13-2) ...
> 2018-09-27 15:06:17,436: DEBUG - Setting up libraw1394-11:amd64 (2.1.2-1+b1) ...
> 2018-09-27 15:06:17,537: DEBUG - Setting up libxcb-xfixes0:amd64 (1.12-1) ...
> 2018-09-27 15:06:17,637: DEBUG - Setting up libxcb-render0:amd64 (1.12-1) ...
> 2018-09-27 15:06:17,738: DEBUG - Setting up libopenjp2-7:amd64 (2.1.2-1.1+deb9u2) ...
> 2018-09-27 15:06:17,939: DEBUG - Setting up libasyncns0:amd64 (0.8-6) ...
> 2018-09-27 15:06:18,040: DEBUG - Setting up libcdio13:amd64 (0.83-4.3+b1) ...
> 2018-09-27 15:06:18,140: DEBUG - Setting up libx264-148:amd64 (2:0.148.2748+git97eaef2-1) ...
> 2018-09-27 15:06:18,241: DEBUG - Setting up libxext6:amd64 (2:1.3.3-1+b2) ...
> 2018-09-27 15:06:18,342: DEBUG - Setting up libxfixes3:amd64 (1:5.0.3-1) ...
> 2018-09-27 15:06:18,443: DEBUG - Setting up libebur128-1:amd64 (1.2.2-2) ...
> 2018-09-27 15:06:18,644: DEBUG - Setting up libwavpack1:amd64 (5.0.0-2+deb9u2) ...
> 2018-09-27 15:06:18,744: DEBUG - Setting up libtbb2:amd64 (4.3~20150611-2) ...
> 2018-09-27 15:06:18,845: DEBUG - Setting up libcdio-cdda1:amd64 (0.83-4.3+b1) ...
> 2018-09-27 15:06:18,946: DEBUG - Setting up libsoxr0:amd64 (0.1.2-2) ...
> 2018-09-27 15:06:19,147: DEBUG - Setting up libssh-gcrypt-4:amd64 (0.7.3-2) ...
> 2018-09-27 15:06:19,247: DEBUG - Setting up libasound2-data (1.1.3-5) ...
> 2018-09-27 15:06:19,348: DEBUG - Setting up libxshmfence1:amd64 (1.2-1+b2) ...
> 2018-09-27 15:06:19,449: DEBUG - Setting up libwayland-client0:amd64 (1.12.0-1) ...
> 2018-09-27 15:06:19,549: DEBUG - Setting up libwebpmux2:amd64 (0.5.2-1) ...
> 2018-09-27 15:06:19,650: DEBUG - Setting up libvdpau1:amd64 (1.1.1-6) ...
> 2018-09-27 15:06:19,851: DEBUG - Setting up libshine3:amd64 (3.1.0-5) ...
> 2018-09-27 15:06:19,952: DEBUG - Setting up libopencv-core2.4v5:amd64 (2.4.9.1+dfsg1-2) ...
> 2018-09-27 15:06:20,153: DEBUG - Setting up libiec61883-0:amd64 (1.2.0-2) ...
> 2018-09-27 15:06:20,253: DEBUG - Setting up libglapi-mesa:amd64 (13.0.6-1+b2) ...
> 2018-09-27 15:06:20,354: DEBUG - Setting up libspeex1:amd64 (1.2~rc1.2-1+b2) ...
> 2018-09-27 15:06:20,455: DEBUG - Setting up libfftw3-double3:amd64 (3.3.5-3) ...
> 2018-09-27 15:06:20,555: DEBUG - Setting up libxvidcore4:amd64 (2:1.3.4-1+b2) ...
> 2018-09-27 15:06:20,756: DEBUG - Setting up libvpx4:amd64 (1.6.1-3+deb9u1) ...
> 2018-09-27 15:06:20,857: DEBUG - Setting up libopus0:amd64 (1.2~alpha2-1) ...
> 2018-09-27 15:06:20,958: DEBUG - Setting up libva1:amd64 (1.7.3-2) ...
> 2018-09-27 15:06:21,059: DEBUG - Setting up libasound2:amd64 (1.1.3-5) ...
> 2018-09-27 15:06:21,159: DEBUG - Setting up libdrm2:amd64 (2.4.74-1) ...
> 2018-09-27 15:06:21,360: DEBUG - Setting up libopenal-data (1:1.17.2-4) ...
> 2018-09-27 15:06:21,461: DEBUG - Setting up libgraphite2-3:amd64 (1.3.10-1) ...
> 2018-09-27 15:06:21,562: DEBUG - Setting up libbs2b0:amd64 (3.1.0+dfsg-2.2) ...
> 2018-09-27 15:06:21,763: DEBUG - Setting up libxcb-sync1:amd64 (1.12-1) ...
> 2018-09-27 15:06:21,863: DEBUG - Setting up libogg0:amd64 (1.3.2-1) ...
> 2018-09-27 15:06:21,964: DEBUG - Setting up libx11-xcb1:amd64 (2:1.6.4-3) ...
> 2018-09-27 15:06:22,165: DEBUG - Setting up libpixman-1-0:amd64 (0.34.0-1) ...
> 2018-09-27 15:06:22,265: DEBUG - Setting up libmp3lame0:amd64 (3.99.5+repack1-9+b2) ...
> 2018-09-27 15:06:22,366: DEBUG - Setting up libusb-1.0-0:amd64 (2:1.0.21-1) ...
> 2018-09-27 15:06:22,467: DEBUG - Setting up libcrystalhd3:amd64 (1:0.0~git20110715.fdd2f19-12) ...
> 2018-09-27 15:06:22,668: DEBUG - Processing triggers for libc-bin (2.24-11+deb9u3) ...
> 2018-09-27 15:06:22,768: DEBUG - Setting up postgresql (9.6+181+deb9u2) ...
> 2018-09-27 15:06:22,869: DEBUG - Setting up libsnappy1v5:amd64 (1.1.3-3) ...
> 2018-09-27 15:06:22,970: DEBUG - Setting up libbluray1:amd64 (1:0.9.3-3) ...
> 2018-09-27 15:06:23,171: DEBUG - Processing triggers for systemd (232-25+deb9u4) ...
> 2018-09-27 15:06:23,271: DEBUG - Setting up libavc1394-0:amd64 (0.5.4-4+b1) ...
> 2018-09-27 15:06:23,372: DEBUG - Setting up libzvbi-common (0.2.35-13) ...
> 2018-09-27 15:06:23,573: DEBUG - Setting up libxcb-shm0:amd64 (1.12-1) ...
> 2018-09-27 15:06:23,673: DEBUG - Setting up libxcb-shape0:amd64 (1.12-1) ...
> 2018-09-27 15:06:23,774: DEBUG - Setting up libxrender1:amd64 (1:0.9.10-1) ...
> 2018-09-27 15:06:23,875: DEBUG - Setting up libxv1:amd64 (2:1.0.11-1) ...
> 2018-09-27 15:06:23,975: DEBUG - Processing triggers for man-db (2.7.6.1-2) ...
> 2018-09-27 15:06:24,277: DEBUG - Setting up libxkbcommon0:amd64 (0.7.1-2~deb9u1) ...
> 2018-09-27 15:06:24,377: DEBUG - Setting up libcdio-paranoia1:amd64 (0.83-4.3+b1) ...
> 2018-09-27 15:06:24,578: DEBUG - Setting up libva-drm1:amd64 (1.7.3-2) ...
> 2018-09-27 15:06:24,679: DEBUG - Setting up libgme0:amd64 (0.6.0-4) ...
> 2018-09-27 15:06:24,780: DEBUG - Setting up libsodium18:amd64 (1.0.11-2) ...
> 2018-09-27 15:06:24,880: DEBUG - Setting up libxxf86vm1:amd64 (1:1.1.4-1+b2) ...
> 2018-09-27 15:06:24,981: DEBUG - Setting up libzvbi0:amd64 (0.2.35-13) ...
> 2018-09-27 15:06:25,082: DEBUG - Setting up libcaca0:amd64 (0.99.beta19-2+b2) ...
> 2018-09-27 15:06:25,183: DEBUG - Setting up libsamplerate0:amd64 (0.1.8-8+b2) ...
> 2018-09-27 15:06:25,283: DEBUG - Setting up libsndio6.1:amd64 (1.1.0-3) ...
> 2018-09-27 15:06:25,384: DEBUG - Setting up libvorbis0a:amd64 (1.3.5-4+deb9u2) ...
> 2018-09-27 15:06:25,485: DEBUG - Setting up x11-common (1:7.7+19) ...
> 2018-09-27 15:06:26,387: DEBUG - update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
> 2018-09-27 15:06:26,588: DEBUG - Setting up libmpg123-0:amd64 (1.23.8-1+b1) ...
> 2018-09-27 15:06:26,689: DEBUG - Setting up libwayland-cursor0:amd64 (1.12.0-1) ...
> 2018-09-27 15:06:26,789: DEBUG - Setting up libopencv-imgproc2.4v5:amd64 (2.4.9.1+dfsg1-2) ...
> 2018-09-27 15:06:26,990: DEBUG - Setting up libgsm1:amd64 (1.0.13-4+b2) ...
> 2018-09-27 15:06:27,091: DEBUG - Setting up libxrandr2:amd64 (2:1.5.1-1) ...
> 2018-09-27 15:06:27,192: DEBUG - Setting up libva-x11-1:amd64 (1.7.3-2) ...
> 2018-09-27 15:06:27,393: DEBUG - Setting up libwayland-server0:amd64 (1.12.0-1) ...
> 2018-09-27 15:06:27,493: DEBUG - Setting up libvorbisfile3:amd64 (1.3.5-4+deb9u2) ...
> 2018-09-27 15:06:27,594: DEBUG - Setting up libxi6:amd64 (2:1.7.9-1) ...
> 2018-09-27 15:06:27,873: DEBUG - Setting up libcairo2:amd64 (1.14.8-1) ...
> 2018-09-27 15:06:27,974: DEBUG - Setting up libxinerama1:amd64 (2:1.1.3-1+b3) ...
> 2018-09-27 15:06:28,075: DEBUG - Setting up libzmq5:amd64 (4.2.1-4) ...
> 2018-09-27 15:06:28,175: DEBUG - Setting up libxdamage1:amd64 (1:1.1.4-2+b3) ...
> 2018-09-27 15:06:28,276: DEBUG - Setting up libavutil55:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:06:28,377: DEBUG - Setting up libopenmpt0:amd64 (0.2.7386~beta20.3-3+deb9u2) ...
> 2018-09-27 15:06:28,577: DEBUG - Setting up libflite1:amd64 (2.0.0-release-3+b1) ...
> 2018-09-27 15:06:28,678: DEBUG - Setting up libxss1:amd64 (1:1.2.2-1) ...
> 2018-09-27 15:06:28,879: DEBUG - Setting up libgbm1:amd64 (13.0.6-1+b2) ...
> 2018-09-27 15:06:28,980: DEBUG - Setting up libflac8:amd64 (1.3.2-1) ...
> 2018-09-27 15:06:29,081: DEBUG - Setting up libharfbuzz0b:amd64 (1.4.2-1) ...
> 2018-09-27 15:06:29,181: DEBUG - Setting up libdc1394-22:amd64 (2.2.5-1) ...
> 2018-09-27 15:06:29,282: DEBUG - Setting up libswresample2:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:06:29,383: DEBUG - Setting up libxtst6:amd64 (2:1.2.3-1) ...
> 2018-09-27 15:06:29,584: DEBUG - Setting up libass5:amd64 (1:0.13.4-2) ...
> 2018-09-27 15:06:29,684: DEBUG - Setting up libxcursor1:amd64 (1:1.1.14-1+deb9u1) ...
> 2018-09-27 15:06:29,785: DEBUG - Setting up librubberband2:amd64 (1.8.1-7) ...
> 2018-09-27 15:06:29,886: DEBUG - Setting up libgl1-mesa-glx:amd64 (13.0.6-1+b2) ...
> 2018-09-27 15:06:29,986: DEBUG - Setting up libswscale4:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:06:30,087: DEBUG - Setting up libpostproc54:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:06:30,188: DEBUG - Setting up libjack-jackd2-0:amd64 (1.9.10+20150825git1ed50c92~dfsg-5) ...
> 2018-09-27 15:06:30,389: DEBUG - Setting up libice6:amd64 (2:1.0.9-2) ...
> 2018-09-27 15:06:30,489: DEBUG - Setting up libopenal1:amd64 (1:1.17.2-4+b2) ...
> 2018-09-27 15:06:30,590: DEBUG - Setting up libvorbisenc2:amd64 (1.3.5-4+deb9u2) ...
> 2018-09-27 15:06:30,691: DEBUG - Setting up libtheora0:amd64 (1.1.1+dfsg.1-14+b1) ...
> 2018-09-27 15:06:30,892: DEBUG - Setting up libegl1-mesa:amd64 (13.0.6-1+b2) ...
> 2018-09-27 15:06:30,992: DEBUG - Setting up libsm6:amd64 (2:1.2.2-1+b3) ...
> 2018-09-27 15:06:31,093: DEBUG - Setting up libavresample3:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:06:31,194: DEBUG - Setting up libavcodec57:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:06:31,294: DEBUG - Setting up libsndfile1:amd64 (1.0.27-3) ...
> 2018-09-27 15:06:31,495: DEBUG - Setting up libwayland-egl1-mesa:amd64 (13.0.6-1+b2) ...
> 2018-09-27 15:06:31,596: DEBUG - Setting up libchromaprint1:amd64 (1.4.2-1) ...
> 2018-09-27 15:06:31,697: DEBUG - Setting up libpulse0:amd64 (10.0-1+deb9u1) ...
> 2018-09-27 15:06:31,898: DEBUG - Setting up libsdl2-2.0-0:amd64 (2.0.5+dfsg1-2) ...
> 2018-09-27 15:06:31,998: DEBUG - Setting up libavformat57:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:06:32,099: DEBUG - Setting up libavfilter6:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:06:32,200: DEBUG - Setting up libavdevice57:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:06:32,300: DEBUG - Setting up ffmpeg (7:3.2.12-1~deb9u1) ...
> 2018-09-27 15:06:32,501: DEBUG - Processing triggers for libc-bin (2.24-11+deb9u3) ...
> 2018-09-27 15:06:32,602: DEBUG - Processing triggers for systemd (232-25+deb9u4) ...
> 2018-09-27 15:06:33,003: DEBUG - + [[ -n /tmp/tmp.3tBji1qx55 ]]
> 2018-09-27 15:06:33,003: DEBUG - + rm -rf /tmp/tmp.3tBji1qx55
> 2018-09-27 15:06:33,004: DEBUG - + ynh_package_is_installed peertube-ynh-deps
> 2018-09-27 15:06:33,004: DEBUG - + dpkg-query -W -f '${Status}' peertube-ynh-deps
> 2018-09-27 15:06:33,004: DEBUG - + grep -c 'ok installed'
> 2018-09-27 15:06:33,004: DEBUG - + rm /tmp/peertube-ynh-deps.control
> 2018-09-27 15:06:33,005: DEBUG - + ynh_app_setting_set peertube apt_dependencies postgresql, postgresql-contrib, openssl, g++, ffmpeg, redis-server, redis-tools, mailutils, yarn, apt-transport-https
> 2018-09-27 15:06:33,005: DEBUG - + sudo yunohost app setting peertube apt_dependencies --value=postgresql, --quiet
> 2018-09-27 15:06:33,306: DEBUG - + db_name=peertube_peertube
> 2018-09-27 15:06:33,306: DEBUG - ++ ynh_string_random 30
> 2018-09-27 15:06:33,306: DEBUG - ++ dd if=/dev/urandom bs=1 count=200
> 2018-09-27 15:06:33,306: DEBUG - ++ tr -c -d A-Za-z0-9
> 2018-09-27 15:06:33,307: DEBUG - ++ sed -n 's/\(.\{30\}\).*/\1/p'
> 2018-09-27 15:06:33,307: DEBUG - + db_pwd=KSeNCU5uOIj0GilKPP1UnGtc1bcfA3
> 2018-09-27 15:06:33,307: DEBUG - + ynh_app_setting_set peertube psql_db peertube_peertube
> 2018-09-27 15:06:33,307: DEBUG - + sudo yunohost app setting peertube psql_db --value=peertube_peertube --quiet
> 2018-09-27 15:06:33,508: DEBUG - + ynh_app_setting_set peertube psqlpwd KSeNCU5uOIj0GilKPP1UnGtc1bcfA3
> 2018-09-27 15:06:33,508: DEBUG - + sudo yunohost app setting peertube psqlpwd --value=KSeNCU5uOIj0GilKPP1UnGtc1bcfA3 --quiet
> 2018-09-27 15:06:33,809: DEBUG - + ynh_psql_test_if_first_run
> 2018-09-27 15:06:33,810: DEBUG - + '[' -f /etc/yunohost/psql ']'
> 2018-09-27 15:06:33,810: DEBUG - + echo 'PostgreSQL is already installed, no need to create master password'
> 2018-09-27 15:06:33,810: DEBUG - PostgreSQL is already installed, no need to create master password
> 2018-09-27 15:06:33,810: DEBUG - + ynh_psql_create_user peertube KSeNCU5uOIj0GilKPP1UnGtc1bcfA3
> 2018-09-27 15:06:33,811: DEBUG - + user=peertube
> 2018-09-27 15:06:33,811: DEBUG - + pwd=KSeNCU5uOIj0GilKPP1UnGtc1bcfA3
> 2018-09-27 15:06:33,811: DEBUG - + sudo --login --user=postgres psql '-cCREATE USER peertube WITH PASSWORD '\''KSeNCU5uOIj0GilKPP1UnGtc1bcfA3'\''' postgres
> 2018-09-27 15:06:33,911: DEBUG - CREATE ROLE
> 2018-09-27 15:06:33,912: DEBUG - + ynh_psql_execute_as_root 'CREATE DATABASE peertube_peertube ENCODING '\''UTF8'\'' LC_COLLATE='\''C'\'' LC_CTYPE='\''C'\'' template=template0 OWNER peertube;'
> 2018-09-27 15:06:33,912: DEBUG - + sql='CREATE DATABASE peertube_peertube ENCODING '\''UTF8'\'' LC_COLLATE='\''C'\'' LC_CTYPE='\''C'\'' template=template0 OWNER peertube;'
> 2018-09-27 15:06:33,912: DEBUG - + sudo --login --user=postgres psql
> 2018-09-27 15:06:34,313: DEBUG - CREATE DATABASE
> 2018-09-27 15:06:34,314: DEBUG - + ynh_psql_execute_as_root '\connect peertube_peertube
> 2018-09-27 15:06:34,314: DEBUG - CREATE EXTENSION IF NOT EXISTS unaccent;CREATE EXTENSION IF NOT EXISTS pg_trgm;'
> 2018-09-27 15:06:34,314: DEBUG - + sql='\connect peertube_peertube
> 2018-09-27 15:06:34,315: DEBUG - CREATE EXTENSION IF NOT EXISTS unaccent;CREATE EXTENSION IF NOT EXISTS pg_trgm;'
> 2018-09-27 15:06:34,315: DEBUG - + sudo --login --user=postgres psql
> 2018-09-27 15:06:34,415: DEBUG - You are now connected to database "peertube_peertube" as user "postgres".
> 2018-09-27 15:06:34,416: DEBUG - CREATE EXTENSION
> 2018-09-27 15:06:34,516: DEBUG - CREATE EXTENSION
> 2018-09-27 15:06:34,517: DEBUG - + ynh_system_user_create peertube
> 2018-09-27 15:06:34,517: DEBUG - + ynh_system_user_exists peertube
> 2018-09-27 15:06:34,517: DEBUG - + getent passwd peertube
> 2018-09-27 15:06:34,518: DEBUG - + '[' 1 -ge 2 ']'
> 2018-09-27 15:06:34,518: DEBUG - + local user_home_dir=--no-create-home
> 2018-09-27 15:06:34,519: DEBUG - + sudo useradd --no-create-home --system --user-group peertube --shell /usr/sbin/nologin
> 2018-09-27 15:06:36,623: DEBUG - + ynh_app_setting_set peertube final_path /var/www/peertube
> 2018-09-27 15:06:36,623: DEBUG - + sudo yunohost app setting peertube final_path --value=/var/www/peertube --quiet
> 2018-09-27 15:06:36,924: DEBUG - + ynh_setup_source /var/www/peertube
> 2018-09-27 15:06:36,925: DEBUG - + local dest_dir=/var/www/peertube
> 2018-09-27 15:06:36,925: DEBUG - + local src_id=app
> 2018-09-27 15:06:36,925: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/app.src
> 2018-09-27 15:06:36,926: DEBUG - ++ cut -d= -f2-
> 2018-09-27 15:06:36,926: DEBUG - + local src_url=https://github.com/Chocobozzz/PeerTube/releases/download/v1.0.0-beta.13/peertube-v1.0.0-beta.13.tar.xz
> 2018-09-27 15:06:36,927: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/app.src
> 2018-09-27 15:06:36,927: DEBUG - ++ cut -d= -f2-
> 2018-09-27 15:06:36,927: DEBUG - + local src_sum=d23ebad3d1348a8fdf6ccaff81c16849045574578656ab7e676d4580c2da7383
> 2018-09-27 15:06:36,928: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/app.src
> 2018-09-27 15:06:36,928: DEBUG - ++ cut -d= -f2-
> 2018-09-27 15:06:36,928: DEBUG - + local src_sumprg=sha256sum
> 2018-09-27 15:06:36,929: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/app.src
> 2018-09-27 15:06:36,929: DEBUG - ++ cut -d= -f2-
> 2018-09-27 15:06:36,929: DEBUG - + local src_format=tar.xz
> 2018-09-27 15:06:36,930: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/app.src
> 2018-09-27 15:06:36,930: DEBUG - ++ cut -d= -f2-
> 2018-09-27 15:06:36,931: DEBUG - + local src_extract=
> 2018-09-27 15:06:36,931: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/app.src
> 2018-09-27 15:06:36,931: DEBUG - ++ cut -d= -f2-
> 2018-09-27 15:06:36,932: DEBUG - + local src_in_subdir=true
> 2018-09-27 15:06:36,932: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/app.src
> 2018-09-27 15:06:36,932: DEBUG - ++ cut -d= -f2-
> 2018-09-27 15:06:36,933: DEBUG - + local src_filename=
> 2018-09-27 15:06:36,933: DEBUG - + src_sumprg=sha256sum
> 2018-09-27 15:06:36,933: DEBUG - + src_in_subdir=true
> 2018-09-27 15:06:36,934: DEBUG - + src_format=tar.xz
> 2018-09-27 15:06:36,934: DEBUG - ++ echo tar.xz
> 2018-09-27 15:06:36,935: DEBUG - ++ tr '[:upper:]' '[:lower:]'
> 2018-09-27 15:06:36,935: DEBUG - + src_format=tar.xz
> 2018-09-27 15:06:36,935: DEBUG - + src_extract=true
> 2018-09-27 15:06:36,936: DEBUG - + '[' '' = '' ']'
> 2018-09-27 15:06:36,936: DEBUG - + src_filename=app.tar.xz
> 2018-09-27 15:06:36,936: DEBUG - + local local_src=/opt/yunohost-apps-src/peertube/app.tar.xz
> 2018-09-27 15:06:36,937: DEBUG - + test -e /opt/yunohost-apps-src/peertube/app.tar.xz
> 2018-09-27 15:06:36,937: 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
> 2018-09-27 15:06:38,341: DEBUG - + echo 'd23ebad3d1348a8fdf6ccaff81c16849045574578656ab7e676d4580c2da7383 app.tar.xz'
> 2018-09-27 15:06:38,341: WARNING - 2018-09-27 15:06:38 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%2F20180927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180927T150637Z&X-Amz-Expires=300&X-Amz-Signature=0e37926c3f2ec3c33ffbf5e0f6c7f3841a0eda14b85e73c0f9e662006b419764&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]
> 2018-09-27 15:06:38,342: DEBUG - + sha256sum -c --status
> 2018-09-27 15:06:38,342: DEBUG - + mkdir -p /var/www/peertube
> 2018-09-27 15:06:38,342: DEBUG - + true
> 2018-09-27 15:06:38,342: DEBUG - + '[' tar.xz = zip ']'
> 2018-09-27 15:06:38,343: DEBUG - + local strip=
> 2018-09-27 15:06:38,343: DEBUG - + true
> 2018-09-27 15:06:38,343: DEBUG - + strip='--strip-components 1'
> 2018-09-27 15:06:38,344: DEBUG - + [[ tar.xz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
> 2018-09-27 15:06:38,344: DEBUG - + tar -xf app.tar.xz -C /var/www/peertube --strip-components 1
> 2018-09-27 15:06:38,745: DEBUG - ++ find /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../sources/patches/ -type f -name 'app-*.patch'
> 2018-09-27 15:06:38,745: DEBUG - ++ wc -l
> 2018-09-27 15:06:38,746: DEBUG - + ((  0 > 0  ))
> 2018-09-27 15:06:38,746: DEBUG - + test -e /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../sources/extra_files/app
> 2018-09-27 15:06:38,746: DEBUG - + cp ../conf/production.yaml /var/www/peertube/config/production.yaml
> 2018-09-27 15:06:38,746: DEBUG - + touch /var/www/peertube/config/local-production.json
> 2018-09-27 15:06:38,746: DEBUG - + cd /var/www/peertube
> 2018-09-27 15:06:38,747: DEBUG - + PATH=/usr/bin/:/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-27 15:06:38,747: DEBUG - + yarn install --production --pure-lockfile
> 2018-09-27 15:06:38,847: DEBUG - + ynh_exit_properly
> 2018-09-27 15:06:38,848: WARNING - Usage: yarn [options]
> 2018-09-27 15:06:38,848: DEBUG - + local exit_code=2
> 2018-09-27 15:06:38,849: WARNING - 
> 2018-09-27 15:06:38,849: DEBUG - + '[' 2 -eq 0 ']'
> 2018-09-27 15:06:38,849: WARNING - yarn: error: no such option: --production
> 2018-09-27 15:06:38,850: DEBUG - + trap '' EXIT
> 2018-09-27 15:06:38,850: WARNING - !!
> 2018-09-27 15:06:38,850: DEBUG - + set +eu
> 2018-09-27 15:06:38,851: WARNING -   peertube's script has encountered an error. Its execution was cancelled.
> 2018-09-27 15:06:38,851: DEBUG - + echo -e '!!\n  peertube'\''s script has encountered an error. Its execution was cancelled.\n!!'
> 2018-09-27 15:06:38,851: WARNING - !!
> 2018-09-27 15:06:38,852: DEBUG - + type -t ynh_clean_setup
> 2018-09-27 15:06:38,852: WARNING - 
> 2018-09-27 15:06:38,852: DEBUG - + ynh_die
> 2018-09-27 15:06:38,853: DEBUG - + echo ''
> 2018-09-27 15:06:38,853: DEBUG - + exit 1
>

#25

$ apt-get purge cmdtest yarn
then install yarn
$ apt-get install yarn
The yarn version should be :
yarn -v
1.9.4


#26

We’ve got something when i try to install yarn I always have this

> apt-get install yarn
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Note, selecting 'cmdtest' instead of 'yarn'
> cmdtest is already the newest version (0.27-1).
> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> N: Ignoring file 'yarn.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

It’s not the good version i’m right?

So I try this

but a new fail


#27

Well,
I’ve succes to install yarn 1.10.1 with this
https://howto.biapy.com/fr/debian-gnu-linux/systeme/logiciels/installer-node.js-sur-debian
and
https://howto.biapy.com/fr/debian-gnu-linux/systeme/logiciels/installer-yarn-sur-debian
nodejs -v
V8.12.0
But new fail

> 2018-09-27 19:59:24,533: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/peertube_ynh-npm/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpwg4JdR/stdinfo YNH_APP_INSTANCE_NAME=peertube YNH_APP_ARG_EMAIL=homerc@free.fr YNH_APP_ID=peertube YNH_APP_ARG_DOMAIN=video.iphodase.fr BASH_XTRACEFD=7 /bin/bash -x "./install" video.iphodase.fr homerc@free.fr 1 peertube 7>&1'...
> 2018-09-27 19:59:24,534: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/peertube_ynh-npm/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpwg4JdR/stdinfo YNH_APP_INSTANCE_NAME=peertube YNH_APP_ARG_EMAIL=homerc@free.fr YNH_APP_ID=peertube YNH_APP_ARG_DOMAIN=video.iphodase.fr BASH_XTRACEFD=7 /bin/bash -x "./install" video.iphodase.fr homerc@free.fr 1 peertube 7>&1']'
> 2018-09-27 19:59:24,543: DEBUG - + source _common.sh
> 2018-09-27 19:59:24,544: DEBUG - + source /usr/share/yunohost/helpers
> 2018-09-27 19:59:24,544: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
> 2018-09-27 19:59:24,545: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 19:59:24,545: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
> 2018-09-27 19:59:24,545: DEBUG - ++ . /usr/share/yunohost/helpers.d/backend
> 2018-09-27 19:59:24,545: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 19:59:24,546: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
> 2018-09-27 19:59:24,546: DEBUG - ++ . /usr/share/yunohost/helpers.d/filesystem
> 2018-09-27 19:59:24,546: DEBUG - +++ CAN_BIND=1
> 2018-09-27 19:59:24,547: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 19:59:24,547: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
> 2018-09-27 19:59:24,547: DEBUG - ++ . /usr/share/yunohost/helpers.d/ip
> 2018-09-27 19:59:24,548: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 19:59:24,548: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
> 2018-09-27 19:59:24,548: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
> 2018-09-27 19:59:24,548: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
> 2018-09-27 19:59:24,549: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 19:59:24,549: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
> 2018-09-27 19:59:24,549: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
> 2018-09-27 19:59:24,550: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 19:59:24,550: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
> 2018-09-27 19:59:24,550: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
> 2018-09-27 19:59:24,551: DEBUG - +++ n_install_dir=/opt/node_n
> 2018-09-27 19:59:24,551: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
> 2018-09-27 19:59:24,551: DEBUG - +++ export N_PREFIX=/opt/node_n
> 2018-09-27 19:59:24,551: DEBUG - +++ N_PREFIX=/opt/node_n
> 2018-09-27 19:59:24,552: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 19:59:24,552: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
> 2018-09-27 19:59:24,552: DEBUG - ++ . /usr/share/yunohost/helpers.d/package
> 2018-09-27 19:59:24,553: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 19:59:24,553: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
> 2018-09-27 19:59:24,553: DEBUG - ++ . /usr/share/yunohost/helpers.d/print
> 2018-09-27 19:59:24,554: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 19:59:24,554: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
> 2018-09-27 19:59:24,554: DEBUG - ++ . /usr/share/yunohost/helpers.d/psql
> 2018-09-27 19:59:24,554: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 19:59:24,554: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
> 2018-09-27 19:59:24,555: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
> 2018-09-27 19:59:24,555: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 19:59:24,555: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
> 2018-09-27 19:59:24,555: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
> 2018-09-27 19:59:24,555: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 19:59:24,556: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
> 2018-09-27 19:59:24,556: DEBUG - ++ . /usr/share/yunohost/helpers.d/system
> 2018-09-27 19:59:24,556: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 19:59:24,556: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
> 2018-09-27 19:59:24,557: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
> 2018-09-27 19:59:24,557: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-09-27 19:59:24,557: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
> 2018-09-27 19:59:24,557: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
> 2018-09-27 19:59:24,557: DEBUG - + source psql.sh
> 2018-09-27 19:59:24,558: DEBUG - + ynh_abort_if_errors
> 2018-09-27 19:59:24,558: DEBUG - + set -eu
> 2018-09-27 19:59:24,558: DEBUG - + trap ynh_exit_properly EXIT
> 2018-09-27 19:59:24,558: DEBUG - + domain=video.iphodase.fr
> 2018-09-27 19:59:24,558: DEBUG - + path_url=/
> 2018-09-27 19:59:24,559: DEBUG - + admin_email=homerc@free.fr
> 2018-09-27 19:59:24,559: DEBUG - ++ ynh_string_random 24
> 2018-09-27 19:59:24,559: DEBUG - ++ dd if=/dev/urandom bs=1 count=200
> 2018-09-27 19:59:24,559: DEBUG - ++ tr -c -d A-Za-z0-9
> 2018-09-27 19:59:24,559: DEBUG - ++ sed -n 's/\(.\{24\}\).*/\1/p'
> 2018-09-27 19:59:24,560: DEBUG - + admin_pass=6MzVfqPCvB7HHpTMw4vajzNG
> 2018-09-27 19:59:24,560: DEBUG - + is_public=1
> 2018-09-27 19:59:24,560: DEBUG - + app=peertube
> 2018-09-27 19:59:24,560: DEBUG - + final_path=/var/www/peertube
> 2018-09-27 19:59:24,560: DEBUG - + test '!' -e /var/www/peertube
> 2018-09-27 19:59:24,560: DEBUG - + ynh_webpath_available video.iphodase.fr /
> 2018-09-27 19:59:24,561: DEBUG - + local domain=video.iphodase.fr
> 2018-09-27 19:59:24,561: DEBUG - + local path=/
> 2018-09-27 19:59:24,561: DEBUG - + sudo yunohost domain url-available video.iphodase.fr /
> 2018-09-27 19:59:24,862: DEBUG - True
> 2018-09-27 19:59:24,862: DEBUG - + ynh_webpath_register peertube video.iphodase.fr /
> 2018-09-27 19:59:24,862: DEBUG - + local app=peertube
> 2018-09-27 19:59:24,863: DEBUG - + local domain=video.iphodase.fr
> 2018-09-27 19:59:24,863: DEBUG - + local path=/
> 2018-09-27 19:59:24,863: DEBUG - + sudo yunohost app register-url peertube video.iphodase.fr /
> 2018-09-27 19:59:25,164: DEBUG - + ynh_app_setting_set peertube domain video.iphodase.fr
> 2018-09-27 19:59:25,165: DEBUG - + sudo yunohost app setting peertube domain --value=video.iphodase.fr --quiet
> 2018-09-27 19:59:25,466: DEBUG - + ynh_app_setting_set peertube admin_email homerc@free.fr
> 2018-09-27 19:59:25,466: DEBUG - + sudo yunohost app setting peertube admin_email --value=homerc@free.fr --quiet
> 2018-09-27 19:59:25,767: DEBUG - + ynh_app_setting_set peertube admin_pass 6MzVfqPCvB7HHpTMw4vajzNG
> 2018-09-27 19:59:25,767: DEBUG - + sudo yunohost app setting peertube admin_pass --value=6MzVfqPCvB7HHpTMw4vajzNG --quiet
> 2018-09-27 19:59:25,968: DEBUG - + ynh_app_setting_set peertube is_public 1
> 2018-09-27 19:59:25,968: DEBUG - + sudo yunohost app setting peertube is_public --value=1 --quiet
> 2018-09-27 19:59:26,269: DEBUG - ++ ynh_find_port 9000
> 2018-09-27 19:59:26,269: DEBUG - ++ local port=9000
> 2018-09-27 19:59:26,270: DEBUG - ++ test -n 9000
> 2018-09-27 19:59:26,270: DEBUG - ++ netcat -z 127.0.0.1 9000
> 2018-09-27 19:59:26,270: DEBUG - ++ echo 9000
> 2018-09-27 19:59:26,270: DEBUG - + port=9000
> 2018-09-27 19:59:26,270: DEBUG - + yunohost firewall allow Both 9000
> 2018-09-27 19:59:34,592: DEBUG - The firewall has been reloaded
> 2018-09-27 19:59:34,592: DEBUG - opened_ports:
> 2018-09-27 19:59:34,592: DEBUG -   - 22
> 2018-09-27 19:59:34,592: DEBUG -   - 25
> 2018-09-27 19:59:34,592: DEBUG -   - 53
> 2018-09-27 19:59:34,593: DEBUG -   - 80
> 2018-09-27 19:59:34,593: DEBUG -   - 443
> 2018-09-27 19:59:34,593: DEBUG -   - 587
> 2018-09-27 19:59:34,593: DEBUG -   - 993
> 2018-09-27 19:59:34,593: DEBUG -   - 5222
> 2018-09-27 19:59:34,594: DEBUG -   - 5269
> 2018-09-27 19:59:34,594: DEBUG -   - 5353
> 2018-09-27 19:59:34,594: DEBUG -   - 9000
> 2018-09-27 19:59:34,694: DEBUG - + ynh_app_setting_set peertube port 9000
> 2018-09-27 19:59:34,695: DEBUG - + sudo yunohost app setting peertube port --value=9000 --quiet
> 2018-09-27 19:59:34,895: DEBUG - + datadir=/home/yunohost.app/peertube/storage
> 2018-09-27 19:59:34,896: DEBUG - + mkdir -p /home/yunohost.app/peertube/storage
> 2018-09-27 19:59:34,896: DEBUG - + ynh_install_nodejs 8
> 2018-09-27 19:59:34,896: DEBUG - + nodejs_version=8
> 2018-09-27 19:59:34,896: DEBUG - + mkdir -p /opt/node_n
> 2018-09-27 19:59:34,897: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> 2018-09-27 19:59:34,897: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> 2018-09-27 19:59:34,897: DEBUG - ++ sed s@/usr/local/bin:@@
> 2018-09-27 19:59:34,897: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
> 2018-09-27 19:59:34,898: DEBUG - + test -x /usr/bin/node
> 2018-09-27 19:59:34,898: DEBUG - + mv /usr/bin/node /usr/bin/node_n
> 2018-09-27 19:59:34,898: DEBUG - + test -x /usr/bin/npm
> 2018-09-27 19:59:34,898: DEBUG - + mv /usr/bin/npm /usr/bin/npm_n
> 2018-09-27 19:59:34,899: WARNING - Installation of N - Node.js version management
> 2018-09-27 19:59:34,899: DEBUG - ++ n --version
> 2018-09-27 19:59:34,899: DEBUG - + test
> 2018-09-27 19:59:34,900: DEBUG - + ynh_install_n
> 2018-09-27 19:59:34,900: DEBUG - + echo 'Installation of N - Node.js version management'
> 2018-09-27 19:59:34,900: DEBUG - + mkdir -p ../conf
> 2018-09-27 19:59:34,900: DEBUG - + echo 'SOURCE_URL=https://github.com/tj/n/archive/v2.1.7.tar.gz
> 2018-09-27 19:59:34,901: DEBUG - SOURCE_SUM=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f'
> 2018-09-27 19:59:34,901: DEBUG - + ynh_setup_source /opt/node_n/git n
> 2018-09-27 19:59:34,901: DEBUG - + local dest_dir=/opt/node_n/git
> 2018-09-27 19:59:34,902: DEBUG - + local src_id=n
> 2018-09-27 19:59:34,902: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/n.src
> 2018-09-27 19:59:34,902: DEBUG - ++ cut -d= -f2-
> 2018-09-27 19:59:35,003: DEBUG - + local src_url=https://github.com/tj/n/archive/v2.1.7.tar.gz
> 2018-09-27 19:59:35,003: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/n.src
> 2018-09-27 19:59:35,004: DEBUG - ++ cut -d= -f2-
> 2018-09-27 19:59:35,004: DEBUG - + local src_sum=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f
> 2018-09-27 19:59:35,004: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/n.src
> 2018-09-27 19:59:35,005: DEBUG - ++ cut -d= -f2-
> 2018-09-27 19:59:35,005: DEBUG - + local src_sumprg=
> 2018-09-27 19:59:35,006: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/n.src
> 2018-09-27 19:59:35,006: DEBUG - ++ cut -d= -f2-
> 2018-09-27 19:59:35,006: DEBUG - + local src_format=
> 2018-09-27 19:59:35,007: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/n.src
> 2018-09-27 19:59:35,007: DEBUG - ++ cut -d= -f2-
> 2018-09-27 19:59:35,007: DEBUG - + local src_extract=
> 2018-09-27 19:59:35,008: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/n.src
> 2018-09-27 19:59:35,008: DEBUG - ++ cut -d= -f2-
> 2018-09-27 19:59:35,008: DEBUG - + local src_in_subdir=
> 2018-09-27 19:59:35,008: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/n.src
> 2018-09-27 19:59:35,009: DEBUG - ++ cut -d= -f2-
> 2018-09-27 19:59:35,009: DEBUG - + local src_filename=
> 2018-09-27 19:59:35,009: DEBUG - + src_sumprg=sha256sum
> 2018-09-27 19:59:35,010: DEBUG - + src_in_subdir=true
> 2018-09-27 19:59:35,010: DEBUG - + src_format=tar.gz
> 2018-09-27 19:59:35,010: DEBUG - ++ echo tar.gz
> 2018-09-27 19:59:35,011: DEBUG - ++ tr '[:upper:]' '[:lower:]'
> 2018-09-27 19:59:35,011: DEBUG - + src_format=tar.gz
> 2018-09-27 19:59:35,011: DEBUG - + src_extract=true
> 2018-09-27 19:59:35,012: DEBUG - + '[' '' = '' ']'
> 2018-09-27 19:59:35,012: DEBUG - + src_filename=n.tar.gz
> 2018-09-27 19:59:35,012: DEBUG - + local local_src=/opt/yunohost-apps-src/peertube/n.tar.gz
> 2018-09-27 19:59:35,012: DEBUG - + test -e /opt/yunohost-apps-src/peertube/n.tar.gz
> 2018-09-27 19:59:35,013: DEBUG - + wget -nv -O n.tar.gz https://github.com/tj/n/archive/v2.1.7.tar.gz
> 2018-09-27 19:59:36,216: DEBUG - + echo '2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f n.tar.gz'
> 2018-09-27 19:59:36,217: WARNING - 2018-09-27 19:59:36 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> "n.tar.gz" [1]
> 2018-09-27 19:59:36,217: DEBUG - + sha256sum -c --status
> 2018-09-27 19:59:36,217: DEBUG - + mkdir -p /opt/node_n/git
> 2018-09-27 19:59:36,217: DEBUG - + true
> 2018-09-27 19:59:36,218: DEBUG - + '[' tar.gz = zip ']'
> 2018-09-27 19:59:36,218: DEBUG - + local strip=
> 2018-09-27 19:59:36,218: DEBUG - + true
> 2018-09-27 19:59:36,218: DEBUG - + strip='--strip-components 1'
> 2018-09-27 19:59:36,219: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
> 2018-09-27 19:59:36,219: DEBUG - + tar -xf n.tar.gz -C /opt/node_n/git --strip-components 1
> 2018-09-27 19:59:36,219: DEBUG - ++ find /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../sources/patches/ -type f -name 'n-*.patch'
> 2018-09-27 19:59:36,219: DEBUG - ++ wc -l
> 2018-09-27 19:59:36,219: DEBUG - + ((  0 > 0  ))
> 2018-09-27 19:59:36,220: DEBUG - + test -e /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../sources/extra_files/n
> 2018-09-27 19:59:36,220: DEBUG - + cd /opt/node_n/git
> 2018-09-27 19:59:36,220: DEBUG - + PREFIX=/opt/node_n
> 2018-09-27 19:59:36,220: DEBUG - + make install
> 2018-09-27 19:59:36,221: DEBUG - mkdir -p /opt/node_n/bin/
> 2018-09-27 19:59:36,221: DEBUG - cp bin/n /opt/node_n/bin/n
> 2018-09-27 19:59:36,221: DEBUG - + ynh_replace_string '^N_PREFIX=${N_PREFIX-.*}$' 'N_PREFIX=${N_PREFIX-/opt/node_n}' /opt/node_n/bin/n
> 2018-09-27 19:59:36,221: DEBUG - + local delimit=@
> 2018-09-27 19:59:36,222: DEBUG - + local 'match_string=^N_PREFIX=${N_PREFIX-.*}$'
> 2018-09-27 19:59:36,222: DEBUG - + local 'replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}'
> 2018-09-27 19:59:36,222: DEBUG - + local workfile=/opt/node_n/bin/n
> 2018-09-27 19:59:36,222: DEBUG - + match_string='^N_PREFIX=${N_PREFIX-.*}$'
> 2018-09-27 19:59:36,223: DEBUG - + replace_string='N_PREFIX=${N_PREFIX-/opt/node_n}'
> 2018-09-27 19:59:36,223: DEBUG - + sudo sed --in-place 's@^N_PREFIX=${N_PREFIX-.*}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n
> 2018-09-27 19:59:36,323: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> 2018-09-27 19:59:36,324: DEBUG - + test -x /usr/bin/node_n
> 2018-09-27 19:59:36,324: DEBUG - + mv /usr/bin/node_n /usr/bin/node
> 2018-09-27 19:59:36,325: DEBUG - + test -x /usr/bin/npm_n
> 2018-09-27 19:59:36,325: DEBUG - + mv /usr/bin/npm_n /usr/bin/npm
> 2018-09-27 19:59:36,326: DEBUG - + n 8
> 2018-09-27 19:59:37,128: DEBUG - ++ sort --version-sort
> 2018-09-27 19:59:37,128: DEBUG - ++ find /opt/node_n/n/versions/node/8 /opt/node_n/n/versions/node/8.12.0 -maxdepth 0
> 2018-09-27 19:59:37,128: DEBUG - ++ tail --lines=1
> 2018-09-27 19:59:37,129: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/8.12.0
> 2018-09-27 19:59:37,129: DEBUG - ++ basename /opt/node_n/n/versions/node/8.12.0
> 2018-09-27 19:59:37,129: DEBUG - + real_nodejs_version=8.12.0
> 2018-09-27 19:59:37,129: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/8 ']'
> 2018-09-27 19:59:37,129: DEBUG - + echo peertube:8
> 2018-09-27 19:59:37,130: DEBUG - + tee --append /opt/node_n/ynh_app_version
> 2018-09-27 19:59:37,130: DEBUG - peertube:8
> 2018-09-27 19:59:37,130: DEBUG - + ynh_app_setting_set peertube nodejs_version 8
> 2018-09-27 19:59:37,130: DEBUG - + sudo yunohost app setting peertube nodejs_version --value=8 --quiet
> 2018-09-27 19:59:37,431: DEBUG - + ynh_cron_upgrade_node
> 2018-09-27 19:59:37,431: DEBUG - + cat
> 2018-09-27 19:59:37,432: DEBUG - + chmod +x /opt/node_n/node_update.sh
> 2018-09-27 19:59:37,432: DEBUG - + cat
> 2018-09-27 19:59:37,432: DEBUG - + chmod +x /etc/cron.daily/node_update
> 2018-09-27 19:59:37,432: DEBUG - + ynh_use_nodejs
> 2018-09-27 19:59:37,432: DEBUG - ++ ynh_app_setting_get peertube nodejs_version
> 2018-09-27 19:59:37,433: DEBUG - ++ sudo yunohost app setting peertube nodejs_version --output-as plain --quiet
> 2018-09-27 19:59:37,633: DEBUG - + nodejs_version=8
> 2018-09-27 19:59:37,633: DEBUG - + nodejs_use_version='echo "Deprecated command, should be removed"'
> 2018-09-27 19:59:37,634: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/8/bin
> 2018-09-27 19:59:37,634: 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-27 19:59:37,634: 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-27 19:59:37,634: DEBUG - ++ lsb_release --codename --short
> 2018-09-27 19:59:37,735: DEBUG - + '[' stretch == jessie ']'
> 2018-09-27 19:59:37,735: DEBUG - + curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg
> 2018-09-27 19:59:37,735: DEBUG - + apt-key add -
> 2018-09-27 19:59:37,836: WARNING - Warning: apt-key output should not be parsed (stdout is not a terminal)
> 2018-09-27 19:59:38,438: DEBUG - OK
> 2018-09-27 19:59:38,438: DEBUG - + echo 'deb https://dl.yarnpkg.com/debian/ stable main'
> 2018-09-27 19:59:38,439: DEBUG - + tee /etc/apt/sources.list.d/yarn.list
> 2018-09-27 19:59:38,439: DEBUG - deb https://dl.yarnpkg.com/debian/ stable main
> 2018-09-27 19:59:38,439: DEBUG - + ynh_package_update
> 2018-09-27 19:59:38,439: DEBUG - + ynh_apt update
> 2018-09-27 19:59:38,440: DEBUG - + DEBIAN_FRONTEND=noninteractive
> 2018-09-27 19:59:38,440: DEBUG - + sudo apt-get -y update
> 2018-09-27 19:59:38,741: DEBUG - Hit:1 https://deb.nodesource.com/node_8.x stretch InRelease
> 2018-09-27 19:59:38,942: DEBUG - Get:2 https://dl.yarnpkg.com/debian stable InRelease [13.3 kB]
> 2018-09-27 19:59:39,543: DEBUG - Get:3 https://dl.yarnpkg.com/debian stable/main all Packages [7,905 B]
> 2018-09-27 19:59:39,544: DEBUG - Get:4 https://dl.yarnpkg.com/debian stable/main amd64 Packages [7,905 B]
> 2018-09-27 19:59:39,645: DEBUG - Ign:5 http://debian.mirrors.ovh.net/debian stretch InRelease
> 2018-09-27 19:59:39,645: DEBUG - Get:6 http://debian.mirrors.ovh.net/debian stretch-updates InRelease [91.0 kB]
> 2018-09-27 19:59:39,645: DEBUG - Hit:7 http://security.debian.org/debian-security stretch/updates InRelease
> 2018-09-27 19:59:39,646: DEBUG - Get:8 http://debian.mirrors.ovh.net/debian stretch Release
> 2018-09-27 19:59:39,646: DEBUG - Hit:9 http://forge.yunohost.org/debian stretch InRelease
> 2018-09-27 19:59:40,348: DEBUG - Fetched 238 kB in 1s (137 kB/s)
> 2018-09-27 19:59:41,150: DEBUG - Reading package lists...
> 2018-09-27 19:59:41,150: DEBUG - + ynh_install_app_dependencies postgresql postgresql-contrib openssl g++ ffmpeg redis-server redis-tools mailutils yarn apt-transport-https
> 2018-09-27 19:59:41,150: DEBUG - + local 'dependencies=postgresql postgresql-contrib openssl g++ ffmpeg redis-server redis-tools mailutils yarn apt-transport-https'
> 2018-09-27 19:59:41,150: DEBUG - + local 'dependencies=postgresql, postgresql-contrib, openssl, g++, ffmpeg, redis-server, redis-tools, mailutils, yarn, apt-transport-https'
> 2018-09-27 19:59:41,151: DEBUG - + local 'dependencies=postgresql, postgresql-contrib, openssl, g++, ffmpeg, redis-server, redis-tools, mailutils, yarn, apt-transport-https'
> 2018-09-27 19:59:41,151: DEBUG - + local manifest_path=../manifest.json
> 2018-09-27 19:59:41,151: DEBUG - + '[' '!' -e ../manifest.json ']'
> 2018-09-27 19:59:41,151: DEBUG - ++ grep '\"version\": ' ../manifest.json
> 2018-09-27 19:59:41,151: DEBUG - ++ cut -d '"' -f 4
> 2018-09-27 19:59:41,151: DEBUG - + local version=1.0.0-beta.13
> 2018-09-27 19:59:41,152: DEBUG - + '[' 13 -eq 0 ']'
> 2018-09-27 19:59:41,152: DEBUG - + local dep_app=peertube
> 2018-09-27 19:59:41,152: DEBUG - + cat
> 2018-09-27 19:59:41,152: DEBUG - + ynh_package_install_from_equivs /tmp/peertube-ynh-deps.control
> 2018-09-27 19:59:41,152: DEBUG - + local controlfile=/tmp/peertube-ynh-deps.control
> 2018-09-27 19:59:41,153: DEBUG - ++ grep '^Package: ' /tmp/peertube-ynh-deps.control
> 2018-09-27 19:59:41,153: DEBUG - ++ cut '-d ' -f 2
> 2018-09-27 19:59:41,153: DEBUG - + local pkgname=peertube-ynh-deps
> 2018-09-27 19:59:41,153: DEBUG - ++ grep '^Version: ' /tmp/peertube-ynh-deps.control
> 2018-09-27 19:59:41,153: DEBUG - ++ cut '-d ' -f 2
> 2018-09-27 19:59:41,154: DEBUG - + local pkgversion=1.0.0-beta.13
> 2018-09-27 19:59:41,154: DEBUG - + [[ -z peertube-ynh-deps ]]
> 2018-09-27 19:59:41,154: DEBUG - + [[ -z 1.0.0-beta.13 ]]
> 2018-09-27 19:59:41,154: DEBUG - + ynh_package_update
> 2018-09-27 19:59:41,154: DEBUG - + ynh_apt update
> 2018-09-27 19:59:41,155: DEBUG - + DEBIAN_FRONTEND=noninteractive
> 2018-09-27 19:59:41,155: DEBUG - + sudo apt-get -y update
> 2018-09-27 19:59:41,355: DEBUG - Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
> 2018-09-27 19:59:41,356: DEBUG - Hit:2 https://dl.yarnpkg.com/debian stable InRelease
> 2018-09-27 19:59:41,556: DEBUG - Hit:3 https://deb.nodesource.com/node_8.x stretch InRelease
> 2018-09-27 19:59:42,259: DEBUG - Ign:4 http://debian.mirrors.ovh.net/debian stretch InRelease
> 2018-09-27 19:59:42,259: DEBUG - Get:5 http://debian.mirrors.ovh.net/debian stretch-updates InRelease [91.0 kB]
> 2018-09-27 19:59:42,360: DEBUG - Get:6 http://debian.mirrors.ovh.net/debian stretch Release [118 kB]
> 2018-09-27 19:59:43,363: DEBUG - Hit:8 http://forge.yunohost.org/debian stretch InRelease
> 2018-09-27 19:59:43,463: DEBUG - Fetched 209 kB in 2s (94.4 kB/s)
> 2018-09-27 19:59:44,266: DEBUG - Reading package lists...
> 2018-09-27 19:59:44,266: DEBUG - ++ mktemp -d
> 2018-09-27 19:59:44,266: DEBUG - + local TMPDIR=/tmp/tmp.48R1LUlwxk
> 2018-09-27 19:59:44,266: DEBUG - + echo 10
> 2018-09-27 19:59:44,267: DEBUG - + cp /tmp/peertube-ynh-deps.control /tmp/tmp.48R1LUlwxk/control
> 2018-09-27 19:59:44,267: DEBUG - + cd /tmp/tmp.48R1LUlwxk
> 2018-09-27 19:59:44,267: DEBUG - + equivs-build ./control
> 2018-09-27 19:59:45,169: DEBUG - + sudo dpkg --force-depends -i ./peertube-ynh-deps_1.0.0-beta.13_all.deb
> 2018-09-27 19:59:45,270: DEBUG - Selecting previously unselected package peertube-ynh-deps.
> 2018-09-27 19:59:45,271: DEBUG - (Reading database ... 46358 files and directories currently installed.)
> 2018-09-27 19:59:45,271: DEBUG - Preparing to unpack .../peertube-ynh-deps_1.0.0-beta.13_all.deb ...
> 2018-09-27 19:59:45,372: DEBUG - Unpacking peertube-ynh-deps (1.0.0-beta.13) ...
> 2018-09-27 19:59:45,473: DEBUG - dpkg: peertube-ynh-deps: dependency problems, but configuring anyway as you requested:
> 2018-09-27 19:59:45,473: DEBUG -  peertube-ynh-deps depends on postgresql; however:
> 2018-09-27 19:59:45,473: DEBUG -   Package postgresql is not installed.
> 2018-09-27 19:59:45,474: DEBUG -  peertube-ynh-deps depends on ffmpeg; however:
> 2018-09-27 19:59:45,474: DEBUG -   Package ffmpeg is not installed.
> 2018-09-27 19:59:45,475: DEBUG - 
> 2018-09-27 19:59:45,475: DEBUG - Setting up peertube-ynh-deps (1.0.0-beta.13) ...
> 2018-09-27 19:59:45,676: DEBUG - + ynh_package_install -f
> 2018-09-27 19:59:45,676: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
> 2018-09-27 19:59:45,677: DEBUG - + DEBIAN_FRONTEND=noninteractive
> 2018-09-27 19:59:45,677: DEBUG - + sudo apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
> 2018-09-27 19:59:45,878: DEBUG - Reading package lists...
> 2018-09-27 19:59:45,978: DEBUG - Building dependency tree...
> 2018-09-27 19:59:45,978: DEBUG - Reading state information...
> 2018-09-27 19:59:46,079: DEBUG - Correcting dependencies... Done
> 2018-09-27 19:59:46,179: DEBUG - The following package was automatically installed and is no longer required:
> 2018-09-27 19:59:46,180: DEBUG -   libuv1
> 2018-09-27 19:59:46,180: DEBUG - Use 'sudo apt autoremove' to remove it.
> 2018-09-27 19:59:46,180: DEBUG - The following additional packages will be installed:
> 2018-09-27 19:59:46,180: DEBUG -   ffmpeg libasound2 libasound2-data libass5 libasyncns0 libavc1394-0
> 2018-09-27 19:59:46,181: DEBUG -   libavcodec57 libavdevice57 libavfilter6 libavformat57 libavresample3
> 2018-09-27 19:59:46,181: DEBUG -   libavutil55 libbluray1 libbs2b0 libcaca0 libcairo2 libcdio-cdda1
> 2018-09-27 19:59:46,181: DEBUG -   libcdio-paranoia1 libcdio13 libchromaprint1 libcrystalhd3 libdc1394-22
> 2018-09-27 19:59:46,181: DEBUG -   libdrm2 libebur128-1 libegl1-mesa libfftw3-double3 libflac8 libflite1
> 2018-09-27 19:59:46,181: DEBUG -   libgbm1 libgl1-mesa-glx libglapi-mesa libgme0 libgraphite2-3 libgsm1
> 2018-09-27 19:59:46,182: DEBUG -   libharfbuzz0b libice6 libiec61883-0 libjack-jackd2-0 libmp3lame0 libmpg123-0
> 2018-09-27 19:59:46,182: DEBUG -   libogg0 libopenal-data libopenal1 libopencv-core2.4v5 libopencv-imgproc2.4v5
> 2018-09-27 19:59:46,182: DEBUG -   libopenjp2-7 libopenmpt0 libopus0 libpgm-5.2-0 libpixman-1-0 libpostproc54
> 2018-09-27 19:59:46,182: DEBUG -   libpulse0 libraw1394-11 librubberband2 libsamplerate0 libsdl2-2.0-0
> 2018-09-27 19:59:46,182: DEBUG -   libshine3 libsm6 libsnappy1v5 libsndfile1 libsndio6.1 libsodium18 libsoxr0
> 2018-09-27 19:59:46,183: DEBUG -   libspeex1 libssh-gcrypt-4 libswresample2 libswscale4 libtbb2 libtheora0
> 2018-09-27 19:59:46,183: DEBUG -   libtwolame0 libusb-1.0-0 libva-drm1 libva-x11-1 libva1 libvdpau1 libvorbis0a
> 2018-09-27 19:59:46,183: DEBUG -   libvorbisenc2 libvorbisfile3 libvpx4 libwavpack1 libwayland-client0
> 2018-09-27 19:59:46,183: DEBUG -   libwayland-cursor0 libwayland-egl1-mesa libwayland-server0 libwebpmux2
> 2018-09-27 19:59:46,183: DEBUG -   libx11-xcb1 libx264-148 libx265-95 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
> 2018-09-27 19:59:46,183: DEBUG -   libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1
> 2018-09-27 19:59:46,184: DEBUG -   libxcb-xfixes0 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6
> 2018-09-27 19:59:46,184: DEBUG -   libxinerama1 libxkbcommon0 libxrandr2 libxrender1 libxshmfence1 libxss1
> 2018-09-27 19:59:46,184: DEBUG -   libxtst6 libxv1 libxvidcore4 libxxf86vm1 libzmq5 libzvbi-common libzvbi0
> 2018-09-27 19:59:46,184: DEBUG -   postgresql x11-common
> 2018-09-27 19:59:46,184: DEBUG - Suggested packages:
> 2018-09-27 19:59:46,185: DEBUG -   ffmpeg-doc libasound2-plugins alsa-utils libbluray-bdj firmware-crystalhd
> 2018-09-27 19:59:46,185: DEBUG -   libfftw3-bin libfftw3-dev alsa-base jackd2 libportaudio2 opus-tools
> 2018-09-27 19:59:46,185: DEBUG -   pulseaudio libraw1394-doc sndiod speex postgresql-doc
> 2018-09-27 19:59:46,185: DEBUG - Recommended packages:
> 2018-09-27 19:59:46,185: DEBUG -   libaacs0 libgl1-mesa-dri va-driver-all | va-driver vdpau-driver-all
> 2018-09-27 19:59:46,186: DEBUG -   | vdpau-driver
> 2018-09-27 19:59:46,186: DEBUG - The following NEW packages will be installed:
> 2018-09-27 19:59:46,186: DEBUG -   ffmpeg libasound2 libasound2-data libass5 libasyncns0 libavc1394-0
> 2018-09-27 19:59:46,186: DEBUG -   libavcodec57 libavdevice57 libavfilter6 libavformat57 libavresample3
> 2018-09-27 19:59:46,186: DEBUG -   libavutil55 libbluray1 libbs2b0 libcaca0 libcairo2 libcdio-cdda1
> 2018-09-27 19:59:46,186: DEBUG -   libcdio-paranoia1 libcdio13 libchromaprint1 libcrystalhd3 libdc1394-22
> 2018-09-27 19:59:46,187: DEBUG -   libdrm2 libebur128-1 libegl1-mesa libfftw3-double3 libflac8 libflite1
> 2018-09-27 19:59:46,187: DEBUG -   libgbm1 libgl1-mesa-glx libglapi-mesa libgme0 libgraphite2-3 libgsm1
> 2018-09-27 19:59:46,187: DEBUG -   libharfbuzz0b libice6 libiec61883-0 libjack-jackd2-0 libmp3lame0 libmpg123-0
> 2018-09-27 19:59:46,187: DEBUG -   libogg0 libopenal-data libopenal1 libopencv-core2.4v5 libopencv-imgproc2.4v5
> 2018-09-27 19:59:46,187: DEBUG -   libopenjp2-7 libopenmpt0 libopus0 libpgm-5.2-0 libpixman-1-0 libpostproc54
> 2018-09-27 19:59:46,188: DEBUG -   libpulse0 libraw1394-11 librubberband2 libsamplerate0 libsdl2-2.0-0
> 2018-09-27 19:59:46,188: DEBUG -   libshine3 libsm6 libsnappy1v5 libsndfile1 libsndio6.1 libsodium18 libsoxr0
> 2018-09-27 19:59:46,188: DEBUG -   libspeex1 libssh-gcrypt-4 libswresample2 libswscale4 libtbb2 libtheora0
> 2018-09-27 19:59:46,188: DEBUG -   libtwolame0 libusb-1.0-0 libva-drm1 libva-x11-1 libva1 libvdpau1 libvorbis0a
> 2018-09-27 19:59:46,188: DEBUG -   libvorbisenc2 libvorbisfile3 libvpx4 libwavpack1 libwayland-client0
> 2018-09-27 19:59:46,189: DEBUG -   libwayland-cursor0 libwayland-egl1-mesa libwayland-server0 libwebpmux2
> 2018-09-27 19:59:46,189: DEBUG -   libx11-xcb1 libx264-148 libx265-95 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
> 2018-09-27 19:59:46,189: DEBUG -   libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1
> 2018-09-27 19:59:46,189: DEBUG -   libxcb-xfixes0 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6
> 2018-09-27 19:59:46,189: DEBUG -   libxinerama1 libxkbcommon0 libxrandr2 libxrender1 libxshmfence1 libxss1
> 2018-09-27 19:59:46,190: DEBUG -   libxtst6 libxv1 libxvidcore4 libxxf86vm1 libzmq5 libzvbi-common libzvbi0
> 2018-09-27 19:59:46,190: DEBUG -   postgresql x11-common
> 2018-09-27 19:59:46,591: WARNING - N: Ignoring file 'yarn.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
> 2018-09-27 19:59:46,691: WARNING - 
> Extracting templates from packages: 25%N: Ignoring file 'yarn.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
> 2018-09-27 19:59:46,792: WARNING - 
> Extracting templates from packages: 51%N: Ignoring file 'yarn.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
> 2018-09-27 19:59:46,893: WARNING - 
> Extracting templates from packages: 76%N: Ignoring file 'yarn.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
> 2018-09-27 19:59:46,893: WARNING - 
> Extracting templates from packages: 100%
> 2018-09-27 19:59:46,993: DEBUG - 0 upgraded, 117 newly installed, 0 to remove and 1 not upgraded.
> 2018-09-27 19:59:46,994: DEBUG - Need to get 0 B/39.0 MB of archives.
> 2018-09-27 19:59:46,994: DEBUG - After this operation, 104 MB of additional disk space will be used.
> 2018-09-27 19:59:47,095: DEBUG - Selecting previously unselected package libogg0:amd64.
> 2018-09-27 19:59:47,095: DEBUG - (Reading database ... 
> (Reading database ... 5%
> (Reading database ... 10%
> (Reading database ... 15%
> (Reading database ... 20%
> (Reading database ... 25%
> (Reading database ... 30%
> (Reading database ... 35%
> (Reading database ... 40%
> (Reading database ... 45%
> (Reading database ... 50%
> (Reading database ... 55%
> (Reading database ... 60%
> (Reading database ... 65%
> (Reading database ... 70%
> (Reading database ... 75%
> (Reading database ... 80%
> (Reading database ... 85%
> (Reading database ... 90%
> (Reading database ... 95%
> (Reading database ... 100%
> (Reading database ... 46362 files and directories currently installed.)
> 2018-09-27 19:59:47,096: DEBUG - Preparing to unpack .../000-libogg0_1.3.2-1_amd64.deb ...
> 2018-09-27 19:59:47,197: DEBUG - Unpacking libogg0:amd64 (1.3.2-1) ...
> 2018-09-27 19:59:47,498: DEBUG - Selecting previously unselected package libxext6:amd64.
> 2018-09-27 19:59:47,498: DEBUG - Preparing to unpack .../001-libxext6_2%3a1.3.3-1+b2_amd64.deb ...
> 2018-09-27 19:59:47,498: DEBUG - Unpacking libxext6:amd64 (2:1.3.3-1+b2) ...
> 2018-09-27 19:59:47,900: DEBUG - Selecting previously unselected package x11-common.
> 2018-09-27 19:59:47,900: DEBUG - Preparing to unpack .../002-x11-common_1%3a7.7+19_all.deb ...
> 2018-09-27 19:59:47,901: DEBUG - Unpacking x11-common (1:7.7+19) ...
> 2018-09-27 19:59:48,302: DEBUG - Selecting previously unselected package libxss1:amd64.
> 2018-09-27 19:59:48,303: DEBUG - Preparing to unpack .../003-libxss1_1%3a1.2.2-1_amd64.deb ...
> 2018-09-27 19:59:48,303: DEBUG - Unpacking libxss1:amd64 (1:1.2.2-1) ...
> 2018-09-27 19:59:48,805: DEBUG - Selecting previously unselected package libdrm2:amd64.
> 2018-09-27 19:59:48,805: DEBUG - Preparing to unpack .../004-libdrm2_2.4.74-1_amd64.deb ...
> 2018-09-27 19:59:48,906: DEBUG - Unpacking libdrm2:amd64 (2.4.74-1) ...
> 2018-09-27 19:59:49,207: DEBUG - Selecting previously unselected package libva1:amd64.
> 2018-09-27 19:59:49,207: DEBUG - Preparing to unpack .../005-libva1_1.7.3-2_amd64.deb ...
> 2018-09-27 19:59:49,208: DEBUG - Unpacking libva1:amd64 (1.7.3-2) ...
> 2018-09-27 19:59:49,609: DEBUG - Selecting previously unselected package libva-drm1:amd64.
> 2018-09-27 19:59:49,609: DEBUG - Preparing to unpack .../006-libva-drm1_1.7.3-2_amd64.deb ...
> 2018-09-27 19:59:49,609: DEBUG - Unpacking libva-drm1:amd64 (1.7.3-2) ...
> 2018-09-27 19:59:49,911: DEBUG - Selecting previously unselected package libxfixes3:amd64.
> 2018-09-27 19:59:49,911: DEBUG - Preparing to unpack .../007-libxfixes3_1%3a5.0.3-1_amd64.deb ...
> 2018-09-27 19:59:49,911: DEBUG - Unpacking libxfixes3:amd64 (1:5.0.3-1) ...
> 2018-09-27 19:59:50,313: DEBUG - Selecting previously unselected package libva-x11-1:amd64.
> 2018-09-27 19:59:50,313: DEBUG - Preparing to unpack .../008-libva-x11-1_1.7.3-2_amd64.deb ...
> 2018-09-27 19:59:50,314: DEBUG - Unpacking libva-x11-1:amd64 (1.7.3-2) ...
> 2018-09-27 19:59:50,615: DEBUG - Selecting previously unselected package libvdpau1:amd64.
> 2018-09-27 19:59:50,615: DEBUG - Preparing to unpack .../009-libvdpau1_1.1.1-6_amd64.deb ...
> 2018-09-27 19:59:50,715: DEBUG - Unpacking libvdpau1:amd64 (1.1.1-6) ...
> 2018-09-27 19:59:51,017: DEBUG - Selecting previously unselected package libavutil55:amd64.
> 2018-09-27 19:59:51,017: DEBUG - Preparing to unpack .../010-libavutil55_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 19:59:51,018: DEBUG - Unpacking libavutil55:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 19:59:51,319: DEBUG - Selecting previously unselected package libcrystalhd3:amd64.
> 2018-09-27 19:59:51,420: DEBUG - Preparing to unpack .../011-libcrystalhd3_1%3a0.0~git20110715.fdd2f19-12_amd64.deb ...
> 2018-09-27 19:59:51,420: DEBUG - Unpacking libcrystalhd3:amd64 (1:0.0~git20110715.fdd2f19-12) ...
> 2018-09-27 19:59:51,721: DEBUG - Selecting previously unselected package libgsm1:amd64.
> 2018-09-27 19:59:51,722: DEBUG - Preparing to unpack .../012-libgsm1_1.0.13-4+b2_amd64.deb ...
> 2018-09-27 19:59:51,722: DEBUG - Unpacking libgsm1:amd64 (1.0.13-4+b2) ...
> 2018-09-27 19:59:52,023: DEBUG - Selecting previously unselected package libmp3lame0:amd64.
> 2018-09-27 19:59:52,024: DEBUG - Preparing to unpack .../013-libmp3lame0_3.99.5+repack1-9+b2_amd64.deb ...
> 2018-09-27 19:59:52,124: DEBUG - Unpacking libmp3lame0:amd64 (3.99.5+repack1-9+b2) ...
> 2018-09-27 19:59:52,425: DEBUG - Selecting previously unselected package libopenjp2-7:amd64.
> 2018-09-27 19:59:52,426: DEBUG - Preparing to unpack .../014-libopenjp2-7_2.1.2-1.1+deb9u2_amd64.deb ...
> 2018-09-27 19:59:52,426: DEBUG - Unpacking libopenjp2-7:amd64 (2.1.2-1.1+deb9u2) ...
> 2018-09-27 19:59:52,727: DEBUG - Selecting previously unselected package libopus0:amd64.
> 2018-09-27 19:59:52,728: DEBUG - Preparing to unpack .../015-libopus0_1.2~alpha2-1_amd64.deb ...
> 2018-09-27 19:59:52,829: DEBUG - Unpacking libopus0:amd64 (1.2~alpha2-1) ...
> 2018-09-27 19:59:53,030: DEBUG - Selecting previously unselected package libshine3:amd64.
> 2018-09-27 19:59:53,030: DEBUG - Preparing to unpack .../016-libshine3_3.1.0-5_amd64.deb ...
> 2018-09-27 19:59:53,131: DEBUG - Unpacking libshine3:amd64 (3.1.0-5) ...
> 2018-09-27 19:59:53,432: DEBUG - Selecting previously unselected package libsnappy1v5:amd64.
> 2018-09-27 19:59:53,433: DEBUG - Preparing to unpack .../017-libsnappy1v5_1.1.3-3_amd64.deb ...
> 2018-09-27 19:59:53,433: DEBUG - Unpacking libsnappy1v5:amd64 (1.1.3-3) ...
> 2018-09-27 19:59:53,734: DEBUG - Selecting previously unselected package libspeex1:amd64.
> 2018-09-27 19:59:53,735: DEBUG - Preparing to unpack .../018-libspeex1_1.2~rc1.2-1+b2_amd64.deb ...
> 2018-09-27 19:59:53,735: DEBUG - Unpacking libspeex1:amd64 (1.2~rc1.2-1+b2) ...
> 2018-09-27 19:59:54,036: DEBUG - Selecting previously unselected package libsoxr0:amd64.
> 2018-09-27 19:59:54,036: DEBUG - Preparing to unpack .../019-libsoxr0_0.1.2-2_amd64.deb ...
> 2018-09-27 19:59:54,037: DEBUG - Unpacking libsoxr0:amd64 (0.1.2-2) ...
> 2018-09-27 19:59:54,338: DEBUG - Selecting previously unselected package libswresample2:amd64.
> 2018-09-27 19:59:54,338: DEBUG - Preparing to unpack .../020-libswresample2_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 19:59:54,439: DEBUG - Unpacking libswresample2:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 19:59:54,740: DEBUG - Selecting previously unselected package libpixman-1-0:amd64.
> 2018-09-27 19:59:54,741: DEBUG - Preparing to unpack .../021-libpixman-1-0_0.34.0-1_amd64.deb ...
> 2018-09-27 19:59:54,741: DEBUG - Unpacking libpixman-1-0:amd64 (0.34.0-1) ...
> 2018-09-27 19:59:55,143: DEBUG - Selecting previously unselected package libxcb-render0:amd64.
> 2018-09-27 19:59:55,143: DEBUG - Preparing to unpack .../022-libxcb-render0_1.12-1_amd64.deb ...
> 2018-09-27 19:59:55,143: DEBUG - Unpacking libxcb-render0:amd64 (1.12-1) ...
> 2018-09-27 19:59:55,445: DEBUG - Selecting previously unselected package libxcb-shm0:amd64.
> 2018-09-27 19:59:55,445: DEBUG - Preparing to unpack .../023-libxcb-shm0_1.12-1_amd64.deb ...
> 2018-09-27 19:59:55,546: DEBUG - Unpacking libxcb-shm0:amd64 (1.12-1) ...
> 2018-09-27 19:59:55,747: DEBUG - Selecting previously unselected package libxrender1:amd64.
> 2018-09-27 19:59:55,747: DEBUG - Preparing to unpack .../024-libxrender1_1%3a0.9.10-1_amd64.deb ...
> 2018-09-27 19:59:55,848: DEBUG - Unpacking libxrender1:amd64 (1:0.9.10-1) ...
> 2018-09-27 19:59:56,149: DEBUG - Selecting previously unselected package libcairo2:amd64.
> 2018-09-27 19:59:56,149: DEBUG - Preparing to unpack .../025-libcairo2_1.14.8-1_amd64.deb ...
> 2018-09-27 19:59:56,149: DEBUG - Unpacking libcairo2:amd64 (1.14.8-1) ...
> 2018-09-27 19:59:56,550: DEBUG - Selecting previously unselected package libtheora0:amd64.
> 2018-09-27 19:59:56,551: DEBUG - Preparing to unpack .../026-libtheora0_1.1.1+dfsg.1-14+b1_amd64.deb ...
> 2018-09-27 19:59:56,551: DEBUG - Unpacking libtheora0:amd64 (1.1.1+dfsg.1-14+b1) ...
> 2018-09-27 19:59:56,952: DEBUG - Selecting previously unselected package libtwolame0:amd64.
> 2018-09-27 19:59:56,952: DEBUG - Preparing to unpack .../027-libtwolame0_0.3.13-2_amd64.deb ...
> 2018-09-27 19:59:56,952: DEBUG - Unpacking libtwolame0:amd64 (0.3.13-2) ...
> 2018-09-27 19:59:57,253: DEBUG - Selecting previously unselected package libvorbis0a:amd64.
> 2018-09-27 19:59:57,254: DEBUG - Preparing to unpack .../028-libvorbis0a_1.3.5-4+deb9u2_amd64.deb ...
> 2018-09-27 19:59:57,354: DEBUG - Unpacking libvorbis0a:amd64 (1.3.5-4+deb9u2) ...
> 2018-09-27 19:59:57,655: DEBUG - Selecting previously unselected package libvorbisenc2:amd64.
> 2018-09-27 19:59:57,656: DEBUG - Preparing to unpack .../029-libvorbisenc2_1.3.5-4+deb9u2_amd64.deb ...
> 2018-09-27 19:59:57,656: DEBUG - Unpacking libvorbisenc2:amd64 (1.3.5-4+deb9u2) ...
> 2018-09-27 19:59:57,957: DEBUG - Selecting previously unselected package libvpx4:amd64.
> 2018-09-27 19:59:57,957: DEBUG - Preparing to unpack .../030-libvpx4_1.6.1-3+deb9u1_amd64.deb ...
> 2018-09-27 19:59:58,058: DEBUG - Unpacking libvpx4:amd64 (1.6.1-3+deb9u1) ...
> 2018-09-27 19:59:58,459: DEBUG - Selecting previously unselected package libwavpack1:amd64.
> 2018-09-27 19:59:58,460: DEBUG - Preparing to unpack .../031-libwavpack1_5.0.0-2+deb9u2_amd64.deb ...
> 2018-09-27 19:59:58,460: DEBUG - Unpacking libwavpack1:amd64 (5.0.0-2+deb9u2) ...
> 2018-09-27 19:59:58,761: DEBUG - Selecting previously unselected package libwebpmux2:amd64.
> 2018-09-27 19:59:58,761: DEBUG - Preparing to unpack .../032-libwebpmux2_0.5.2-1_amd64.deb ...
> 2018-09-27 19:59:58,862: DEBUG - Unpacking libwebpmux2:amd64 (0.5.2-1) ...
> 2018-09-27 19:59:59,163: DEBUG - Selecting previously unselected package libx264-148:amd64.
> 2018-09-27 19:59:59,163: DEBUG - Preparing to unpack .../033-libx264-148_2%3a0.148.2748+git97eaef2-1_amd64.deb ...
> 2018-09-27 19:59:59,164: DEBUG - Unpacking libx264-148:amd64 (2:0.148.2748+git97eaef2-1) ...
> 2018-09-27 19:59:59,565: DEBUG - Selecting previously unselected package libx265-95:amd64.
> 2018-09-27 19:59:59,565: DEBUG - Preparing to unpack .../034-libx265-95_2.1-2+b2_amd64.deb ...
> 2018-09-27 19:59:59,565: DEBUG - Unpacking libx265-95:amd64 (2.1-2+b2) ...
> 2018-09-27 20:00:00,067: DEBUG - Selecting previously unselected package libxvidcore4:amd64.
> 2018-09-27 20:00:00,067: DEBUG - Preparing to unpack .../035-libxvidcore4_2%3a1.3.4-1+b2_amd64.deb ...
> 2018-09-27 20:00:00,168: DEBUG - Unpacking libxvidcore4:amd64 (2:1.3.4-1+b2) ...
> 2018-09-27 20:00:00,369: DEBUG - Selecting previously unselected package libzvbi-common.
> 2018-09-27 20:00:00,369: DEBUG - Preparing to unpack .../036-libzvbi-common_0.2.35-13_all.deb ...
> 2018-09-27 20:00:00,470: DEBUG - Unpacking libzvbi-common (0.2.35-13) ...
> 2018-09-27 20:00:00,771: DEBUG - Selecting previously unselected package libzvbi0:amd64.
> 2018-09-27 20:00:00,772: DEBUG - Preparing to unpack .../037-libzvbi0_0.2.35-13_amd64.deb ...
> 2018-09-27 20:00:00,772: DEBUG - Unpacking libzvbi0:amd64 (0.2.35-13) ...
> 2018-09-27 20:00:01,073: DEBUG - Selecting previously unselected package libavcodec57:amd64.
> 2018-09-27 20:00:01,074: DEBUG - Preparing to unpack .../038-libavcodec57_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 20:00:01,174: DEBUG - Unpacking libavcodec57:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:01,876: DEBUG - Selecting previously unselected package libasound2-data.
> 2018-09-27 20:00:01,876: DEBUG - Preparing to unpack .../039-libasound2-data_1.1.3-5_all.deb ...
> 2018-09-27 20:00:01,876: DEBUG - Unpacking libasound2-data (1.1.3-5) ...
> 2018-09-27 20:00:02,277: DEBUG - Selecting previously unselected package libasound2:amd64.
> 2018-09-27 20:00:02,278: DEBUG - Preparing to unpack .../040-libasound2_1.1.3-5_amd64.deb ...
> 2018-09-27 20:00:02,278: DEBUG - Unpacking libasound2:amd64 (1.1.3-5) ...
> 2018-09-27 20:00:02,679: DEBUG - Selecting previously unselected package libraw1394-11:amd64.
> 2018-09-27 20:00:02,680: DEBUG - Preparing to unpack .../041-libraw1394-11_2.1.2-1+b1_amd64.deb ...
> 2018-09-27 20:00:02,680: DEBUG - Unpacking libraw1394-11:amd64 (2.1.2-1+b1) ...
> 2018-09-27 20:00:02,981: DEBUG - Selecting previously unselected package libavc1394-0:amd64.
> 2018-09-27 20:00:02,982: DEBUG - Preparing to unpack .../042-libavc1394-0_0.5.4-4+b1_amd64.deb ...
> 2018-09-27 20:00:03,083: DEBUG - Unpacking libavc1394-0:amd64 (0.5.4-4+b1) ...
> 2018-09-27 20:00:03,283: DEBUG - Selecting previously unselected package libgraphite2-3:amd64.
> 2018-09-27 20:00:03,284: DEBUG - Preparing to unpack .../043-libgraphite2-3_1.3.10-1_amd64.deb ...
> 2018-09-27 20:00:03,384: DEBUG - Unpacking libgraphite2-3:amd64 (1.3.10-1) ...
> 2018-09-27 20:00:03,686: DEBUG - Selecting previously unselected package libharfbuzz0b:amd64.
> 2018-09-27 20:00:03,686: DEBUG - Preparing to unpack .../044-libharfbuzz0b_1.4.2-1_amd64.deb ...
> 2018-09-27 20:00:03,686: DEBUG - Unpacking libharfbuzz0b:amd64 (1.4.2-1) ...
> 2018-09-27 20:00:04,087: DEBUG - Selecting previously unselected package libass5:amd64.
> 2018-09-27 20:00:04,087: DEBUG - Preparing to unpack .../045-libass5_1%3a0.13.4-2_amd64.deb ...
> 2018-09-27 20:00:04,088: DEBUG - Unpacking libass5:amd64 (1:0.13.4-2) ...
> 2018-09-27 20:00:04,489: DEBUG - Selecting previously unselected package libbluray1:amd64.
> 2018-09-27 20:00:04,490: DEBUG - Preparing to unpack .../046-libbluray1_1%3a0.9.3-3_amd64.deb ...
> 2018-09-27 20:00:04,490: DEBUG - Unpacking libbluray1:amd64 (1:0.9.3-3) ...
> 2018-09-27 20:00:04,892: DEBUG - Selecting previously unselected package libchromaprint1:amd64.
> 2018-09-27 20:00:04,892: DEBUG - Preparing to unpack .../047-libchromaprint1_1.4.2-1_amd64.deb ...
> 2018-09-27 20:00:04,893: DEBUG - Unpacking libchromaprint1:amd64 (1.4.2-1) ...
> 2018-09-27 20:00:05,194: DEBUG - Selecting previously unselected package libgme0:amd64.
> 2018-09-27 20:00:05,194: DEBUG - Preparing to unpack .../048-libgme0_0.6.0-4_amd64.deb ...
> 2018-09-27 20:00:05,195: DEBUG - Unpacking libgme0:amd64 (0.6.0-4) ...
> 2018-09-27 20:00:05,596: DEBUG - Selecting previously unselected package libmpg123-0:amd64.
> 2018-09-27 20:00:05,596: DEBUG - Preparing to unpack .../049-libmpg123-0_1.23.8-1+b1_amd64.deb ...
> 2018-09-27 20:00:05,597: DEBUG - Unpacking libmpg123-0:amd64 (1.23.8-1+b1) ...
> 2018-09-27 20:00:05,998: DEBUG - Selecting previously unselected package libvorbisfile3:amd64.
> 2018-09-27 20:00:05,999: DEBUG - Preparing to unpack .../050-libvorbisfile3_1.3.5-4+deb9u2_amd64.deb ...
> 2018-09-27 20:00:05,999: DEBUG - Unpacking libvorbisfile3:amd64 (1.3.5-4+deb9u2) ...
> 2018-09-27 20:00:06,300: DEBUG - Selecting previously unselected package libopenmpt0:amd64.
> 2018-09-27 20:00:06,301: DEBUG - Preparing to unpack .../051-libopenmpt0_0.2.7386~beta20.3-3+deb9u2_amd64.deb ...
> 2018-09-27 20:00:06,301: DEBUG - Unpacking libopenmpt0:amd64 (0.2.7386~beta20.3-3+deb9u2) ...
> 2018-09-27 20:00:06,702: DEBUG - Selecting previously unselected package libssh-gcrypt-4:amd64.
> 2018-09-27 20:00:06,703: DEBUG - Preparing to unpack .../052-libssh-gcrypt-4_0.7.3-2_amd64.deb ...
> 2018-09-27 20:00:06,803: DEBUG - Unpacking libssh-gcrypt-4:amd64 (0.7.3-2) ...
> 2018-09-27 20:00:07,004: DEBUG - Selecting previously unselected package libavformat57:amd64.
> 2018-09-27 20:00:07,105: DEBUG - Preparing to unpack .../053-libavformat57_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 20:00:07,105: DEBUG - Unpacking libavformat57:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:07,506: DEBUG - Selecting previously unselected package libavresample3:amd64.
> 2018-09-27 20:00:07,507: DEBUG - Preparing to unpack .../054-libavresample3_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 20:00:07,507: DEBUG - Unpacking libavresample3:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:07,808: DEBUG - Selecting previously unselected package libbs2b0:amd64.
> 2018-09-27 20:00:07,808: DEBUG - Preparing to unpack .../055-libbs2b0_3.1.0+dfsg-2.2_amd64.deb ...
> 2018-09-27 20:00:07,909: DEBUG - Unpacking libbs2b0:amd64 (3.1.0+dfsg-2.2) ...
> 2018-09-27 20:00:08,210: DEBUG - Selecting previously unselected package libebur128-1:amd64.
> 2018-09-27 20:00:08,211: DEBUG - Preparing to unpack .../056-libebur128-1_1.2.2-2_amd64.deb ...
> 2018-09-27 20:00:08,211: DEBUG - Unpacking libebur128-1:amd64 (1.2.2-2) ...
> 2018-09-27 20:00:08,512: DEBUG - Selecting previously unselected package libflite1:amd64.
> 2018-09-27 20:00:08,513: DEBUG - Preparing to unpack .../057-libflite1_2.0.0-release-3+b1_amd64.deb ...
> 2018-09-27 20:00:08,613: DEBUG - Unpacking libflite1:amd64 (2.0.0-release-3+b1) ...
> 2018-09-27 20:00:09,916: DEBUG - Selecting previously unselected package libtbb2:amd64.
> 2018-09-27 20:00:09,917: DEBUG - Preparing to unpack .../058-libtbb2_4.3~20150611-2_amd64.deb ...
> 2018-09-27 20:00:10,017: DEBUG - Unpacking libtbb2:amd64 (4.3~20150611-2) ...
> 2018-09-27 20:00:10,318: DEBUG - Selecting previously unselected package libopencv-core2.4v5:amd64.
> 2018-09-27 20:00:10,319: DEBUG - Preparing to unpack .../059-libopencv-core2.4v5_2.4.9.1+dfsg1-2_amd64.deb ...
> 2018-09-27 20:00:10,319: DEBUG - Unpacking libopencv-core2.4v5:amd64 (2.4.9.1+dfsg1-2) ...
> 2018-09-27 20:00:10,720: DEBUG - Selecting previously unselected package libopencv-imgproc2.4v5:amd64.
> 2018-09-27 20:00:10,720: DEBUG - Preparing to unpack .../060-libopencv-imgproc2.4v5_2.4.9.1+dfsg1-2_amd64.deb ...
> 2018-09-27 20:00:10,720: DEBUG - Unpacking libopencv-imgproc2.4v5:amd64 (2.4.9.1+dfsg1-2) ...
> 2018-09-27 20:00:11,122: DEBUG - Selecting previously unselected package libpostproc54:amd64.
> 2018-09-27 20:00:11,122: DEBUG - Preparing to unpack .../061-libpostproc54_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 20:00:11,122: DEBUG - Unpacking libpostproc54:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:11,423: DEBUG - Selecting previously unselected package libfftw3-double3:amd64.
> 2018-09-27 20:00:11,424: DEBUG - Preparing to unpack .../062-libfftw3-double3_3.3.5-3_amd64.deb ...
> 2018-09-27 20:00:11,424: DEBUG - Unpacking libfftw3-double3:amd64 (3.3.5-3) ...
> 2018-09-27 20:00:11,825: DEBUG - Selecting previously unselected package libsamplerate0:amd64.
> 2018-09-27 20:00:11,826: DEBUG - Preparing to unpack .../063-libsamplerate0_0.1.8-8+b2_amd64.deb ...
> 2018-09-27 20:00:11,926: DEBUG - Unpacking libsamplerate0:amd64 (0.1.8-8+b2) ...
> 2018-09-27 20:00:12,227: DEBUG - Selecting previously unselected package librubberband2:amd64.
> 2018-09-27 20:00:12,228: DEBUG - Preparing to unpack .../064-librubberband2_1.8.1-7_amd64.deb ...
> 2018-09-27 20:00:12,328: DEBUG - Unpacking librubberband2:amd64 (1.8.1-7) ...
> 2018-09-27 20:00:12,629: DEBUG - Selecting previously unselected package libswscale4:amd64.
> 2018-09-27 20:00:12,629: DEBUG - Preparing to unpack .../065-libswscale4_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 20:00:12,630: DEBUG - Unpacking libswscale4:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:12,931: DEBUG - Selecting previously unselected package libpgm-5.2-0:amd64.
> 2018-09-27 20:00:12,931: DEBUG - Preparing to unpack .../066-libpgm-5.2-0_5.2.122~dfsg-2_amd64.deb ...
> 2018-09-27 20:00:13,032: DEBUG - Unpacking libpgm-5.2-0:amd64 (5.2.122~dfsg-2) ...
> 2018-09-27 20:00:13,333: DEBUG - Selecting previously unselected package libsodium18:amd64.
> 2018-09-27 20:00:13,333: DEBUG - Preparing to unpack .../067-libsodium18_1.0.11-2_amd64.deb ...
> 2018-09-27 20:00:13,334: DEBUG - Unpacking libsodium18:amd64 (1.0.11-2) ...
> 2018-09-27 20:00:13,735: DEBUG - Selecting previously unselected package libzmq5:amd64.
> 2018-09-27 20:00:13,735: DEBUG - Preparing to unpack .../068-libzmq5_4.2.1-4_amd64.deb ...
> 2018-09-27 20:00:13,735: DEBUG - Unpacking libzmq5:amd64 (4.2.1-4) ...
> 2018-09-27 20:00:14,036: DEBUG - Selecting previously unselected package libavfilter6:amd64.
> 2018-09-27 20:00:14,036: DEBUG - Preparing to unpack .../069-libavfilter6_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 20:00:14,137: DEBUG - Unpacking libavfilter6:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:14,438: DEBUG - Selecting previously unselected package libcaca0:amd64.
> 2018-09-27 20:00:14,439: DEBUG - Preparing to unpack .../070-libcaca0_0.99.beta19-2+b2_amd64.deb ...
> 2018-09-27 20:00:14,439: DEBUG - Unpacking libcaca0:amd64 (0.99.beta19-2+b2) ...
> 2018-09-27 20:00:14,840: DEBUG - Selecting previously unselected package libcdio13:amd64.
> 2018-09-27 20:00:14,841: DEBUG - Preparing to unpack .../071-libcdio13_0.83-4.3+b1_amd64.deb ...
> 2018-09-27 20:00:14,941: DEBUG - Unpacking libcdio13:amd64 (0.83-4.3+b1) ...
> 2018-09-27 20:00:15,242: DEBUG - Selecting previously unselected package libcdio-cdda1:amd64.
> 2018-09-27 20:00:15,243: DEBUG - Preparing to unpack .../072-libcdio-cdda1_0.83-4.3+b1_amd64.deb ...
> 2018-09-27 20:00:15,243: DEBUG - Unpacking libcdio-cdda1:amd64 (0.83-4.3+b1) ...
> 2018-09-27 20:00:15,544: DEBUG - Selecting previously unselected package libcdio-paranoia1:amd64.
> 2018-09-27 20:00:15,544: DEBUG - Preparing to unpack .../073-libcdio-paranoia1_0.83-4.3+b1_amd64.deb ...
> 2018-09-27 20:00:15,644: DEBUG - Unpacking libcdio-paranoia1:amd64 (0.83-4.3+b1) ...
> 2018-09-27 20:00:15,946: DEBUG - Selecting previously unselected package libusb-1.0-0:amd64.
> 2018-09-27 20:00:15,946: DEBUG - Preparing to unpack .../074-libusb-1.0-0_2%3a1.0.21-1_amd64.deb ...
> 2018-09-27 20:00:15,947: DEBUG - Unpacking libusb-1.0-0:amd64 (2:1.0.21-1) ...
> 2018-09-27 20:00:16,248: DEBUG - Selecting previously unselected package libdc1394-22:amd64.
> 2018-09-27 20:00:16,248: DEBUG - Preparing to unpack .../075-libdc1394-22_2.2.5-1_amd64.deb ...
> 2018-09-27 20:00:16,348: DEBUG - Unpacking libdc1394-22:amd64 (2.2.5-1) ...
> 2018-09-27 20:00:16,650: DEBUG - Selecting previously unselected package libglapi-mesa:amd64.
> 2018-09-27 20:00:16,650: DEBUG - Preparing to unpack .../076-libglapi-mesa_13.0.6-1+b2_amd64.deb ...
> 2018-09-27 20:00:16,650: DEBUG - Unpacking libglapi-mesa:amd64 (13.0.6-1+b2) ...
> 2018-09-27 20:00:16,952: DEBUG - Selecting previously unselected package libx11-xcb1:amd64.
> 2018-09-27 20:00:16,952: DEBUG - Preparing to unpack .../077-libx11-xcb1_2%3a1.6.4-3_amd64.deb ...
> 2018-09-27 20:00:16,952: DEBUG - Unpacking libx11-xcb1:amd64 (2:1.6.4-3) ...
> 2018-09-27 20:00:17,253: DEBUG - Selecting previously unselected package libxcb-dri2-0:amd64.
> 2018-09-27 20:00:17,354: DEBUG - Preparing to unpack .../078-libxcb-dri2-0_1.12-1_amd64.deb ...
> 2018-09-27 20:00:17,355: DEBUG - Unpacking libxcb-dri2-0:amd64 (1.12-1) ...
> 2018-09-27 20:00:17,756: DEBUG - Selecting previously unselected package libxcb-dri3-0:amd64.
> 2018-09-27 20:00:17,756: DEBUG - Preparing to unpack .../079-libxcb-dri3-0_1.12-1_amd64.deb ...
> 2018-09-27 20:00:17,857: DEBUG - Unpacking libxcb-dri3-0:amd64 (1.12-1) ...
> 2018-09-27 20:00:18,158: DEBUG - Selecting previously unselected package libxcb-glx0:amd64.
> 2018-09-27 20:00:18,158: DEBUG - Preparing to unpack .../080-libxcb-glx0_1.12-1_amd64.deb ...
> 2018-09-27 20:00:18,159: DEBUG - Unpacking libxcb-glx0:amd64 (1.12-1) ...
> 2018-09-27 20:00:18,460: DEBUG - Selecting previously unselected package libxcb-present0:amd64.
> 2018-09-27 20:00:18,461: DEBUG - Preparing to unpack .../081-libxcb-present0_1.12-1_amd64.deb ...
> 2018-09-27 20:00:18,461: DEBUG - Unpacking libxcb-present0:amd64 (1.12-1) ...
> 2018-09-27 20:00:18,863: DEBUG - Selecting previously unselected package libxcb-sync1:amd64.
> 2018-09-27 20:00:18,863: DEBUG - Preparing to unpack .../082-libxcb-sync1_1.12-1_amd64.deb ...
> 2018-09-27 20:00:18,863: DEBUG - Unpacking libxcb-sync1:amd64 (1.12-1) ...
> 2018-09-27 20:00:19,566: DEBUG - Selecting previously unselected package libxdamage1:amd64.
> 2018-09-27 20:00:19,566: DEBUG - Preparing to unpack .../083-libxdamage1_1%3a1.1.4-2+b3_amd64.deb ...
> 2018-09-27 20:00:19,667: DEBUG - Unpacking libxdamage1:amd64 (1:1.1.4-2+b3) ...
> 2018-09-27 20:00:19,968: DEBUG - Selecting previously unselected package libxshmfence1:amd64.
> 2018-09-27 20:00:19,968: DEBUG - Preparing to unpack .../084-libxshmfence1_1.2-1+b2_amd64.deb ...
> 2018-09-27 20:00:19,969: DEBUG - Unpacking libxshmfence1:amd64 (1.2-1+b2) ...
> 2018-09-27 20:00:20,270: DEBUG - Selecting previously unselected package libxxf86vm1:amd64.
> 2018-09-27 20:00:20,270: DEBUG - Preparing to unpack .../085-libxxf86vm1_1%3a1.1.4-1+b2_amd64.deb ...
> 2018-09-27 20:00:20,271: DEBUG - Unpacking libxxf86vm1:amd64 (1:1.1.4-1+b2) ...
> 2018-09-27 20:00:20,572: DEBUG - Selecting previously unselected package libgl1-mesa-glx:amd64.
> 2018-09-27 20:00:20,673: DEBUG - Preparing to unpack .../086-libgl1-mesa-glx_13.0.6-1+b2_amd64.deb ...
> 2018-09-27 20:00:20,673: DEBUG - Unpacking libgl1-mesa-glx:amd64 (13.0.6-1+b2) ...
> 2018-09-27 20:00:20,974: DEBUG - Selecting previously unselected package libiec61883-0:amd64.
> 2018-09-27 20:00:20,975: DEBUG - Preparing to unpack .../087-libiec61883-0_1.2.0-2_amd64.deb ...
> 2018-09-27 20:00:20,975: DEBUG - Unpacking libiec61883-0:amd64 (1.2.0-2) ...
> 2018-09-27 20:00:21,276: DEBUG - Selecting previously unselected package libjack-jackd2-0:amd64.
> 2018-09-27 20:00:21,277: DEBUG - Preparing to unpack .../088-libjack-jackd2-0_1.9.10+20150825git1ed50c92~dfsg-5_amd64.deb ...
> 2018-09-27 20:00:21,277: DEBUG - Unpacking libjack-jackd2-0:amd64 (1.9.10+20150825git1ed50c92~dfsg-5) ...
> 2018-09-27 20:00:21,678: DEBUG - Selecting previously unselected package libopenal-data.
> 2018-09-27 20:00:21,679: DEBUG - Preparing to unpack .../089-libopenal-data_1%3a1.17.2-4_all.deb ...
> 2018-09-27 20:00:21,679: DEBUG - Unpacking libopenal-data (1:1.17.2-4) ...
> 2018-09-27 20:00:21,980: DEBUG - Selecting previously unselected package libsndio6.1:amd64.
> 2018-09-27 20:00:21,981: DEBUG - Preparing to unpack .../090-libsndio6.1_1.1.0-3_amd64.deb ...
> 2018-09-27 20:00:21,981: DEBUG - Unpacking libsndio6.1:amd64 (1.1.0-3) ...
> 2018-09-27 20:00:22,383: DEBUG - Selecting previously unselected package libopenal1:amd64.
> 2018-09-27 20:00:22,383: DEBUG - Preparing to unpack .../091-libopenal1_1%3a1.17.2-4+b2_amd64.deb ...
> 2018-09-27 20:00:22,383: DEBUG - Unpacking libopenal1:amd64 (1:1.17.2-4+b2) ...
> 2018-09-27 20:00:22,685: DEBUG - Selecting previously unselected package libasyncns0:amd64.
> 2018-09-27 20:00:22,785: DEBUG - Preparing to unpack .../092-libasyncns0_0.8-6_amd64.deb ...
> 2018-09-27 20:00:22,786: DEBUG - Unpacking libasyncns0:amd64 (0.8-6) ...
> 2018-09-27 20:00:22,987: DEBUG - Selecting previously unselected package libice6:amd64.
> 2018-09-27 20:00:22,987: DEBUG - Preparing to unpack .../093-libice6_2%3a1.0.9-2_amd64.deb ...
> 2018-09-27 20:00:23,088: DEBUG - Unpacking libice6:amd64 (2:1.0.9-2) ...
> 2018-09-27 20:00:23,389: DEBUG - Selecting previously unselected package libsm6:amd64.
> 2018-09-27 20:00:23,389: DEBUG - Preparing to unpack .../094-libsm6_2%3a1.2.2-1+b3_amd64.deb ...
> 2018-09-27 20:00:23,390: DEBUG - Unpacking libsm6:amd64 (2:1.2.2-1+b3) ...
> 2018-09-27 20:00:23,791: DEBUG - Selecting previously unselected package libflac8:amd64.
> 2018-09-27 20:00:23,791: DEBUG - Preparing to unpack .../095-libflac8_1.3.2-1_amd64.deb ...
> 2018-09-27 20:00:23,792: DEBUG - Unpacking libflac8:amd64 (1.3.2-1) ...
> 2018-09-27 20:00:24,093: DEBUG - Selecting previously unselected package libsndfile1:amd64.
> 2018-09-27 20:00:24,093: DEBUG - Preparing to unpack .../096-libsndfile1_1.0.27-3_amd64.deb ...
> 2018-09-27 20:00:24,194: DEBUG - Unpacking libsndfile1:amd64 (1.0.27-3) ...
> 2018-09-27 20:00:24,495: DEBUG - Selecting previously unselected package libxi6:amd64.
> 2018-09-27 20:00:24,496: DEBUG - Preparing to unpack .../097-libxi6_2%3a1.7.9-1_amd64.deb ...
> 2018-09-27 20:00:24,596: DEBUG - Unpacking libxi6:amd64 (2:1.7.9-1) ...
> 2018-09-27 20:00:24,898: DEBUG - Selecting previously unselected package libxtst6:amd64.
> 2018-09-27 20:00:24,898: DEBUG - Preparing to unpack .../098-libxtst6_2%3a1.2.3-1_amd64.deb ...
> 2018-09-27 20:00:24,899: DEBUG - Unpacking libxtst6:amd64 (2:1.2.3-1) ...
> 2018-09-27 20:00:25,200: DEBUG - Selecting previously unselected package libpulse0:amd64.
> 2018-09-27 20:00:25,200: DEBUG - Preparing to unpack .../099-libpulse0_10.0-1+deb9u1_amd64.deb ...
> 2018-09-27 20:00:25,301: DEBUG - Unpacking libpulse0:amd64 (10.0-1+deb9u1) ...
> 2018-09-27 20:00:25,602: DEBUG - Selecting previously unselected package libwayland-client0:amd64.
> 2018-09-27 20:00:25,602: DEBUG - Preparing to unpack .../100-libwayland-client0_1.12.0-1_amd64.deb ...
> 2018-09-27 20:00:25,703: DEBUG - Unpacking libwayland-client0:amd64 (1.12.0-1) ...
> 2018-09-27 20:00:26,004: DEBUG - Selecting previously unselected package libwayland-cursor0:amd64.
> 2018-09-27 20:00:26,005: DEBUG - Preparing to unpack .../101-libwayland-cursor0_1.12.0-1_amd64.deb ...
> 2018-09-27 20:00:26,005: DEBUG - Unpacking libwayland-cursor0:amd64 (1.12.0-1) ...
> 2018-09-27 20:00:26,306: DEBUG - Selecting previously unselected package libwayland-server0:amd64.
> 2018-09-27 20:00:26,307: DEBUG - Preparing to unpack .../102-libwayland-server0_1.12.0-1_amd64.deb ...
> 2018-09-27 20:00:26,407: DEBUG - Unpacking libwayland-server0:amd64 (1.12.0-1) ...
> 2018-09-27 20:00:26,709: DEBUG - Selecting previously unselected package libgbm1:amd64.
> 2018-09-27 20:00:26,709: DEBUG - Preparing to unpack .../103-libgbm1_13.0.6-1+b2_amd64.deb ...
> 2018-09-27 20:00:26,709: DEBUG - Unpacking libgbm1:amd64 (13.0.6-1+b2) ...
> 2018-09-27 20:00:27,010: DEBUG - Selecting previously unselected package libxcb-xfixes0:amd64.
> 2018-09-27 20:00:27,011: DEBUG - Preparing to unpack .../104-libxcb-xfixes0_1.12-1_amd64.deb ...
> 2018-09-27 20:00:27,011: DEBUG - Unpacking libxcb-xfixes0:amd64 (1.12-1) ...
> 2018-09-27 20:00:27,312: DEBUG - Selecting previously unselected package libegl1-mesa:amd64.
> 2018-09-27 20:00:27,312: DEBUG - Preparing to unpack .../105-libegl1-mesa_13.0.6-1+b2_amd64.deb ...
> 2018-09-27 20:00:27,413: DEBUG - Unpacking libegl1-mesa:amd64 (13.0.6-1+b2) ...
> 2018-09-27 20:00:27,714: DEBUG - Selecting previously unselected package libwayland-egl1-mesa:amd64.
> 2018-09-27 20:00:27,714: DEBUG - Preparing to unpack .../106-libwayland-egl1-mesa_13.0.6-1+b2_amd64.deb ...
> 2018-09-27 20:00:27,715: DEBUG - Unpacking libwayland-egl1-mesa:amd64 (13.0.6-1+b2) ...
> 2018-09-27 20:00:28,016: DEBUG - Selecting previously unselected package libxcursor1:amd64.
> 2018-09-27 20:00:28,016: DEBUG - Preparing to unpack .../107-libxcursor1_1%3a1.1.14-1+deb9u1_amd64.deb ...
> 2018-09-27 20:00:28,117: DEBUG - Unpacking libxcursor1:amd64 (1:1.1.14-1+deb9u1) ...
> 2018-09-27 20:00:28,419: DEBUG - Selecting previously unselected package libxinerama1:amd64.
> 2018-09-27 20:00:28,419: DEBUG - Preparing to unpack .../108-libxinerama1_2%3a1.1.3-1+b3_amd64.deb ...
> 2018-09-27 20:00:28,419: DEBUG - Unpacking libxinerama1:amd64 (2:1.1.3-1+b3) ...
> 2018-09-27 20:00:28,720: DEBUG - Selecting previously unselected package libxkbcommon0:amd64.
> 2018-09-27 20:00:28,721: DEBUG - Preparing to unpack .../109-libxkbcommon0_0.7.1-2~deb9u1_amd64.deb ...
> 2018-09-27 20:00:28,721: DEBUG - Unpacking libxkbcommon0:amd64 (0.7.1-2~deb9u1) ...
> 2018-09-27 20:00:29,123: DEBUG - Selecting previously unselected package libxrandr2:amd64.
> 2018-09-27 20:00:29,123: DEBUG - Preparing to unpack .../110-libxrandr2_2%3a1.5.1-1_amd64.deb ...
> 2018-09-27 20:00:29,123: DEBUG - Unpacking libxrandr2:amd64 (2:1.5.1-1) ...
> 2018-09-27 20:00:29,425: DEBUG - Selecting previously unselected package libsdl2-2.0-0:amd64.
> 2018-09-27 20:00:29,425: DEBUG - Preparing to unpack .../111-libsdl2-2.0-0_2.0.5+dfsg1-2_amd64.deb ...
> 2018-09-27 20:00:29,526: DEBUG - Unpacking libsdl2-2.0-0:amd64 (2.0.5+dfsg1-2) ...
> 2018-09-27 20:00:29,827: DEBUG - Selecting previously unselected package libxcb-shape0:amd64.
> 2018-09-27 20:00:29,827: DEBUG - Preparing to unpack .../112-libxcb-shape0_1.12-1_amd64.deb ...
> 2018-09-27 20:00:29,928: DEBUG - Unpacking libxcb-shape0:amd64 (1.12-1) ...
> 2018-09-27 20:00:30,129: DEBUG - Selecting previously unselected package libxv1:amd64.
> 2018-09-27 20:00:30,230: DEBUG - Preparing to unpack .../113-libxv1_2%3a1.0.11-1_amd64.deb ...
> 2018-09-27 20:00:30,230: DEBUG - Unpacking libxv1:amd64 (2:1.0.11-1) ...
> 2018-09-27 20:00:30,531: DEBUG - Selecting previously unselected package libavdevice57:amd64.
> 2018-09-27 20:00:30,531: DEBUG - Preparing to unpack .../114-libavdevice57_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 20:00:30,532: DEBUG - Unpacking libavdevice57:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:30,833: DEBUG - Selecting previously unselected package ffmpeg.
> 2018-09-27 20:00:30,833: DEBUG - Preparing to unpack .../115-ffmpeg_7%3a3.2.12-1~deb9u1_amd64.deb ...
> 2018-09-27 20:00:30,833: DEBUG - Unpacking ffmpeg (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:31,234: DEBUG - Selecting previously unselected package postgresql.
> 2018-09-27 20:00:31,235: DEBUG - Preparing to unpack .../116-postgresql_9.6+181+deb9u2_all.deb ...
> 2018-09-27 20:00:31,235: DEBUG - Unpacking postgresql (9.6+181+deb9u2) ...
> 2018-09-27 20:00:31,537: DEBUG - Setting up libpgm-5.2-0:amd64 (5.2.122~dfsg-2) ...
> 2018-09-27 20:00:31,637: DEBUG - Setting up libxcb-present0:amd64 (1.12-1) ...
> 2018-09-27 20:00:31,738: DEBUG - Setting up libx265-95:amd64 (2.1-2+b2) ...
> 2018-09-27 20:00:31,838: DEBUG - Setting up libxcb-dri2-0:amd64 (1.12-1) ...
> 2018-09-27 20:00:31,939: DEBUG - Setting up libxcb-dri3-0:amd64 (1.12-1) ...
> 2018-09-27 20:00:32,140: DEBUG - Setting up libxcb-glx0:amd64 (1.12-1) ...
> 2018-09-27 20:00:32,241: DEBUG - Setting up libtwolame0:amd64 (0.3.13-2) ...
> 2018-09-27 20:00:32,341: DEBUG - Setting up libraw1394-11:amd64 (2.1.2-1+b1) ...
> 2018-09-27 20:00:32,442: DEBUG - Setting up libxcb-xfixes0:amd64 (1.12-1) ...
> 2018-09-27 20:00:32,543: DEBUG - Setting up libxcb-render0:amd64 (1.12-1) ...
> 2018-09-27 20:00:32,643: DEBUG - Setting up libopenjp2-7:amd64 (2.1.2-1.1+deb9u2) ...
> 2018-09-27 20:00:32,844: DEBUG - Setting up libasyncns0:amd64 (0.8-6) ...
> 2018-09-27 20:00:32,945: DEBUG - Setting up libcdio13:amd64 (0.83-4.3+b1) ...
> 2018-09-27 20:00:33,046: DEBUG - Setting up libx264-148:amd64 (2:0.148.2748+git97eaef2-1) ...
> 2018-09-27 20:00:33,146: DEBUG - Setting up libxext6:amd64 (2:1.3.3-1+b2) ...
> 2018-09-27 20:00:33,247: DEBUG - Setting up libxfixes3:amd64 (1:5.0.3-1) ...
> 2018-09-27 20:00:33,348: DEBUG - Setting up libebur128-1:amd64 (1.2.2-2) ...
> 2018-09-27 20:00:33,448: DEBUG - Setting up libwavpack1:amd64 (5.0.0-2+deb9u2) ...
> 2018-09-27 20:00:33,549: DEBUG - Setting up libtbb2:amd64 (4.3~20150611-2) ...
> 2018-09-27 20:00:33,750: DEBUG - Setting up libcdio-cdda1:amd64 (0.83-4.3+b1) ...
> 2018-09-27 20:00:33,851: DEBUG - Setting up libsoxr0:amd64 (0.1.2-2) ...
> 2018-09-27 20:00:33,951: DEBUG - Setting up libssh-gcrypt-4:amd64 (0.7.3-2) ...
> 2018-09-27 20:00:34,052: DEBUG - Setting up libasound2-data (1.1.3-5) ...
> 2018-09-27 20:00:34,153: DEBUG - Setting up libxshmfence1:amd64 (1.2-1+b2) ...
> 2018-09-27 20:00:34,253: DEBUG - Setting up libwayland-client0:amd64 (1.12.0-1) ...
> 2018-09-27 20:00:34,354: DEBUG - Setting up libwebpmux2:amd64 (0.5.2-1) ...
> 2018-09-27 20:00:34,555: DEBUG - Setting up libvdpau1:amd64 (1.1.1-6) ...
> 2018-09-27 20:00:34,655: DEBUG - Setting up libshine3:amd64 (3.1.0-5) ...
> 2018-09-27 20:00:34,756: DEBUG - Setting up libopencv-core2.4v5:amd64 (2.4.9.1+dfsg1-2) ...
> 2018-09-27 20:00:34,957: DEBUG - Setting up libiec61883-0:amd64 (1.2.0-2) ...
> 2018-09-27 20:00:35,058: DEBUG - Setting up libglapi-mesa:amd64 (13.0.6-1+b2) ...
> 2018-09-27 20:00:35,158: DEBUG - Setting up libspeex1:amd64 (1.2~rc1.2-1+b2) ...
> 2018-09-27 20:00:35,259: DEBUG - Setting up libfftw3-double3:amd64 (3.3.5-3) ...
> 2018-09-27 20:00:35,360: DEBUG - Setting up libxvidcore4:amd64 (2:1.3.4-1+b2) ...
> 2018-09-27 20:00:35,460: DEBUG - Setting up libvpx4:amd64 (1.6.1-3+deb9u1) ...
> 2018-09-27 20:00:35,561: DEBUG - Setting up libopus0:amd64 (1.2~alpha2-1) ...
> 2018-09-27 20:00:35,762: DEBUG - Setting up libva1:amd64 (1.7.3-2) ...
> 2018-09-27 20:00:35,863: DEBUG - Setting up libasound2:amd64 (1.1.3-5) ...
> 2018-09-27 20:00:35,963: DEBUG - Setting up libdrm2:amd64 (2.4.74-1) ...
> 2018-09-27 20:00:36,064: DEBUG - Setting up libopenal-data (1:1.17.2-4) ...
> 2018-09-27 20:00:36,165: DEBUG - Setting up libgraphite2-3:amd64 (1.3.10-1) ...
> 2018-09-27 20:00:36,365: DEBUG - Setting up libbs2b0:amd64 (3.1.0+dfsg-2.2) ...
> 2018-09-27 20:00:36,466: DEBUG - Setting up libxcb-sync1:amd64 (1.12-1) ...
> 2018-09-27 20:00:36,567: DEBUG - Setting up libogg0:amd64 (1.3.2-1) ...
> 2018-09-27 20:00:36,768: DEBUG - Setting up libx11-xcb1:amd64 (2:1.6.4-3) ...
> 2018-09-27 20:00:36,868: DEBUG - Setting up libpixman-1-0:amd64 (0.34.0-1) ...
> 2018-09-27 20:00:36,969: DEBUG - Setting up libmp3lame0:amd64 (3.99.5+repack1-9+b2) ...
> 2018-09-27 20:00:37,070: DEBUG - Setting up libusb-1.0-0:amd64 (2:1.0.21-1) ...
> 2018-09-27 20:00:37,170: DEBUG - Setting up libcrystalhd3:amd64 (1:0.0~git20110715.fdd2f19-12) ...
> 2018-09-27 20:00:37,371: DEBUG - Processing triggers for libc-bin (2.24-11+deb9u3) ...
> 2018-09-27 20:00:37,472: DEBUG - Setting up postgresql (9.6+181+deb9u2) ...
> 2018-09-27 20:00:37,573: DEBUG - Setting up libsnappy1v5:amd64 (1.1.3-3) ...
> 2018-09-27 20:00:37,774: DEBUG - Setting up libbluray1:amd64 (1:0.9.3-3) ...
> 2018-09-27 20:00:37,874: DEBUG - Processing triggers for systemd (232-25+deb9u4) ...
> 2018-09-27 20:00:37,975: DEBUG - Setting up libavc1394-0:amd64 (0.5.4-4+b1) ...
> 2018-09-27 20:00:38,176: DEBUG - Setting up libzvbi-common (0.2.35-13) ...
> 2018-09-27 20:00:38,276: DEBUG - Setting up libxcb-shm0:amd64 (1.12-1) ...
> 2018-09-27 20:00:38,377: DEBUG - Setting up libxcb-shape0:amd64 (1.12-1) ...
> 2018-09-27 20:00:38,478: DEBUG - Setting up libxrender1:amd64 (1:0.9.10-1) ...
> 2018-09-27 20:00:38,579: DEBUG - Setting up libxv1:amd64 (2:1.0.11-1) ...
> 2018-09-27 20:00:38,679: DEBUG - Processing triggers for man-db (2.7.6.1-2) ...
> 2018-09-27 20:00:38,980: DEBUG - Setting up libxkbcommon0:amd64 (0.7.1-2~deb9u1) ...
> 2018-09-27 20:00:39,081: DEBUG - Setting up libcdio-paranoia1:amd64 (0.83-4.3+b1) ...
> 2018-09-27 20:00:39,282: DEBUG - Setting up libva-drm1:amd64 (1.7.3-2) ...
> 2018-09-27 20:00:39,383: DEBUG - Setting up libgme0:amd64 (0.6.0-4) ...
> 2018-09-27 20:00:39,483: DEBUG - Setting up libsodium18:amd64 (1.0.11-2) ...
> 2018-09-27 20:00:39,584: DEBUG - Setting up libxxf86vm1:amd64 (1:1.1.4-1+b2) ...
> 2018-09-27 20:00:39,685: DEBUG - Setting up libzvbi0:amd64 (0.2.35-13) ...
> 2018-09-27 20:00:39,886: DEBUG - Setting up libcaca0:amd64 (0.99.beta19-2+b2) ...
> 2018-09-27 20:00:39,986: DEBUG - Setting up libsamplerate0:amd64 (0.1.8-8+b2) ...
> 2018-09-27 20:00:40,087: DEBUG - Setting up libsndio6.1:amd64 (1.1.0-3) ...
> 2018-09-27 20:00:40,188: DEBUG - Setting up libvorbis0a:amd64 (1.3.5-4+deb9u2) ...
> 2018-09-27 20:00:40,289: DEBUG - Setting up x11-common (1:7.7+19) ...
> 2018-09-27 20:00:41,191: DEBUG - update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
> 2018-09-27 20:00:41,392: DEBUG - Setting up libmpg123-0:amd64 (1.23.8-1+b1) ...
> 2018-09-27 20:00:41,493: DEBUG - Setting up libwayland-cursor0:amd64 (1.12.0-1) ...
> 2018-09-27 20:00:41,694: DEBUG - Setting up libopencv-imgproc2.4v5:amd64 (2.4.9.1+dfsg1-2) ...
> 2018-09-27 20:00:41,794: DEBUG - Setting up libgsm1:amd64 (1.0.13-4+b2) ...
> 2018-09-27 20:00:41,895: DEBUG - Setting up libxrandr2:amd64 (2:1.5.1-1) ...
> 2018-09-27 20:00:41,996: DEBUG - Setting up libva-x11-1:amd64 (1.7.3-2) ...
> 2018-09-27 20:00:42,197: DEBUG - Setting up libwayland-server0:amd64 (1.12.0-1) ...
> 2018-09-27 20:00:42,298: DEBUG - Setting up libvorbisfile3:amd64 (1.3.5-4+deb9u2) ...
> 2018-09-27 20:00:42,398: DEBUG - Setting up libxi6:amd64 (2:1.7.9-1) ...
> 2018-09-27 20:00:42,599: DEBUG - Setting up libcairo2:amd64 (1.14.8-1) ...
> 2018-09-27 20:00:42,700: DEBUG - Setting up libxinerama1:amd64 (2:1.1.3-1+b3) ...
> 2018-09-27 20:00:42,801: DEBUG - Setting up libzmq5:amd64 (4.2.1-4) ...
> 2018-09-27 20:00:42,901: DEBUG - Setting up libxdamage1:amd64 (1:1.1.4-2+b3) ...
> 2018-09-27 20:00:43,102: DEBUG - Setting up libavutil55:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:43,203: DEBUG - Setting up libopenmpt0:amd64 (0.2.7386~beta20.3-3+deb9u2) ...
> 2018-09-27 20:00:43,304: DEBUG - Setting up libflite1:amd64 (2.0.0-release-3+b1) ...
> 2018-09-27 20:00:43,404: DEBUG - Setting up libxss1:amd64 (1:1.2.2-1) ...
> 2018-09-27 20:00:43,605: DEBUG - Setting up libgbm1:amd64 (13.0.6-1+b2) ...
> 2018-09-27 20:00:43,706: DEBUG - Setting up libflac8:amd64 (1.3.2-1) ...
> 2018-09-27 20:00:43,807: DEBUG - Setting up libharfbuzz0b:amd64 (1.4.2-1) ...
> 2018-09-27 20:00:43,907: DEBUG - Setting up libdc1394-22:amd64 (2.2.5-1) ...
> 2018-09-27 20:00:44,008: DEBUG - Setting up libswresample2:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:44,109: DEBUG - Setting up libxtst6:amd64 (2:1.2.3-1) ...
> 2018-09-27 20:00:44,209: DEBUG - Setting up libass5:amd64 (1:0.13.4-2) ...
> 2018-09-27 20:00:44,410: DEBUG - Setting up libxcursor1:amd64 (1:1.1.14-1+deb9u1) ...
> 2018-09-27 20:00:44,511: DEBUG - Setting up librubberband2:amd64 (1.8.1-7) ...
> 2018-09-27 20:00:44,612: DEBUG - Setting up libgl1-mesa-glx:amd64 (13.0.6-1+b2) ...
> 2018-09-27 20:00:44,813: DEBUG - Setting up libswscale4:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:44,913: DEBUG - Setting up libpostproc54:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:45,014: DEBUG - Setting up libjack-jackd2-0:amd64 (1.9.10+20150825git1ed50c92~dfsg-5) ...
> 2018-09-27 20:00:45,115: DEBUG - Setting up libice6:amd64 (2:1.0.9-2) ...
> 2018-09-27 20:00:45,215: DEBUG - Setting up libopenal1:amd64 (1:1.17.2-4+b2) ...
> 2018-09-27 20:00:45,316: DEBUG - Setting up libvorbisenc2:amd64 (1.3.5-4+deb9u2) ...
> 2018-09-27 20:00:45,517: DEBUG - Setting up libtheora0:amd64 (1.1.1+dfsg.1-14+b1) ...
> 2018-09-27 20:00:45,617: DEBUG - Setting up libegl1-mesa:amd64 (13.0.6-1+b2) ...
> 2018-09-27 20:00:45,718: DEBUG - Setting up libsm6:amd64 (2:1.2.2-1+b3) ...
> 2018-09-27 20:00:45,819: DEBUG - Setting up libavresample3:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:46,020: DEBUG - Setting up libavcodec57:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:46,120: DEBUG - Setting up libsndfile1:amd64 (1.0.27-3) ...
> 2018-09-27 20:00:46,221: DEBUG - Setting up libwayland-egl1-mesa:amd64 (13.0.6-1+b2) ...
> 2018-09-27 20:00:46,322: DEBUG - Setting up libchromaprint1:amd64 (1.4.2-1) ...
> 2018-09-27 20:00:46,422: DEBUG - Setting up libpulse0:amd64 (10.0-1+deb9u1) ...
> 2018-09-27 20:00:46,623: DEBUG - Setting up libsdl2-2.0-0:amd64 (2.0.5+dfsg1-2) ...
> 2018-09-27 20:00:46,724: DEBUG - Setting up libavformat57:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:46,825: DEBUG - Setting up libavfilter6:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:47,026: DEBUG - Setting up libavdevice57:amd64 (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:47,126: DEBUG - Setting up ffmpeg (7:3.2.12-1~deb9u1) ...
> 2018-09-27 20:00:47,227: DEBUG - Processing triggers for libc-bin (2.24-11+deb9u3) ...
> 2018-09-27 20:00:47,428: DEBUG - Processing triggers for systemd (232-25+deb9u4) ...
> 2018-09-27 20:00:47,829: DEBUG - + [[ -n /tmp/tmp.48R1LUlwxk ]]
> 2018-09-27 20:00:47,829: DEBUG - + rm -rf /tmp/tmp.48R1LUlwxk
> 2018-09-27 20:00:47,830: DEBUG - + ynh_package_is_installed peertube-ynh-deps
> 2018-09-27 20:00:47,830: DEBUG - + dpkg-query -W -f '${Status}' peertube-ynh-deps
> 2018-09-27 20:00:47,830: DEBUG - + grep -c 'ok installed'
> 2018-09-27 20:00:47,830: DEBUG - + rm /tmp/peertube-ynh-deps.control
> 2018-09-27 20:00:47,830: DEBUG - + ynh_app_setting_set peertube apt_dependencies postgresql, postgresql-contrib, openssl, g++, ffmpeg, redis-server, redis-tools, mailutils, yarn, apt-transport-https
> 2018-09-27 20:00:47,831: DEBUG - + sudo yunohost app setting peertube apt_dependencies --value=postgresql, --quiet
> 2018-09-27 20:00:48,132: DEBUG - + db_name=peertube_peertube
> 2018-09-27 20:00:48,132: DEBUG - ++ ynh_string_random 30
> 2018-09-27 20:00:48,132: DEBUG - ++ dd if=/dev/urandom bs=1 count=200
> 2018-09-27 20:00:48,132: DEBUG - ++ tr -c -d A-Za-z0-9
> 2018-09-27 20:00:48,132: DEBUG - ++ sed -n 's/\(.\{30\}\).*/\1/p'
> 2018-09-27 20:00:48,133: DEBUG - + db_pwd=HK4o3Jgero9f1I8Qs5KHyq1BlmzGYz
> 2018-09-27 20:00:48,133: DEBUG - + ynh_app_setting_set peertube psql_db peertube_peertube
> 2018-09-27 20:00:48,133: DEBUG - + sudo yunohost app setting peertube psql_db --value=peertube_peertube --quiet
> 2018-09-27 20:00:48,334: DEBUG - + ynh_app_setting_set peertube psqlpwd HK4o3Jgero9f1I8Qs5KHyq1BlmzGYz
> 2018-09-27 20:00:48,334: DEBUG - + sudo yunohost app setting peertube psqlpwd --value=HK4o3Jgero9f1I8Qs5KHyq1BlmzGYz --quiet
> 2018-09-27 20:00:48,635: DEBUG - + ynh_psql_test_if_first_run
> 2018-09-27 20:00:48,635: DEBUG - + '[' -f /etc/yunohost/psql ']'
> 2018-09-27 20:00:48,635: DEBUG - + echo 'PostgreSQL is already installed, no need to create master password'
> 2018-09-27 20:00:48,636: DEBUG - PostgreSQL is already installed, no need to create master password
> 2018-09-27 20:00:48,636: DEBUG - + ynh_psql_create_user peertube HK4o3Jgero9f1I8Qs5KHyq1BlmzGYz
> 2018-09-27 20:00:48,636: DEBUG - + user=peertube
> 2018-09-27 20:00:48,636: DEBUG - + pwd=HK4o3Jgero9f1I8Qs5KHyq1BlmzGYz
> 2018-09-27 20:00:48,637: DEBUG - + sudo --login --user=postgres psql '-cCREATE USER peertube WITH PASSWORD '\''HK4o3Jgero9f1I8Qs5KHyq1BlmzGYz'\''' postgres
> 2018-09-27 20:00:48,737: DEBUG - CREATE ROLE
> 2018-09-27 20:00:48,738: DEBUG - + ynh_psql_execute_as_root 'CREATE DATABASE peertube_peertube ENCODING '\''UTF8'\'' LC_COLLATE='\''C'\'' LC_CTYPE='\''C'\'' template=template0 OWNER peertube;'
> 2018-09-27 20:00:48,738: DEBUG - + sql='CREATE DATABASE peertube_peertube ENCODING '\''UTF8'\'' LC_COLLATE='\''C'\'' LC_CTYPE='\''C'\'' template=template0 OWNER peertube;'
> 2018-09-27 20:00:48,738: DEBUG - + sudo --login --user=postgres psql
> 2018-09-27 20:00:49,139: DEBUG - CREATE DATABASE
> 2018-09-27 20:00:49,140: DEBUG - + ynh_psql_execute_as_root '\connect peertube_peertube
> 2018-09-27 20:00:49,140: DEBUG - CREATE EXTENSION IF NOT EXISTS unaccent;CREATE EXTENSION IF NOT EXISTS pg_trgm;'
> 2018-09-27 20:00:49,140: DEBUG - + sql='\connect peertube_peertube
> 2018-09-27 20:00:49,141: DEBUG - CREATE EXTENSION IF NOT EXISTS unaccent;CREATE EXTENSION IF NOT EXISTS pg_trgm;'
> 2018-09-27 20:00:49,141: DEBUG - + sudo --login --user=postgres psql
> 2018-09-27 20:00:49,241: DEBUG - You are now connected to database "peertube_peertube" as user "postgres".
> 2018-09-27 20:00:49,242: DEBUG - CREATE EXTENSION
> 2018-09-27 20:00:49,342: DEBUG - CREATE EXTENSION
> 2018-09-27 20:00:49,343: DEBUG - + ynh_system_user_create peertube
> 2018-09-27 20:00:49,343: DEBUG - + ynh_system_user_exists peertube
> 2018-09-27 20:00:49,343: DEBUG - + getent passwd peertube
> 2018-09-27 20:00:49,343: DEBUG - + '[' 1 -ge 2 ']'
> 2018-09-27 20:00:49,343: DEBUG - + local user_home_dir=--no-create-home
> 2018-09-27 20:00:49,344: DEBUG - + sudo useradd --no-create-home --system --user-group peertube --shell /usr/sbin/nologin
> 2018-09-27 20:00:51,448: DEBUG - + ynh_app_setting_set peertube final_path /var/www/peertube
> 2018-09-27 20:00:51,449: DEBUG - + sudo yunohost app setting peertube final_path --value=/var/www/peertube --quiet
> 2018-09-27 20:00:51,750: DEBUG - + ynh_setup_source /var/www/peertube
> 2018-09-27 20:00:51,750: DEBUG - + local dest_dir=/var/www/peertube
> 2018-09-27 20:00:51,751: DEBUG - + local src_id=app
> 2018-09-27 20:00:51,751: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/app.src
> 2018-09-27 20:00:51,751: DEBUG - ++ cut -d= -f2-
> 2018-09-27 20:00:51,752: DEBUG - + local src_url=https://github.com/Chocobozzz/PeerTube/releases/download/v1.0.0-beta.13/peertube-v1.0.0-beta.13.tar.xz
> 2018-09-27 20:00:51,752: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/app.src
> 2018-09-27 20:00:51,752: DEBUG - ++ cut -d= -f2-
> 2018-09-27 20:00:51,753: DEBUG - + local src_sum=d23ebad3d1348a8fdf6ccaff81c16849045574578656ab7e676d4580c2da7383
> 2018-09-27 20:00:51,753: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/app.src
> 2018-09-27 20:00:51,753: DEBUG - ++ cut -d= -f2-
> 2018-09-27 20:00:51,754: DEBUG - + local src_sumprg=sha256sum
> 2018-09-27 20:00:51,754: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/app.src
> 2018-09-27 20:00:51,754: DEBUG - ++ cut -d= -f2-
> 2018-09-27 20:00:51,755: DEBUG - + local src_format=tar.xz
> 2018-09-27 20:00:51,755: DEBUG - ++ cut -d= -f2-
> 2018-09-27 20:00:51,755: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/app.src
> 2018-09-27 20:00:51,756: DEBUG - + local src_extract=
> 2018-09-27 20:00:51,756: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/app.src
> 2018-09-27 20:00:51,756: DEBUG - ++ cut -d= -f2-
> 2018-09-27 20:00:51,757: DEBUG - + local src_in_subdir=true
> 2018-09-27 20:00:51,757: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../conf/app.src
> 2018-09-27 20:00:51,757: DEBUG - ++ cut -d= -f2-
> 2018-09-27 20:00:51,758: DEBUG - + local src_filename=
> 2018-09-27 20:00:51,758: DEBUG - + src_sumprg=sha256sum
> 2018-09-27 20:00:51,758: DEBUG - + src_in_subdir=true
> 2018-09-27 20:00:51,759: DEBUG - + src_format=tar.xz
> 2018-09-27 20:00:51,759: DEBUG - ++ echo tar.xz
> 2018-09-27 20:00:51,759: DEBUG - ++ tr '[:upper:]' '[:lower:]'
> 2018-09-27 20:00:51,760: DEBUG - + src_format=tar.xz
> 2018-09-27 20:00:51,760: DEBUG - + src_extract=true
> 2018-09-27 20:00:51,760: DEBUG - + '[' '' = '' ']'
> 2018-09-27 20:00:51,761: DEBUG - + src_filename=app.tar.xz
> 2018-09-27 20:00:51,761: DEBUG - + local local_src=/opt/yunohost-apps-src/peertube/app.tar.xz
> 2018-09-27 20:00:51,761: DEBUG - + test -e /opt/yunohost-apps-src/peertube/app.tar.xz
> 2018-09-27 20:00:51,762: 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
> 2018-09-27 20:00:53,466: DEBUG - + echo 'd23ebad3d1348a8fdf6ccaff81c16849045574578656ab7e676d4580c2da7383 app.tar.xz'
> 2018-09-27 20:00:53,466: WARNING - 2018-09-27 20:00:53 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%2F20180927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180927T200052Z&X-Amz-Expires=300&X-Amz-Signature=3fdfdac0c0cd3b8c1c329ee491c777ebebe7f09df4197ddf43c9542ed44e6f9b&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]
> 2018-09-27 20:00:53,467: DEBUG - + sha256sum -c --status
> 2018-09-27 20:00:53,467: DEBUG - + mkdir -p /var/www/peertube
> 2018-09-27 20:00:53,467: DEBUG - + true
> 2018-09-27 20:00:53,468: DEBUG - + '[' tar.xz = zip ']'
> 2018-09-27 20:00:53,468: DEBUG - + local strip=
> 2018-09-27 20:00:53,468: DEBUG - + true
> 2018-09-27 20:00:53,468: DEBUG - + strip='--strip-components 1'
> 2018-09-27 20:00:53,469: DEBUG - + [[ tar.xz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
> 2018-09-27 20:00:53,469: DEBUG - + tar -xf app.tar.xz -C /var/www/peertube --strip-components 1
> 2018-09-27 20:00:53,870: DEBUG - ++ find /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../sources/patches/ -type f -name 'app-*.patch'
> 2018-09-27 20:00:53,870: DEBUG - ++ wc -l
> 2018-09-27 20:00:53,871: DEBUG - + ((  0 > 0  ))
> 2018-09-27 20:00:53,871: DEBUG - + test -e /var/cache/yunohost/from_file/peertube_ynh-npm/scripts/../sources/extra_files/app
> 2018-09-27 20:00:53,871: DEBUG - + cp ../conf/production.yaml /var/www/peertube/config/production.yaml
> 2018-09-27 20:00:53,871: DEBUG - + touch /var/www/peertube/config/local-production.json
> 2018-09-27 20:00:53,871: DEBUG - + cd /var/www/peertube
> 2018-09-27 20:00:53,871: DEBUG - + PATH=/usr/bin/:/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-27 20:00:53,872: DEBUG - + yarn install --production --pure-lockfile
> 2018-09-27 20:00:54,073: DEBUG - yarn install v1.10.1
> 2018-09-27 20:00:54,274: DEBUG - [1/5] Validating package.json...
> 2018-09-27 20:00:54,274: DEBUG - [2/5] Resolving packages...
> 2018-09-27 20:01:09,010: WARNING - warning Resolution field "@types/bluebird@3.5.21" is incompatible with requested version "@types/bluebird@3.5.18"
> 2018-09-27 20:01:34,173: DEBUG - [3/5] Fetching packages...
> 2018-09-27 20:01:34,975: DEBUG - info fsevents@1.2.4: The platform "linux" is incompatible with this module.
> 2018-09-27 20:01:34,975: DEBUG - info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
> 2018-09-27 20:01:35,076: DEBUG - [4/5] Linking dependencies...
> 2018-09-27 20:01:38,984: DEBUG - [5/5] Building fresh packages...
> 2018-09-27 20:01:39,786: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
> 2018-09-27 20:01:39,786: WARNING - error /var/www/peertube/node_modules/rdf-canonize: Command failed.
> 2018-09-27 20:01:39,786: WARNING - Exit code: 1
> 2018-09-27 20:01:39,786: WARNING - Command: node-gyp rebuild
> 2018-09-27 20:01:39,787: WARNING - Arguments:
> 2018-09-27 20:01:39,787: WARNING - Directory: /var/www/peertube/node_modules/rdf-canonize
> 2018-09-27 20:01:39,787: WARNING - Output:
> 2018-09-27 20:01:39,788: WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
> 2018-09-27 20:01:39,788: WARNING - sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
> 2018-09-27 20:01:39,788: WARNING - gyp info it worked if it ends with ok
> 2018-09-27 20:01:39,788: WARNING - gyp info using node-gyp@3.8.0
> 2018-09-27 20:01:39,789: WARNING - gyp info using node@8.12.0 | linux | x64
> 2018-09-27 20:01:39,789: WARNING - gyp info spawn /usr/bin/python2
> 2018-09-27 20:01:39,789: WARNING - gyp info spawn args [ '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
> 2018-09-27 20:01:39,789: WARNING - gyp info spawn args   'binding.gyp',
> 2018-09-27 20:01:39,790: WARNING - gyp info spawn args   '-f',
> 2018-09-27 20:01:39,790: WARNING - gyp info spawn args   'make',
> 2018-09-27 20:01:39,790: WARNING - gyp info spawn args   '-I',
> 2018-09-27 20:01:39,790: WARNING - gyp info spawn args   '/var/www/peertube/node_modules/rdf-canonize/build/config.gypi',
> 2018-09-27 20:01:39,791: WARNING - gyp info spawn args   '-I',
> 2018-09-27 20:01:39,791: WARNING - gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
> 2018-09-27 20:01:39,791: WARNING - gyp info spawn args   '-I',
> 2018-09-27 20:01:39,791: WARNING - gyp info spawn args   '/root/.node-gyp/8.12.0/include/node/common.gypi',
> 2018-09-27 20:01:39,791: WARNING - gyp info spawn args   '-Dlibrary=shared_library',
> 2018-09-27 20:01:39,792: WARNING - gyp info spawn args   '-Dvisibility=default',
> 2018-09-27 20:01:39,792: WARNING - gyp info spawn args   '-Dnode_root_dir=/root/.node-gyp/8.12.0',
> 2018-09-27 20:01:39,792: WARNING - gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
> 2018-09-27 20:01:39,792: WARNING - gyp info spawn args   '-Dnode_lib_file=/root/.node-gyp/8.12.0/<(target_arch)/node.lib',
> 2018-09-27 20:01:39,793: WARNING - gyp info spawn args   '-Dmodule_root_dir=/var/www/peertube/node_modules/rdf-canonize',
> 2018-09-27 20:01:39,793: WARNING - gyp info spawn args   '-Dnode_engine=v8',
> 2018-09-27 20:01:39,793: WARNING - gyp info spawn args   '--depth=.',
> 2018-09-27 20:01:39,793: WARNING - gyp info spawn args   '--no-parallel',
> 2018-09-27 20:01:39,793: WARNING - gyp info spawn args   '--generator-output',
> 2018-09-27 20:01:39,794: WARNING - gyp info spawn args   'build',
> 2018-09-27 20:01:39,794: WARNING - gyp info spawn args   '-Goutput_dir=.' ]
> 2018-09-27 20:01:39,794: WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
> 2018-09-27 20:01:39,794: WARNING - gyp: Call to 'node -e "require('nan')"' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
> 2018-09-27 20:01:39,794: WARNING - gyp ERR! configure error
> 2018-09-27 20:01:39,795: WARNING - gyp ERR! stack Error: `gyp` failed with exit code: 1
> 2018-09-27 20:01:39,795: WARNING - gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
> 2018-09-27 20:01:39,795: WARNING - gyp ERR! stack     at emitTwo (events.js:126:13)
> 2018-09-27 20:01:39,795: WARNING - gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
> 2018-09-27 20:01:39,796: WARNING - gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
> 2018-09-27 20:01:39,796: WARNING - gyp ERR! System Linux 4.9.0-8-amd64
> 2018-09-27 20:01:39,796: WARNING - gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
> 2018-09-27 20:01:39,796: WARNING - gyp ERR! cwd /var/www/peertube/node_modules/rdf-canonize
> 2018-09-27 20:01:39,796: WARNING - gyp ERR! node -v v8.12.0
> 2018-09-27 20:01:39,797: WARNING - gyp ERR! node-gyp -v v3.8.0
> 2018-09-27 20:01:39,797: WARNING - gyp ERR! not ok
> 2018-09-27 20:01:41,301: DEBUG - + ynh_exit_properly
> 2018-09-27 20:01:41,301: WARNING - !!
> 2018-09-27 20:01:41,302: DEBUG - + local exit_code=1
> 2018-09-27 20:01:41,302: WARNING -   peertube's script has encountered an error. Its execution was cancelled.
> 2018-09-27 20:01:41,303: DEBUG - + '[' 1 -eq 0 ']'
> 2018-09-27 20:01:41,303: WARNING - !!
> 2018-09-27 20:01:41,303: DEBUG - + trap '' EXIT
> 2018-09-27 20:01:41,304: WARNING - 
> 2018-09-27 20:01:41,304: DEBUG - + set +eu
> 2018-09-27 20:01:41,305: DEBUG - + echo -e '!!\n  peertube'\''s script has encountered an error. Its execution was cancelled.\n!!'
> 2018-09-27 20:01:41,305: DEBUG - + type -t ynh_clean_setup
> 2018-09-27 20:01:41,305: DEBUG - + ynh_die
> 2018-09-27 20:01:41,306: DEBUG - + echo ''
> 2018-09-27 20:01:41,306: DEBUG - + exit 1

#28

Hi,

anyone have an idea with the yarn fail?

> 2018-10-01 08:05:47,848: DEBUG - + mv /usr/bin/npm_n /usr/bin/npm
> 2018-10-01 08:05:47,848: DEBUG - + n 8
> 2018-10-01 08:05:48,149: DEBUG - 
> 2018-10-01 08:05:48,150: DEBUG -   e[36m   installe[0m : e[2mnode-v8.12.0e[22me[0m
> 2018-10-01 08:05:48,251: DEBUG -   e[36m     mkdire[0m : e[2m/opt/node_n/n/versions/node/8.12.0e[22me[0m
> 2018-10-01 08:05:48,251: DEBUG -   e[36m     fetche[0m : e[2mhttps://nodejs.org/dist/v8.12.0/node-v8.12.0-linux-x64.tar.gze[22me[0m
> 2018-10-01 08:05:50,256: WARNING - 
>                                                                            0.6%
> #                                                                          2.6%
> #####                                                                      7.2%
> #########                                                                 13.9%
> ##############                                                            20.6%
> ###################                                                       27.4%
> ########################                                                  34.2%
> #############################                                             41.0%
> ##################################                                        47.8%
> #######################################                                   54.6%
> ############################################                              61.4%
> #################################################                         68.2%
> #####################################################                     74.9%
> ##########################################################                81.6%
> ###############################################################           88.4%
> ####################################################################      95.2%
> ######################################################################## 100.0%
> 2018-10-01 08:05:50,356: DEBUG -   e[36m installede[0m : e[2mv8.12.0e[22me[0m
> 2018-10-01 08:05:50,356: DEBUG - 
> 2018-10-01 08:05:50,357: DEBUG - ++ sort --version-sort
> 2018-10-01 08:05:50,357: DEBUG - ++ find /opt/node_n/n/versions/node/8.12.0 -maxdepth 0
> 2018-10-01 08:05:50,357: DEBUG - ++ tail --lines=1
> 2018-10-01 08:05:50,357: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/8.12.0
> 2018-10-01 08:05:50,357: DEBUG - ++ basename /opt/node_n/n/versions/node/8.12.0
> 2018-10-01 08:05:50,358: DEBUG - + real_nodejs_version=8.12.0
> 2018-10-01 08:05:50,358: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/8 ']'
> 2018-10-01 08:05:50,358: DEBUG - + ln --symbolic --force --no-target-directory /opt/node_n/n/versions/node/8.12.0 /opt/node_n/n/versions/node/8
> 2018-10-01 08:05:50,358: DEBUG - + echo peertube:8
> 2018-10-01 08:05:50,358: DEBUG - + tee --append /opt/node_n/ynh_app_version
> 2018-10-01 08:05:50,359: DEBUG - peertube:8
> 2018-10-01 08:05:50,359: DEBUG - + ynh_app_setting_set peertube nodejs_version 8
> 2018-10-01 08:05:50,359: DEBUG - + sudo yunohost app setting peertube nodejs_version --value=8 --quiet
> 2018-10-01 08:05:50,560: DEBUG - + ynh_cron_upgrade_node
> 2018-10-01 08:05:50,560: DEBUG - + cat
> 2018-10-01 08:05:50,560: DEBUG - + chmod +x /opt/node_n/node_update.sh
> 2018-10-01 08:05:50,560: DEBUG - + cat
> 2018-10-01 08:05:50,561: DEBUG - + chmod +x /etc/cron.daily/node_update
> 2018-10-01 08:05:50,561: DEBUG - + ynh_use_nodejs
> 2018-10-01 08:05:50,561: DEBUG - ++ ynh_app_setting_get peertube nodejs_version
> 2018-10-01 08:05:50,561: DEBUG - ++ sudo yunohost app setting peertube nodejs_version --output-as plain --quiet
> 2018-10-01 08:05:50,862: DEBUG - + nodejs_version=8
> 2018-10-01 08:05:50,863: DEBUG - + nodejs_use_version='echo "Deprecated command, should be removed"'
> 2018-10-01 08:05:50,863: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/8/bin
> 2018-10-01 08:05:50,863: 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-10-01 08:05:50,863: 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-10-01 08:05:50,863: DEBUG - ++ lsb_release --codename --short
> 2018-10-01 08:05:50,864: DEBUG - + '[' stretch == jessie ']'
> 2018-10-01 08:05:50,864: DEBUG - + curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg
> 2018-10-01 08:05:50,864: DEBUG - + apt-key add -
> 2018-10-01 08:05:50,965: WARNING - Warning: apt-key output should not be parsed (stdout is not a terminal)
> 2018-10-01 08:05:51,566: DEBUG - OK
> 2018-10-01 08:05:51,567: DEBUG - + echo 'deb https://dl.yarnpkg.com/debian/ stable main'
> 2018-10-01 08:05:51,567: DEBUG - + tee /etc/apt/sources.list.d/yarn.list
> 2018-10-01 08:05:51,567: DEBUG - deb https://dl.yarnpkg.com/debian/ stable main
> 2018-10-01 08:05:51,567: DEBUG - + ynh_package_update
> 2018-10-01 08:05:51,567: DEBUG - + ynh_apt update
> 2018-10-01 08:05:51,567: DEBUG - + DEBIAN_FRONTEND=noninteractive
> 2018-10-01 08:05:51,568: DEBUG - + sudo apt-get -y update
> 2018-10-01 08:05:51,869: DEBUG - Hit:1 https://deb.nodesource.com/node_8.x stretch InRelease
> 2018-10-01 08:05:51,969: DEBUG - Get:2 https://dl.yarnpkg.com/debian stable InRelease [13.3 kB]
> 2018-10-01 08:05:52,170: DEBUG - Get:3 https://dl.yarnpkg.com/debian stable/main all Packages [7,905 B]
> 2018-10-01 08:05:52,171: DEBUG - Get:4 https://dl.yarnpkg.com/debian stable/main amd64 Packages [7,905 B]
> 2018-10-01 08:05:52,772: DEBUG - Ign:5 http://debian.mirrors.ovh.net/debian stretch InRelease
> 2018-10-01 08:05:52,773: DEBUG - Get:6 http://debian.mirrors.ovh.net/debian stretch-updates InRelease [91.0 kB]
> 2018-10-01 08:05:52,773: DEBUG - Get:7 http://debian.mirrors.ovh.net/debian stretch Release [118 kB]
> 2018-10-01 08:05:54,778: DEBUG - Hit:9 http://security.debian.org/debian-security stretch/updates InRelease
> 2018-10-01 08:05:58,789: DEBUG - Hit:10 http://forge.yunohost.org/debian stretch InRelease
> 2018-10-01 08:05:58,989: DEBUG - Fetched 238 kB in 7s (32.7 kB/s)
> 2018-10-01 08:05:59,792: DEBUG - Reading package lists...
> 2018-10-01 08:05:59,792: DEBUG - + ynh_install_app_dependencies postgresql ffmpeg redis-server redis-tools mailutils yarn
> 2018-10-01 08:05:59,792: DEBUG - + local 'dependencies=postgresql ffmpeg redis-server redis-tools mailutils yarn'
> 2018-10-01 08:05:59,792: DEBUG - + local 'dependencies=postgresql, ffmpeg, redis-server, redis-tools, mailutils, yarn'
> 2018-10-01 08:05:59,792: DEBUG - + local 'dependencies=postgresql, ffmpeg, redis-server, redis-tools, mailutils, yarn'
> 2018-10-01 08:05:59,793: DEBUG - + local manifest_path=../manifest.json
> 2018-10-01 08:05:59,793: DEBUG - + '[' '!' -e ../manifest.json ']'
> 2018-10-01 08:05:59,793: DEBUG - ++ grep '\"version\": ' ../manifest.json
> 2018-10-01 08:05:59,793: DEBUG - ++ cut -d '"' -f 4
> 2018-10-01 08:05:59,793: DEBUG - + local version=1.0.0-beta.9
> 2018-10-01 08:05:59,794: DEBUG - + '[' 12 -eq 0 ']'
> 2018-10-01 08:05:59,794: DEBUG - + local dep_app=peertube
> 2018-10-01 08:05:59,794: DEBUG - + cat
> 2018-10-01 08:05:59,794: DEBUG - + ynh_package_install_from_equivs /tmp/peertube-ynh-deps.control
> 2018-10-01 08:05:59,794: DEBUG - + local controlfile=/tmp/peertube-ynh-deps.control
> 2018-10-01 08:05:59,794: DEBUG - ++ grep '^Package: ' /tmp/peertube-ynh-deps.control
> 2018-10-01 08:05:59,795: DEBUG - ++ cut '-d ' -f 2
> 2018-10-01 08:05:59,795: DEBUG - + local pkgname=peertube-ynh-deps
> 2018-10-01 08:05:59,795: DEBUG - ++ grep '^Version: ' /tmp/peertube-ynh-deps.control
> 2018-10-01 08:05:59,795: DEBUG - ++ cut '-d ' -f 2
> 2018-10-01 08:05:59,795: DEBUG - + local pkgversion=1.0.0-beta.9
> 2018-10-01 08:05:59,796: DEBUG - + [[ -z peertube-ynh-deps ]]
> 2018-10-01 08:05:59,796: DEBUG - + [[ -z 1.0.0-beta.9 ]]
> 2018-10-01 08:05:59,796: DEBUG - + ynh_package_update
> 2018-10-01 08:05:59,796: DEBUG - + ynh_apt update
> 2018-10-01 08:05:59,796: DEBUG - + DEBIAN_FRONTEND=noninteractive
> 2018-10-01 08:05:59,797: DEBUG - + sudo apt-get -y update
> 2018-10-01 08:05:59,897: DEBUG - Ign:1 http://debian.mirrors.ovh.net/debian stretch InRelease
> 2018-10-01 08:05:59,897: DEBUG - Get:2 http://debian.mirrors.ovh.net/debian stretch-updates InRelease [91.0 kB]
> 2018-10-01 08:05:59,998: DEBUG - Get:3 http://debian.mirrors.ovh.net/debian stretch Release [118 kB]
> 2018-10-01 08:05:59,998: DEBUG - Hit:4 https://deb.nodesource.com/node_8.x stretch InRelease
> 2018-10-01 08:06:00,199: DEBUG - Hit:6 https://dl.yarnpkg.com/debian stable InRelease
> 2018-10-01 08:06:03,006: DEBUG - Hit:7 http://forge.yunohost.org/debian stretch InRelease
> 2018-10-01 08:06:06,515: DEBUG - Hit:8 http://security.debian.org/debian-security stretch/updates InRelease
> 2018-10-01 08:06:06,716: DEBUG - Fetched 209 kB in 6s (30.8 kB/s)
> 2018-10-01 08:06:07,518: DEBUG - Reading package lists...
> 2018-10-01 08:06:07,518: DEBUG - ++ mktemp -d
> 2018-10-01 08:06:07,518: DEBUG - + local TMPDIR=/tmp/tmp.RPYAXfhcUt
> 2018-10-01 08:06:07,519: DEBUG - + echo 10
> 2018-10-01 08:06:07,519: DEBUG - + cp /tmp/peertube-ynh-deps.control /tmp/tmp.RPYAXfhcUt/control
> 2018-10-01 08:06:07,519: DEBUG - + cd /tmp/tmp.RPYAXfhcUt
> 2018-10-01 08:06:07,519: DEBUG - + equivs-build ./control
> 2018-10-01 08:06:08,421: DEBUG - + sudo dpkg --force-depends -i ./peertube-ynh-deps_1.0.0-beta.9_all.deb
> 2018-10-01 08:06:08,522: DEBUG - Selecting previously unselected package peertube-ynh-deps.
> 2018-10-01 08:06:08,522: DEBUG - (Reading database ... 47646 files and directories currently installed.)
> 2018-10-01 08:06:08,523: DEBUG - Preparing to unpack .../peertube-ynh-deps_1.0.0-beta.9_all.deb ...
> 2018-10-01 08:06:08,623: DEBUG - Unpacking peertube-ynh-deps (1.0.0-beta.9) ...
> 2018-10-01 08:06:08,824: DEBUG - dpkg: peertube-ynh-deps: dependency problems, but configuring anyway as you requested:
> 2018-10-01 08:06:08,825: DEBUG -  peertube-ynh-deps depends on yarn; however:
> 2018-10-01 08:06:08,825: DEBUG -   Package yarn is not installed.
> 2018-10-01 08:06:08,825: DEBUG - 
> 2018-10-01 08:06:08,826: DEBUG - Setting up peertube-ynh-deps (1.0.0-beta.9) ...
> 2018-10-01 08:06:09,027: DEBUG - + ynh_package_install -f
> 2018-10-01 08:06:09,027: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
> 2018-10-01 08:06:09,027: DEBUG - + DEBIAN_FRONTEND=noninteractive
> 2018-10-01 08:06:09,027: DEBUG - + sudo apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
> 2018-10-01 08:06:09,228: DEBUG - Reading package lists...
> 2018-10-01 08:06:09,328: DEBUG - Building dependency tree...
> 2018-10-01 08:06:09,329: DEBUG - Reading state information...
> 2018-10-01 08:06:09,429: DEBUG - Correcting dependencies... Done
> 2018-10-01 08:06:09,429: DEBUG - The following additional packages will be installed:
> 2018-10-01 08:06:09,430: DEBUG -   yarn
> 2018-10-01 08:06:09,530: DEBUG - The following NEW packages will be installed:
> 2018-10-01 08:06:09,530: DEBUG -   yarn
> 2018-10-01 08:06:09,831: WARNING - N: Ignoring file 'yarn.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
> 2018-10-01 08:06:09,932: DEBUG - 0 upgraded, 1 newly installed, 0 to remove and 17 not upgraded.
> 2018-10-01 08:06:09,932: DEBUG - Need to get 0 B/796 kB of archives.
> 2018-10-01 08:06:09,933: DEBUG - After this operation, 4,596 kB of additional disk space will be used.
> 2018-10-01 08:06:09,933: DEBUG - Selecting previously unselected package yarn.
> 2018-10-01 08:06:10,033: DEBUG - (Reading database ... 
> (Reading database ... 5%
> (Reading database ... 10%
> (Reading database ... 15%
> (Reading database ... 20%
> (Reading database ... 25%
> (Reading database ... 30%
> (Reading database ... 35%
> (Reading database ... 40%
> (Reading database ... 45%
> (Reading database ... 50%
> (Reading database ... 55%
> (Reading database ... 60%
> (Reading database ... 65%
> (Reading database ... 70%
> (Reading database ... 75%
> (Reading database ... 80%
> (Reading database ... 85%
> (Reading database ... 90%
> (Reading database ... 95%
> (Reading database ... 100%
> (Reading database ... 47650 files and directories currently installed.)
> 2018-10-01 08:06:10,034: DEBUG - Preparing to unpack .../archives/yarn_1.10.1-1_all.deb ...
> 2018-10-01 08:06:10,034: DEBUG - Unpacking yarn (1.10.1-1) ...
> 2018-10-01 08:06:10,535: DEBUG - Setting up yarn (1.10.1-1) ...
> 2018-10-01 08:06:10,836: DEBUG - + [[ -n /tmp/tmp.RPYAXfhcUt ]]
> 2018-10-01 08:06:10,837: DEBUG - + rm -rf /tmp/tmp.RPYAXfhcUt
> 2018-10-01 08:06:10,837: DEBUG - + ynh_package_is_installed peertube-ynh-deps
> 2018-10-01 08:06:10,838: DEBUG - + dpkg-query -W -f '${Status}' peertube-ynh-deps
> 2018-10-01 08:06:10,838: DEBUG - + grep -c 'ok installed'
> 2018-10-01 08:06:10,838: DEBUG - + rm /tmp/peertube-ynh-deps.control
> 2018-10-01 08:06:10,839: DEBUG - + ynh_app_setting_set peertube apt_dependencies postgresql, ffmpeg, redis-server, redis-tools, mailutils, yarn
> 2018-10-01 08:06:10,839: DEBUG - + sudo yunohost app setting peertube apt_dependencies --value=postgresql, --quiet
> 2018-10-01 08:06:11,140: DEBUG - + db_name=peertube_peertube
> 2018-10-01 08:06:11,140: DEBUG - ++ ynh_string_random 30
> 2018-10-01 08:06:11,140: DEBUG - ++ dd if=/dev/urandom bs=1 count=200
> 2018-10-01 08:06:11,140: DEBUG - ++ tr -c -d A-Za-z0-9
> 2018-10-01 08:06:11,141: DEBUG - ++ sed -n 's/\(.\{30\}\).*/\1/p'
> 2018-10-01 08:06:11,141: DEBUG - + db_pwd=Dye0D2sTCXWXDDS9cqTvh9Z7BbDirG
> 2018-10-01 08:06:11,141: DEBUG - + ynh_app_setting_set peertube psql_db peertube_peertube
> 2018-10-01 08:06:11,141: DEBUG - + sudo yunohost app setting peertube psql_db --value=peertube_peertube --quiet
> 2018-10-01 08:06:11,442: DEBUG - + ynh_app_setting_set peertube psqlpwd Dye0D2sTCXWXDDS9cqTvh9Z7BbDirG
> 2018-10-01 08:06:11,442: DEBUG - + sudo yunohost app setting peertube psqlpwd --value=Dye0D2sTCXWXDDS9cqTvh9Z7BbDirG --quiet
> 2018-10-01 08:06:11,643: DEBUG - + ynh_psql_test_if_first_run
> 2018-10-01 08:06:11,644: DEBUG - + '[' -f /etc/yunohost/psql ']'
> 2018-10-01 08:06:11,644: DEBUG - + echo 'PostgreSQL is already installed, no need to create master password'
> 2018-10-01 08:06:11,644: DEBUG - PostgreSQL is already installed, no need to create master password
> 2018-10-01 08:06:11,645: DEBUG - + ynh_psql_create_user peertube Dye0D2sTCXWXDDS9cqTvh9Z7BbDirG
> 2018-10-01 08:06:11,645: DEBUG - + user=peertube
> 2018-10-01 08:06:11,645: DEBUG - + pwd=Dye0D2sTCXWXDDS9cqTvh9Z7BbDirG
> 2018-10-01 08:06:11,645: DEBUG - + sudo --login --user=postgres psql '-cCREATE USER peertube WITH PASSWORD '\''Dye0D2sTCXWXDDS9cqTvh9Z7BbDirG'\''' postgres
> 2018-10-01 08:06:11,746: DEBUG - CREATE ROLE
> 2018-10-01 08:06:11,746: DEBUG - + ynh_psql_execute_as_root 'CREATE DATABASE peertube_peertube ENCODING '\''UTF8'\'' LC_COLLATE='\''C'\'' LC_CTYPE='\''C'\'' template=template0 OWNER peertube;'
> 2018-10-01 08:06:11,746: DEBUG - + sql='CREATE DATABASE peertube_peertube ENCODING '\''UTF8'\'' LC_COLLATE='\''C'\'' LC_CTYPE='\''C'\'' template=template0 OWNER peertube;'
> 2018-10-01 08:06:11,747: DEBUG - + sudo --login --user=postgres psql
> 2018-10-01 08:06:12,248: DEBUG - CREATE DATABASE
> 2018-10-01 08:06:12,248: DEBUG - + ynh_system_user_create peertube
> 2018-10-01 08:06:12,249: DEBUG - + ynh_system_user_exists peertube
> 2018-10-01 08:06:12,249: DEBUG - + getent passwd peertube
> 2018-10-01 08:06:12,249: DEBUG - + '[' 1 -ge 2 ']'
> 2018-10-01 08:06:12,249: DEBUG - + local user_home_dir=--no-create-home
> 2018-10-01 08:06:12,250: DEBUG - + sudo useradd --no-create-home --system --user-group peertube --shell /usr/sbin/nologin
> 2018-10-01 08:06:14,354: DEBUG - + ynh_app_setting_set peertube final_path /var/www/peertube
> 2018-10-01 08:06:14,354: DEBUG - + sudo yunohost app setting peertube final_path --value=/var/www/peertube --quiet
> 2018-10-01 08:06:14,655: DEBUG - + ynh_setup_source /var/www/peertube
> 2018-10-01 08:06:14,656: DEBUG - + local dest_dir=/var/www/peertube
> 2018-10-01 08:06:14,656: DEBUG - + local src_id=app
> 2018-10-01 08:06:14,657: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/peertube_ynh-yarn/scripts/../conf/app.src
> 2018-10-01 08:06:14,657: DEBUG - ++ cut -d= -f2-
> 2018-10-01 08:06:14,657: DEBUG - + local src_url=https://github.com/Chocobozzz/PeerTube/releases/download/v1.0.0-beta.9/peertube-v1.0.0-beta.9.tar.xz
> 2018-10-01 08:06:14,658: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/peertube_ynh-yarn/scripts/../conf/app.src
> 2018-10-01 08:06:14,658: DEBUG - ++ cut -d= -f2-
> 2018-10-01 08:06:14,659: DEBUG - + local src_sum=9ebc47cfbfe1b9b846706b3f620e9a2c874d0ef6e754932d5cd4336ce2712aa4
> 2018-10-01 08:06:14,659: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/peertube_ynh-yarn/scripts/../conf/app.src
> 2018-10-01 08:06:14,659: DEBUG - ++ cut -d= -f2-
> 2018-10-01 08:06:14,660: DEBUG - + local src_sumprg=sha256sum
> 2018-10-01 08:06:14,660: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/peertube_ynh-yarn/scripts/../conf/app.src
> 2018-10-01 08:06:14,661: DEBUG - ++ cut -d= -f2-
> 2018-10-01 08:06:14,661: DEBUG - + local src_format=tar.xz
> 2018-10-01 08:06:14,661: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/peertube_ynh-yarn/scripts/../conf/app.src
> 2018-10-01 08:06:14,662: DEBUG - ++ cut -d= -f2-
> 2018-10-01 08:06:14,662: DEBUG - + local src_extract=
> 2018-10-01 08:06:14,663: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/peertube_ynh-yarn/scripts/../conf/app.src
> 2018-10-01 08:06:14,663: DEBUG - ++ cut -d= -f2-
> 2018-10-01 08:06:14,663: DEBUG - + local src_in_subdir=true
> 2018-10-01 08:06:14,664: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/peertube_ynh-yarn/scripts/../conf/app.src
> 2018-10-01 08:06:14,664: DEBUG - ++ cut -d= -f2-
> 2018-10-01 08:06:14,665: DEBUG - + local src_filename=
> 2018-10-01 08:06:14,665: DEBUG - + src_sumprg=sha256sum
> 2018-10-01 08:06:14,665: DEBUG - + src_in_subdir=true
> 2018-10-01 08:06:14,666: DEBUG - + src_format=tar.xz
> 2018-10-01 08:06:14,666: DEBUG - ++ echo tar.xz
> 2018-10-01 08:06:14,666: DEBUG - ++ tr '[:upper:]' '[:lower:]'
> 2018-10-01 08:06:14,666: DEBUG - + src_format=tar.xz
> 2018-10-01 08:06:14,667: DEBUG - + src_extract=true
> 2018-10-01 08:06:14,667: DEBUG - + '[' '' = '' ']'
> 2018-10-01 08:06:14,667: DEBUG - + src_filename=app.tar.xz
> 2018-10-01 08:06:14,667: DEBUG - + local local_src=/opt/yunohost-apps-src/peertube/app.tar.xz
> 2018-10-01 08:06:14,667: DEBUG - + test -e /opt/yunohost-apps-src/peertube/app.tar.xz
> 2018-10-01 08:06:14,668: DEBUG - + wget -nv -O app.tar.xz https://github.com/Chocobozzz/PeerTube/releases/download/v1.0.0-beta.9/peertube-v1.0.0-beta.9.tar.xz
> 2018-10-01 08:06:16,272: DEBUG - + echo '9ebc47cfbfe1b9b846706b3f620e9a2c874d0ef6e754932d5cd4336ce2712aa4 app.tar.xz'
> 2018-10-01 08:06:16,272: WARNING - 2018-10-01 08:06:16 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%2F20181001%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181001T080614Z&X-Amz-Expires=300&X-Amz-Signature=c79be1228b8a7fe052b1216d74a4515737c8d34189e94c41f1d675c5bc84d804&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]
> 2018-10-01 08:06:16,272: DEBUG - + sha256sum -c --status
> 2018-10-01 08:06:16,272: DEBUG - + mkdir -p /var/www/peertube
> 2018-10-01 08:06:16,273: DEBUG - + true
> 2018-10-01 08:06:16,273: DEBUG - + '[' tar.xz = zip ']'
> 2018-10-01 08:06:16,273: DEBUG - + local strip=
> 2018-10-01 08:06:16,273: DEBUG - + true
> 2018-10-01 08:06:16,273: DEBUG - + strip='--strip-components 1'
> 2018-10-01 08:06:16,274: DEBUG - + [[ tar.xz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
> 2018-10-01 08:06:16,274: DEBUG - + tar -xf app.tar.xz -C /var/www/peertube --strip-components 1
> 2018-10-01 08:06:16,374: DEBUG - ++ find /var/cache/yunohost/from_file/peertube_ynh-yarn/scripts/../sources/patches/ -type f -name 'app-*.patch'
> 2018-10-01 08:06:16,375: DEBUG - ++ wc -l
> 2018-10-01 08:06:16,375: DEBUG - + ((  0 > 0  ))
> 2018-10-01 08:06:16,375: DEBUG - + test -e /var/cache/yunohost/from_file/peertube_ynh-yarn/scripts/../sources/extra_files/app
> 2018-10-01 08:06:16,376: DEBUG - + cp ../conf/production.yaml /var/www/peertube/config/production.yaml
> 2018-10-01 08:06:16,376: DEBUG - + touch /var/www/peertube/config/local-production.json
> 2018-10-01 08:06:16,476: DEBUG - + cd /var/www/peertube
> 2018-10-01 08:06:16,477: DEBUG - + yarn install --production --pure-lockfile
> 2018-10-01 08:06:16,678: DEBUG - yarn install v1.10.1
> 2018-10-01 08:06:16,879: DEBUG - [1/5] Validating package.json...
> 2018-10-01 08:06:16,879: DEBUG - [2/5] Resolving packages...
> 2018-10-01 08:06:30,712: DEBUG - [3/5] Fetching packages...
> 2018-10-01 08:06:31,513: DEBUG - info fsevents@1.2.4: The platform "linux" is incompatible with this module.
> 2018-10-01 08:06:31,514: DEBUG - info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
> 2018-10-01 08:06:31,514: DEBUG - [4/5] Linking dependencies...
> 2018-10-01 08:06:35,321: DEBUG - [5/5] Building fresh packages...
> 2018-10-01 08:06:36,024: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
> 2018-10-01 08:06:36,024: WARNING - error /var/www/peertube/node_modules/rdf-canonize: Command failed.
> 2018-10-01 08:06:36,024: WARNING - Exit code: 1
> 2018-10-01 08:06:36,025: WARNING - Command: node-gyp rebuild
> 2018-10-01 08:06:36,025: WARNING - Arguments:
> 2018-10-01 08:06:36,026: WARNING - Directory: /var/www/peertube/node_modules/rdf-canonize
> 2018-10-01 08:06:36,026: WARNING - Output:
> 2018-10-01 08:06:36,027: WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
> 2018-10-01 08:06:36,027: WARNING - sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
> 2018-10-01 08:06:36,027: WARNING - gyp info it worked if it ends with ok
> 2018-10-01 08:06:36,028: WARNING - gyp info using node-gyp@3.8.0
> 2018-10-01 08:06:36,028: WARNING - gyp info using node@8.12.0 | linux | x64
> 2018-10-01 08:06:36,029: WARNING - gyp info spawn /usr/bin/python2
> 2018-10-01 08:06:36,029: WARNING - gyp info spawn args [ '/opt/node_n/n/versions/node/8.12.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
> 2018-10-01 08:06:36,029: WARNING - gyp info spawn args   'binding.gyp',
> 2018-10-01 08:06:36,030: WARNING - gyp info spawn args   '-f',
> 2018-10-01 08:06:36,030: WARNING - gyp info spawn args   'make',
> 2018-10-01 08:06:36,031: WARNING - gyp info spawn args   '-I',
> 2018-10-01 08:06:36,031: WARNING - gyp info spawn args   '/var/www/peertube/node_modules/rdf-canonize/build/config.gypi',
> 2018-10-01 08:06:36,031: WARNING - gyp info spawn args   '-I',
> 2018-10-01 08:06:36,032: WARNING - gyp info spawn args   '/opt/node_n/n/versions/node/8.12.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
> 2018-10-01 08:06:36,032: WARNING - gyp info spawn args   '-I',
> 2018-10-01 08:06:36,033: WARNING - gyp info spawn args   '/root/.node-gyp/8.12.0/include/node/common.gypi',
> 2018-10-01 08:06:36,033: WARNING - gyp info spawn args   '-Dlibrary=shared_library',
> 2018-10-01 08:06:36,033: WARNING - gyp info spawn args   '-Dvisibility=default',
> 2018-10-01 08:06:36,034: WARNING - gyp info spawn args   '-Dnode_root_dir=/root/.node-gyp/8.12.0',
> 2018-10-01 08:06:36,034: WARNING - gyp info spawn args   '-Dnode_gyp_dir=/opt/node_n/n/versions/node/8.12.0/lib/node_modules/npm/node_modules/node-gyp',
> 2018-10-01 08:06:36,034: WARNING - gyp info spawn args   '-Dnode_lib_file=/root/.node-gyp/8.12.0/<(target_arch)/node.lib',
> 2018-10-01 08:06:36,035: WARNING - gyp info spawn args   '-Dmodule_root_dir=/var/www/peertube/node_modules/rdf-canonize',
> 2018-10-01 08:06:36,035: WARNING - gyp info spawn args   '-Dnode_engine=v8',
> 2018-10-01 08:06:36,035: WARNING - gyp info spawn args   '--depth=.',
> 2018-10-01 08:06:36,035: WARNING - gyp info spawn args   '--no-parallel',
> 2018-10-01 08:06:36,035: WARNING - gyp info spawn args   '--generator-output',
> 2018-10-01 08:06:36,036: WARNING - gyp info spawn args   'build',
> 2018-10-01 08:06:36,036: WARNING - gyp info spawn args   '-Goutput_dir=.' ]
> 2018-10-01 08:06:36,036: WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
> 2018-10-01 08:06:36,036: WARNING - gyp: Call to 'node -e "require('nan')"' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
> 2018-10-01 08:06:36,036: WARNING - gyp ERR! configure error
> 2018-10-01 08:06:36,037: WARNING - gyp ERR! stack Error: `gyp` failed with exit code: 1
> 2018-10-01 08:06:36,037: WARNING - gyp ERR! stack     at ChildProcess.onCpExit (/opt/node_n/n/versions/node/8.12.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
> 2018-10-01 08:06:36,037: WARNING - gyp ERR! stack     at emitTwo (events.js:126:13)
> 2018-10-01 08:06:36,037: WARNING - gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
> 2018-10-01 08:06:36,038: WARNING - gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
> 2018-10-01 08:06:36,038: WARNING - gyp ERR! System Linux 4.9.0-8-amd64
> 2018-10-01 08:06:36,038: WARNING - gyp ERR! command "/opt/node_n/n/versions/node/8.12.0/bin/node" "/opt/node_n/n/versions/node/8.12.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
> 2018-10-01 08:06:36,038: WARNING - gyp ERR! cwd /var/www/peertube/node_modules/rdf-canonize
> 2018-10-01 08:06:36,038: WARNING - gyp ERR! node -v v8.12.0
> 2018-10-01 08:06:36,039: WARNING - gyp ERR! node-gyp -v v3.8.0
> 2018-10-01 08:06:36,039: WARNING - gyp ERR! not ok
> 2018-10-01 08:06:38,344: DEBUG - + ynh_exit_properly
> 2018-10-01 08:06:38,345: WARNING - !!
> 2018-10-01 08:06:38,345: DEBUG - + local exit_code=1
> 2018-10-01 08:06:38,345: WARNING -   peertube's script has encountered an error. Its execution was cancelled.
> 2018-10-01 08:06:38,346: DEBUG - + '[' 1 -eq 0 ']'
> 2018-10-01 08:06:38,346: WARNING - !!
> 2018-10-01 08:06:38,347: DEBUG - + trap '' EXIT
> 2018-10-01 08:06:38,347: WARNING - 
> 2018-10-01 08:06:38,347: DEBUG - + set +eu
> 2018-10-01 08:06:38,348: DEBUG - + echo -e '!!\n  peertube'\''s script has encountered an error. Its execution was cancelled.\n!!'
> 2018-10-01 08:06:38,348: DEBUG - + type -t ynh_clean_setup
> 2018-10-01 08:06:38,349: DEBUG - + ynh_die
> 2018-10-01 08:06:38,349: DEBUG - + echo ''
> 2018-10-01 08:06:38,349: DEBUG - + exit 1

nodejs -v
V8.12.0
npm -v
6.4.1


#29

For all the people facing this issue, I have created a peertube branch with ovh server fix.
The people facing nodejs or yarn errors can use this branch. This branch will require manual steps after the installation. Please see the instruction in readme of the branch. I will update this branch with new versions till the issue get fixed.


#30

Sorry @kanhu,

I try the new fix.

But Ihave this error
I remove YARN, NODEjs and install node from scracth but error back like the terminator XD

> 2018-10-01 13:38:54,348: 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_STDINFO=/tmp/tmp6KBzv3/stdinfo YNH_APP_INSTANCE_NAME=peertube YNH_APP_ARG_EMAIL=homerc@free.fr YNH_APP_ID=peertube YNH_APP_ARG_DOMAIN=video.iphodase.fr BASH_XTRACEFD=7 /bin/bash -x "./install" video.iphodase.fr homerc@free.fr 1 peertube 7>&1'...
> 2018-10-01 13:38:54,349: DEBUG - About to run the 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_STDINFO=/tmp/tmp6KBzv3/stdinfo YNH_APP_INSTANCE_NAME=peertube YNH_APP_ARG_EMAIL=homerc@free.fr YNH_APP_ID=peertube YNH_APP_ARG_DOMAIN=video.iphodase.fr BASH_XTRACEFD=7 /bin/bash -x "./install" video.iphodase.fr homerc@free.fr 1 peertube 7>&1']'
> 2018-10-01 13:38:54,358: DEBUG - + source _common.sh
> 2018-10-01 13:38:54,359: DEBUG - + source /usr/share/yunohost/helpers
> 2018-10-01 13:38:54,359: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
> 2018-10-01 13:38:54,360: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-10-01 13:38:54,360: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
> 2018-10-01 13:38:54,361: DEBUG - ++ . /usr/share/yunohost/helpers.d/backend
> 2018-10-01 13:38:54,361: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-10-01 13:38:54,361: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
> 2018-10-01 13:38:54,362: DEBUG - ++ . /usr/share/yunohost/helpers.d/filesystem
> 2018-10-01 13:38:54,362: DEBUG - +++ CAN_BIND=1
> 2018-10-01 13:38:54,362: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-10-01 13:38:54,362: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
> 2018-10-01 13:38:54,363: DEBUG - ++ . /usr/share/yunohost/helpers.d/ip
> 2018-10-01 13:38:54,363: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-10-01 13:38:54,363: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
> 2018-10-01 13:38:54,363: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
> 2018-10-01 13:38:54,363: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
> 2018-10-01 13:38:54,364: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-10-01 13:38:54,364: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
> 2018-10-01 13:38:54,364: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
> 2018-10-01 13:38:54,364: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-10-01 13:38:54,365: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
> 2018-10-01 13:38:54,365: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
> 2018-10-01 13:38:54,365: DEBUG - +++ n_install_dir=/opt/node_n
> 2018-10-01 13:38:54,365: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
> 2018-10-01 13:38:54,365: DEBUG - +++ export N_PREFIX=/opt/node_n
> 2018-10-01 13:38:54,366: DEBUG - +++ N_PREFIX=/opt/node_n
> 2018-10-01 13:38:54,366: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-10-01 13:38:54,366: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
> 2018-10-01 13:38:54,366: DEBUG - ++ . /usr/share/yunohost/helpers.d/package
> 2018-10-01 13:38:54,367: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-10-01 13:38:54,367: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
> 2018-10-01 13:38:54,367: DEBUG - ++ . /usr/share/yunohost/helpers.d/print
> 2018-10-01 13:38:54,367: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-10-01 13:38:54,367: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
> 2018-10-01 13:38:54,368: DEBUG - ++ . /usr/share/yunohost/helpers.d/psql
> 2018-10-01 13:38:54,368: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-10-01 13:38:54,368: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
> 2018-10-01 13:38:54,368: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
> 2018-10-01 13:38:54,369: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-10-01 13:38:54,369: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
> 2018-10-01 13:38:54,369: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
> 2018-10-01 13:38:54,369: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-10-01 13:38:54,369: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
> 2018-10-01 13:38:54,370: DEBUG - ++ . /usr/share/yunohost/helpers.d/system
> 2018-10-01 13:38:54,370: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-10-01 13:38:54,370: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
> 2018-10-01 13:38:54,370: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
> 2018-10-01 13:38:54,371: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2018-10-01 13:38:54,371: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
> 2018-10-01 13:38:54,371: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
> 2018-10-01 13:38:54,371: DEBUG - + source psql.sh
> 2018-10-01 13:38:54,371: DEBUG - + ynh_abort_if_errors
> 2018-10-01 13:38:54,372: DEBUG - + set -eu
> 2018-10-01 13:38:54,372: DEBUG - + trap ynh_exit_properly EXIT
> 2018-10-01 13:38:54,372: DEBUG - + domain=video.iphodase.fr
> 2018-10-01 13:38:54,372: DEBUG - + path_url=/
> 2018-10-01 13:38:54,372: DEBUG - + admin_email=homerc@free.fr
> 2018-10-01 13:38:54,372: DEBUG - ++ ynh_string_random 24
> 2018-10-01 13:38:54,373: DEBUG - ++ dd if=/dev/urandom bs=1 count=200
> 2018-10-01 13:38:54,373: DEBUG - ++ tr -c -d A-Za-z0-9
> 2018-10-01 13:38:54,473: DEBUG - ++ sed -n 's/\(.\{24\}\).*/\1/p'
> 2018-10-01 13:38:54,474: DEBUG - + admin_pass=TPPLO6G9HiiDcqrnUOfhQy9l
> 2018-10-01 13:38:54,474: DEBUG - + is_public=1
> 2018-10-01 13:38:54,474: DEBUG - + app=peertube
> 2018-10-01 13:38:54,474: DEBUG - + final_path=/var/www/peertube
> 2018-10-01 13:38:54,474: DEBUG - + test '!' -e /var/www/peertube
> 2018-10-01 13:38:54,475: DEBUG - + ynh_webpath_available video.iphodase.fr /
> 2018-10-01 13:38:54,475: DEBUG - + local domain=video.iphodase.fr
> 2018-10-01 13:38:54,475: DEBUG - + local path=/
> 2018-10-01 13:38:54,475: DEBUG - + sudo yunohost domain url-available video.iphodase.fr /
> 2018-10-01 13:38:54,676: DEBUG - True
> 2018-10-01 13:38:54,776: DEBUG - + ynh_webpath_register peertube video.iphodase.fr /
> 2018-10-01 13:38:54,777: DEBUG - + local app=peertube
> 2018-10-01 13:38:54,777: DEBUG - + local domain=video.iphodase.fr
> 2018-10-01 13:38:54,777: DEBUG - + local path=/
> 2018-10-01 13:38:54,777: DEBUG - + sudo yunohost app register-url peertube video.iphodase.fr /
> 2018-10-01 13:38:55,078: DEBUG - + ynh_app_setting_set peertube domain video.iphodase.fr
> 2018-10-01 13:38:55,078: DEBUG - + sudo yunohost app setting peertube domain --value=video.iphodase.fr --quiet
> 2018-10-01 13:38:55,379: DEBUG - + ynh_app_setting_set peertube admin_email homerc@free.fr
> 2018-10-01 13:38:55,380: DEBUG - + sudo yunohost app setting peertube admin_email --value=homerc@free.fr --quiet
> 2018-10-01 13:38:55,580: DEBUG - + ynh_app_setting_set peertube admin_pass TPPLO6G9HiiDcqrnUOfhQy9l
> 2018-10-01 13:38:55,581: DEBUG - + sudo yunohost app setting peertube admin_pass --value=TPPLO6G9HiiDcqrnUOfhQy9l --quiet
> 2018-10-01 13:38:55,882: DEBUG - + ynh_app_setting_set peertube is_public 1
> 2018-10-01 13:38:55,882: DEBUG - + sudo yunohost app setting peertube is_public --value=1 --quiet
> 2018-10-01 13:38:56,083: DEBUG - ++ ynh_find_port 9000
> 2018-10-01 13:38:56,083: DEBUG - ++ local port=9000
> 2018-10-01 13:38:56,083: DEBUG - ++ test -n 9000
> 2018-10-01 13:38:56,084: DEBUG - ++ netcat -z 127.0.0.1 9000
> 2018-10-01 13:38:56,084: DEBUG - ++ echo 9000
> 2018-10-01 13:38:56,084: DEBUG - + port=9000
> 2018-10-01 13:38:56,085: DEBUG - + yunohost firewall allow Both 9000
> 2018-10-01 13:39:04,907: DEBUG - The firewall has been reloaded
> 2018-10-01 13:39:04,907: DEBUG - opened_ports:
> 2018-10-01 13:39:04,908: DEBUG -   - 22
> 2018-10-01 13:39:04,908: DEBUG -   - 25
> 2018-10-01 13:39:04,908: DEBUG -   - 53
> 2018-10-01 13:39:04,908: DEBUG -   - 80
> 2018-10-01 13:39:04,908: DEBUG -   - 443
> 2018-10-01 13:39:04,909: DEBUG -   - 587
> 2018-10-01 13:39:04,909: DEBUG -   - 993
> 2018-10-01 13:39:04,909: DEBUG -   - 5000
> 2018-10-01 13:39:04,909: DEBUG -   - 5222
> 2018-10-01 13:39:04,909: DEBUG -   - 5269
> 2018-10-01 13:39:04,910: DEBUG -   - 5353
> 2018-10-01 13:39:04,910: DEBUG -   - 9000
> 2018-10-01 13:39:04,910: DEBUG - + ynh_app_setting_set peertube port 9000
> 2018-10-01 13:39:04,910: DEBUG - + sudo yunohost app setting peertube port --value=9000 --quiet
> 2018-10-01 13:39:05,211: DEBUG - + datadir=/home/yunohost.app/peertube/storage
> 2018-10-01 13:39:05,212: WARNING - Installation of N - Node.js version management
> 2018-10-01 13:39:05,212: DEBUG - + mkdir -p /home/yunohost.app/peertube/storage
> 2018-10-01 13:39:05,212: DEBUG - + ynh_install_nodejs 8
> 2018-10-01 13:39:05,213: DEBUG - + nodejs_version=8
> 2018-10-01 13:39:05,213: DEBUG - + mkdir -p /opt/node_n
> 2018-10-01 13:39:05,214: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> 2018-10-01 13:39:05,214: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> 2018-10-01 13:39:05,215: DEBUG - ++ sed s@/usr/local/bin:@@
> 2018-10-01 13:39:05,215: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
> 2018-10-01 13:39:05,215: DEBUG - + test -x /usr/bin/node
> 2018-10-01 13:39:05,216: DEBUG - + mv /usr/bin/node /usr/bin/node_n
> 2018-10-01 13:39:05,216: DEBUG - + test -x /usr/bin/npm
> 2018-10-01 13:39:05,217: DEBUG - + mv /usr/bin/npm /usr/bin/npm_n
> 2018-10-01 13:39:05,217: DEBUG - ++ n --version
> 2018-10-01 13:39:05,217: DEBUG - + test
> 2018-10-01 13:39:05,218: DEBUG - + ynh_install_n
> 2018-10-01 13:39:05,218: DEBUG - + echo 'Installation of N - Node.js version management'
> 2018-10-01 13:39:05,219: DEBUG - + mkdir -p ../conf
> 2018-10-01 13:39:05,219: DEBUG - + echo 'SOURCE_URL=https://github.com/tj/n/archive/v2.1.7.tar.gz
> 2018-10-01 13:39:05,219: DEBUG - SOURCE_SUM=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f'
> 2018-10-01 13:39:05,220: DEBUG - + ynh_setup_source /opt/node_n/git n
> 2018-10-01 13:39:05,220: DEBUG - + local dest_dir=/opt/node_n/git
> 2018-10-01 13:39:05,221: DEBUG - + local src_id=n
> 2018-10-01 13:39:05,221: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/n.src
> 2018-10-01 13:39:05,221: DEBUG - ++ cut -d= -f2-
> 2018-10-01 13:39:05,222: DEBUG - + local src_url=https://github.com/tj/n/archive/v2.1.7.tar.gz
> 2018-10-01 13:39:05,222: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/n.src
> 2018-10-01 13:39:05,223: DEBUG - ++ cut -d= -f2-
> 2018-10-01 13:39:05,223: DEBUG - + local src_sum=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f
> 2018-10-01 13:39:05,223: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/n.src
> 2018-10-01 13:39:05,224: DEBUG - ++ cut -d= -f2-
> 2018-10-01 13:39:05,224: DEBUG - + local src_sumprg=
> 2018-10-01 13:39:05,225: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/n.src
> 2018-10-01 13:39:05,225: DEBUG - ++ cut -d= -f2-
> 2018-10-01 13:39:05,225: DEBUG - + local src_format=
> 2018-10-01 13:39:05,226: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/n.src
> 2018-10-01 13:39:05,226: DEBUG - ++ cut -d= -f2-
> 2018-10-01 13:39:05,226: DEBUG - + local src_extract=
> 2018-10-01 13:39:05,226: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/n.src
> 2018-10-01 13:39:05,227: DEBUG - ++ cut -d= -f2-
> 2018-10-01 13:39:05,227: DEBUG - + local src_in_subdir=
> 2018-10-01 13:39:05,227: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/n.src
> 2018-10-01 13:39:05,227: DEBUG - ++ cut -d= -f2-
> 2018-10-01 13:39:05,227: DEBUG - + local src_filename=
> 2018-10-01 13:39:05,227: DEBUG - + src_sumprg=sha256sum
> 2018-10-01 13:39:05,228: DEBUG - + src_in_subdir=true
> 2018-10-01 13:39:05,228: DEBUG - + src_format=tar.gz
> 2018-10-01 13:39:05,228: DEBUG - ++ echo tar.gz
> 2018-10-01 13:39:05,228: DEBUG - ++ tr '[:upper:]' '[:lower:]'
> 2018-10-01 13:39:05,228: DEBUG - + src_format=tar.gz
> 2018-10-01 13:39:05,229: DEBUG - + src_extract=true
> 2018-10-01 13:39:05,229: DEBUG - + '[' '' = '' ']'
> 2018-10-01 13:39:05,229: DEBUG - + src_filename=n.tar.gz
> 2018-10-01 13:39:05,229: DEBUG - + local local_src=/opt/yunohost-apps-src/peertube/n.tar.gz
> 2018-10-01 13:39:05,229: DEBUG - + test -e /opt/yunohost-apps-src/peertube/n.tar.gz
> 2018-10-01 13:39:05,229: DEBUG - + wget -nv -O n.tar.gz https://github.com/tj/n/archive/v2.1.7.tar.gz
> 2018-10-01 13:39:06,332: DEBUG - + sha256sum -c --status
> 2018-10-01 13:39:06,333: WARNING - 2018-10-01 13:39:06 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> "n.tar.gz" [1]
> 2018-10-01 13:39:06,333: DEBUG - + echo '2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f n.tar.gz'
> 2018-10-01 13:39:06,333: DEBUG - + mkdir -p /opt/node_n/git
> 2018-10-01 13:39:06,334: DEBUG - + true
> 2018-10-01 13:39:06,334: DEBUG - + '[' tar.gz = zip ']'
> 2018-10-01 13:39:06,334: DEBUG - + local strip=
> 2018-10-01 13:39:06,335: DEBUG - + true
> 2018-10-01 13:39:06,335: DEBUG - + strip='--strip-components 1'
> 2018-10-01 13:39:06,335: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
> 2018-10-01 13:39:06,335: DEBUG - + tar -xf n.tar.gz -C /opt/node_n/git --strip-components 1
> 2018-10-01 13:39:06,436: DEBUG - ++ find /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../sources/patches/ -type f -name 'n-*.patch'
> 2018-10-01 13:39:06,436: DEBUG - ++ wc -l
> 2018-10-01 13:39:06,437: DEBUG - + ((  0 > 0  ))
> 2018-10-01 13:39:06,437: DEBUG - + test -e /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../sources/extra_files/n
> 2018-10-01 13:39:06,438: DEBUG - + cd /opt/node_n/git
> 2018-10-01 13:39:06,438: DEBUG - + PREFIX=/opt/node_n
> 2018-10-01 13:39:06,438: DEBUG - + make install
> 2018-10-01 13:39:06,439: DEBUG - mkdir -p /opt/node_n/bin/
> 2018-10-01 13:39:06,439: DEBUG - cp bin/n /opt/node_n/bin/n
> 2018-10-01 13:39:06,439: DEBUG - + ynh_replace_string '^N_PREFIX=${N_PREFIX-.*}$' 'N_PREFIX=${N_PREFIX-/opt/node_n}' /opt/node_n/bin/n
> 2018-10-01 13:39:06,440: DEBUG - + local delimit=@
> 2018-10-01 13:39:06,440: DEBUG - + local 'match_string=^N_PREFIX=${N_PREFIX-.*}$'
> 2018-10-01 13:39:06,440: DEBUG - + local 'replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}'
> 2018-10-01 13:39:06,441: DEBUG - + local workfile=/opt/node_n/bin/n
> 2018-10-01 13:39:06,441: DEBUG - + match_string='^N_PREFIX=${N_PREFIX-.*}$'
> 2018-10-01 13:39:06,442: DEBUG - + replace_string='N_PREFIX=${N_PREFIX-/opt/node_n}'
> 2018-10-01 13:39:06,442: DEBUG - + sudo sed --in-place 's@^N_PREFIX=${N_PREFIX-.*}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n
> 2018-10-01 13:39:06,442: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> 2018-10-01 13:39:06,442: DEBUG - + test -x /usr/bin/node_n
> 2018-10-01 13:39:06,442: DEBUG - + mv /usr/bin/node_n /usr/bin/node
> 2018-10-01 13:39:06,443: DEBUG - + test -x /usr/bin/npm_n
> 2018-10-01 13:39:06,443: DEBUG - + mv /usr/bin/npm_n /usr/bin/npm
> 2018-10-01 13:39:06,443: DEBUG - + n 8
> 2018-10-01 13:39:06,543: DEBUG - 
> 2018-10-01 13:39:06,544: DEBUG -   e[36m   installe[0m : e[2mnode-v8.12.0e[22me[0m
> 2018-10-01 13:39:07,045: DEBUG -   e[36m     mkdire[0m : e[2m/opt/node_n/n/versions/node/8.12.0e[22me[0m
> 2018-10-01 13:39:07,046: DEBUG -   e[36m     fetche[0m : e[2mhttps://nodejs.org/dist/v8.12.0/node-v8.12.0-linux-x64.tar.gze[22me[0m
> 2018-10-01 13:39:09,250: DEBUG -   e[36m installede[0m : e[2mv8.12.0e[22me[0m
> 2018-10-01 13:39:09,251: WARNING - 
>                                                                            0.0%
>                                                                            0.5%
>                                                                            1.2%
> ###                                                                        4.4%
> ######                                                                     8.6%
> ###########                                                               15.4%
> ###############                                                           22.2%
> ####################                                                      29.0%
> #########################                                                 35.8%
> ##############################                                            42.5%
> ###################################                                       49.3%
> ########################################                                  56.1%
> #############################################                             62.9%
> ##################################################                        69.7%
> #######################################################                   76.5%
> ###########################################################               83.2%
> ################################################################          90.0%
> #####################################################################     96.7%
> ######################################################################## 100.0%
> 2018-10-01 13:39:09,251: DEBUG - 
> 2018-10-01 13:39:09,251: DEBUG - ++ sort --version-sort
> 2018-10-01 13:39:09,252: DEBUG - ++ find /opt/node_n/n/versions/node/8.12.0 -maxdepth 0
> 2018-10-01 13:39:09,252: DEBUG - ++ tail --lines=1
> 2018-10-01 13:39:09,252: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/8.12.0
> 2018-10-01 13:39:09,253: DEBUG - ++ basename /opt/node_n/n/versions/node/8.12.0
> 2018-10-01 13:39:09,253: DEBUG - + real_nodejs_version=8.12.0
> 2018-10-01 13:39:09,253: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/8 ']'
> 2018-10-01 13:39:09,254: DEBUG - + ln --symbolic --force --no-target-directory /opt/node_n/n/versions/node/8.12.0 /opt/node_n/n/versions/node/8
> 2018-10-01 13:39:09,254: DEBUG - + echo peertube:8
> 2018-10-01 13:39:09,254: DEBUG - + tee --append /opt/node_n/ynh_app_version
> 2018-10-01 13:39:09,254: DEBUG - peertube:8
> 2018-10-01 13:39:09,255: DEBUG - + ynh_app_setting_set peertube nodejs_version 8
> 2018-10-01 13:39:09,255: DEBUG - + sudo yunohost app setting peertube nodejs_version --value=8 --quiet
> 2018-10-01 13:39:09,556: DEBUG - + ynh_cron_upgrade_node
> 2018-10-01 13:39:09,556: DEBUG - + cat
> 2018-10-01 13:39:09,556: DEBUG - + chmod +x /opt/node_n/node_update.sh
> 2018-10-01 13:39:09,557: DEBUG - + cat
> 2018-10-01 13:39:09,557: DEBUG - + chmod +x /etc/cron.daily/node_update
> 2018-10-01 13:39:09,557: DEBUG - + ynh_use_nodejs
> 2018-10-01 13:39:09,557: DEBUG - ++ ynh_app_setting_get peertube nodejs_version
> 2018-10-01 13:39:09,557: DEBUG - ++ sudo yunohost app setting peertube nodejs_version --output-as plain --quiet
> 2018-10-01 13:39:09,858: DEBUG - + nodejs_version=8
> 2018-10-01 13:39:09,859: DEBUG - + nodejs_use_version='echo "Deprecated command, should be removed"'
> 2018-10-01 13:39:09,859: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/8/bin
> 2018-10-01 13:39:09,859: 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-10-01 13:39:09,860: 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-10-01 13:39:09,860: DEBUG - ++ lsb_release --codename --short
> 2018-10-01 13:39:09,860: DEBUG - + '[' stretch == jessie ']'
> 2018-10-01 13:39:09,861: DEBUG - + curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg
> 2018-10-01 13:39:09,861: DEBUG - + apt-key add -
> 2018-10-01 13:39:09,961: WARNING - Warning: apt-key output should not be parsed (stdout is not a terminal)
> 2018-10-01 13:39:10,663: DEBUG - OK
> 2018-10-01 13:39:10,664: DEBUG - + echo 'deb https://dl.yarnpkg.com/debian/ stable main'
> 2018-10-01 13:39:10,664: DEBUG - + tee /etc/apt/sources.list.d/yarn.list
> 2018-10-01 13:39:10,664: DEBUG - deb https://dl.yarnpkg.com/debian/ stable main
> 2018-10-01 13:39:10,664: DEBUG - + ynh_package_update
> 2018-10-01 13:39:10,664: DEBUG - + ynh_apt update
> 2018-10-01 13:39:10,665: DEBUG - + DEBIAN_FRONTEND=noninteractive
> 2018-10-01 13:39:10,665: DEBUG - + sudo apt-get -y update
> 2018-10-01 13:39:11,066: DEBUG - Hit:1 https://dl.yarnpkg.com/debian stable InRelease
> 2018-10-01 13:39:11,367: DEBUG - Hit:2 https://deb.nodesource.com/node_8.x stretch InRelease
> 2018-10-01 13:39:11,869: DEBUG - Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
> 2018-10-01 13:39:11,869: DEBUG - Hit:4 http://forge.yunohost.org/debian stretch InRelease
> 2018-10-01 13:39:13,874: DEBUG - Ign:5 http://debian.mirrors.ovh.net/debian stretch InRelease
> 2018-10-01 13:39:13,875: DEBUG - Get:6 http://debian.mirrors.ovh.net/debian stretch-updates InRelease [91.0 kB]
> 2018-10-01 13:39:13,875: DEBUG - Get:7 http://debian.mirrors.ovh.net/debian stretch Release [118 kB]
> 2018-10-01 13:39:14,277: DEBUG - Fetched 209 kB in 3s (60.2 kB/s)
> 2018-10-01 13:39:14,978: DEBUG - Reading package lists...
> 2018-10-01 13:39:15,079: DEBUG - + ynh_install_app_dependencies postgresql postgresql-contrib openssl g++ ffmpeg redis-server redis-tools mailutils yarn apt-transport-https
> 2018-10-01 13:39:15,079: DEBUG - + local 'dependencies=postgresql postgresql-contrib openssl g++ ffmpeg redis-server redis-tools mailutils yarn apt-transport-https'
> 2018-10-01 13:39:15,079: DEBUG - + local 'dependencies=postgresql, postgresql-contrib, openssl, g++, ffmpeg, redis-server, redis-tools, mailutils, yarn, apt-transport-https'
> 2018-10-01 13:39:15,080: DEBUG - + local 'dependencies=postgresql, postgresql-contrib, openssl, g++, ffmpeg, redis-server, redis-tools, mailutils, yarn, apt-transport-https'
> 2018-10-01 13:39:15,080: DEBUG - + local manifest_path=../manifest.json
> 2018-10-01 13:39:15,080: DEBUG - + '[' '!' -e ../manifest.json ']'
> 2018-10-01 13:39:15,080: DEBUG - ++ grep '\"version\": ' ../manifest.json
> 2018-10-01 13:39:15,080: DEBUG - ++ cut -d '"' -f 4
> 2018-10-01 13:39:15,081: DEBUG - + local version=1.0.0-beta.15
> 2018-10-01 13:39:15,081: DEBUG - + '[' 13 -eq 0 ']'
> 2018-10-01 13:39:15,081: DEBUG - + local dep_app=peertube
> 2018-10-01 13:39:15,081: DEBUG - + cat
> 2018-10-01 13:39:15,081: DEBUG - + ynh_package_install_from_equivs /tmp/peertube-ynh-deps.control
> 2018-10-01 13:39:15,081: DEBUG - + local controlfile=/tmp/peertube-ynh-deps.control
> 2018-10-01 13:39:15,082: DEBUG - ++ grep '^Package: ' /tmp/peertube-ynh-deps.control
> 2018-10-01 13:39:15,082: DEBUG - ++ cut '-d ' -f 2
> 2018-10-01 13:39:15,082: DEBUG - + local pkgname=peertube-ynh-deps
> 2018-10-01 13:39:15,082: DEBUG - ++ grep '^Version: ' /tmp/peertube-ynh-deps.control
> 2018-10-01 13:39:15,083: DEBUG - ++ cut '-d ' -f 2
> 2018-10-01 13:39:15,083: DEBUG - + local pkgversion=1.0.0-beta.15
> 2018-10-01 13:39:15,083: DEBUG - + [[ -z peertube-ynh-deps ]]
> 2018-10-01 13:39:15,084: DEBUG - + [[ -z 1.0.0-beta.15 ]]
> 2018-10-01 13:39:15,084: DEBUG - + ynh_package_update
> 2018-10-01 13:39:15,085: DEBUG - + ynh_apt update
> 2018-10-01 13:39:15,085: DEBUG - + DEBIAN_FRONTEND=noninteractive
> 2018-10-01 13:39:15,085: DEBUG - + sudo apt-get -y update
> 2018-10-01 13:39:15,186: DEBUG - Ign:1 http://debian.mirrors.ovh.net/debian stretch InRelease
> 2018-10-01 13:39:15,186: DEBUG - Get:2 http://debian.mirrors.ovh.net/debian stretch-updates InRelease [91.0 kB]
> 2018-10-01 13:39:15,187: DEBUG - Get:3 http://debian.mirrors.ovh.net/debian stretch Release [118 kB]
> 2018-10-01 13:39:15,287: DEBUG - Hit:4 https://dl.yarnpkg.com/debian stable InRelease
> 2018-10-01 13:39:15,488: DEBUG - Hit:5 https://deb.nodesource.com/node_8.x stretch InRelease
> 2018-10-01 13:39:16,291: DEBUG - Hit:7 http://security.debian.org/debian-security stretch/updates InRelease
> 2018-10-01 13:39:18,296: DEBUG - Hit:8 http://forge.yunohost.org/debian stretch InRelease
> 2018-10-01 13:39:18,497: DEBUG - Fetched 209 kB in 3s (64.5 kB/s)
> 2018-10-01 13:39:19,199: DEBUG - Reading package lists...
> 2018-10-01 13:39:19,199: DEBUG - ++ mktemp -d
> 2018-10-01 13:39:19,199: DEBUG - + local TMPDIR=/tmp/tmp.hirfjjaXXU
> 2018-10-01 13:39:19,200: DEBUG - + echo 10
> 2018-10-01 13:39:19,200: DEBUG - + cp /tmp/peertube-ynh-deps.control /tmp/tmp.hirfjjaXXU/control
> 2018-10-01 13:39:19,200: DEBUG - + cd /tmp/tmp.hirfjjaXXU
> 2018-10-01 13:39:19,201: DEBUG - + equivs-build ./control
> 2018-10-01 13:39:20,103: DEBUG - + sudo dpkg --force-depends -i ./peertube-ynh-deps_1.0.0-beta.15_all.deb
> 2018-10-01 13:39:20,203: DEBUG - Selecting previously unselected package peertube-ynh-deps.
> 2018-10-01 13:39:20,204: DEBUG - (Reading database ... 47646 files and directories currently installed.)
> 2018-10-01 13:39:20,204: DEBUG - Preparing to unpack .../peertube-ynh-deps_1.0.0-beta.15_all.deb ...
> 2018-10-01 13:39:20,304: DEBUG - Unpacking peertube-ynh-deps (1.0.0-beta.15) ...
> 2018-10-01 13:39:20,505: DEBUG - dpkg: peertube-ynh-deps: dependency problems, but configuring anyway as you requested:
> 2018-10-01 13:39:20,505: DEBUG -  peertube-ynh-deps depends on yarn; however:
> 2018-10-01 13:39:20,506: DEBUG -   Package yarn is not installed.
> 2018-10-01 13:39:20,506: DEBUG - 
> 2018-10-01 13:39:20,507: DEBUG - Setting up peertube-ynh-deps (1.0.0-beta.15) ...
> 2018-10-01 13:39:20,708: DEBUG - + ynh_package_install -f
> 2018-10-01 13:39:20,708: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
> 2018-10-01 13:39:20,708: DEBUG - + DEBIAN_FRONTEND=noninteractive
> 2018-10-01 13:39:20,708: DEBUG - + sudo apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
> 2018-10-01 13:39:20,909: DEBUG - Reading package lists...
> 2018-10-01 13:39:21,010: DEBUG - Building dependency tree...
> 2018-10-01 13:39:21,010: DEBUG - Reading state information...
> 2018-10-01 13:39:21,110: DEBUG - Correcting dependencies... Done
> 2018-10-01 13:39:21,111: DEBUG - The following additional packages will be installed:
> 2018-10-01 13:39:21,111: DEBUG -   yarn
> 2018-10-01 13:39:21,211: DEBUG - The following NEW packages will be installed:
> 2018-10-01 13:39:21,212: DEBUG -   yarn
> 2018-10-01 13:39:21,513: WARNING - N: Ignoring file 'yarn.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
> 2018-10-01 13:39:21,614: DEBUG - 0 upgraded, 1 newly installed, 0 to remove and 17 not upgraded.
> 2018-10-01 13:39:21,614: DEBUG - Need to get 0 B/796 kB of archives.
> 2018-10-01 13:39:21,615: DEBUG - After this operation, 4,596 kB of additional disk space will be used.
> 2018-10-01 13:39:21,715: DEBUG - Selecting previously unselected package yarn.
> 2018-10-01 13:39:21,716: DEBUG - (Reading database ... 
> (Reading database ... 5%
> (Reading database ... 10%
> (Reading database ... 15%
> (Reading database ... 20%
> (Reading database ... 25%
> (Reading database ... 30%
> (Reading database ... 35%
> (Reading database ... 40%
> (Reading database ... 45%
> (Reading database ... 50%
> (Reading database ... 55%
> (Reading database ... 60%
> (Reading database ... 65%
> (Reading database ... 70%
> (Reading database ... 75%
> (Reading database ... 80%
> (Reading database ... 85%
> (Reading database ... 90%
> (Reading database ... 95%
> (Reading database ... 100%
> (Reading database ... 47650 files and directories currently installed.)
> 2018-10-01 13:39:21,716: DEBUG - Preparing to unpack .../archives/yarn_1.10.1-1_all.deb ...
> 2018-10-01 13:39:21,716: DEBUG - Unpacking yarn (1.10.1-1) ...
> 2018-10-01 13:39:22,117: DEBUG - Setting up yarn (1.10.1-1) ...
> 2018-10-01 13:39:22,519: DEBUG - + [[ -n /tmp/tmp.hirfjjaXXU ]]
> 2018-10-01 13:39:22,519: DEBUG - + rm -rf /tmp/tmp.hirfjjaXXU
> 2018-10-01 13:39:22,519: DEBUG - + ynh_package_is_installed peertube-ynh-deps
> 2018-10-01 13:39:22,519: DEBUG - + dpkg-query -W -f '${Status}' peertube-ynh-deps
> 2018-10-01 13:39:22,520: DEBUG - + grep -c 'ok installed'
> 2018-10-01 13:39:22,520: DEBUG - + rm /tmp/peertube-ynh-deps.control
> 2018-10-01 13:39:22,520: DEBUG - + ynh_app_setting_set peertube apt_dependencies postgresql, postgresql-contrib, openssl, g++, ffmpeg, redis-server, redis-tools, mailutils, yarn, apt-transport-https
> 2018-10-01 13:39:22,520: DEBUG - + sudo yunohost app setting peertube apt_dependencies --value=postgresql, --quiet
> 2018-10-01 13:39:22,821: DEBUG - + db_name=peertube_peertube
> 2018-10-01 13:39:22,821: DEBUG - ++ ynh_string_random 30
> 2018-10-01 13:39:22,822: DEBUG - ++ dd if=/dev/urandom bs=1 count=200
> 2018-10-01 13:39:22,822: DEBUG - ++ tr -c -d A-Za-z0-9
> 2018-10-01 13:39:22,822: DEBUG - ++ sed -n 's/\(.\{30\}\).*/\1/p'
> 2018-10-01 13:39:22,822: DEBUG - + db_pwd=k66XiNoLc5L8mH4USi73omXzTh3PiJ
> 2018-10-01 13:39:22,822: DEBUG - + ynh_app_setting_set peertube psql_db peertube_peertube
> 2018-10-01 13:39:22,823: DEBUG - + sudo yunohost app setting peertube psql_db --value=peertube_peertube --quiet
> 2018-10-01 13:39:23,023: DEBUG - + ynh_app_setting_set peertube psqlpwd k66XiNoLc5L8mH4USi73omXzTh3PiJ
> 2018-10-01 13:39:23,024: DEBUG - + sudo yunohost app setting peertube psqlpwd --value=k66XiNoLc5L8mH4USi73omXzTh3PiJ --quiet
> 2018-10-01 13:39:23,325: DEBUG - + ynh_psql_test_if_first_run
> 2018-10-01 13:39:23,325: DEBUG - + '[' -f /etc/yunohost/psql ']'
> 2018-10-01 13:39:23,325: DEBUG - + echo 'PostgreSQL is already installed, no need to create master password'
> 2018-10-01 13:39:23,326: DEBUG - PostgreSQL is already installed, no need to create master password
> 2018-10-01 13:39:23,326: DEBUG - + ynh_psql_create_user peertube k66XiNoLc5L8mH4USi73omXzTh3PiJ
> 2018-10-01 13:39:23,326: DEBUG - + user=peertube
> 2018-10-01 13:39:23,326: DEBUG - + pwd=k66XiNoLc5L8mH4USi73omXzTh3PiJ
> 2018-10-01 13:39:23,326: DEBUG - + sudo --login --user=postgres psql '-cCREATE USER peertube WITH PASSWORD '\''k66XiNoLc5L8mH4USi73omXzTh3PiJ'\''' postgres
> 2018-10-01 13:39:23,427: DEBUG - CREATE ROLE
> 2018-10-01 13:39:23,427: DEBUG - + ynh_psql_execute_as_root 'CREATE DATABASE peertube_peertube ENCODING '\''UTF8'\'' LC_COLLATE='\''C'\'' LC_CTYPE='\''C'\'' template=template0 OWNER peertube;'
> 2018-10-01 13:39:23,427: DEBUG - + sql='CREATE DATABASE peertube_peertube ENCODING '\''UTF8'\'' LC_COLLATE='\''C'\'' LC_CTYPE='\''C'\'' template=template0 OWNER peertube;'
> 2018-10-01 13:39:23,428: DEBUG - + sudo --login --user=postgres psql
> 2018-10-01 13:39:23,829: DEBUG - CREATE DATABASE
> 2018-10-01 13:39:23,829: DEBUG - + ynh_psql_execute_as_root '\connect peertube_peertube
> 2018-10-01 13:39:23,829: DEBUG - CREATE EXTENSION IF NOT EXISTS unaccent;CREATE EXTENSION IF NOT EXISTS pg_trgm;'
> 2018-10-01 13:39:23,830: DEBUG - + sql='\connect peertube_peertube
> 2018-10-01 13:39:23,830: DEBUG - CREATE EXTENSION IF NOT EXISTS unaccent;CREATE EXTENSION IF NOT EXISTS pg_trgm;'
> 2018-10-01 13:39:23,830: DEBUG - + sudo --login --user=postgres psql
> 2018-10-01 13:39:23,931: DEBUG - You are now connected to database "peertube_peertube" as user "postgres".
> 2018-10-01 13:39:24,031: DEBUG - CREATE EXTENSION
> 2018-10-01 13:39:24,032: DEBUG - CREATE EXTENSION
> 2018-10-01 13:39:24,032: DEBUG - + ynh_system_user_create peertube
> 2018-10-01 13:39:24,032: DEBUG - + ynh_system_user_exists peertube
> 2018-10-01 13:39:24,032: DEBUG - + getent passwd peertube
> 2018-10-01 13:39:24,033: DEBUG - + '[' 1 -ge 2 ']'
> 2018-10-01 13:39:24,033: DEBUG - + local user_home_dir=--no-create-home
> 2018-10-01 13:39:24,033: DEBUG - + sudo useradd --no-create-home --system --user-group peertube --shell /usr/sbin/nologin
> 2018-10-01 13:39:26,238: DEBUG - + ynh_app_setting_set peertube final_path /var/www/peertube
> 2018-10-01 13:39:26,238: DEBUG - + sudo yunohost app setting peertube final_path --value=/var/www/peertube --quiet
> 2018-10-01 13:39:26,439: DEBUG - + ynh_setup_source /var/www/peertube
> 2018-10-01 13:39:26,439: DEBUG - + local dest_dir=/var/www/peertube
> 2018-10-01 13:39:26,440: DEBUG - + local src_id=app
> 2018-10-01 13:39:26,440: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/app.src
> 2018-10-01 13:39:26,440: DEBUG - ++ cut -d= -f2-
> 2018-10-01 13:39:26,440: DEBUG - + local src_url=https://github.com/Chocobozzz/PeerTube/releases/download/v1.0.0-beta.15/peertube-v1.0.0-beta.15.tar.xz
> 2018-10-01 13:39:26,441: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/app.src
> 2018-10-01 13:39:26,441: DEBUG - ++ cut -d= -f2-
> 2018-10-01 13:39:26,441: DEBUG - + local src_sum=fff45acc7cc84fc1847c0ed62fe2a64e683fe84b394cb64edb7a4b7fa9144da0
> 2018-10-01 13:39:26,441: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/app.src
> 2018-10-01 13:39:26,442: DEBUG - ++ cut -d= -f2-
> 2018-10-01 13:39:26,442: DEBUG - + local src_sumprg=sha256sum
> 2018-10-01 13:39:26,442: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/app.src
> 2018-10-01 13:39:26,442: DEBUG - ++ cut -d= -f2-
> 2018-10-01 13:39:26,443: DEBUG - + local src_format=tar.xz
> 2018-10-01 13:39:26,443: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/app.src
> 2018-10-01 13:39:26,443: DEBUG - ++ cut -d= -f2-
> 2018-10-01 13:39:26,443: DEBUG - + local src_extract=
> 2018-10-01 13:39:26,444: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/app.src
> 2018-10-01 13:39:26,444: DEBUG - ++ cut -d= -f2-
> 2018-10-01 13:39:26,444: DEBUG - + local src_in_subdir=true
> 2018-10-01 13:39:26,444: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/app.src
> 2018-10-01 13:39:26,445: DEBUG - ++ cut -d= -f2-
> 2018-10-01 13:39:26,445: DEBUG - + local src_filename=
> 2018-10-01 13:39:26,445: DEBUG - + src_sumprg=sha256sum
> 2018-10-01 13:39:26,445: DEBUG - + src_in_subdir=true
> 2018-10-01 13:39:26,446: DEBUG - + src_format=tar.xz
> 2018-10-01 13:39:26,446: DEBUG - ++ echo tar.xz
> 2018-10-01 13:39:26,446: DEBUG - ++ tr '[:upper:]' '[:lower:]'
> 2018-10-01 13:39:26,446: DEBUG - + src_format=tar.xz
> 2018-10-01 13:39:26,447: DEBUG - + src_extract=true
> 2018-10-01 13:39:26,447: DEBUG - + '[' '' = '' ']'
> 2018-10-01 13:39:26,447: DEBUG - + src_filename=app.tar.xz
> 2018-10-01 13:39:26,447: DEBUG - + local local_src=/opt/yunohost-apps-src/peertube/app.tar.xz
> 2018-10-01 13:39:26,448: DEBUG - + test -e /opt/yunohost-apps-src/peertube/app.tar.xz
> 2018-10-01 13:39:26,448: DEBUG - + wget -nv -O app.tar.xz https://github.com/Chocobozzz/PeerTube/releases/download/v1.0.0-beta.15/peertube-v1.0.0-beta.15.tar.xz
> 2018-10-01 13:39:27,952: DEBUG - + echo 'fff45acc7cc84fc1847c0ed62fe2a64e683fe84b394cb64edb7a4b7fa9144da0 app.tar.xz'
> 2018-10-01 13:39:27,952: WARNING - 2018-10-01 13:39:27 URL:https://github-production-release-asset-2e65be.s3.amazonaws.com/45213667/12345c80-c186-11e8-93e8-c1bd4f2a2ebc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181001%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181001T133926Z&X-Amz-Expires=300&X-Amz-Signature=fde552a4ad65c7232dd713e322bb305c7d62f3d42dea0784e581b6ebbe9fc904&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dpeertube-v1.0.0-beta.15.tar.xz&response-content-type=application%2Foctet-stream [2138432/2138432] -> "app.tar.xz" [1]
> 2018-10-01 13:39:27,952: DEBUG - + sha256sum -c --status
> 2018-10-01 13:39:27,952: DEBUG - + mkdir -p /var/www/peertube
> 2018-10-01 13:39:27,953: DEBUG - + true
> 2018-10-01 13:39:27,953: DEBUG - + '[' tar.xz = zip ']'
> 2018-10-01 13:39:27,953: DEBUG - + local strip=
> 2018-10-01 13:39:27,953: DEBUG - + true
> 2018-10-01 13:39:27,953: DEBUG - + strip='--strip-components 1'
> 2018-10-01 13:39:27,953: DEBUG - + [[ tar.xz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
> 2018-10-01 13:39:27,954: DEBUG - + tar -xf app.tar.xz -C /var/www/peertube --strip-components 1
> 2018-10-01 13:39:28,255: DEBUG - ++ find /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../sources/patches/ -type f -name 'app-*.patch'
> 2018-10-01 13:39:28,255: DEBUG - ++ wc -l
> 2018-10-01 13:39:28,255: DEBUG - + ((  0 > 0  ))
> 2018-10-01 13:39:28,255: DEBUG - + test -e /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../sources/extra_files/app
> 2018-10-01 13:39:28,255: DEBUG - + cp ../conf/production.yaml /var/www/peertube/config/production.yaml
> 2018-10-01 13:39:28,256: DEBUG - + touch /var/www/peertube/config/local-production.json
> 2018-10-01 13:39:28,256: DEBUG - + cd /var/www/peertube
> 2018-10-01 13:39:28,256: DEBUG - + yarn install --production --pure-lockfile
> 2018-10-01 13:39:28,457: DEBUG - yarn install v1.10.1
> 2018-10-01 13:39:28,758: DEBUG - [1/5] Validating package.json...
> 2018-10-01 13:39:28,758: DEBUG - [2/5] Resolving packages...
> 2018-10-01 13:39:33,871: WARNING - warning Resolution field "@types/bluebird@3.5.21" is incompatible with requested version "@types/bluebird@3.5.18"
> 2018-10-01 13:39:41,490: DEBUG - [3/5] Fetching packages...
> 2018-10-01 13:39:42,492: DEBUG - info fsevents@1.2.4: The platform "linux" is incompatible with this module.
> 2018-10-01 13:39:42,493: DEBUG - info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
> 2018-10-01 13:39:42,493: DEBUG - [4/5] Linking dependencies...
> 2018-10-01 13:39:48,403: DEBUG - [5/5] Building fresh packages...
> 2018-10-01 13:39:49,207: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
> 2018-10-01 13:39:49,207: WARNING - error /var/www/peertube/node_modules/rdf-canonize: Command failed.
> 2018-10-01 13:39:49,207: WARNING - Exit code: 1
> 2018-10-01 13:39:49,207: WARNING - Command: node-gyp rebuild
> 2018-10-01 13:39:49,208: WARNING - Arguments:
> 2018-10-01 13:39:49,208: WARNING - Directory: /var/www/peertube/node_modules/rdf-canonize
> 2018-10-01 13:39:49,208: WARNING - Output:
> 2018-10-01 13:39:49,208: WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
> 2018-10-01 13:39:49,208: WARNING - sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
> 2018-10-01 13:39:49,209: WARNING - gyp info it worked if it ends with ok
> 2018-10-01 13:39:49,209: WARNING - gyp info using node-gyp@3.8.0
> 2018-10-01 13:39:49,209: WARNING - gyp info using node@8.12.0 | linux | x64
> 2018-10-01 13:39:49,209: WARNING - gyp info spawn /usr/bin/python2
> 2018-10-01 13:39:49,209: WARNING - gyp info spawn args [ '/opt/node_n/n/versions/node/8.12.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
> 2018-10-01 13:39:49,209: WARNING - gyp info spawn args   'binding.gyp',
> 2018-10-01 13:39:49,210: WARNING - gyp info spawn args   '-f',
> 2018-10-01 13:39:49,210: WARNING - gyp info spawn args   'make',
> 2018-10-01 13:39:49,210: WARNING - gyp info spawn args   '-I',
> 2018-10-01 13:39:49,210: WARNING - gyp info spawn args   '/var/www/peertube/node_modules/rdf-canonize/build/config.gypi',
> 2018-10-01 13:39:49,210: WARNING - gyp info spawn args   '-I',
> 2018-10-01 13:39:49,211: WARNING - gyp info spawn args   '/opt/node_n/n/versions/node/8.12.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
> 2018-10-01 13:39:49,211: WARNING - gyp info spawn args   '-I',
> 2018-10-01 13:39:49,211: WARNING - gyp info spawn args   '/root/.node-gyp/8.12.0/include/node/common.gypi',
> 2018-10-01 13:39:49,211: WARNING - gyp info spawn args   '-Dlibrary=shared_library',
> 2018-10-01 13:39:49,211: WARNING - gyp info spawn args   '-Dvisibility=default',
> 2018-10-01 13:39:49,212: WARNING - gyp info spawn args   '-Dnode_root_dir=/root/.node-gyp/8.12.0',
> 2018-10-01 13:39:49,212: WARNING - gyp info spawn args   '-Dnode_gyp_dir=/opt/node_n/n/versions/node/8.12.0/lib/node_modules/npm/node_modules/node-gyp',
> 2018-10-01 13:39:49,212: WARNING - gyp info spawn args   '-Dnode_lib_file=/root/.node-gyp/8.12.0/<(target_arch)/node.lib',
> 2018-10-01 13:39:49,212: WARNING - gyp info spawn args   '-Dmodule_root_dir=/var/www/peertube/node_modules/rdf-canonize',
> 2018-10-01 13:39:49,212: WARNING - gyp info spawn args   '-Dnode_engine=v8',
> 2018-10-01 13:39:49,213: WARNING - gyp info spawn args   '--depth=.',
> 2018-10-01 13:39:49,213: WARNING - gyp info spawn args   '--no-parallel',
> 2018-10-01 13:39:49,213: WARNING - gyp info spawn args   '--generator-output',
> 2018-10-01 13:39:49,213: WARNING - gyp info spawn args   'build',
> 2018-10-01 13:39:49,213: WARNING - gyp info spawn args   '-Goutput_dir=.' ]
> 2018-10-01 13:39:49,213: WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
> 2018-10-01 13:39:49,214: WARNING - gyp: Call to 'node -e "require('nan')"' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
> 2018-10-01 13:39:49,214: WARNING - gyp ERR! configure error
> 2018-10-01 13:39:49,214: WARNING - gyp ERR! stack Error: `gyp` failed with exit code: 1
> 2018-10-01 13:39:49,214: WARNING - gyp ERR! stack     at ChildProcess.onCpExit (/opt/node_n/n/versions/node/8.12.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
> 2018-10-01 13:39:49,214: WARNING - gyp ERR! stack     at emitTwo (events.js:126:13)
> 2018-10-01 13:39:49,215: WARNING - gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
> 2018-10-01 13:39:49,215: WARNING - gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
> 2018-10-01 13:39:49,215: WARNING - gyp ERR! System Linux 4.9.0-8-amd64
> 2018-10-01 13:39:49,215: WARNING - gyp ERR! command "/opt/node_n/n/versions/node/8.12.0/bin/node" "/opt/node_n/n/versions/node/8.12.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
> 2018-10-01 13:39:49,215: WARNING - gyp ERR! cwd /var/www/peertube/node_modules/rdf-canonize
> 2018-10-01 13:39:49,216: WARNING - gyp ERR! node -v v8.12.0
> 2018-10-01 13:39:49,216: WARNING - gyp ERR! node-gyp -v v3.8.0
> 2018-10-01 13:39:49,216: WARNING - gyp ERR! not ok
> 2018-10-01 13:39:51,121: DEBUG - + ynh_exit_properly
> 2018-10-01 13:39:51,121: WARNING - !!
> 2018-10-01 13:39:51,122: DEBUG - + local exit_code=1
> 2018-10-01 13:39:51,122: WARNING -   peertube's script has encountered an error. Its execution was cancelled.
> 2018-10-01 13:39:51,123: DEBUG - + '[' 1 -eq 0 ']'
> 2018-10-01 13:39:51,123: WARNING - !!
> 2018-10-01 13:39:51,123: DEBUG - + trap '' EXIT
> 2018-10-01 13:39:51,124: WARNING - 
> 2018-10-01 13:39:51,124: DEBUG - + set +eu
> 2018-10-01 13:39:51,125: DEBUG - + echo -e '!!\n  peertube'\''s script has encountered an error. Its execution was cancelled.\n!!'
> 2018-10-01 13:39:51,125: DEBUG - + type -t ynh_clean_setup
> 2018-10-01 13:39:51,125: DEBUG - + ynh_die
> 2018-10-01 13:39:51,126: DEBUG - + echo ''
> 2018-10-01 13:39:51,126: DEBUG - + exit 1

#31

@homerc

you have to install with difference branch. And have to do few steps manually.

Steps for installing

  1. Install nodejs

     $ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
     $ sudo apt-get install -y nodejs
    
  2. Install the peertube with OVH fix branch.

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

  3. After installation is complete run yarn install .

    $ cd /var/www/peertube && yarn install --production --pure-lockfile

  4. Give proper permissions to peertube

    $ chwon -R peertube:peertube /var/www/peertube

  5. Restart peertube and check if there is any error message.

    $ service peertube restart
    $ journalctl -feu peertube

  6. If there is no error in red in the last lines of log. Press ctrl+c to stop the logs.

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

  8. Change your root password by this command:

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

Username: root
password: created in above step


#32

Same error, i promess i follow step by step like the New Kids On the block but
> sudo apt-get install -y nodejs
> Reading package lists… Done
> Building dependency tree
> Reading state information… Done
> The following NEW packages will be installed:
> nodejs
> 0 upgraded, 1 newly installed, 0 to remove and 17 not upgraded.
> Need to get 0 B/13.5 MB of archives.
> After this operation, 64.0 MB of additional disk space will be used.
> N: Ignoring file ‘yarn.lis’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
> Selecting previously unselected package nodejs.
> (Reading database … 44161 files and directories currently installed.)
> Preparing to unpack …/nodejs_8.12.0-1nodesource1_amd64.deb …
> Unpacking nodejs (8.12.0-1nodesource1) …
> Setting up nodejs (8.12.0-1nodesource1) …
> Processing triggers for man-db (2.7.6.1-2) …
> N: Ignoring file ‘yarn.lis’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
It’s like if yarn is present but i can’t delete him.


#33

$ apt-get purge yarn


#34
>  apt-get purge yarn
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Note, selecting 'cmdtest' instead of 'yarn'
> 0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
> N: Ignoring file 'yarn.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

ANd
>
> sudo apt-get install -y nodejs
> Reading package lists… Done
> Building dependency tree
> Reading state information… Done
> nodejs is already the newest version (8.12.0-1nodesource1).
> 0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
> N: Ignoring file ‘yarn.lis’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension

Have you an idea?


#35

You have changed the name of yarn source file for apt.

$ mv /etc/apt/sources.list.d/yarn.lis /etc/apt/sources.list.d/yarn.list


#36

this time the remove work, but error I can’t continue because error delete /peertube/

> 2018-10-01 14:53:01,935: DEBUG - Selecting previously unselected package yarn.
> 2018-10-01 14:53:01,936: DEBUG - (Reading database ... 
> (Reading database ... 5%
> (Reading database ... 10%
> (Reading database ... 15%
> (Reading database ... 20%
> (Reading database ... 25%
> (Reading database ... 30%
> (Reading database ... 35%
> (Reading database ... 40%
> (Reading database ... 45%
> (Reading database ... 50%
> (Reading database ... 55%
> (Reading database ... 60%
> (Reading database ... 65%
> (Reading database ... 70%
> (Reading database ... 75%
> (Reading database ... 80%
> (Reading database ... 85%
> (Reading database ... 90%
> (Reading database ... 95%
> (Reading database ... 100%
> (Reading database ... 47650 files and directories currently installed.)
> 2018-10-01 14:53:01,936: DEBUG - Preparing to unpack .../archives/yarn_1.10.1-1_all.deb ...
> 2018-10-01 14:53:01,936: DEBUG - Unpacking yarn (1.10.1-1) ...
> 2018-10-01 14:53:02,337: DEBUG - Setting up yarn (1.10.1-1) ...
> 2018-10-01 14:53:02,739: DEBUG - + [[ -n /tmp/tmp.uUv3X0fkOH ]]
> 2018-10-01 14:53:02,739: DEBUG - + rm -rf /tmp/tmp.uUv3X0fkOH
> 2018-10-01 14:53:02,739: DEBUG - + ynh_package_is_installed peertube-ynh-deps
> 2018-10-01 14:53:02,739: DEBUG - + dpkg-query -W -f '${Status}' peertube-ynh-deps
> 2018-10-01 14:53:02,739: DEBUG - + grep -c 'ok installed'
> 2018-10-01 14:53:02,740: DEBUG - + rm /tmp/peertube-ynh-deps.control
> 2018-10-01 14:53:02,740: DEBUG - + ynh_app_setting_set peertube apt_dependencies postgresql, postgresql-contrib, openssl, g++, ffmpeg, redis-server, redis-tools, mailutils, yarn, apt-transport-https
> 2018-10-01 14:53:02,740: DEBUG - + sudo yunohost app setting peertube apt_dependencies --value=postgresql, --quiet
> 2018-10-01 14:53:03,041: DEBUG - + db_name=peertube_peertube
> 2018-10-01 14:53:03,041: DEBUG - ++ ynh_string_random 30
> 2018-10-01 14:53:03,041: DEBUG - ++ dd if=/dev/urandom bs=1 count=200
> 2018-10-01 14:53:03,042: DEBUG - ++ tr -c -d A-Za-z0-9
> 2018-10-01 14:53:03,042: DEBUG - ++ sed -n 's/\(.\{30\}\).*/\1/p'
> 2018-10-01 14:53:03,042: DEBUG - + db_pwd=q9NsOAmhJGJpUIFXmeCKBd8cdXARdL
> 2018-10-01 14:53:03,042: DEBUG - + ynh_app_setting_set peertube psql_db peertube_peertube
> 2018-10-01 14:53:03,042: DEBUG - + sudo yunohost app setting peertube psql_db --value=peertube_peertube --quiet
> 2018-10-01 14:53:03,243: DEBUG - + ynh_app_setting_set peertube psqlpwd q9NsOAmhJGJpUIFXmeCKBd8cdXARdL
> 2018-10-01 14:53:03,243: DEBUG - + sudo yunohost app setting peertube psqlpwd --value=q9NsOAmhJGJpUIFXmeCKBd8cdXARdL --quiet
> 2018-10-01 14:53:03,544: DEBUG - + ynh_psql_test_if_first_run
> 2018-10-01 14:53:03,545: DEBUG - + '[' -f /etc/yunohost/psql ']'
> 2018-10-01 14:53:03,545: DEBUG - + echo 'PostgreSQL is already installed, no need to create master password'
> 2018-10-01 14:53:03,545: DEBUG - PostgreSQL is already installed, no need to create master password
> 2018-10-01 14:53:03,546: DEBUG - + ynh_psql_create_user peertube q9NsOAmhJGJpUIFXmeCKBd8cdXARdL
> 2018-10-01 14:53:03,546: DEBUG - + user=peertube
> 2018-10-01 14:53:03,546: DEBUG - + pwd=q9NsOAmhJGJpUIFXmeCKBd8cdXARdL
> 2018-10-01 14:53:03,547: DEBUG - + sudo --login --user=postgres psql '-cCREATE USER peertube WITH PASSWORD '\''q9NsOAmhJGJpUIFXmeCKBd8cdXARdL'\''' postgres
> 2018-10-01 14:53:03,647: DEBUG - CREATE ROLE
> 2018-10-01 14:53:03,648: DEBUG - + ynh_psql_execute_as_root 'CREATE DATABASE peertube_peertube ENCODING '\''UTF8'\'' LC_COLLATE='\''C'\'' LC_CTYPE='\''C'\'' template=template0 OWNER peertube;'
> 2018-10-01 14:53:03,648: DEBUG - + sql='CREATE DATABASE peertube_peertube ENCODING '\''UTF8'\'' LC_COLLATE='\''C'\'' LC_CTYPE='\''C'\'' template=template0 OWNER peertube;'
> 2018-10-01 14:53:03,648: DEBUG - + sudo --login --user=postgres psql
> 2018-10-01 14:53:04,150: DEBUG - CREATE DATABASE
> 2018-10-01 14:53:04,150: DEBUG - + ynh_psql_execute_as_root '\connect peertube_peertube
> 2018-10-01 14:53:04,151: DEBUG - CREATE EXTENSION IF NOT EXISTS unaccent;CREATE EXTENSION IF NOT EXISTS pg_trgm;'
> 2018-10-01 14:53:04,151: DEBUG - + sql='\connect peertube_peertube
> 2018-10-01 14:53:04,151: DEBUG - CREATE EXTENSION IF NOT EXISTS unaccent;CREATE EXTENSION IF NOT EXISTS pg_trgm;'
> 2018-10-01 14:53:04,151: DEBUG - + sudo --login --user=postgres psql
> 2018-10-01 14:53:04,252: DEBUG - You are now connected to database "peertube_peertube" as user "postgres".
> 2018-10-01 14:53:04,252: DEBUG - CREATE EXTENSION
> 2018-10-01 14:53:04,353: DEBUG - CREATE EXTENSION
> 2018-10-01 14:53:04,353: DEBUG - + ynh_system_user_create peertube
> 2018-10-01 14:53:04,353: DEBUG - + ynh_system_user_exists peertube
> 2018-10-01 14:53:04,354: DEBUG - + getent passwd peertube
> 2018-10-01 14:53:04,354: DEBUG - + '[' 1 -ge 2 ']'
> 2018-10-01 14:53:04,354: DEBUG - + local user_home_dir=--no-create-home
> 2018-10-01 14:53:04,355: DEBUG - + sudo useradd --no-create-home --system --user-group peertube --shell /usr/sbin/nologin
> 2018-10-01 14:53:06,459: DEBUG - + ynh_app_setting_set peertube final_path /var/www/peertube
> 2018-10-01 14:53:06,459: DEBUG - + sudo yunohost app setting peertube final_path --value=/var/www/peertube --quiet
> 2018-10-01 14:53:06,760: DEBUG - + ynh_setup_source /var/www/peertube
> 2018-10-01 14:53:06,761: DEBUG - + local dest_dir=/var/www/peertube
> 2018-10-01 14:53:06,761: DEBUG - + local src_id=app
> 2018-10-01 14:53:06,762: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/app.src
> 2018-10-01 14:53:06,762: DEBUG - ++ cut -d= -f2-
> 2018-10-01 14:53:06,763: DEBUG - + local src_url=https://github.com/Chocobozzz/PeerTube/releases/download/v1.0.0-beta.15/peertube-v1.0.0-beta.15.tar.xz
> 2018-10-01 14:53:06,763: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/app.src
> 2018-10-01 14:53:06,763: DEBUG - ++ cut -d= -f2-
> 2018-10-01 14:53:06,764: DEBUG - + local src_sum=fff45acc7cc84fc1847c0ed62fe2a64e683fe84b394cb64edb7a4b7fa9144da0
> 2018-10-01 14:53:06,764: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/app.src
> 2018-10-01 14:53:06,765: DEBUG - ++ cut -d= -f2-
> 2018-10-01 14:53:06,765: DEBUG - + local src_sumprg=sha256sum
> 2018-10-01 14:53:06,765: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/app.src
> 2018-10-01 14:53:06,766: DEBUG - ++ cut -d= -f2-
> 2018-10-01 14:53:06,766: DEBUG - + local src_format=tar.xz
> 2018-10-01 14:53:06,767: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/app.src
> 2018-10-01 14:53:06,767: DEBUG - ++ cut -d= -f2-
> 2018-10-01 14:53:06,767: DEBUG - + local src_extract=
> 2018-10-01 14:53:06,768: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/app.src
> 2018-10-01 14:53:06,768: DEBUG - ++ cut -d= -f2-
> 2018-10-01 14:53:06,769: DEBUG - + local src_in_subdir=true
> 2018-10-01 14:53:06,769: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../conf/app.src
> 2018-10-01 14:53:06,769: DEBUG - ++ cut -d= -f2-
> 2018-10-01 14:53:06,770: DEBUG - + local src_filename=
> 2018-10-01 14:53:06,770: DEBUG - + src_sumprg=sha256sum
> 2018-10-01 14:53:06,770: DEBUG - + src_in_subdir=true
> 2018-10-01 14:53:06,771: DEBUG - + src_format=tar.xz
> 2018-10-01 14:53:06,771: DEBUG - ++ echo tar.xz
> 2018-10-01 14:53:06,771: DEBUG - ++ tr '[:upper:]' '[:lower:]'
> 2018-10-01 14:53:06,772: DEBUG - + src_format=tar.xz
> 2018-10-01 14:53:06,772: DEBUG - + src_extract=true
> 2018-10-01 14:53:06,772: DEBUG - + '[' '' = '' ']'
> 2018-10-01 14:53:06,772: DEBUG - + src_filename=app.tar.xz
> 2018-10-01 14:53:06,773: DEBUG - + local local_src=/opt/yunohost-apps-src/peertube/app.tar.xz
> 2018-10-01 14:53:06,773: DEBUG - + test -e /opt/yunohost-apps-src/peertube/app.tar.xz
> 2018-10-01 14:53:06,773: DEBUG - + wget -nv -O app.tar.xz https://github.com/Chocobozzz/PeerTube/releases/download/v1.0.0-beta.15/peertube-v1.0.0-beta.15.tar.xz
> 2018-10-01 14:53:08,478: DEBUG - + echo 'fff45acc7cc84fc1847c0ed62fe2a64e683fe84b394cb64edb7a4b7fa9144da0 app.tar.xz'
> 2018-10-01 14:53:08,478: WARNING - 2018-10-01 14:53:08 URL:https://github-production-release-asset-2e65be.s3.amazonaws.com/45213667/12345c80-c186-11e8-93e8-c1bd4f2a2ebc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181001%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181001T145307Z&X-Amz-Expires=300&X-Amz-Signature=01e74dccfc2ce865ae0cc236b85ed5dd91efeb5f8c55f63cd72ec2ebe43bf986&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dpeertube-v1.0.0-beta.15.tar.xz&response-content-type=application%2Foctet-stream [2138432/2138432] -> "app.tar.xz" [1]
> 2018-10-01 14:53:08,478: DEBUG - + sha256sum -c --status
> 2018-10-01 14:53:08,478: DEBUG - + mkdir -p /var/www/peertube
> 2018-10-01 14:53:08,478: DEBUG - + true
> 2018-10-01 14:53:08,479: DEBUG - + '[' tar.xz = zip ']'
> 2018-10-01 14:53:08,479: DEBUG - + local strip=
> 2018-10-01 14:53:08,479: DEBUG - + true
> 2018-10-01 14:53:08,479: DEBUG - + strip='--strip-components 1'
> 2018-10-01 14:53:08,479: DEBUG - + [[ tar.xz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
> 2018-10-01 14:53:08,480: DEBUG - + tar -xf app.tar.xz -C /var/www/peertube --strip-components 1
> 2018-10-01 14:53:08,781: DEBUG - ++ wc -l
> 2018-10-01 14:53:08,781: DEBUG - ++ find /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../sources/patches/ -type f -name 'app-*.patch'
> 2018-10-01 14:53:08,781: DEBUG - + ((  0 > 0  ))
> 2018-10-01 14:53:08,782: DEBUG - + test -e /var/cache/yunohost/from_file/peertube_ynh-master/scripts/../sources/extra_files/app
> 2018-10-01 14:53:08,782: DEBUG - + cp ../conf/production.yaml /var/www/peertube/config/production.yaml
> 2018-10-01 14:53:08,782: DEBUG - + touch /var/www/peertube/config/local-production.json
> 2018-10-01 14:53:08,782: DEBUG - + cd /var/www/peertube
> 2018-10-01 14:53:08,783: DEBUG - + yarn install --production --pure-lockfile
> 2018-10-01 14:53:09,084: DEBUG - yarn install v1.10.1
> 2018-10-01 14:53:09,284: DEBUG - [1/5] Validating package.json...
> 2018-10-01 14:53:09,285: DEBUG - [2/5] Resolving packages...
> 2018-10-01 14:53:24,922: WARNING - warning Resolution field "@types/bluebird@3.5.21" is incompatible with requested version "@types/bluebird@3.5.18"
> 2018-10-01 14:53:48,578: DEBUG - [3/5] Fetching packages...
> 2018-10-01 14:53:49,581: DEBUG - info fsevents@1.2.4: The platform "linux" is incompatible with this module.
> 2018-10-01 14:53:49,581: DEBUG - info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
> 2018-10-01 14:53:49,581: DEBUG - [4/5] Linking dependencies...
> 2018-10-01 14:53:55,592: DEBUG - [5/5] Building fresh packages...
> 2018-10-01 14:53:56,393: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
> 2018-10-01 14:53:56,394: WARNING - error /var/www/peertube/node_modules/rdf-canonize: Command failed.
> 2018-10-01 14:53:56,394: WARNING - Exit code: 1
> 2018-10-01 14:53:56,394: WARNING - Command: node-gyp rebuild
> 2018-10-01 14:53:56,394: WARNING - Arguments:
> 2018-10-01 14:53:56,395: WARNING - Directory: /var/www/peertube/node_modules/rdf-canonize
> 2018-10-01 14:53:56,395: WARNING - Output:
> 2018-10-01 14:53:56,395: WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
> 2018-10-01 14:53:56,395: WARNING - sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
> 2018-10-01 14:53:56,395: WARNING - gyp info it worked if it ends with ok
> 2018-10-01 14:53:56,396: WARNING - gyp info using node-gyp@3.8.0
> 2018-10-01 14:53:56,396: WARNING - gyp info using node@8.12.0 | linux | x64
> 2018-10-01 14:53:56,396: WARNING - gyp info spawn /usr/bin/python2
> 2018-10-01 14:53:56,396: WARNING - gyp info spawn args [ '/opt/node_n/n/versions/node/8.12.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
> 2018-10-01 14:53:56,396: WARNING - gyp info spawn args   'binding.gyp',
> 2018-10-01 14:53:56,396: WARNING - gyp info spawn args   '-f',
> 2018-10-01 14:53:56,397: WARNING - gyp info spawn args   'make',
> 2018-10-01 14:53:56,397: WARNING - gyp info spawn args   '-I',
> 2018-10-01 14:53:56,397: WARNING - gyp info spawn args   '/var/www/peertube/node_modules/rdf-canonize/build/config.gypi',
> 2018-10-01 14:53:56,397: WARNING - gyp info spawn args   '-I',
> 2018-10-01 14:53:56,397: WARNING - gyp info spawn args   '/opt/node_n/n/versions/node/8.12.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
> 2018-10-01 14:53:56,398: WARNING - gyp info spawn args   '-I',
> 2018-10-01 14:53:56,398: WARNING - gyp info spawn args   '/root/.node-gyp/8.12.0/include/node/common.gypi',
> 2018-10-01 14:53:56,398: WARNING - gyp info spawn args   '-Dlibrary=shared_library',
> 2018-10-01 14:53:56,398: WARNING - gyp info spawn args   '-Dvisibility=default',
> 2018-10-01 14:53:56,399: WARNING - gyp info spawn args   '-Dnode_root_dir=/root/.node-gyp/8.12.0',
> 2018-10-01 14:53:56,399: WARNING - gyp info spawn args   '-Dnode_gyp_dir=/opt/node_n/n/versions/node/8.12.0/lib/node_modules/npm/node_modules/node-gyp',
> 2018-10-01 14:53:56,399: WARNING - gyp info spawn args   '-Dnode_lib_file=/root/.node-gyp/8.12.0/<(target_arch)/node.lib',
> 2018-10-01 14:53:56,399: WARNING - gyp info spawn args   '-Dmodule_root_dir=/var/www/peertube/node_modules/rdf-canonize',
> 2018-10-01 14:53:56,400: WARNING - gyp info spawn args   '-Dnode_engine=v8',
> 2018-10-01 14:53:56,400: WARNING - gyp info spawn args   '--depth=.',
> 2018-10-01 14:53:56,400: WARNING - gyp info spawn args   '--no-parallel',
> 2018-10-01 14:53:56,400: WARNING - gyp info spawn args   '--generator-output',
> 2018-10-01 14:53:56,401: WARNING - gyp info spawn args   'build',
> 2018-10-01 14:53:56,401: WARNING - gyp info spawn args   '-Goutput_dir=.' ]
> 2018-10-01 14:53:56,401: WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
> 2018-10-01 14:53:56,401: WARNING - gyp: Call to 'node -e "require('nan')"' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
> 2018-10-01 14:53:56,401: WARNING - gyp ERR! configure error
> 2018-10-01 14:53:56,402: WARNING - gyp ERR! stack Error: `gyp` failed with exit code: 1
> 2018-10-01 14:53:56,402: WARNING - gyp ERR! stack     at ChildProcess.onCpExit (/opt/node_n/n/versions/node/8.12.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
> 2018-10-01 14:53:56,402: WARNING - gyp ERR! stack     at emitTwo (events.js:126:13)
> 2018-10-01 14:53:56,402: WARNING - gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
> 2018-10-01 14:53:56,403: WARNING - gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
> 2018-10-01 14:53:56,403: WARNING - gyp ERR! System Linux 4.9.0-8-amd64
> 2018-10-01 14:53:56,403: WARNING - gyp ERR! command "/opt/node_n/n/versions/node/8.12.0/bin/node" "/opt/node_n/n/versions/node/8.12.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
> 2018-10-01 14:53:56,403: WARNING - gyp ERR! cwd /var/www/peertube/node_modules/rdf-canonize
> 2018-10-01 14:53:56,403: WARNING - gyp ERR! node -v v8.12.0
> 2018-10-01 14:53:56,403: WARNING - gyp ERR! node-gyp -v v3.8.0
> 2018-10-01 14:53:56,404: WARNING - gyp ERR! not ok
> 2018-10-01 14:53:58,108: DEBUG - + ynh_exit_properly
> 2018-10-01 14:53:58,109: WARNING - !!
> 2018-10-01 14:53:58,109: DEBUG - + local exit_code=1
> 2018-10-01 14:53:58,109: WARNING -   peertube's script has encountered an error. Its execution was cancelled.
> 2018-10-01 14:53:58,110: DEBUG - + '[' 1 -eq 0 ']'
> 2018-10-01 14:53:58,110: WARNING - !!
> 2018-10-01 14:53:58,111: DEBUG - + trap '' EXIT
> 2018-10-01 14:53:58,111: WARNING - 
> 2018-10-01 14:53:58,111: DEBUG - + set +eu
> 2018-10-01 14:53:58,112: DEBUG - + echo -e '!!\n  peertube'\''s script has encountered an error. Its execution was cancelled.\n!!'
> 2018-10-01 14:53:58,112: DEBUG - + type -t ynh_clean_setup
> 2018-10-01 14:53:58,113: DEBUG - + ynh_die
> 2018-10-01 14:53:58,113: DEBUG - + echo ''
> 2018-10-01 14:53:58,113: DEBUG - + exit 1

#37

I am sorry there was a typo in 2 steps.

  1. Do
    $ yunohost app install --debug https://github.com/YunoHost-Apps/peertube_ynh/tree/ovh_fix

Sorry for that.


#38

I see the finish line but it’s not the end ^^

  1. Change your root password by this command:

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

    Username: root
    password: created in above step

something wrong

> root@homerc2:/var/www/peertube# cd /var/www/peertube && NODE_CONFIG_DIR="/var/www/peertube/config/" NODE_ENV=production /opt/node_n/bin/npm run reset-password -- -u root
> -bash: /opt/node_n/bin/npm: No such file or directory

Thanks

PS : Application is in my admin apps


#39

Try:

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


#40

root@homerc2:/var/www/peertube# cd /var/www/peertube && NODE_CONFIG_DIR="/var/www/peertube/config/" NODE_ENV=production npm run reset-password – -u root-bash: syntax error near unexpected token `;&’