YunoHost / issues

General issue tracker for the YunoHost project
72 stars 8 forks source link

Problem with the installation of standard note #1753

Closed konservenknilch closed 2 years ago

konservenknilch commented 3 years ago
args:
  app: snweb
  args: domain=note.maindomain.tld&snserver_domain=sync.standardnotes.org&is_public=0
  force: false
  label: Standard Notes
  no_remove_on_failure: false
ended_at: 2021-03-12 20:39:42.738004
env:
  YNH_APP_ARG_DOMAIN: note.maindomain.tld
  YNH_APP_ARG_IS_PUBLIC: 0
  YNH_APP_ARG_SNSERVER_DOMAIN: sync.standardnotes.org
  YNH_APP_ID: snweb
  YNH_APP_INSTANCE_NAME: snweb
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 3.5.11~ynh1
error: Im Installationsscript ist ein Fehler aufgetreten
interface: api
operation: app_install
parent: null
related_to:
- - app
  - snweb
started_at: 2021-03-12 20:30:53.646292
success: false
yunohost_version: 4.1.7.3

============

2021-03-12 21:30:53,727: INFO - snweb wird installiert...
2021-03-12 21:30:54,472: DEBUG - Permission 'snweb.main' updated
2021-03-12 21:30:54,761: DEBUG - Vollständiges Log dieser Operation: '<a href="#/tools/logs/20210312-203054-permission_url-snweb" style="text-decoration:underline">Update url related to permission 'snweb'</a>'
2021-03-12 21:30:55,417: DEBUG - The permission database has been resynchronized
2021-03-12 21:30:55,823: DEBUG - Die Konfiguration von SSOwat erstellt
2021-03-12 21:30:56,212: DEBUG - Executing command 'sh -c YNH_INTERFACE=api YNH_CWD=/etc/yunohost/hooks.d/post_app_addaccess YNH_STDINFO=/tmp/tmp6O89EH/stdinfo YNH_STDRETURN=/tmp/tmpkm_KrX/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./50-freshrss" snweb mre,svc_wikijs_ldap main all_users 7>&1'
2021-03-12 21:30:56,412: DEBUG - + app=snweb
2021-03-12 21:30:56,413: DEBUG - + new_users=mre,svc_wikijs_ldap
2021-03-12 21:30:56,414: DEBUG - + app_path=/var/www/snweb
2021-03-12 21:30:56,414: DEBUG - + . /usr/share/yunohost/helpers
2021-03-12 21:30:56,414: DEBUG - +++ set +o
2021-03-12 21:30:56,414: DEBUG - +++ grep xtrace
2021-03-12 21:30:56,414: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-03-12 21:30:56,414: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-03-12 21:30:56,414: DEBUG - + [[ freshrss = \s\n\w\e\b ]]
2021-03-12 21:30:56,496: DEBUG - Permission 'snweb.main' created
2021-03-12 21:30:56,497: DEBUG - Vollständiges Log dieser Operation: '<a href="#/tools/logs/20210312-203054-permission_create-snweb" style="text-decoration:underline">Create permission 'snweb'</a>'
2021-03-12 21:30:56,580: DEBUG - Executing command 'sh -c YNH_APP_ARG_SNSERVER_DOMAIN=sync.standardnotes.org YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/scripts YNH_APP_MANIFEST_VERSION='3.5.11~ynh1' YNH_APP_INSTANCE_NAME=snweb YNH_STDINFO=/tmp/tmpnJBEKs/stdinfo YNH_APP_ARG_IS_PUBLIC=0 YNH_INTERFACE=api YNH_APP_ID=snweb YNH_STDRETURN=/tmp/tmpBapSA5/stdreturn YNH_APP_ARG_DOMAIN=note.maindomain.tld BASH_XTRACEFD=7 /bin/bash -x "./install" note.maindomain.tld 0 sync.standardnotes.org snweb 7>&1'
2021-03-12 21:30:56,806: DEBUG - + source _common.sh
2021-03-12 21:30:56,807: DEBUG - ++ pkg_dependencies='        zlib1g-dev         libssl-dev         libjemalloc-dev         git         '
2021-03-12 21:30:56,807: DEBUG - ++ RUBY_VERSION=2.7.2
2021-03-12 21:30:56,807: DEBUG - ++ NODEJS_VERSION=10
2021-03-12 21:30:56,808: DEBUG - ++ SOURCE=https://github.com/standardnotes/web
2021-03-12 21:30:56,808: DEBUG - ++ COMMIT=31676f1cc61898147b363d442593870ae880d3e5
2021-03-12 21:30:56,808: DEBUG - + source ynh_install_ruby
2021-03-12 21:30:56,808: DEBUG - ++ rbenv_install_dir=/opt/rbenv
2021-03-12 21:30:56,808: DEBUG - ++ export RBENV_ROOT=/opt/rbenv
2021-03-12 21:30:56,808: DEBUG - ++ RBENV_ROOT=/opt/rbenv
2021-03-12 21:30:56,808: DEBUG - + source /usr/share/yunohost/helpers
2021-03-12 21:30:56,809: DEBUG - +++ set +o
2021-03-12 21:30:56,809: DEBUG - +++ grep xtrace
2021-03-12 21:30:56,809: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-03-12 21:30:56,809: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-03-12 21:30:56,809: DEBUG - + ynh_abort_if_errors
2021-03-12 21:30:56,809: DEBUG - + set -o errexit
2021-03-12 21:30:56,809: DEBUG - + set -o nounset
2021-03-12 21:30:56,809: DEBUG - + trap ynh_exit_properly EXIT
2021-03-12 21:30:56,810: DEBUG - + domain=note.maindomain.tld
2021-03-12 21:30:56,810: DEBUG - + path_url=/
2021-03-12 21:30:56,810: DEBUG - + is_public=0
2021-03-12 21:30:56,810: DEBUG - + app=snweb
2021-03-12 21:30:56,810: DEBUG - + snserver_domain=sync.standardnotes.org
2021-03-12 21:30:56,911: INFO - [....................] > Validating installation parameters...
2021-03-12 21:30:56,914: DEBUG - + echo '[....................] > Validating installation parameters...'
2021-03-12 21:30:56,914: DEBUG - + final_path=/opt/yunohost/snweb
2021-03-12 21:30:56,914: DEBUG - + test '!' -e /opt/yunohost/snweb
2021-03-12 21:30:56,914: DEBUG - + mkdir -p /opt/yunohost/snweb/live
2021-03-12 21:30:56,914: DEBUG - + ynh_app_setting_set --app=snweb --key=final_path --value=/opt/yunohost/snweb
2021-03-12 21:30:56,916: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2021-03-12 21:30:56,916: DEBUG - + ynh_app_setting set snweb final_path /opt/yunohost/snweb
2021-03-12 21:30:57,117: DEBUG - + ynh_webpath_register --app=snweb --domain=note.maindomain.tld --path_url=/
2021-03-12 21:30:57,219: DEBUG - + yunohost app register-url snweb note.maindomain.tld /
2021-03-12 21:31:00,730: DEBUG - + echo '[....................] > Storing installation settings...'
2021-03-12 21:31:00,731: DEBUG - + ynh_app_setting_set --app=snweb --key=domain --value=note.maindomain.tld
2021-03-12 21:31:00,832: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2021-03-12 21:31:00,832: INFO - [....................] > Storing installation settings...
2021-03-12 21:31:00,833: DEBUG - + ynh_app_setting set snweb domain note.maindomain.tld
2021-03-12 21:31:00,933: DEBUG - + ynh_app_setting_set --app=snweb --key=path --value=/
2021-03-12 21:31:01,035: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2021-03-12 21:31:01,035: DEBUG - + ynh_app_setting set snweb path /
2021-03-12 21:31:01,236: DEBUG - + ynh_app_setting_set --app=snweb --key=is_public --value=0
2021-03-12 21:31:01,338: DEBUG - + [[ is_public =~ (unprotected|protected|skipped)_ ]]
2021-03-12 21:31:01,338: DEBUG - + ynh_app_setting set snweb is_public 0
2021-03-12 21:31:01,444: DEBUG - + ynh_app_setting_set --app=snweb --key=snserver_domain --value=sync.standardnotes.org
2021-03-12 21:31:01,546: DEBUG - + [[ snserver_domain =~ (unprotected|protected|skipped)_ ]]
2021-03-12 21:31:01,546: DEBUG - + ynh_app_setting set snweb snserver_domain sync.standardnotes.org
2021-03-12 21:31:01,748: INFO - [....................] > Configuring firewall...
2021-03-12 21:31:01,750: DEBUG - + echo '[....................] > Configuring firewall...'
2021-03-12 21:31:01,750: DEBUG - ++ ynh_find_port --port=3000
2021-03-12 21:31:01,751: DEBUG - ++ test -n 3000
2021-03-12 21:31:01,751: DEBUG - ++ ynh_port_available --port=3000
2021-03-12 21:31:01,868: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-03-12 21:31:01,868: DEBUG - ++ grep --quiet --extended-regexp ':3000$'
2021-03-12 21:31:01,868: DEBUG - ++ awk '{print$5}'
2021-03-12 21:31:01,868: DEBUG - ++ return 1
2021-03-12 21:31:01,868: DEBUG - ++ port=3001
2021-03-12 21:31:01,869: DEBUG - ++ ynh_port_available --port=3001
2021-03-12 21:31:01,870: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-03-12 21:31:01,870: DEBUG - ++ awk '{print$5}'
2021-03-12 21:31:01,870: DEBUG - ++ grep --quiet --extended-regexp ':3001$'
2021-03-12 21:31:01,870: DEBUG - ++ return 1
2021-03-12 21:31:01,870: DEBUG - ++ port=3002
2021-03-12 21:31:01,870: DEBUG - ++ ynh_port_available --port=3002
2021-03-12 21:31:01,871: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-03-12 21:31:01,871: DEBUG - ++ awk '{print$5}'
2021-03-12 21:31:01,871: DEBUG - ++ grep --quiet --extended-regexp ':3002$'
2021-03-12 21:31:01,871: DEBUG - ++ return 1
2021-03-12 21:31:01,871: DEBUG - ++ port=3003
2021-03-12 21:31:01,871: DEBUG - ++ ynh_port_available --port=3003
2021-03-12 21:31:01,872: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-03-12 21:31:01,872: DEBUG - ++ awk '{print$5}'
2021-03-12 21:31:01,872: DEBUG - ++ grep --quiet --extended-regexp ':3003$'
2021-03-12 21:31:01,872: DEBUG - ++ return 1
2021-03-12 21:31:01,872: DEBUG - ++ port=3004
2021-03-12 21:31:01,872: DEBUG - ++ ynh_port_available --port=3004
2021-03-12 21:31:01,873: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-03-12 21:31:01,873: DEBUG - ++ grep --quiet --extended-regexp ':3004$'
2021-03-12 21:31:01,873: DEBUG - ++ awk '{print$5}'
2021-03-12 21:31:01,974: DEBUG - ++ return 0
2021-03-12 21:31:01,974: DEBUG - ++ echo 3004
2021-03-12 21:31:01,975: DEBUG - + port=3004
2021-03-12 21:31:01,975: DEBUG - + ynh_app_setting_set --app=snweb --key=port --value=3004
2021-03-12 21:31:01,976: DEBUG - + [[ port =~ (unprotected|protected|skipped)_ ]]
2021-03-12 21:31:01,976: DEBUG - + ynh_app_setting set snweb port 3004
2021-03-12 21:31:02,278: DEBUG - + echo '[++..................] > Installing dependencies...'
2021-03-12 21:31:02,279: DEBUG - + ynh_install_app_dependencies zlib1g-dev libssl-dev libjemalloc-dev git
2021-03-12 21:31:02,279: DEBUG - + local 'dependencies=zlib1g-dev libssl-dev libjemalloc-dev git'
2021-03-12 21:31:02,279: DEBUG - ++ echo 'zlib1g-dev libssl-dev libjemalloc-dev git'
2021-03-12 21:31:02,279: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2021-03-12 21:31:02,279: DEBUG - + dependencies='zlib1g-dev, libssl-dev, libjemalloc-dev, git'
2021-03-12 21:31:02,279: DEBUG - + local 'dependencies=zlib1g-dev, libssl-dev, libjemalloc-dev, git'
2021-03-12 21:31:02,279: DEBUG - + local manifest_path=../manifest.json
2021-03-12 21:31:02,279: DEBUG - + '[' '!' -e ../manifest.json ']'
2021-03-12 21:31:02,279: DEBUG - ++ grep '\"version\": ' ../manifest.json
2021-03-12 21:31:02,279: DEBUG - ++ cut '--delimiter="' --fields=4
2021-03-12 21:31:02,280: DEBUG - + local version=3.5.11~ynh1
2021-03-12 21:31:02,280: DEBUG - + '[' 11 -eq 0 ']'
2021-03-12 21:31:02,280: DEBUG - + local dep_app=snweb
2021-03-12 21:31:02,280: DEBUG - + [[ zlib1g-dev, libssl-dev, libjemalloc-dev, git =~ [<=>] ]]
2021-03-12 21:31:02,280: DEBUG - + echo zlib1g-dev, libssl-dev, libjemalloc-dev, git
2021-03-12 21:31:02,280: DEBUG - + grep --quiet php
2021-03-12 21:31:02,280: DEBUG - + cat
2021-03-12 21:31:02,281: DEBUG - + ynh_package_install_from_equivs /tmp/snweb-ynh-deps.control
2021-03-12 21:31:02,281: DEBUG - + local controlfile=/tmp/snweb-ynh-deps.control
2021-03-12 21:31:02,281: DEBUG - ++ grep '^Package: ' /tmp/snweb-ynh-deps.control
2021-03-12 21:31:02,281: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-03-12 21:31:02,281: DEBUG - + local pkgname=snweb-ynh-deps
2021-03-12 21:31:02,281: DEBUG - ++ grep '^Version: ' /tmp/snweb-ynh-deps.control
2021-03-12 21:31:02,281: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-03-12 21:31:02,281: DEBUG - + local pkgversion=3.5.11~ynh1
2021-03-12 21:31:02,282: DEBUG - + [[ -z snweb-ynh-deps ]]
2021-03-12 21:31:02,282: DEBUG - + [[ -z 3.5.11~ynh1 ]]
2021-03-12 21:31:02,282: DEBUG - + ynh_package_update
2021-03-12 21:31:02,282: DEBUG - + ynh_apt update
2021-03-12 21:31:02,282: DEBUG - + ynh_wait_dpkg_free
2021-03-12 21:31:02,683: DEBUG - + return 0
2021-03-12 21:31:02,684: INFO - [++..................] > Installing dependencies...
2021-03-12 21:31:02,685: DEBUG - + LC_ALL=C
2021-03-12 21:31:02,685: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-03-12 21:31:02,685: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-03-12 21:31:02,785: DEBUG - Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
2021-03-12 21:31:02,786: DEBUG - Hit:2 http://deb.debian.org/debian buster InRelease
2021-03-12 21:31:02,786: DEBUG - Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
2021-03-12 21:31:02,786: DEBUG - Get:4 http://forge.yunohost.org/debian buster InRelease [18.2 kB]
2021-03-12 21:31:03,287: DEBUG - Get:5 http://security.debian.org/debian-security buster/updates/main Sources [178 kB]
2021-03-12 21:31:03,388: DEBUG - Fetched 313 kB in 1s (453 kB/s)
2021-03-12 21:31:04,692: DEBUG - Reading package lists...
2021-03-12 21:31:04,793: DEBUG - ++ mktemp --directory
2021-03-12 21:31:04,793: DEBUG - + local TMPDIR=/tmp/tmp.imb1ziGIwX
2021-03-12 21:31:04,793: DEBUG - + echo 10
2021-03-12 21:31:04,793: DEBUG - + ynh_wait_dpkg_free
2021-03-12 21:31:05,095: DEBUG - + return 0
2021-03-12 21:31:05,095: DEBUG - + cp /tmp/snweb-ynh-deps.control /tmp/tmp.imb1ziGIwX/control
2021-03-12 21:31:05,095: DEBUG - + cd /tmp/tmp.imb1ziGIwX
2021-03-12 21:31:05,095: DEBUG - + LC_ALL=C
2021-03-12 21:31:05,095: DEBUG - + equivs-build ./control
2021-03-12 21:31:06,102: DEBUG - + LC_ALL=C
2021-03-12 21:31:06,103: DEBUG - + dpkg --force-depends --install ./snweb-ynh-deps_3.5.11~ynh1_all.deb
2021-03-12 21:31:06,103: DEBUG - + tee ./dpkg_log
2021-03-12 21:31:06,204: DEBUG - Selecting previously unselected package snweb-ynh-deps.
2021-03-12 21:31:06,605: DEBUG - (Reading database ... 63565 files and directories currently installed.)
2021-03-12 21:31:06,606: DEBUG - Preparing to unpack .../snweb-ynh-deps_3.5.11~ynh1_all.deb ...
2021-03-12 21:31:06,606: DEBUG - Unpacking snweb-ynh-deps (3.5.11~ynh1) ...
2021-03-12 21:31:06,606: DEBUG - dpkg: snweb-ynh-deps: dependency problems, but configuring anyway as you requested:
2021-03-12 21:31:06,606: DEBUG -  snweb-ynh-deps depends on zlib1g-dev; however:
2021-03-12 21:31:06,606: DEBUG -   Package zlib1g-dev is not installed.
2021-03-12 21:31:06,607: DEBUG -  snweb-ynh-deps depends on libssl-dev; however:
2021-03-12 21:31:06,607: DEBUG -   Package libssl-dev is not installed.
2021-03-12 21:31:06,607: DEBUG -  snweb-ynh-deps depends on libjemalloc-dev; however:
2021-03-12 21:31:06,607: DEBUG -   Package libjemalloc-dev is not installed.
2021-03-12 21:31:06,607: DEBUG - 
2021-03-12 21:31:06,607: DEBUG - Setting up snweb-ynh-deps (3.5.11~ynh1) ...
2021-03-12 21:31:06,708: DEBUG - + ynh_package_install --fix-broken
2021-03-12 21:31:06,708: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-03-12 21:31:06,709: DEBUG - + ynh_wait_dpkg_free
2021-03-12 21:31:06,910: DEBUG - + return 0
2021-03-12 21:31:06,911: DEBUG - + LC_ALL=C
2021-03-12 21:31:06,911: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-03-12 21:31:06,911: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-03-12 21:31:07,212: DEBUG - Reading package lists...
2021-03-12 21:31:07,413: DEBUG - Building dependency tree...
2021-03-12 21:31:07,414: DEBUG - Reading state information...
2021-03-12 21:31:07,615: DEBUG - Correcting dependencies... Done
2021-03-12 21:31:07,916: DEBUG - The following additional packages will be installed:
2021-03-12 21:31:07,916: DEBUG -   libjemalloc-dev libssl-dev zlib1g-dev
2021-03-12 21:31:07,916: DEBUG - Suggested packages:
2021-03-12 21:31:07,917: DEBUG -   libssl-doc
2021-03-12 21:31:07,917: DEBUG - The following NEW packages will be installed:
2021-03-12 21:31:07,917: DEBUG -   libjemalloc-dev libssl-dev zlib1g-dev
2021-03-12 21:31:08,619: DEBUG - 0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
2021-03-12 21:31:08,619: DEBUG - Need to get 0 B/2410 kB of archives.
2021-03-12 21:31:08,619: DEBUG - After this operation, 11.1 MB of additional disk space will be used.
2021-03-12 21:31:08,720: DEBUG - Selecting previously unselected package libjemalloc-dev.
2021-03-12 21:31:08,720: DEBUG - (Reading database ... 63569 files and directories currently installed.)
2021-03-12 21:31:08,720: DEBUG - Preparing to unpack .../libjemalloc-dev_5.1.0-3_amd64.deb ...
2021-03-12 21:31:08,721: DEBUG - Unpacking libjemalloc-dev (5.1.0-3) ...
2021-03-12 21:31:08,821: DEBUG - Selecting previously unselected package libssl-dev:amd64.
2021-03-12 21:31:08,821: DEBUG - Preparing to unpack .../libssl-dev_1.1.1d-0+deb10u5_amd64.deb ...
2021-03-12 21:31:08,822: DEBUG - Unpacking libssl-dev:amd64 (1.1.1d-0+deb10u5) ...
2021-03-12 21:31:09,123: DEBUG - Selecting previously unselected package zlib1g-dev:amd64.
2021-03-12 21:31:09,123: DEBUG - Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1_amd64.deb ...
2021-03-12 21:31:09,123: DEBUG - Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1) ...
2021-03-12 21:31:09,224: DEBUG - Setting up libjemalloc-dev (5.1.0-3) ...
2021-03-12 21:31:09,224: DEBUG - Setting up libssl-dev:amd64 (1.1.1d-0+deb10u5) ...
2021-03-12 21:31:09,225: DEBUG - Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1) ...
2021-03-12 21:31:09,225: DEBUG - Processing triggers for man-db (2.8.5-2) ...
2021-03-12 21:31:09,829: DEBUG - + [[ -n /tmp/tmp.imb1ziGIwX ]]
2021-03-12 21:31:09,830: DEBUG - + rm --recursive --force /tmp/tmp.imb1ziGIwX
2021-03-12 21:31:09,830: DEBUG - + ynh_package_is_installed snweb-ynh-deps
2021-03-12 21:31:09,831: DEBUG - + ynh_wait_dpkg_free
2021-03-12 21:31:10,132: DEBUG - + return 0
2021-03-12 21:31:10,132: DEBUG - + grep --count 'ok installed'
2021-03-12 21:31:10,132: DEBUG - + dpkg-query --show '--showformat=${Status}' snweb-ynh-deps
2021-03-12 21:31:10,132: DEBUG - + rm /tmp/snweb-ynh-deps.control
2021-03-12 21:31:10,132: DEBUG - + ynh_app_setting_set --app=snweb --key=apt_dependencies '--value=zlib1g-dev, libssl-dev, libjemalloc-dev, git'
2021-03-12 21:31:10,234: DEBUG - + [[ apt_dependencies =~ (unprotected|protected|skipped)_ ]]
2021-03-12 21:31:10,234: DEBUG - + ynh_app_setting set snweb apt_dependencies 'zlib1g-dev, libssl-dev, libjemalloc-dev, git'
2021-03-12 21:31:10,335: DEBUG - + ynh_install_nodejs --nodejs_version=10
2021-03-12 21:31:10,336: DEBUG - + mkdir --parents /opt/node_n
2021-03-12 21:31:10,336: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-03-12 21:31:10,336: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-03-12 21:31:10,336: DEBUG - ++ sed s@/usr/local/bin:@@
2021-03-12 21:31:10,336: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2021-03-12 21:31:10,337: DEBUG - + test -x /usr/bin/node
2021-03-12 21:31:10,337: DEBUG - + mv /usr/bin/node /usr/bin/node_n
2021-03-12 21:31:10,337: DEBUG - + test -x /usr/bin/npm
2021-03-12 21:31:10,337: DEBUG - + /opt/node_n/bin/n --version
2021-03-12 21:31:10,437: DEBUG - ++ /opt/node_n/bin/n --version
2021-03-12 21:31:10,438: DEBUG - + dpkg --compare-versions 6.7.0 lt 6.7.0
2021-03-12 21:31:10,438: DEBUG - + ynh_replace_string '--match_string=^N_PREFIX=${N_PREFIX-.*}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
2021-03-12 21:31:10,539: DEBUG - + local delimit=@
2021-03-12 21:31:10,539: DEBUG - + match_string='^N_PREFIX=${N_PREFIX-.*}$'
2021-03-12 21:31:10,540: DEBUG - + replace_string='N_PREFIX=${N_PREFIX-/opt/node_n}'
2021-03-12 21:31:10,540: DEBUG - + sed --in-place 's@^N_PREFIX=${N_PREFIX-.*}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n
2021-03-12 21:31:10,540: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-03-12 21:31:10,540: DEBUG - + test -x /usr/bin/node_n
2021-03-12 21:31:10,540: DEBUG - + mv /usr/bin/node_n /usr/bin/node
2021-03-12 21:31:10,540: DEBUG - + test -x /usr/bin/npm_n
2021-03-12 21:31:10,540: DEBUG - ++ uname --machine
2021-03-12 21:31:10,541: DEBUG - + uname=x86_64
2021-03-12 21:31:10,541: DEBUG - + [[ x86_64 =~ aarch64 ]]
2021-03-12 21:31:10,541: DEBUG - + [[ x86_64 =~ arm64 ]]
2021-03-12 21:31:10,541: DEBUG - + n 10
2021-03-12 21:31:10,541: DEBUG - 
2021-03-12 21:31:10,541: DEBUG -   installing : node-v10.24.0
2021-03-12 21:31:10,642: DEBUG -        mkdir : /opt/node_n/n/versions/node/10.24.0
2021-03-12 21:31:10,642: DEBUG -        fetch : https://nodejs.org/dist/v10.24.0/node-v10.24.0-linux-x64.tar.xz
2021-03-12 21:31:13,148: DEBUG -    installed : v10.24.0 (with npm 6.14.11)
2021-03-12 21:31:13,148: DEBUG - 
2021-03-12 21:31:13,149: DEBUG - ++ sort --version-sort
2021-03-12 21:31:13,149: DEBUG - ++ find /opt/node_n/n/versions/node/10 /opt/node_n/n/versions/node/10.24.0 -maxdepth 0
2021-03-12 21:31:13,149: DEBUG - ++ tail --lines=1
2021-03-12 21:31:13,149: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/10.24.0
2021-03-12 21:31:13,149: DEBUG - ++ basename /opt/node_n/n/versions/node/10.24.0
2021-03-12 21:31:13,149: DEBUG - + real_nodejs_version=10.24.0
2021-03-12 21:31:13,149: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/10 ']'
2021-03-12 21:31:13,150: DEBUG - + tee --append /opt/node_n/ynh_app_version
2021-03-12 21:31:13,150: DEBUG - + echo snweb:10
2021-03-12 21:31:13,150: DEBUG - snweb:10
2021-03-12 21:31:13,150: DEBUG - + ynh_app_setting_set --app=snweb --key=nodejs_version --value=10
2021-03-12 21:31:13,251: DEBUG - + [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2021-03-12 21:31:13,252: DEBUG - + ynh_app_setting set snweb nodejs_version 10
2021-03-12 21:31:13,453: DEBUG - + ynh_cron_upgrade_node
2021-03-12 21:31:13,453: DEBUG - + cat
2021-03-12 21:31:13,453: DEBUG - + chmod +x /opt/node_n/node_update.sh
2021-03-12 21:31:13,453: DEBUG - + cat
2021-03-12 21:31:13,454: DEBUG - + chmod +x /etc/cron.daily/node_update
2021-03-12 21:31:13,454: DEBUG - + ynh_use_nodejs
2021-03-12 21:31:13,454: DEBUG - ++ ynh_app_setting_get --app=snweb --key=nodejs_version
2021-03-12 21:31:13,455: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2021-03-12 21:31:13,456: DEBUG - ++ ynh_app_setting get snweb nodejs_version
2021-03-12 21:31:13,657: DEBUG - + nodejs_version=10
2021-03-12 21:31:13,657: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/10/bin
2021-03-12 21:31:13,657: DEBUG - + shopt -s expand_aliases
2021-03-12 21:31:13,658: DEBUG - + ynh_node=/opt/node_n/n/versions/node/10/bin/node
2021-03-12 21:31:13,658: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/10/bin/node
2021-03-12 21:31:13,658: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/10/bin/npm
2021-03-12 21:31:13,658: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/10/bin/npm
2021-03-12 21:31:13,658: 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\/\1\0\/\b\i\n* ]]
2021-03-12 21:31:13,659: DEBUG - + PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-03-12 21:31:13,659: DEBUG - + node_PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-03-12 21:31:13,659: DEBUG - + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-03-12 21:31:13,659: DEBUG - + ynh_install_extra_app_dependencies '--repo=deb https://dl.yarnpkg.com/debian/ stable main' --package=yarn --key=https://dl.yarnpkg.com/debian/pubkey.gpg
2021-03-12 21:31:13,762: DEBUG - + name=snweb
2021-03-12 21:31:13,762: DEBUG - + key=https://dl.yarnpkg.com/debian/pubkey.gpg
2021-03-12 21:31:13,763: DEBUG - + '[' -n https://dl.yarnpkg.com/debian/pubkey.gpg ']'
2021-03-12 21:31:13,763: DEBUG - + key=--key=https://dl.yarnpkg.com/debian/pubkey.gpg
2021-03-12 21:31:13,763: DEBUG - + ynh_install_extra_repo '--repo=deb https://dl.yarnpkg.com/debian/ stable main' --key=https://dl.yarnpkg.com/debian/pubkey.gpg --priority=995 --name=snweb
2021-03-12 21:31:13,865: DEBUG - + name=snweb
2021-03-12 21:31:13,865: DEBUG - + append=0
2021-03-12 21:31:13,865: DEBUG - + key=https://dl.yarnpkg.com/debian/pubkey.gpg
2021-03-12 21:31:13,866: DEBUG - + priority=995
2021-03-12 21:31:13,866: DEBUG - + '[' 0 -eq 1 ']'
2021-03-12 21:31:13,866: DEBUG - + append=
2021-03-12 21:31:13,866: DEBUG - + wget_append=tee
2021-03-12 21:31:13,866: DEBUG - + repo='https://dl.yarnpkg.com/debian/ stable main'
2021-03-12 21:31:13,866: DEBUG - ++ echo 'https://dl.yarnpkg.com/debian/ stable main'
2021-03-12 21:31:13,866: DEBUG - ++ awk '{ print $1 }'
2021-03-12 21:31:13,967: DEBUG - + local uri=https://dl.yarnpkg.com/debian/
2021-03-12 21:31:13,967: DEBUG - ++ echo 'https://dl.yarnpkg.com/debian/ stable main'
2021-03-12 21:31:13,967: DEBUG - ++ awk '{ print $2 }'
2021-03-12 21:31:13,967: DEBUG - + local suite=stable
2021-03-12 21:31:13,968: DEBUG - + local component=main
2021-03-12 21:31:13,968: DEBUG - + ynh_add_repo --uri=https://dl.yarnpkg.com/debian/ --suite=stable --component=main --name=snweb
2021-03-12 21:31:14,069: DEBUG - + name=snweb
2021-03-12 21:31:14,070: DEBUG - + append=0
2021-03-12 21:31:14,070: DEBUG - + '[' 0 -eq 1 ']'
2021-03-12 21:31:14,070: DEBUG - + append=tee
2021-03-12 21:31:14,070: DEBUG - + mkdir --parents /etc/apt/sources.list.d
2021-03-12 21:31:14,070: DEBUG - + echo 'deb https://dl.yarnpkg.com/debian/ stable main'
2021-03-12 21:31:14,070: DEBUG - + tee /etc/apt/sources.list.d/snweb.list
2021-03-12 21:31:14,070: DEBUG - deb https://dl.yarnpkg.com/debian/ stable main
2021-03-12 21:31:14,071: DEBUG - + local pin=dl.yarnpkg.com/debian/
2021-03-12 21:31:14,071: DEBUG - + pin=dl.yarnpkg.com
2021-03-12 21:31:14,071: DEBUG - + '[' -n 995 ']'
2021-03-12 21:31:14,071: DEBUG - + priority=--priority=995
2021-03-12 21:31:14,071: DEBUG - + ynh_pin_repo '--package=*' '--pin=origin "dl.yarnpkg.com"' --priority=995 --name=snweb
2021-03-12 21:31:14,273: DEBUG - + package='*'
2021-03-12 21:31:14,273: DEBUG - + priority=995
2021-03-12 21:31:14,273: DEBUG - + name=snweb
2021-03-12 21:31:14,273: DEBUG - + append=0
2021-03-12 21:31:14,273: DEBUG - + '[' 0 -eq 1 ']'
2021-03-12 21:31:14,273: DEBUG - + append=tee
2021-03-12 21:31:14,274: DEBUG - + [[ snweb != \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
2021-03-12 21:31:14,274: DEBUG - + mkdir --parents /etc/apt/preferences.d
2021-03-12 21:31:14,274: DEBUG - + echo 'Package: *
2021-03-12 21:31:14,274: DEBUG - Pin: origin "dl.yarnpkg.com"
2021-03-12 21:31:14,274: DEBUG - Pin-Priority: 995
2021-03-12 21:31:14,274: DEBUG - '
2021-03-12 21:31:14,274: DEBUG - + tee /etc/apt/preferences.d/snweb
2021-03-12 21:31:14,274: DEBUG - Package: *
2021-03-12 21:31:14,274: DEBUG - Pin: origin "dl.yarnpkg.com"
2021-03-12 21:31:14,275: DEBUG - Pin-Priority: 995
2021-03-12 21:31:14,275: DEBUG - 
2021-03-12 21:31:14,275: DEBUG - + '[' -n https://dl.yarnpkg.com/debian/pubkey.gpg ']'
2021-03-12 21:31:14,275: DEBUG - + mkdir --parents /etc/apt/trusted.gpg.d
2021-03-12 21:31:14,275: DEBUG - + wget --timeout 900 --quiet https://dl.yarnpkg.com/debian/pubkey.gpg --output-document=-
2021-03-12 21:31:14,275: DEBUG - + gpg --dearmor
2021-03-12 21:31:14,275: DEBUG - + tee /etc/apt/trusted.gpg.d/snweb.gpg
2021-03-12 21:31:14,376: DEBUG - + ynh_package_update
2021-03-12 21:31:14,376: DEBUG - + ynh_apt update
2021-03-12 21:31:14,376: DEBUG - + ynh_wait_dpkg_free
2021-03-12 21:31:14,678: DEBUG - + return 0
2021-03-12 21:31:14,678: DEBUG - + LC_ALL=C
2021-03-12 21:31:14,678: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-03-12 21:31:14,678: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-03-12 21:31:14,778: DEBUG - Hit:1 http://deb.debian.org/debian buster InRelease
2021-03-12 21:31:14,779: DEBUG - Hit:2 http://security.debian.org/debian-security buster/updates InRelease
2021-03-12 21:31:14,779: DEBUG - Hit:3 http://deb.debian.org/debian buster-updates InRelease
2021-03-12 21:31:14,779: DEBUG - Get:4 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
2021-03-12 21:31:14,880: DEBUG - Hit:5 http://forge.yunohost.org/debian buster InRelease
2021-03-12 21:31:15,482: DEBUG - Get:6 https://dl.yarnpkg.com/debian stable/main all Packages [10.1 kB]
2021-03-12 21:31:15,482: DEBUG - Get:7 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.1 kB]
2021-03-12 21:31:15,582: DEBUG - Fetched 37.2 kB in 1s (44.9 kB/s)
2021-03-12 21:31:16,886: DEBUG - Reading package lists...
2021-03-12 21:31:16,887: DEBUG - + ynh_add_app_dependencies --package=yarn
2021-03-12 21:31:16,988: DEBUG - + replace=0
2021-03-12 21:31:16,988: DEBUG - + local current_dependencies=
2021-03-12 21:31:16,988: DEBUG - + '[' 0 -eq 0 ']'
2021-03-12 21:31:16,989: DEBUG - + local dep_app=snweb
2021-03-12 21:31:16,989: DEBUG - + ynh_package_is_installed --package=snweb-ynh-deps
2021-03-12 21:31:16,990: DEBUG - + ynh_wait_dpkg_free
2021-03-12 21:31:17,191: DEBUG - + return 0
2021-03-12 21:31:17,191: DEBUG - + dpkg-query --show '--showformat=${Status}' snweb-ynh-deps
2021-03-12 21:31:17,191: DEBUG - + grep --count 'ok installed'
2021-03-12 21:31:17,192: DEBUG - ++ dpkg-query --show '--showformat=${Depends}' snweb-ynh-deps
2021-03-12 21:31:17,292: DEBUG - + current_dependencies='zlib1g-dev, libssl-dev, libjemalloc-dev, git '
2021-03-12 21:31:17,293: DEBUG - + current_dependencies='zlib1g-dev, libssl-dev, libjemalloc-dev, git '
2021-03-12 21:31:17,293: DEBUG - + ynh_install_app_dependencies 'zlib1g-dev, libssl-dev, libjemalloc-dev, git yarn'
2021-03-12 21:31:17,293: DEBUG - + local 'dependencies=zlib1g-dev, libssl-dev, libjemalloc-dev, git yarn'
2021-03-12 21:31:17,293: DEBUG - ++ echo 'zlib1g-dev, libssl-dev, libjemalloc-dev, git yarn'
2021-03-12 21:31:17,293: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2021-03-12 21:31:17,293: DEBUG - + dependencies='zlib1g-dev,, libssl-dev,, libjemalloc-dev,, git, yarn'
2021-03-12 21:31:17,293: DEBUG - + local 'dependencies=zlib1g-dev,, libssl-dev,, libjemalloc-dev,, git, yarn'
2021-03-12 21:31:17,294: DEBUG - + local manifest_path=../manifest.json
2021-03-12 21:31:17,294: DEBUG - + '[' '!' -e ../manifest.json ']'
2021-03-12 21:31:17,294: DEBUG - ++ grep '\"version\": ' ../manifest.json
2021-03-12 21:31:17,294: DEBUG - ++ cut '--delimiter="' --fields=4
2021-03-12 21:31:17,294: DEBUG - + local version=3.5.11~ynh1
2021-03-12 21:31:17,294: DEBUG - + '[' 11 -eq 0 ']'
2021-03-12 21:31:17,294: DEBUG - + local dep_app=snweb
2021-03-12 21:31:17,294: DEBUG - + [[ zlib1g-dev,, libssl-dev,, libjemalloc-dev,, git, yarn =~ [<=>] ]]
2021-03-12 21:31:17,295: DEBUG - + echo zlib1g-dev,, libssl-dev,, libjemalloc-dev,, git, yarn
2021-03-12 21:31:17,295: DEBUG - + grep --quiet php
2021-03-12 21:31:17,295: DEBUG - + cat
2021-03-12 21:31:17,295: DEBUG - + ynh_package_install_from_equivs /tmp/snweb-ynh-deps.control
2021-03-12 21:31:17,295: DEBUG - + local controlfile=/tmp/snweb-ynh-deps.control
2021-03-12 21:31:17,295: DEBUG - ++ grep '^Package: ' /tmp/snweb-ynh-deps.control
2021-03-12 21:31:17,295: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-03-12 21:31:17,295: DEBUG - + local pkgname=snweb-ynh-deps
2021-03-12 21:31:17,295: DEBUG - ++ grep '^Version: ' /tmp/snweb-ynh-deps.control
2021-03-12 21:31:17,296: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-03-12 21:31:17,296: DEBUG - + local pkgversion=3.5.11~ynh1
2021-03-12 21:31:17,296: DEBUG - + [[ -z snweb-ynh-deps ]]
2021-03-12 21:31:17,296: DEBUG - + [[ -z 3.5.11~ynh1 ]]
2021-03-12 21:31:17,296: DEBUG - + ynh_package_update
2021-03-12 21:31:17,296: DEBUG - + ynh_apt update
2021-03-12 21:31:17,296: DEBUG - + ynh_wait_dpkg_free
2021-03-12 21:31:17,497: DEBUG - + return 0
2021-03-12 21:31:17,497: DEBUG - + LC_ALL=C
2021-03-12 21:31:17,498: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-03-12 21:31:17,498: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-03-12 21:31:17,598: DEBUG - Hit:1 http://deb.debian.org/debian buster InRelease
2021-03-12 21:31:17,599: DEBUG - Hit:2 http://deb.debian.org/debian buster-updates InRelease
2021-03-12 21:31:17,599: DEBUG - Hit:3 http://security.debian.org/debian-security buster/updates InRelease
2021-03-12 21:31:17,599: DEBUG - Hit:4 https://dl.yarnpkg.com/debian stable InRelease
2021-03-12 21:31:17,700: DEBUG - Hit:5 http://forge.yunohost.org/debian buster InRelease
2021-03-12 21:31:19,605: DEBUG - Reading package lists...
2021-03-12 21:31:19,605: DEBUG - ++ mktemp --directory
2021-03-12 21:31:19,606: DEBUG - + local TMPDIR=/tmp/tmp.h4zn7oMVVB
2021-03-12 21:31:19,606: DEBUG - + echo 10
2021-03-12 21:31:19,606: DEBUG - + ynh_wait_dpkg_free
2021-03-12 21:31:19,907: DEBUG - + return 0
2021-03-12 21:31:19,908: DEBUG - + cp /tmp/snweb-ynh-deps.control /tmp/tmp.h4zn7oMVVB/control
2021-03-12 21:31:19,908: DEBUG - + cd /tmp/tmp.h4zn7oMVVB
2021-03-12 21:31:19,908: DEBUG - + LC_ALL=C
2021-03-12 21:31:19,908: DEBUG - + equivs-build ./control
2021-03-12 21:31:20,810: DEBUG - + LC_ALL=C
2021-03-12 21:31:20,811: DEBUG - + tee ./dpkg_log
2021-03-12 21:31:20,811: DEBUG - + dpkg --force-depends --install ./snweb-ynh-deps_3.5.11~ynh1_all.deb
2021-03-12 21:31:20,912: DEBUG - (Reading database ... 63731 files and directories currently installed.)
2021-03-12 21:31:20,912: DEBUG - Preparing to unpack .../snweb-ynh-deps_3.5.11~ynh1_all.deb ...
2021-03-12 21:31:20,912: DEBUG - Unpacking snweb-ynh-deps (3.5.11~ynh1) over (3.5.11~ynh1) ...
2021-03-12 21:31:20,913: DEBUG - Setting up snweb-ynh-deps (3.5.11~ynh1) ...
2021-03-12 21:31:20,913: DEBUG - + ynh_package_install --fix-broken
2021-03-12 21:31:20,913: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-03-12 21:31:20,913: DEBUG - + ynh_wait_dpkg_free
2021-03-12 21:31:21,214: DEBUG - + return 0
2021-03-12 21:31:21,215: DEBUG - + LC_ALL=C
2021-03-12 21:31:21,215: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-03-12 21:31:21,215: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-03-12 21:31:21,416: DEBUG - Reading package lists...
2021-03-12 21:31:21,717: DEBUG - Building dependency tree...
2021-03-12 21:31:21,718: DEBUG - Reading state information...
2021-03-12 21:31:22,119: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2021-03-12 21:31:22,119: DEBUG - + [[ -n /tmp/tmp.h4zn7oMVVB ]]
2021-03-12 21:31:22,119: DEBUG - + rm --recursive --force /tmp/tmp.h4zn7oMVVB
2021-03-12 21:31:22,120: DEBUG - + ynh_package_is_installed snweb-ynh-deps
2021-03-12 21:31:22,121: DEBUG - + ynh_wait_dpkg_free
2021-03-12 21:31:22,422: DEBUG - + return 0
2021-03-12 21:31:22,422: DEBUG - + dpkg-query --show '--showformat=${Status}' snweb-ynh-deps
2021-03-12 21:31:22,423: DEBUG - + grep --count 'ok installed'
2021-03-12 21:31:22,423: DEBUG - + rm /tmp/snweb-ynh-deps.control
2021-03-12 21:31:22,423: DEBUG - + ynh_app_setting_set --app=snweb --key=apt_dependencies '--value=zlib1g-dev,, libssl-dev,, libjemalloc-dev,, git, yarn'
2021-03-12 21:31:22,524: DEBUG - + [[ apt_dependencies =~ (unprotected|protected|skipped)_ ]]
2021-03-12 21:31:22,525: DEBUG - + ynh_app_setting set snweb apt_dependencies 'zlib1g-dev,, libssl-dev,, libjemalloc-dev,, git, yarn'
2021-03-12 21:31:22,625: DEBUG - + ynh_remove_extra_repo --name=snweb
2021-03-12 21:31:22,627: DEBUG - + name=snweb
2021-03-12 21:31:22,627: DEBUG - + ynh_secure_remove /etc/apt/sources.list.d/snweb.list
2021-03-12 21:31:22,728: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-03-12 21:31:22,729: DEBUG - + '[' 1 -ge 2 ']'
2021-03-12 21:31:22,729: DEBUG - + [[ -z /etc/apt/sources.list.d/snweb.list ]]
2021-03-12 21:31:22,729: DEBUG - + [[      /var/www     /home/yunohost.app =~ /etc/apt/sources\.list\.d/snweb\.list ]]
2021-03-12 21:31:22,729: DEBUG - + [[ /etc/apt/sources.list.d/snweb.list =~ ^/[[:alnum:]]+$ ]]
2021-03-12 21:31:22,729: DEBUG - + [[ t = \/ ]]
2021-03-12 21:31:22,729: DEBUG - + '[' -e /etc/apt/sources.list.d/snweb.list ']'
2021-03-12 21:31:22,729: DEBUG - + rm --recursive /etc/apt/sources.list.d/snweb.list
2021-03-12 21:31:22,729: DEBUG - + [[ snweb == \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
2021-03-12 21:31:22,730: DEBUG - + ynh_secure_remove /etc/apt/preferences.d/snweb
2021-03-12 21:31:22,731: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-03-12 21:31:22,731: DEBUG - + '[' 1 -ge 2 ']'
2021-03-12 21:31:22,731: DEBUG - + [[ -z /etc/apt/preferences.d/snweb ]]
2021-03-12 21:31:22,731: DEBUG - + [[      /var/www     /home/yunohost.app =~ /etc/apt/preferences\.d/snweb ]]
2021-03-12 21:31:22,731: DEBUG - + [[ /etc/apt/preferences.d/snweb =~ ^/[[:alnum:]]+$ ]]
2021-03-12 21:31:22,731: DEBUG - + [[ b = \/ ]]
2021-03-12 21:31:22,731: DEBUG - + '[' -e /etc/apt/preferences.d/snweb ']'
2021-03-12 21:31:22,731: DEBUG - + rm --recursive /etc/apt/preferences.d/snweb
2021-03-12 21:31:22,731: DEBUG - + ynh_secure_remove /etc/apt/trusted.gpg.d/snweb.gpg
2021-03-12 21:31:22,732: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-03-12 21:31:22,733: DEBUG - + '[' 1 -ge 2 ']'
2021-03-12 21:31:22,733: DEBUG - + [[ -z /etc/apt/trusted.gpg.d/snweb.gpg ]]
2021-03-12 21:31:22,733: DEBUG - + [[      /var/www     /home/yunohost.app =~ /etc/apt/trusted\.gpg\.d/snweb\.gpg ]]
2021-03-12 21:31:22,733: DEBUG - + [[ /etc/apt/trusted.gpg.d/snweb.gpg =~ ^/[[:alnum:]]+$ ]]
2021-03-12 21:31:22,733: DEBUG - + [[ g = \/ ]]
2021-03-12 21:31:22,733: DEBUG - + '[' -e /etc/apt/trusted.gpg.d/snweb.gpg ']'
2021-03-12 21:31:22,733: DEBUG - + rm --recursive /etc/apt/trusted.gpg.d/snweb.gpg
2021-03-12 21:31:22,733: DEBUG - + ynh_secure_remove /etc/apt/trusted.gpg.d/snweb.asc
2021-03-12 21:31:22,734: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-03-12 21:31:22,734: DEBUG - + '[' 1 -ge 2 ']'
2021-03-12 21:31:22,734: DEBUG - + [[ -z /etc/apt/trusted.gpg.d/snweb.asc ]]
2021-03-12 21:31:22,734: DEBUG - + [[      /var/www     /home/yunohost.app =~ /etc/apt/trusted\.gpg\.d/snweb\.asc ]]
2021-03-12 21:31:22,734: DEBUG - + [[ /etc/apt/trusted.gpg.d/snweb.asc =~ ^/[[:alnum:]]+$ ]]
2021-03-12 21:31:22,734: DEBUG - + [[ c = \/ ]]
2021-03-12 21:31:22,735: DEBUG - + '[' -e /etc/apt/trusted.gpg.d/snweb.asc ']'
2021-03-12 21:31:22,735: DEBUG - + ynh_print_info '--message='\''/etc/apt/trusted.gpg.d/snweb.asc'\'' wasn'\''t deleted because it doesn'\''t exist.'
2021-03-12 21:31:22,736: DEBUG - + echo ''\''/etc/apt/trusted.gpg.d/snweb.asc'\'' wasn'\''t deleted because it doesn'\''t exist.'
2021-03-12 21:31:22,736: DEBUG - + ynh_package_update
2021-03-12 21:31:22,736: DEBUG - + ynh_apt update
2021-03-12 21:31:22,736: DEBUG - + ynh_wait_dpkg_free
2021-03-12 21:31:22,937: DEBUG - + return 0
2021-03-12 21:31:22,937: INFO - '/etc/apt/trusted.gpg.d/snweb.asc' wasn't deleted because it doesn't exist.
2021-03-12 21:31:22,938: DEBUG - + LC_ALL=C
2021-03-12 21:31:22,938: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-03-12 21:31:22,938: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-03-12 21:31:23,039: DEBUG - Hit:1 http://deb.debian.org/debian buster InRelease
2021-03-12 21:31:23,039: DEBUG - Hit:2 http://deb.debian.org/debian buster-updates InRelease
2021-03-12 21:31:23,039: DEBUG - Hit:3 http://security.debian.org/debian-security buster/updates InRelease
2021-03-12 21:31:23,140: DEBUG - Hit:4 http://forge.yunohost.org/debian buster InRelease
2021-03-12 21:31:24,845: DEBUG - Reading package lists...
2021-03-12 21:31:25,047: INFO - [##+.................] > Setting up source files...
2021-03-12 21:31:25,048: DEBUG - + echo '[##+.................] > Setting up source files...'
2021-03-12 21:31:25,048: DEBUG - + git clone https://github.com/standardnotes/web /opt/yunohost/snweb/live --quiet
2021-03-12 21:31:30,061: DEBUG - + pushd /opt/yunohost/snweb/live
2021-03-12 21:31:30,061: DEBUG - /opt/yunohost/snweb/live /var/cache/yunohost/from_file/scripts
2021-03-12 21:31:30,062: DEBUG - + git checkout 31676f1cc61898147b363d442593870ae880d3e5 --quiet
2021-03-12 21:31:30,062: DEBUG - + popd
2021-03-12 21:31:30,062: DEBUG - /var/cache/yunohost/from_file/scripts
2021-03-12 21:31:30,163: DEBUG - + echo '[###+................] > Configuring nginx web server...'
2021-03-12 21:31:30,164: DEBUG - + ynh_add_nginx_config port
2021-03-12 21:31:30,164: DEBUG - + finalnginxconf=/etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:30,164: DEBUG - + local others_var=port
2021-03-12 21:31:30,164: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:30,165: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_note.maindomain.tld.d_snweb.conf
2021-03-12 21:31:30,165: DEBUG - ++ ynh_app_setting_get --app=snweb --key=checksum__etc_nginx_conf.d_note.maindomain.tld.d_snweb.conf
2021-03-12 21:31:30,267: DEBUG - ++ [[ checksum__etc_nginx_conf.d_note.maindomain.tld.d_snweb.conf =~ (unprotected|protected|skipped)_ ]]
2021-03-12 21:31:30,267: INFO - [###+................] > Configuring nginx web server...
2021-03-12 21:31:30,268: DEBUG - ++ ynh_app_setting get snweb checksum__etc_nginx_conf.d_note.maindomain.tld.d_snweb.conf
2021-03-12 21:31:30,368: DEBUG - + local checksum_value=
2021-03-12 21:31:30,369: DEBUG - + backup_file_checksum=
2021-03-12 21:31:30,369: DEBUG - + '[' -n '' ']'
2021-03-12 21:31:30,369: DEBUG - + cp ../conf/nginx.conf /etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:30,369: DEBUG - + test -n /
2021-03-12 21:31:30,369: DEBUG - + local path_url_slash_less=
2021-03-12 21:31:30,369: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:30,471: DEBUG - + local delimit=@
2021-03-12 21:31:30,471: DEBUG - + match_string=__PATH__/
2021-03-12 21:31:30,471: DEBUG - + replace_string=/
2021-03-12 21:31:30,471: DEBUG - + sed --in-place s@__PATH__/@/@g /etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:30,471: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:30,573: DEBUG - + local delimit=@
2021-03-12 21:31:30,574: DEBUG - + match_string=__PATH__
2021-03-12 21:31:30,574: DEBUG - + replace_string=/
2021-03-12 21:31:30,574: DEBUG - + sed --in-place s@__PATH__@/@g /etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:30,574: DEBUG - + test -n note.maindomain.tld
2021-03-12 21:31:30,574: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=note.maindomain.tld --target_file=/etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:30,676: DEBUG - + local delimit=@
2021-03-12 21:31:30,676: DEBUG - + match_string=__DOMAIN__
2021-03-12 21:31:30,676: DEBUG - + replace_string=note.maindomain.tld
2021-03-12 21:31:30,676: DEBUG - + sed --in-place s@__DOMAIN__@note.maindomain.tld@g /etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:30,676: DEBUG - + test -n 3004
2021-03-12 21:31:30,677: DEBUG - + ynh_replace_string --match_string=__PORT__ --replace_string=3004 --target_file=/etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:30,778: DEBUG - + local delimit=@
2021-03-12 21:31:30,778: DEBUG - + match_string=__PORT__
2021-03-12 21:31:30,778: DEBUG - + replace_string=3004
2021-03-12 21:31:30,779: DEBUG - + sed --in-place s@__PORT__@3004@g /etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:30,779: DEBUG - + test -n snweb
2021-03-12 21:31:30,779: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=snweb --target_file=/etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:30,881: DEBUG - + local delimit=@
2021-03-12 21:31:30,881: DEBUG - + match_string=__NAME__
2021-03-12 21:31:30,881: DEBUG - + replace_string=snweb
2021-03-12 21:31:30,881: DEBUG - + sed --in-place s@__NAME__@snweb@g /etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:30,881: DEBUG - + test -n /opt/yunohost/snweb
2021-03-12 21:31:30,881: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/opt/yunohost/snweb --target_file=/etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:30,983: DEBUG - + local delimit=@
2021-03-12 21:31:30,983: DEBUG - + match_string=__FINALPATH__
2021-03-12 21:31:30,983: DEBUG - + replace_string=/opt/yunohost/snweb
2021-03-12 21:31:30,984: DEBUG - + sed --in-place s@__FINALPATH__@/opt/yunohost/snweb@g /etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:30,984: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:31,086: DEBUG - + local delimit=@
2021-03-12 21:31:31,086: DEBUG - + match_string=__PHPVERSION__
2021-03-12 21:31:31,086: DEBUG - + replace_string=7.3
2021-03-12 21:31:31,086: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:31,086: DEBUG - + for var_to_replace in $others_var
2021-03-12 21:31:31,087: DEBUG - + ynh_replace_string --match_string=__PORT__ --replace_string=3004 --target_file=/etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:31,188: DEBUG - + local delimit=@
2021-03-12 21:31:31,189: DEBUG - + match_string=__PORT__
2021-03-12 21:31:31,189: DEBUG - + replace_string=3004
2021-03-12 21:31:31,189: DEBUG - + sed --in-place s@__PORT__@3004@g /etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:31,189: DEBUG - + '[' / '!=' / ']'
2021-03-12 21:31:31,189: DEBUG - + ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:31,290: DEBUG - + local delimit=@
2021-03-12 21:31:31,291: DEBUG - + match_string='^#root_path_only'
2021-03-12 21:31:31,291: DEBUG - + replace_string=
2021-03-12 21:31:31,291: DEBUG - + sed --in-place 's@^#root_path_only@@g' /etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:31,291: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:31,292: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_note.maindomain.tld.d_snweb.conf
2021-03-12 21:31:31,292: DEBUG - ++ md5sum /etc/nginx/conf.d/note.maindomain.tld.d/snweb.conf
2021-03-12 21:31:31,292: DEBUG - ++ cut '--delimiter= ' --fields=1
2021-03-12 21:31:31,292: DEBUG - + ynh_app_setting_set --app=snweb --key=checksum__etc_nginx_conf.d_note.maindomain.tld.d_snweb.conf --value=ec4c86f86fdc4a91fd74d0c6a8278d1a
2021-03-12 21:31:31,393: DEBUG - + [[ checksum__etc_nginx_conf.d_note.maindomain.tld.d_snweb.conf =~ (unprotected|protected|skipped)_ ]]
2021-03-12 21:31:31,394: DEBUG - + ynh_app_setting set snweb checksum__etc_nginx_conf.d_note.maindomain.tld.d_snweb.conf ec4c86f86fdc4a91fd74d0c6a8278d1a
2021-03-12 21:31:31,494: DEBUG - + '[' -n '' ']'
2021-03-12 21:31:31,495: DEBUG - + unset backup_file_checksum
2021-03-12 21:31:31,495: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2021-03-12 21:31:31,597: DEBUG - + service_name=nginx
2021-03-12 21:31:31,597: DEBUG - + action=reload
2021-03-12 21:31:31,597: DEBUG - + line_match=
2021-03-12 21:31:31,597: DEBUG - + length=20
2021-03-12 21:31:31,598: DEBUG - + log_path=/var/log/nginx/nginx.log
2021-03-12 21:31:31,598: DEBUG - + timeout=300
2021-03-12 21:31:31,598: DEBUG - + [[ -n '' ]]
2021-03-12 21:31:31,598: DEBUG - + '[' reload == reload ']'
2021-03-12 21:31:31,598: DEBUG - + action=reload-or-restart
2021-03-12 21:31:31,598: DEBUG - + systemctl reload-or-restart nginx
2021-03-12 21:31:31,799: DEBUG - + [[ -n '' ]]
2021-03-12 21:31:31,901: DEBUG - + echo '[####................] > Configuring system user...'
2021-03-12 21:31:31,901: DEBUG - + ynh_system_user_create --username=snweb --home_dir=/opt/yunohost/snweb
2021-03-12 21:31:32,002: DEBUG - + use_shell=0
2021-03-12 21:31:32,003: INFO - [####................] > Configuring system user...
2021-03-12 21:31:32,003: DEBUG - + home_dir=/opt/yunohost/snweb
2021-03-12 21:31:32,003: DEBUG - + ynh_system_user_exists snweb
2021-03-12 21:31:32,004: DEBUG - + getent passwd snweb
2021-03-12 21:31:32,005: DEBUG - + '[' -n /opt/yunohost/snweb ']'
2021-03-12 21:31:32,005: DEBUG - + local 'user_home_dir=--home-dir /opt/yunohost/snweb'
2021-03-12 21:31:32,005: DEBUG - + '[' 0 -eq 1 ']'
2021-03-12 21:31:32,005: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2021-03-12 21:31:32,005: DEBUG - + useradd --home-dir /opt/yunohost/snweb --system --user-group snweb --shell /usr/sbin/nologin
**2021-03-12 21:31:32,207: WARNING - Installation of rbenv - ruby version management**
2021-03-12 21:31:32,207: DEBUG - + echo '[####+++++++.........] > Installing Ruby... ( This may take a while... )'
2021-03-12 21:31:32,208: DEBUG - + ynh_install_ruby --ruby_version=2.7.2
2021-03-12 21:31:32,208: DEBUG - + declare -Ar args_array
2021-03-12 21:31:32,208: DEBUG - + mkdir -p /opt/rbenv/plugins/ruby-build
2021-03-12 21:31:32,209: DEBUG - + CLEAR_PATH=/opt/rbenv/bin:/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-03-12 21:31:32,209: DEBUG - ++ echo /opt/rbenv/bin:/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-03-12 21:31:32,209: DEBUG - ++ sed s@/usr/local/bin:@@
2021-03-12 21:31:32,209: DEBUG - + PATH=/opt/rbenv/bin:/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2021-03-12 21:31:32,209: DEBUG - + test -x /usr/bin/ruby
2021-03-12 21:31:32,209: DEBUG - + type rbenv
2021-03-12 21:31:32,209: DEBUG - + ynh_install_rbenv
2021-03-12 21:31:32,209: DEBUG - + echo 'Installation of rbenv - ruby version management'
2021-03-12 21:31:32,209: DEBUG - + mkdir -p ../conf
2021-03-12 21:31:32,210: DEBUG - + echo 'SOURCE_URL=https://github.com/rbenv/rbenv/archive/v1.1.2.tar.gz
2021-03-12 21:31:32,210: DEBUG - SOURCE_SUM=80ad89ffe04c0b481503bd375f05c212bbc7d44ef5f5e649e0acdf25eba86736'
2021-03-12 21:31:32,210: DEBUG - + ynh_setup_source /opt/rbenv rbenv
2021-03-12 21:31:32,211: DEBUG - + source_id=rbenv
2021-03-12 21:31:32,211: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/scripts/../conf/rbenv.src
2021-03-12 21:31:32,211: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/scripts/../conf/rbenv.src ']'
2021-03-12 21:31:32,211: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/scripts/../conf/rbenv.src
2021-03-12 21:31:32,211: DEBUG - ++ cut --delimiter== --fields=2-
2021-03-12 21:31:32,211: DEBUG - + local src_url=https://github.com/rbenv/rbenv/archive/v1.1.2.tar.gz
2021-03-12 21:31:32,212: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/scripts/../conf/rbenv.src
2021-03-12 21:31:32,212: DEBUG - ++ cut --delimiter== --fields=2-
2021-03-12 21:31:32,212: DEBUG - + local src_sum=80ad89ffe04c0b481503bd375f05c212bbc7d44ef5f5e649e0acdf25eba86736
2021-03-12 21:31:32,212: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/scripts/../conf/rbenv.src
2021-03-12 21:31:32,212: DEBUG - ++ cut --delimiter== --fields=2-
2021-03-12 21:31:32,212: DEBUG - + local src_sumprg=
2021-03-12 21:31:32,212: INFO - [####+++++++.........] > Installing Ruby... ( This may take a while... )
2021-03-12 21:31:32,213: DEBUG - ++ cut --delimiter== --fields=2-
2021-03-12 21:31:32,213: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/scripts/../conf/rbenv.src
2021-03-12 21:31:32,313: DEBUG - + local src_format=
2021-03-12 21:31:32,314: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/scripts/../conf/rbenv.src
2021-03-12 21:31:32,314: DEBUG - ++ cut --delimiter== --fields=2-
2021-03-12 21:31:32,314: DEBUG - + local src_extract=
2021-03-12 21:31:32,314: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/scripts/../conf/rbenv.src
2021-03-12 21:31:32,314: DEBUG - ++ cut --delimiter== --fields=2-
2021-03-12 21:31:32,315: DEBUG - + local src_in_subdir=
2021-03-12 21:31:32,315: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/scripts/../conf/rbenv.src
2021-03-12 21:31:32,315: DEBUG - ++ cut --delimiter== --fields=2-
2021-03-12 21:31:32,315: DEBUG - + local src_filename=
2021-03-12 21:31:32,315: DEBUG - + src_sumprg=sha256sum
2021-03-12 21:31:32,315: DEBUG - + src_in_subdir=true
2021-03-12 21:31:32,315: DEBUG - + src_format=tar.gz
2021-03-12 21:31:32,316: DEBUG - ++ echo tar.gz
2021-03-12 21:31:32,316: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2021-03-12 21:31:32,316: DEBUG - + src_format=tar.gz
2021-03-12 21:31:32,316: DEBUG - + src_extract=true
2021-03-12 21:31:32,316: DEBUG - + '[' '' = '' ']'
2021-03-12 21:31:32,316: DEBUG - + src_filename=rbenv.tar.gz
2021-03-12 21:31:32,317: DEBUG - + local local_src=/opt/yunohost-apps-src/snweb/rbenv.tar.gz
2021-03-12 21:31:32,317: DEBUG - + test -e /opt/yunohost-apps-src/snweb/rbenv.tar.gz
2021-03-12 21:31:32,317: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=rbenv.tar.gz https://github.com/rbenv/rbenv/archive/v1.1.2.tar.gz
2021-03-12 21:31:32,818: DEBUG - + out='2021-03-12 21:31:32 URL:https://codeload.github.com/rbenv/rbenv/tar.gz/v1.1.2 [32188] -> "rbenv.tar.gz" [1]'
2021-03-12 21:31:32,819: DEBUG - + sha256sum --check --status
2021-03-12 21:31:32,819: DEBUG - + echo '80ad89ffe04c0b481503bd375f05c212bbc7d44ef5f5e649e0acdf25eba86736 rbenv.tar.gz'
2021-03-12 21:31:32,819: DEBUG - + mkdir --parents /opt/rbenv
2021-03-12 21:31:32,819: DEBUG - + true
2021-03-12 21:31:32,819: DEBUG - + '[' tar.gz = zip ']'
2021-03-12 21:31:32,820: DEBUG - + local strip=
2021-03-12 21:31:32,820: DEBUG - + '[' true '!=' false ']'
2021-03-12 21:31:32,820: DEBUG - + '[' true == true ']'
2021-03-12 21:31:32,820: DEBUG - + local sub_dirs=1
2021-03-12 21:31:32,820: DEBUG - + strip='--strip-components 1'
2021-03-12 21:31:32,821: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2021-03-12 21:31:32,821: DEBUG - + tar --extract --file=rbenv.tar.gz --directory=/opt/rbenv --strip-components 1
2021-03-12 21:31:32,821: DEBUG - ++ find /var/cache/yunohost/from_file/scripts/../sources/patches/ -type f -name 'rbenv-*.patch'
2021-03-12 21:31:32,821: DEBUG - ++ wc --lines
2021-03-12 21:31:32,821: DEBUG - + ((  0 > 0  ))
2021-03-12 21:31:32,821: DEBUG - + test -e /var/cache/yunohost/from_file/scripts/../sources/extra_files/rbenv
2021-03-12 21:31:32,821: DEBUG - + mkdir -p ../conf
2021-03-12 21:31:32,821: DEBUG - + echo 'SOURCE_URL=https://github.com/rbenv/ruby-build/archive/v20201210.tar.gz
2021-03-12 21:31:32,822: DEBUG - SOURCE_SUM=256c7c29afe9ec01850e788ce4e4f496a215ab10083ea7cc9cad6dd8f03b6c5e'
2021-03-12 21:31:32,822: DEBUG - + ynh_setup_source /opt/rbenv/plugins/ruby-build ruby-build
2021-03-12 21:31:32,923: DEBUG - + source_id=ruby-build
2021-03-12 21:31:32,923: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/scripts/../conf/ruby-build.src
2021-03-12 21:31:32,923: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/scripts/../conf/ruby-build.src ']'
2021-03-12 21:31:32,924: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/scripts/../conf/ruby-build.src
2021-03-12 21:31:32,924: DEBUG - ++ cut --delimiter== --fields=2-
2021-03-12 21:31:32,924: DEBUG - + local src_url=https://github.com/rbenv/ruby-build/archive/v20201210.tar.gz
2021-03-12 21:31:32,924: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/scripts/../conf/ruby-build.src
2021-03-12 21:31:32,924: DEBUG - ++ cut --delimiter== --fields=2-
2021-03-12 21:31:32,924: DEBUG - + local src_sum=256c7c29afe9ec01850e788ce4e4f496a215ab10083ea7cc9cad6dd8f03b6c5e
2021-03-12 21:31:32,924: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/scripts/../conf/ruby-build.src
2021-03-12 21:31:32,925: DEBUG - ++ cut --delimiter== --fields=2-
2021-03-12 21:31:32,925: DEBUG - + local src_sumprg=
2021-03-12 21:31:32,925: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/scripts/../conf/ruby-build.src
2021-03-12 21:31:32,925: DEBUG - ++ cut --delimiter== --fields=2-
2021-03-12 21:31:32,925: DEBUG - + local src_format=
2021-03-12 21:31:32,925: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/scripts/../conf/ruby-build.src
2021-03-12 21:31:32,925: DEBUG - ++ cut --delimiter== --fields=2-
2021-03-12 21:31:32,926: DEBUG - + local src_extract=
2021-03-12 21:31:32,926: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/scripts/../conf/ruby-build.src
2021-03-12 21:31:32,926: DEBUG - ++ cut --delimiter== --fields=2-
2021-03-12 21:31:32,926: DEBUG - + local src_in_subdir=
2021-03-12 21:31:32,926: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/scripts/../conf/ruby-build.src
2021-03-12 21:31:32,927: DEBUG - ++ cut --delimiter== --fields=2-
2021-03-12 21:31:32,927: DEBUG - + local src_filename=
2021-03-12 21:31:32,927: DEBUG - + src_sumprg=sha256sum
2021-03-12 21:31:32,927: DEBUG - + src_in_subdir=true
2021-03-12 21:31:32,927: DEBUG - + src_format=tar.gz
2021-03-12 21:31:32,927: DEBUG - ++ echo tar.gz
2021-03-12 21:31:32,927: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2021-03-12 21:31:32,927: DEBUG - + src_format=tar.gz
2021-03-12 21:31:32,927: DEBUG - + src_extract=true
2021-03-12 21:31:32,927: DEBUG - + '[' '' = '' ']'
2021-03-12 21:31:32,927: DEBUG - + src_filename=ruby-build.tar.gz
2021-03-12 21:31:32,928: DEBUG - + local local_src=/opt/yunohost-apps-src/snweb/ruby-build.tar.gz
2021-03-12 21:31:32,928: DEBUG - + test -e /opt/yunohost-apps-src/snweb/ruby-build.tar.gz
2021-03-12 21:31:32,928: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=ruby-build.tar.gz https://github.com/rbenv/ruby-build/archive/v20201210.tar.gz
2021-03-12 21:31:33,429: DEBUG - + out='2021-03-12 21:31:33 URL:https://codeload.github.com/rbenv/ruby-build/tar.gz/v20201210 [69604] -> "ruby-build.tar.gz" [1]'
2021-03-12 21:31:33,430: DEBUG - + echo '256c7c29afe9ec01850e788ce4e4f496a215ab10083ea7cc9cad6dd8f03b6c5e ruby-build.tar.gz'
2021-03-12 21:31:33,430: DEBUG - + sha256sum --check --status
2021-03-12 21:31:33,430: DEBUG - + mkdir --parents /opt/rbenv/plugins/ruby-build
2021-03-12 21:31:33,430: DEBUG - + true
2021-03-12 21:31:33,430: DEBUG - + '[' tar.gz = zip ']'
2021-03-12 21:31:33,430: DEBUG - + local strip=
2021-03-12 21:31:33,431: DEBUG - + '[' true '!=' false ']'
2021-03-12 21:31:33,431: DEBUG - + '[' true == true ']'
2021-03-12 21:31:33,431: DEBUG - + local sub_dirs=1
2021-03-12 21:31:33,431: DEBUG - + strip='--strip-components 1'
2021-03-12 21:31:33,431: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2021-03-12 21:31:33,431: DEBUG - + tar --extract --file=ruby-build.tar.gz --directory=/opt/rbenv/plugins/ruby-build --strip-components 1
2021-03-12 21:31:33,431: DEBUG - ++ find /var/cache/yunohost/from_file/scripts/../sources/patches/ -type f -name 'ruby-build-*.patch'
2021-03-12 21:31:33,431: DEBUG - ++ wc --lines
2021-03-12 21:31:33,432: DEBUG - + ((  0 > 0  ))
2021-03-12 21:31:33,432: DEBUG - + test -e /var/cache/yunohost/from_file/scripts/../sources/extra_files/ruby-build
2021-03-12 21:31:33,432: DEBUG - + cd /opt/rbenv
2021-03-12 21:31:33,432: DEBUG - + ./src/configure
2021-03-12 21:31:33,432: DEBUG - + make -C src
2021-03-12 21:31:33,432: DEBUG - make: Verzeichnis „/opt/rbenv/src“ wird betreten
2021-03-12 21:31:33,432: DEBUG - gcc -fPIC     -c -o realpath.o realpath.c
2021-03-12 21:31:33,633: DEBUG - gcc -shared -Wl,-soname,../libexec/rbenv-realpath.dylib  -o ../libexec/rbenv-realpath.dylib realpath.o
2021-03-12 21:31:33,734: DEBUG - make: Verzeichnis „/opt/rbenv/src“ wird verlassen
2021-03-12 21:31:33,734: DEBUG - + '[' '!' -d /opt/rbenv/shims ']'
2021-03-12 21:31:33,734: DEBUG - + mkdir /opt/rbenv/shims
2021-03-12 21:31:33,735: DEBUG - + PATH=/opt/rbenv/bin:/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-03-12 21:31:33,735: DEBUG - + test -x /usr/bin/ruby_rbenv
2021-03-12 21:31:33,735: DEBUG - + CONFIGURE_OPTS=--disable-install-doc
2021-03-12 21:31:33,735: DEBUG - + MAKE_OPTS=-j2
2021-03-12 21:31:33,735: DEBUG - + rbenv install --skip-existing 2.7.2
**2021-03-12 21:31:33,836: WARNING - Downloading ruby-2.7.2.tar.bz2...
2021-03-12 21:31:33,837: WARNING - -> https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.2.tar.bz2
2021-03-12 21:31:40,555: WARNING - Installing ruby-2.7.2...
2021-03-12 21:35:59,343: WARNING - Installed ruby-2.7.2 to /opt/rbenv/versions/2.7.2**
2021-03-12 21:35:59,347: DEBUG - 
2021-03-12 21:35:59,849: DEBUG - + tee --append /opt/rbenv/ynh_app_version
2021-03-12 21:35:59,849: DEBUG - + echo snweb:2.7.2
2021-03-12 21:35:59,849: DEBUG - snweb:2.7.2
2021-03-12 21:35:59,850: DEBUG - + ynh_app_setting_set snweb ruby_version 2.7.2
2021-03-12 21:35:59,951: DEBUG - + [[ ruby_version =~ (unprotected|protected|skipped)_ ]]
2021-03-12 21:35:59,952: DEBUG - + ynh_app_setting set snweb ruby_version 2.7.2
2021-03-12 21:36:00,152: DEBUG - + echo '#rbenv
2021-03-12 21:36:00,153: DEBUG - export RBENV_ROOT=/opt/rbenv
2021-03-12 21:36:00,153: DEBUG - export PATH="/opt/rbenv/bin:/opt/rbenv/bin:/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
2021-03-12 21:36:00,153: DEBUG - eval "$(rbenv init -)"
2021-03-12 21:36:00,153: DEBUG - #rbenv'
2021-03-12 21:36:00,153: DEBUG - ++ rbenv init -
2021-03-12 21:36:00,153: DEBUG - + eval 'export PATH="/opt/rbenv/shims:${PATH}"
2021-03-12 21:36:00,153: DEBUG - export RBENV_SHELL=bash
2021-03-12 21:36:00,154: DEBUG - source '\''/opt/rbenv/libexec/../completions/rbenv.bash'\''
2021-03-12 21:36:00,154: DEBUG - command rbenv rehash 2>/dev/null
2021-03-12 21:36:00,154: DEBUG - rbenv() {
2021-03-12 21:36:00,154: DEBUG -   command="${1:-}"
2021-03-12 21:36:00,154: DEBUG -   if [ "$#" -gt 0 ]; then
2021-03-12 21:36:00,154: DEBUG -     shift
2021-03-12 21:36:00,154: DEBUG -   fi
2021-03-12 21:36:00,154: DEBUG - 
2021-03-12 21:36:00,154: DEBUG -   case "$command" in
2021-03-12 21:36:00,154: DEBUG -   rehash|shell)
2021-03-12 21:36:00,155: DEBUG -     eval "$(rbenv "sh-$command" "$@")";;
2021-03-12 21:36:00,155: DEBUG -   *)
2021-03-12 21:36:00,155: DEBUG -     command rbenv "$command" "$@";;
2021-03-12 21:36:00,155: DEBUG -   esac
2021-03-12 21:36:00,155: DEBUG - }'
2021-03-12 21:36:00,155: DEBUG - ++ export PATH=/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-03-12 21:36:00,155: DEBUG - ++ PATH=/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-03-12 21:36:00,155: DEBUG - ++ export RBENV_SHELL=bash
2021-03-12 21:36:00,155: DEBUG - ++ RBENV_SHELL=bash
2021-03-12 21:36:00,155: DEBUG - ++ source /opt/rbenv/libexec/../completions/rbenv.bash
2021-03-12 21:36:00,156: DEBUG - +++ complete -F _rbenv rbenv
2021-03-12 21:36:00,156: DEBUG - ++ command rbenv rehash
2021-03-12 21:36:00,156: DEBUG - ++ rbenv rehash
2021-03-12 21:36:00,156: DEBUG - + cd /opt/yunohost/snweb
2021-03-12 21:36:00,156: DEBUG - + rbenv local 2.7.2
2021-03-12 21:36:00,156: DEBUG - + command=local
2021-03-12 21:36:00,156: DEBUG - + '[' 2 -gt 0 ']'
2021-03-12 21:36:00,156: DEBUG - + shift
2021-03-12 21:36:00,157: DEBUG - + case "$command" in
2021-03-12 21:36:00,157: DEBUG - + command rbenv local 2.7.2
2021-03-12 21:36:00,157: DEBUG - + rbenv local 2.7.2
2021-03-12 21:36:00,362: DEBUG - + echo '[###########.........] > Modifying a config file...'
2021-03-12 21:36:00,362: DEBUG - + config_file=/opt/yunohost/snweb/live/.env
2021-03-12 21:36:00,362: INFO - [###########.........] > Modifying a config file...
2021-03-12 21:36:00,363: DEBUG - + cp -f ../conf/env.sample /opt/yunohost/snweb/live/.env
2021-03-12 21:36:00,363: DEBUG - + ynh_replace_string --match_string=RAILS_ENV=development --replace_string=RAILS_ENV=production --target_file=/opt/yunohost/snweb/live/.env
2021-03-12 21:36:00,465: DEBUG - + local delimit=@
2021-03-12 21:36:00,465: DEBUG - + match_string=RAILS_ENV=development
2021-03-12 21:36:00,465: DEBUG - + replace_string=RAILS_ENV=production
2021-03-12 21:36:00,465: DEBUG - + sed --in-place s@RAILS_ENV=development@RAILS_ENV=production@g /opt/yunohost/snweb/live/.env
2021-03-12 21:36:00,466: DEBUG - + ynh_replace_string --match_string=PORT=3001 --replace_string=PORT=3004 --target_file=/opt/yunohost/snweb/live/.env
2021-03-12 21:36:00,567: DEBUG - + local delimit=@
2021-03-12 21:36:00,567: DEBUG - + match_string=PORT=3001
2021-03-12 21:36:00,567: DEBUG - + replace_string=PORT=3004
2021-03-12 21:36:00,567: DEBUG - + sed --in-place s@PORT=3001@PORT=3004@g /opt/yunohost/snweb/live/.env
2021-03-12 21:36:00,568: DEBUG - ++ ynh_string_random --length=48
2021-03-12 21:36:00,568: DEBUG - ++ base64
2021-03-12 21:36:00,568: DEBUG - ++ length=48
2021-03-12 21:36:00,569: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2021-03-12 21:36:00,569: DEBUG - ++ tr --complement --delete A-Za-z0-9
2021-03-12 21:36:00,569: DEBUG - ++ sed --quiet 's/\(.\{48\}\).*/\1/p'
2021-03-12 21:36:00,569: DEBUG - + secret_key=**********
2021-03-12 21:36:00,569: DEBUG - + ynh_replace_string --match_string=SECRET_KEY_BASE=test --replace_string=SECRET_KEY_BASE=********** --target_file=/opt/yunohost/snweb/live/.env
2021-03-12 21:36:00,671: DEBUG - + local delimit=@
2021-03-12 21:36:00,671: DEBUG - + match_string=SECRET_KEY_BASE=test
2021-03-12 21:36:00,671: DEBUG - + replace_string=SECRET_KEY_BASE=**********
2021-03-12 21:36:00,671: DEBUG - + sed --in-place s@SECRET_KEY_BASE=test@SECRET_KEY_BASE=**********@g /opt/yunohost/snweb/live/.env
2021-03-12 21:36:00,671: DEBUG - + ynh_replace_string --match_string=APP_HOST=http://localhost:3001 --replace_string=APP_HOST=https://note.maindomain.tld --target_file=/opt/yunohost/snweb/live/.env
2021-03-12 21:36:00,773: DEBUG - + local delimit=@
2021-03-12 21:36:00,773: DEBUG - + match_string=APP_HOST=http://localhost:3001
2021-03-12 21:36:00,773: DEBUG - + replace_string=APP_HOST=https://note.maindomain.tld
2021-03-12 21:36:00,773: DEBUG - + sed --in-place s@APP_HOST=http://localhost:3001@APP_HOST=https://note.maindomain.tld@g /opt/yunohost/snweb/live/.env
2021-03-12 21:36:00,773: DEBUG - + '[' sync.standardnotes.org = '' ']'
2021-03-12 21:36:00,774: DEBUG - + ynh_replace_string --match_string=SF_DEFAULT_SERVER=http://localhost:3000 --replace_string=SF_DEFAULT_SERVER=https://sync.standardnotes.org --target_file=/opt/yunohost/snweb/live/.env
2021-03-12 21:36:00,875: DEBUG - + local delimit=@
2021-03-12 21:36:00,875: DEBUG - + match_string=SF_DEFAULT_SERVER=http://localhost:3000
2021-03-12 21:36:00,875: DEBUG - + replace_string=SF_DEFAULT_SERVER=https://sync.standardnotes.org
2021-03-12 21:36:00,875: DEBUG - + sed --in-place s@SF_DEFAULT_SERVER=http://localhost:3000@SF_DEFAULT_SERVER=https://sync.standardnotes.org@g /opt/yunohost/snweb/live/.env
2021-03-12 21:36:00,977: DEBUG - + echo '[###########+++++++..] > Building... ( This may take a while... )'
2021-03-12 21:36:00,977: DEBUG - + ENV_PATH=PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rbenv/versions/2.7.2/bin
2021-03-12 21:36:00,977: DEBUG - + chown -R snweb: /opt/yunohost/snweb
2021-03-12 21:36:00,977: DEBUG - + pushd /opt/yunohost/snweb/live
2021-03-12 21:36:00,977: DEBUG - /opt/yunohost/snweb/live /var/cache/yunohost/from_file/scripts
2021-03-12 21:36:00,978: DEBUG - + git submodule update --init --recursive --quiet
2021-03-12 21:36:01,981: DEBUG - + ynh_use_nodejs
2021-03-12 21:36:01,981: INFO - [###########+++++++..] > Building... ( This may take a while... )
2021-03-12 21:36:01,982: DEBUG - ++ ynh_app_setting_get --app=snweb --key=nodejs_version
2021-03-12 21:36:01,983: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2021-03-12 21:36:01,983: DEBUG - ++ ynh_app_setting get snweb nodejs_version
2021-03-12 21:36:02,184: DEBUG - + nodejs_version=10
2021-03-12 21:36:02,192: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/10/bin
2021-03-12 21:36:02,193: DEBUG - + shopt -s expand_aliases
2021-03-12 21:36:02,193: DEBUG - + ynh_node=/opt/node_n/n/versions/node/10/bin/node
2021-03-12 21:36:02,193: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/10/bin/node
2021-03-12 21:36:02,193: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/10/bin/npm
2021-03-12 21:36:02,193: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/10/bin/npm
2021-03-12 21:36:02,193: DEBUG - + [[ :/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/n/versions/node/10/bin:/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\/\1\0\/\b\i\n* ]]
2021-03-12 21:36:02,193: DEBUG - + node_PATH=/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-03-12 21:36:02,194: DEBUG - + ynh_node_load_PATH=PATH=/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-03-12 21:36:02,194: DEBUG - + exec_as snweb PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rbenv/versions/2.7.2/bin /opt/node_n/n/versions/node/10/bin/npm --loglevel=error ci
2021-03-12 21:36:02,194: DEBUG - + local user=snweb
2021-03-12 21:36:02,194: DEBUG - + shift 1
2021-03-12 21:36:02,194: DEBUG - ++ whoami
2021-03-12 21:36:02,194: DEBUG - + [[ snweb = root ]]
2021-03-12 21:36:02,194: DEBUG - + sudo -u snweb PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rbenv/versions/2.7.2/bin /opt/node_n/n/versions/node/10/bin/npm --loglevel=error ci
2021-03-12 21:36:18,538: DEBUG - 
2021-03-12 21:36:18,539: DEBUG - > fsevents@1.2.11 install /opt/yunohost/snweb/live/node_modules/fsevents
2021-03-12 21:36:18,539: DEBUG - > node-gyp rebuild
2021-03-12 21:36:18,539: DEBUG - 
2021-03-12 21:36:19,842: DEBUG - make: Verzeichnis „/opt/yunohost/snweb/live/node_modules/fsevents/build“ wird betreten
2021-03-12 21:36:19,843: DEBUG -   SOLINK_MODULE(target) Release/obj.target/.node
2021-03-12 21:36:19,943: DEBUG -   COPY Release/.node
2021-03-12 21:36:19,944: DEBUG - make: Verzeichnis „/opt/yunohost/snweb/live/node_modules/fsevents/build“ wird verlassen
2021-03-12 21:36:20,445: DEBUG - 
2021-03-12 21:36:20,446: DEBUG - > core-js@2.6.11 postinstall /opt/yunohost/snweb/live/node_modules/core-js
2021-03-12 21:36:20,446: DEBUG - > node -e "try{require('./postinstall')}catch(e){}"
2021-03-12 21:36:20,446: DEBUG - 
2021-03-12 21:36:20,747: DEBUG - 
2021-03-12 21:36:20,747: DEBUG - > node-sass@4.14.1 install /opt/yunohost/snweb/live/node_modules/node-sass
2021-03-12 21:36:20,748: DEBUG - > node scripts/install.js
2021-03-12 21:36:20,748: DEBUG - 
2021-03-12 21:36:21,349: DEBUG - Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/linux-x64-64_binding.node
2021-03-12 21:36:21,550: DEBUG - Download complete
2021-03-12 21:36:21,551: DEBUG - Binary saved to /opt/yunohost/snweb/live/node_modules/node-sass/vendor/linux-x64-64/binding.node
2021-03-12 21:36:21,651: DEBUG - Caching binary to /opt/yunohost/snweb/.npm/_cacache/node-sass/4.14.1/linux-x64-64_binding.node
2021-03-12 21:36:21,652: DEBUG - 
2021-03-12 21:36:21,652: DEBUG - > node-sass@4.14.1 postinstall /opt/yunohost/snweb/live/node_modules/node-sass
2021-03-12 21:36:21,652: DEBUG - > node scripts/build.js
2021-03-12 21:36:21,652: DEBUG - 
2021-03-12 21:36:21,953: DEBUG - Binary found at /opt/yunohost/snweb/live/node_modules/node-sass/vendor/linux-x64-64/binding.node
2021-03-12 21:36:21,954: DEBUG - Testing binary
2021-03-12 21:36:22,155: DEBUG - Binary is fine
2021-03-12 21:36:22,657: DEBUG - added 1363 packages in 19.557s
2021-03-12 21:36:22,657: DEBUG - + env PATH=PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rbenv/versions/2.7.2/bin /opt/rbenv/versions/2.7.2/bin/gem install bundler --quiet
2021-03-12 21:36:28,273: DEBUG - Successfully installed bundler-2.2.14
2021-03-12 21:36:28,273: DEBUG - Parsing documentation for bundler-2.2.14
2021-03-12 21:36:28,273: DEBUG - Installing ri documentation for bundler-2.2.14
2021-03-12 21:36:28,274: DEBUG - Done installing documentation for bundler after 4 seconds
2021-03-12 21:36:28,274: DEBUG - 1 gem installed
2021-03-12 21:36:28,274: DEBUG - + env PATH=PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rbenv/versions/2.7.2/bin /opt/rbenv/versions/2.7.2/bin/bundler install --quiet
2021-03-12 21:38:27,512: DEBUG - + exec_as snweb PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rbenv/versions/2.7.2/bin /opt/node_n/n/versions/node/10/bin/npm --loglevel=error run bundle
2021-03-12 21:38:27,514: DEBUG - + local user=snweb
2021-03-12 21:38:27,515: DEBUG - + shift 1
2021-03-12 21:38:27,515: DEBUG - ++ whoami
2021-03-12 21:38:27,515: DEBUG - + [[ snweb = root ]]
2021-03-12 21:38:27,515: DEBUG - + sudo -u snweb PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rbenv/versions/2.7.2/bin /opt/node_n/n/versions/node/10/bin/npm --loglevel=error run bundle
2021-03-12 21:38:28,017: DEBUG - 
2021-03-12 21:38:28,017: DEBUG - > standard-notes-web@3.5.11 bundle /opt/yunohost/snweb/live
2021-03-12 21:38:28,017: DEBUG - > webpack --config webpack.prod.js && npm run tsc
2021-03-12 21:38:28,018: DEBUG - 
2021-03-12 21:38:30,828: WARNING - Browserslist: caniuse-lite is outdated. Please run:
2021-03-12 21:38:30,830: WARNING - npx browserslist@latest --update-db
2021-03-12 21:39:32,707: DEBUG - Hash: ef0cedc8206fa5eaf583
2021-03-12 21:39:32,707: DEBUG - Version: webpack 4.44.1
2021-03-12 21:39:32,707: DEBUG - Time: 63680ms
2021-03-12 21:39:32,708: DEBUG - Built at: 2021-03-12 9:39:32 PM
2021-03-12 21:39:32,708: DEBUG -                     Asset      Size  Chunks                          Chunk Names
2021-03-12 21:39:32,708: DEBUG -      ./javascripts/app.js  2.05 MiB       0  [emitted]        [big]  main
2021-03-12 21:39:32,708: DEBUG -  ./javascripts/app.js.map  2.75 MiB       0  [emitted] [dev]         main
2021-03-12 21:39:32,708: DEBUG -     ./stylesheets/app.css  80.2 KiB       0  [emitted]               main
2021-03-12 21:39:32,709: DEBUG - ./stylesheets/app.css.map  94.5 KiB       0  [emitted] [dev]         main
2021-03-12 21:39:32,709: DEBUG -        fonts/ionicons.eot  1.95 KiB          [emitted]
2021-03-12 21:39:32,709: DEBUG -        fonts/ionicons.svg  1.65 KiB          [emitted]
2021-03-12 21:39:32,709: DEBUG -        fonts/ionicons.ttf  1.78 KiB          [emitted]
2021-03-12 21:39:32,709: DEBUG -       fonts/ionicons.woff  1.25 KiB          [emitted]
2021-03-12 21:39:32,709: DEBUG - Entrypoint main [big] = ./stylesheets/app.css ./javascripts/app.js ./stylesheets/app.css.map ./javascripts/app.js.map
2021-03-12 21:39:32,710: DEBUG - [155] ./app/assets/javascripts/views/account_switcher/account-switcher.pug 229 bytes {0} [built]
2021-03-12 21:39:32,710: DEBUG - [156] ./app/assets/javascripts/views/application_group/application-group-view.pug 236 bytes {0} [built]
2021-03-12 21:39:32,710: DEBUG - [157] ./app/assets/javascripts/views/application/application-view.pug 224 bytes {0} [built]
2021-03-12 21:39:32,710: DEBUG - [158] ./app/assets/javascripts/views/editor_group/editor-group-view.pug 226 bytes {0} [built]
2021-03-12 21:39:32,710: DEBUG - [160] ./app/assets/javascripts/views/editor/editor-view.pug 214 bytes {0} [built]
2021-03-12 21:39:32,710: DEBUG - [161] ./app/assets/javascripts/views/footer/footer-view.pug 214 bytes {0} [built]
2021-03-12 21:39:32,710: DEBUG - [162] ./app/assets/javascripts/views/notes/notes-view.pug 212 bytes {0} [built]
2021-03-12 21:39:32,711: DEBUG - [163] ./app/assets/javascripts/views/tags/tags-view.pug 210 bytes {0} [built]
2021-03-12 21:39:32,711: DEBUG - [181] ./app/assets/stylesheets/index.css.scss 39 bytes {0} [built]
2021-03-12 21:39:32,711: DEBUG - [183] ./vendor/assets/javascripts/angular-sanitize.js 25.8 KiB {0} [built]
2021-03-12 21:39:32,711: DEBUG - [184] ./vendor/assets/javascripts/zip/deflate.js 72.5 KiB {0} [built]
2021-03-12 21:39:32,711: DEBUG - [185] ./vendor/assets/javascripts/zip/inflate.js 66.4 KiB {0} [built]
2021-03-12 21:39:32,711: DEBUG - [186] ./vendor/assets/javascripts/zip/zip.js 32.2 KiB {0} [built]
2021-03-12 21:39:32,711: DEBUG - [187] ./vendor/assets/javascripts/zip/z-worker.js 3.97 KiB {0} [built]
2021-03-12 21:39:32,711: DEBUG - [423] ./app/assets/javascripts/index.ts + 68 modules 277 KiB {0} [built]
2021-03-12 21:39:32,711: DEBUG -       | ./app/assets/javascripts/index.ts 498 bytes [built]
2021-03-12 21:39:32,711: DEBUG -       | ./app/assets/javascripts/app.ts 3.78 KiB [built]
2021-03-12 21:39:32,712: DEBUG -       | ./app/assets/javascripts/utils.ts 3.67 KiB [built]
2021-03-12 21:39:32,712: DEBUG -       | ./app/assets/javascripts/routes.ts 406 bytes [built]
2021-03-12 21:39:32,712: DEBUG -       | ./app/assets/javascripts/ui_models/application_group.ts 2.71 KiB [built]
2021-03-12 21:39:32,712: DEBUG -       | ./app/assets/javascripts/views/account_switcher/account_switcher.ts 2.7 KiB [built]
2021-03-12 21:39:32,712: DEBUG -       | ./app/assets/javascripts/views/index.ts 537 bytes [built]
2021-03-12 21:39:32,712: DEBUG -       | ./app/assets/javascripts/directives/functional/index.ts 393 bytes [built]
2021-03-12 21:39:32,712: DEBUG -       | ./app/assets/javascripts/directives/views/index.ts 766 bytes [built]
2021-03-12 21:39:32,712: DEBUG -       | ./app/assets/javascripts/filters/index.ts 36 bytes [built]
2021-03-12 21:39:32,712: DEBUG -       | ./app/assets/javascripts/services/browserBridge.ts 941 bytes [built]
2021-03-12 21:39:32,712: DEBUG -       | ./app/assets/javascripts/services/errorReporting.ts 2.33 KiB [built]
2021-03-12 21:39:32,713: DEBUG -       | ./app/assets/javascripts/web_device_interface.ts 3.54 KiB [built]
2021-03-12 21:39:32,713: DEBUG -       | ./app/assets/javascripts/ui_models/application.ts 7.44 KiB [built]
2021-03-12 21:39:32,713: DEBUG -       | ./app/assets/javascripts/ui_models/app_state.ts 12 KiB [built]
2021-03-12 21:39:32,713: DEBUG -       |     + 54 hidden modules
2021-03-12 21:39:32,713: DEBUG -     + 411 hidden modules
2021-03-12 21:39:32,713: DEBUG - 
2021-03-12 21:39:32,713: DEBUG - WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
2021-03-12 21:39:32,713: DEBUG - This can impact web performance.
2021-03-12 21:39:32,713: DEBUG - Assets:
2021-03-12 21:39:32,714: DEBUG -   ./javascripts/app.js (2.05 MiB)
2021-03-12 21:39:32,714: DEBUG - 
2021-03-12 21:39:32,714: DEBUG - WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
2021-03-12 21:39:32,714: DEBUG - Entrypoints:
2021-03-12 21:39:32,714: DEBUG -   main (2.13 MiB)
2021-03-12 21:39:32,714: DEBUG -       ./stylesheets/app.css
2021-03-12 21:39:32,714: DEBUG -       ./javascripts/app.js
2021-03-12 21:39:32,714: DEBUG - 
2021-03-12 21:39:32,714: DEBUG - 
2021-03-12 21:39:32,714: DEBUG - WARNING in webpack performance recommendations:
2021-03-12 21:39:32,715: DEBUG - You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
2021-03-12 21:39:32,715: DEBUG - For more info visit https://webpack.js.org/guides/code-splitting/
2021-03-12 21:39:32,715: DEBUG - Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/sass-loader/dist/cjs.js!app/assets/stylesheets/index.css.scss:
2021-03-12 21:39:32,715: DEBUG -     Entrypoint mini-css-extract-plugin = *
2021-03-12 21:39:32,715: DEBUG -     [0] ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./app/assets/stylesheets/index.css.scss 22.8 KiB {0} [built]
2021-03-12 21:39:32,715: DEBUG -     [3] ./app/assets/fonts/ionicons.eot?v=2.0.0 62 bytes {0} [built]
2021-03-12 21:39:32,715: DEBUG -     [4] ./app/assets/fonts/ionicons.eot?v=2.0.1 62 bytes {0} [built]
2021-03-12 21:39:32,715: DEBUG -     [5] ./app/assets/fonts/ionicons.ttf?v=2.0.1 62 bytes {0} [built]
2021-03-12 21:39:32,715: DEBUG -     [6] ./app/assets/fonts/ionicons.woff?v=2.0.1 63 bytes {0} [built]
2021-03-12 21:39:32,716: DEBUG -     [7] ./app/assets/fonts/ionicons.svg?v=2.0.1 62 bytes {0} [built]
2021-03-12 21:39:32,716: DEBUG -         + 2 hidden modules
2021-03-12 21:39:32,716: DEBUG - Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/sass-loader/dist/cjs.js!node_modules/sn-stylekit/dist/stylekit.css:
2021-03-12 21:39:32,716: DEBUG -     Entrypoint mini-css-extract-plugin = *
2021-03-12 21:39:32,716: DEBUG -        2 modules
2021-03-12 21:39:33,219: DEBUG - 
2021-03-12 21:39:33,219: DEBUG - > standard-notes-web@3.5.11 tsc /opt/yunohost/snweb/live
2021-03-12 21:39:33,219: DEBUG - > tsc --project app/assets/javascripts/tsconfig.json
2021-03-12 21:39:33,219: DEBUG - 
2021-03-12 21:39:41,849: DEBUG - + exec_as snweb PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rbenv/versions/2.7.2/bin /opt/rbenv/versions/2.7.2/bin/bundle exec rails assets:precompile --quiet
2021-03-12 21:39:41,849: DEBUG - + local user=snweb
2021-03-12 21:39:41,850: DEBUG - + shift 1
2021-03-12 21:39:41,850: DEBUG - ++ whoami
2021-03-12 21:39:41,850: DEBUG - + [[ snweb = root ]]
2021-03-12 21:39:41,850: DEBUG - + sudo -u snweb PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rbenv/versions/2.7.2/bin /opt/rbenv/versions/2.7.2/bin/bundle exec rails assets:precompile --quiet
2021-03-12 21:39:42,051: DEBUG - + ynh_exit_properly
**2021-03-12 21:39:42,051: WARNING - /usr/bin/env: „ruby2.5“: Datei oder Verzeichnis nicht gefunden**
2021-03-12 21:39:42,052: DEBUG - + local exit_code=127
2021-03-12 21:39:42,052: DEBUG - + '[' 127 -eq 0 ']'
2021-03-12 21:39:42,052: DEBUG - + trap '' EXIT
2021-03-12 21:39:42,053: DEBUG - + set +o errexit
2021-03-12 21:39:42,053: DEBUG - + set +o nounset
2021-03-12 21:39:42,053: DEBUG - + sleep 0.5
2021-03-12 21:39:42,558: DEBUG - + type -t ynh_clean_setup
2021-03-12 21:39:42,558: DEBUG - + ynh_clean_setup
2021-03-12 21:39:42,558: DEBUG - + ynh_clean_check_starting
2021-03-12 21:39:42,558: DEBUG - + '[' -n '' ']'
2021-03-12 21:39:42,559: DEBUG - + '[' -n '' ']'
2021-03-12 21:39:42,559: DEBUG - + exit 1
2021-03-12 21:39:42,736: ERROR - snweb kann nicht installiert werden: Im Installationsscript ist ein Fehler aufgetreten
Jules-Bertholet commented 3 years ago

You will want to report issues with apps to their respective repositories. In this case you want to open an issue at https://github.com/YunoHost-Apps/snserver_ynh