YunoHost-Apps / code-server_ynh

Code-server packaged for YunoHost
https://github.com/cdr/code-server
MIT License
6 stars 2 forks source link

Cannot install code-server #7

Closed hxc-gxc closed 2 years ago

hxc-gxc commented 2 years ago

Hello, I'm trying to install code-server via the webadmin gui (app>install). It runs, after few minutes it looks like to works but no more progress and then it fails. I've got a 2 core VPS with 2Go RAM and 80 Go ROM Debian 10 OS

Logs

Here is the complete log : args: app: code-server args: domain=code.maindomain.tld&admin=txd&is_public=1&password='**' force: false label: code-server no_remove_on_failure: false ended_at: 2021-10-27 14:10:06.655992 env: YNH_APP_ARG_ADMIN: txd YNH_APP_ARG_DOMAIN: code.maindomain.tld YNH_APP_ARG_ENABLE_PROPOSED_API: '' YNH_APP_ARG_EXTENSION_ITEM_URL: '' YNH_APP_ARG_EXTENSION_SERVICE_URL: '' YNH_APP_ARG_IS_PUBLIC: '1' YNH_APP_ID: code-server YNH_APP_INSTANCE_NAME: code-server YNH_APP_INSTANCE_NUMBER: '1' YNH_APP_MANIFEST_VERSION: 3.11.0~ynh1 error: "Une erreur est survenue dans le script d\u2019installation de l\u2019application" interface: api operation: app_install parent: null related_to:

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

2021-10-27 14:01:07,587: INFO - Installation de code-server... 2021-10-27 14:01:07,765: DEBUG - Permission 'code-server.main' mise à jour 2021-10-27 14:01:07,891: DEBUG - Journal complet de cette opération : ' Mise à jour de l’URL associée à l’autorisation 'code-server' ' 2021-10-27 14:01:08,180: DEBUG - The permission database has been resynchronized 2021-10-27 14:01:08,359: DEBUG - La configuration de SSOwat a été regénérée 2021-10-27 14:01:08,504: DEBUG - Permission 'code-server.main' créée 2021-10-27 14:01:08,505: DEBUG - Journal complet de cette opération : ' Créer permission 'code-server' ' 2021-10-27 14:01:08,513: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install" 7>&1']' 2021-10-27 14:01:08,520: DEBUG - + source _common.sh 2021-10-27 14:01:08,520: DEBUG - ++ pkg_dependencies='git jq build-essential nodejs g++ gettext-base rsync' 2021-10-27 14:01:08,521: DEBUG - + source /usr/share/yunohost/helpers 2021-10-27 14:01:08,522: DEBUG - +++ set +o 2021-10-27 14:01:08,522: DEBUG - +++ grep xtrace 2021-10-27 14:01:08,524: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace' 2021-10-27 14:01:08,524: DEBUG - ++ XTRACE_ENABLE='set -o xtrace' 2021-10-27 14:01:08,568: DEBUG - + ynh_abort_if_errors 2021-10-27 14:01:08,568: DEBUG - + set -o errexit 2021-10-27 14:01:08,568: DEBUG - + set -o nounset 2021-10-27 14:01:08,568: DEBUG - + trap ynh_exit_properly EXIT 2021-10-27 14:01:08,568: DEBUG - + domain=code.maindomain.tld 2021-10-27 14:01:08,569: DEBUG - + path_url=/ 2021-10-27 14:01:08,569: DEBUG - + admin=txd 2021-10-27 14:01:08,569: DEBUG - + is_public=1 2021-10-27 14:01:08,569: DEBUG - + password='**' 2021-10-27 14:01:08,569: DEBUG - + extension_service_url= 2021-10-27 14:01:08,569: DEBUG - + extension_item_url= 2021-10-27 14:01:08,569: DEBUG - + enable_proposed_api= 2021-10-27 14:01:08,569: DEBUG - + app=code-server 2021-10-27 14:01:08,650: INFO - [....................] > Validating installation parameters... 2021-10-27 14:01:08,651: DEBUG - + echo '[....................] > Validating installation parameters...' 2021-10-27 14:01:08,651: DEBUG - + final_path=/opt/yunohost/code-server 2021-10-27 14:01:08,651: DEBUG - + test '!' -e /opt/yunohost/code-server 2021-10-27 14:01:08,651: DEBUG - + data_path=/home/yunohost.app/code-server 2021-10-27 14:01:08,651: DEBUG - + test '!' -e /home/yunohost.app/code-server 2021-10-27 14:01:08,651: DEBUG - + ynh_webpath_register --app=code-server --domain=code.maindomain.tld --path_url=/ 2021-10-27 14:01:08,709: DEBUG - + yunohost app register-url code-server code.maindomain.tld / 2021-10-27 14:01:10,424: INFO - [....................] > Storing installation settings... 2021-10-27 14:01:10,424: DEBUG - + echo '[....................] > Storing installation settings...' 2021-10-27 14:01:10,425: DEBUG - + ynh_app_settingset --app=code-server --key=domain --value=code.maindomain.tld 2021-10-27 14:01:10,486: DEBUG - + [[ domain =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:10,486: DEBUG - + ynh_app_setting set code-server domain code.maindomain.tld 2021-10-27 14:01:10,530: DEBUG - + ynh_app_settingset --app=code-server --key=path --value=/ 2021-10-27 14:01:10,586: DEBUG - + [[ path =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:10,586: DEBUG - + ynh_app_setting set code-server path / 2021-10-27 14:01:10,629: DEBUG - + ynh_app_settingset --app=code-server --key=admin --value=txd 2021-10-27 14:01:10,687: DEBUG - + [[ admin =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:10,687: DEBUG - + ynh_app_setting set code-server admin txd 2021-10-27 14:01:10,730: DEBUG - + '[' '!' -z '**' ']' 2021-10-27 14:01:10,730: DEBUG - + auth=password 2021-10-27 14:01:10,731: DEBUG - ++ printf '**' 2021-10-27 14:01:10,731: DEBUG - ++ sha256sum 2021-10-27 14:01:10,731: DEBUG - ++ cut '-d ' -f1 2021-10-27 14:01:10,737: DEBUG - + hashed_password=** 2021-10-27 14:01:10,737: DEBUG - + ynh_app_setting_set --app=code-server --key=hashed_password --value=** 2021-10-27 14:01:10,794: DEBUG - + [[ hashedpassword =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:10,795: DEBUG - + ynh_app_setting set code-server hashed_password ** 2021-10-27 14:01:10,836: DEBUG - + ynh_app_setting_set --app=code-server --key=extension_service_url --value= 2021-10-27 14:01:10,892: DEBUG - + [[ extension_serviceurl =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:10,892: DEBUG - + ynh_app_setting set code-server extension_service_url '' 2021-10-27 14:01:10,933: DEBUG - + ynh_app_setting_set --app=code-server --key=extension_item_url --value= 2021-10-27 14:01:10,990: DEBUG - + [[ extension_itemurl =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:10,991: DEBUG - + ynh_app_setting set code-server extension_item_url '' 2021-10-27 14:01:11,033: DEBUG - + ynh_app_setting_set --app=code-server --key=enable_proposed_api --value= 2021-10-27 14:01:11,090: DEBUG - + [[ enable_proposedapi =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:11,091: DEBUG - + ynh_app_setting set code-server enable_proposed_api '' 2021-10-27 14:01:11,197: INFO - [....................] > Finding an available port... 2021-10-27 14:01:11,197: DEBUG - + echo '[....................] > Finding an available port...' 2021-10-27 14:01:11,198: DEBUG - ++ ynh_find_port --port=8080 2021-10-27 14:01:11,209: DEBUG - ++ test -n 8080 2021-10-27 14:01:11,210: DEBUG - ++ ynh_port_available --port=8080 2021-10-27 14:01:11,219: DEBUG - ++ ss --numeric --listening --tcp --udp 2021-10-27 14:01:11,219: DEBUG - ++ awk '{print$5}' 2021-10-27 14:01:11,219: DEBUG - ++ grep --quiet --extended-regexp ':8080$' 2021-10-27 14:01:11,264: DEBUG - ++ grep -q 'port: '\''8080'\''' /etc/yunohost/apps/bookstack/settings.yml /etc/yunohost/apps/code-server/settings.yml /etc/yunohost/apps/easyappointments/settings.yml /etc/yunohost/apps/galene/settings.yml /etc/yunohost/apps/jirafeau/settings.yml /etc/yunohost/apps/kanboard/settings.yml /etc/yunohost/apps/keeweb/settings.yml /etc/yunohost/apps/my_webapp__2/settings.yml /etc/yunohost/apps/my_webapp/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/phpmyadmin/settings.yml /etc/yunohost/apps/rainloop/settings.yml /etc/yunohost/apps/streama/settings.yml /etc/yunohost/apps/wetty/settings.yml /etc/yunohost/apps/yunomonitor/settings.yml 2021-10-27 14:01:11,265: DEBUG - ++ return 0 2021-10-27 14:01:11,266: DEBUG - ++ echo 8080 2021-10-27 14:01:11,266: DEBUG - + port=8080 2021-10-27 14:01:11,266: DEBUG - + ynh_app_settingset --app=code-server --key=port --value=8080 2021-10-27 14:01:11,328: DEBUG - + [[ port =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:11,328: DEBUG - + ynh_app_setting set code-server port 8080 2021-10-27 14:01:11,435: INFO - [++..................] > Installing dependencies... 2021-10-27 14:01:11,436: DEBUG - + echo '[++..................] > Installing dependencies...' 2021-10-27 14:01:11,436: DEBUG - + install_dependencies 2021-10-27 14:01:11,436: DEBUG - + ynh_install_app_dependencies git jq build-essential nodejs g++ gettext-base rsync 2021-10-27 14:01:11,436: DEBUG - + local 'dependencies=git jq build-essential nodejs g++ gettext-base rsync' 2021-10-27 14:01:11,437: DEBUG - ++ echo 'git jq build-essential nodejs g++ gettext-base rsync' 2021-10-27 14:01:11,438: DEBUG - ++ sed 's/([^\<=>])\ ([^(])/\1, \2/g' 2021-10-27 14:01:11,440: DEBUG - + dependencies='git, jq, build-essential, nodejs, g++, gettext-base, rsync' 2021-10-27 14:01:11,440: DEBUG - + local 'dependencies=git, jq, build-essential, nodejs, g++, gettext-base, rsync' 2021-10-27 14:01:11,440: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_m6w3h4j1/manifest.json 2021-10-27 14:01:11,441: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_m6w3h4j1/manifest.json 2021-10-27 14:01:11,454: DEBUG - + local version=3.11.0~ynh1 2021-10-27 14:01:11,454: DEBUG - + '[' -z 3.11.0~ynh1 ']' 2021-10-27 14:01:11,454: DEBUG - + '[' 3.11.0~ynh1 == null ']' 2021-10-27 14:01:11,454: DEBUG - + local dep_app=code-server 2021-10-27 14:01:11,455: DEBUG - + [[ git, jq, build-essential, nodejs, g++, gettext-base, rsync =~ [<=>] ]] 2021-10-27 14:01:11,455: DEBUG - + echo git, jq, build-essential, nodejs, g++, gettext-base, rsync 2021-10-27 14:01:11,455: DEBUG - + grep --quiet php 2021-10-27 14:01:11,457: DEBUG - + cat 2021-10-27 14:01:11,458: DEBUG - + ynh_package_install_from_equivs /tmp/code-server-ynh-deps.control 2021-10-27 14:01:11,458: DEBUG - + local controlfile=/tmp/code-server-ynh-deps.control 2021-10-27 14:01:11,459: DEBUG - ++ grep '^Package: ' /tmp/code-server-ynh-deps.control 2021-10-27 14:01:11,460: DEBUG - ++ cut '--delimiter= ' --fields=2 2021-10-27 14:01:11,461: DEBUG - + local pkgname=code-server-ynh-deps 2021-10-27 14:01:11,462: DEBUG - ++ grep '^Version: ' /tmp/code-server-ynh-deps.control 2021-10-27 14:01:11,462: DEBUG - ++ cut '--delimiter= ' --fields=2 2021-10-27 14:01:11,464: DEBUG - + local pkgversion=3.11.0~ynh1 2021-10-27 14:01:11,464: DEBUG - + [[ -z code-server-ynh-deps ]] 2021-10-27 14:01:11,464: DEBUG - + [[ -z 3.11.0~ynh1 ]] 2021-10-27 14:01:11,464: DEBUG - + ynh_package_update 2021-10-27 14:01:11,464: DEBUG - + ynh_apt update 2021-10-27 14:01:11,465: DEBUG - + ynh_wait_dpkg_free 2021-10-27 14:01:11,624: DEBUG - + return 0 2021-10-27 14:01:11,624: DEBUG - + LC_ALL=C 2021-10-27 14:01:11,624: DEBUG - + DEBIAN_FRONTEND=noninteractive 2021-10-27 14:01:11,625: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update 2021-10-27 14:01:11,759: DEBUG - Hit:1 http://deb.debian.org/debian buster InRelease 2021-10-27 14:01:11,760: DEBUG - Get:2 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] 2021-10-27 14:01:11,762: DEBUG - Get:3 http://security.debian.org buster/updates InRelease [65.4 kB] 2021-10-27 14:01:11,764: DEBUG - Get:4 http://forge.yunohost.org/debian buster InRelease [18.2 kB] 2021-10-27 14:01:11,798: DEBUG - Hit:5 https://packages.sury.org/php buster InRelease 2021-10-27 14:01:12,038: DEBUG - Get:6 http://deb.debian.org/debian buster-updates/main Sources.diff/Index [9100 B] 2021-10-27 14:01:12,049: DEBUG - Get:7 http://deb.debian.org/debian buster-updates/main amd64 Packages.diff/Index [9100 B] 2021-10-27 14:01:12,058: DEBUG - Get:8 http://deb.debian.org/debian buster-updates/main Sources 2021-10-26-2004.40.pdiff [395 B] 2021-10-27 14:01:12,071: DEBUG - Get:8 http://deb.debian.org/debian buster-updates/main Sources 2021-10-26-2004.40.pdiff [395 B] 2021-10-27 14:01:12,080: DEBUG - Get:9 http://deb.debian.org/debian buster-updates/main amd64 Packages 2021-10-26-2004.40.pdiff [283 B] 2021-10-27 14:01:12,086: DEBUG - Get:9 http://deb.debian.org/debian buster-updates/main amd64 Packages 2021-10-26-2004.40.pdiff [283 B] 2021-10-27 14:01:12,157: DEBUG - Get:10 http://security.debian.org buster/updates/main Sources [202 kB] 2021-10-27 14:01:12,183: DEBUG - Get:11 http://security.debian.org buster/updates/main amd64 Packages [309 kB] 2021-10-27 14:01:12,378: DEBUG - Fetched 665 kB in 1s (1019 kB/s) 2021-10-27 14:01:13,591: DEBUG - Reading package lists... 2021-10-27 14:01:13,645: DEBUG - ++ mktemp --directory 2021-10-27 14:01:13,647: DEBUG - + local TMPDIR=/tmp/tmp.vlXeLmJ1vK 2021-10-27 14:01:13,648: DEBUG - + echo 10 2021-10-27 14:01:13,649: DEBUG - + ynh_wait_dpkg_free 2021-10-27 14:01:13,798: DEBUG - + return 0 2021-10-27 14:01:13,798: DEBUG - + cp /tmp/code-server-ynh-deps.control /tmp/tmp.vlXeLmJ1vK/control 2021-10-27 14:01:13,799: DEBUG - + cd /tmp/tmp.vlXeLmJ1vK 2021-10-27 14:01:13,800: DEBUG - + LC_ALL=C 2021-10-27 14:01:13,800: DEBUG - + equivs-build ./control 2021-10-27 14:01:14,767: DEBUG - + LC_ALL=C 2021-10-27 14:01:14,767: DEBUG - + dpkg --force-depends --install ./code-server-ynh-deps_3.11.0~ynh1_all.deb 2021-10-27 14:01:14,768: DEBUG - + tee ./dpkg_log 2021-10-27 14:01:14,819: DEBUG - Selecting previously unselected package code-server-ynh-deps. 2021-10-27 14:01:15,993: DEBUG - (Reading database ... 90450 files and directories currently installed.) 2021-10-27 14:01:15,998: DEBUG - Preparing to unpack .../code-server-ynh-deps_3.11.0~ynh1_all.deb ... 2021-10-27 14:01:16,004: DEBUG - Unpacking code-server-ynh-deps (3.11.0~ynh1) ... 2021-10-27 14:01:16,029: DEBUG - Setting up code-server-ynh-deps (3.11.0~ynh1) ... 2021-10-27 14:01:16,059: DEBUG - + ynh_package_install --fix-broken 2021-10-27 14:01:16,060: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken 2021-10-27 14:01:16,060: DEBUG - + ynh_wait_dpkg_free 2021-10-27 14:01:16,214: DEBUG - + return 0 2021-10-27 14:01:16,214: DEBUG - + LC_ALL=C 2021-10-27 14:01:16,215: DEBUG - + DEBIAN_FRONTEND=noninteractive 2021-10-27 14:01:16,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-10-27 14:01:16,426: DEBUG - Reading package lists... 2021-10-27 14:01:16,592: DEBUG - Building dependency tree... 2021-10-27 14:01:16,594: DEBUG - Reading state information... 2021-10-27 14:01:16,738: DEBUG - The following packages were automatically installed and are no longer required: 2021-10-27 14:01:16,738: DEBUG - libvpx5 libx264-155 linux-image-4.19.0-5-amd64 php-igbinary php-imagick 2021-10-27 14:01:16,738: DEBUG - php-redis php-smbclient php7.3-smbclient php8.0-igbinary php8.0-imagick 2021-10-27 14:01:16,738: DEBUG - php8.0-redis php8.0-smbclient 2021-10-27 14:01:16,739: DEBUG - Use 'apt autoremove' to remove them. 2021-10-27 14:01:16,765: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 2021-10-27 14:01:16,766: DEBUG - + [[ -n /tmp/tmp.vlXeLmJ1vK ]] 2021-10-27 14:01:16,766: DEBUG - + rm --recursive --force /tmp/tmp.vlXeLmJ1vK 2021-10-27 14:01:16,767: DEBUG - + ynh_package_is_installed code-server-ynh-deps 2021-10-27 14:01:16,777: DEBUG - + ynh_wait_dpkg_free 2021-10-27 14:01:16,926: DEBUG - + return 0 2021-10-27 14:01:16,926: DEBUG - + dpkg-query --show '--showformat=${Status}' code-server-ynh-deps 2021-10-27 14:01:16,926: DEBUG - + grep --count 'ok installed' 2021-10-27 14:01:16,946: DEBUG - + rm /tmp/code-server-ynh-deps.control 2021-10-27 14:01:16,947: DEBUG - + ynh_app_setting_set --app=code-server --key=apt_dependencies '--value=git, jq, build-essential, nodejs, g++, gettext-base, rsync' 2021-10-27 14:01:17,006: DEBUG - + [[ aptdependencies =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:17,006: DEBUG - + ynh_app_setting set code-server apt_dependencies 'git, jq, build-essential, nodejs, g++, gettext-base, rsync' 2021-10-27 14:01:17,063: 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-10-27 14:01:17,138: DEBUG - + name=code-server 2021-10-27 14:01:17,138: DEBUG - + key=https://dl.yarnpkg.com/debian/pubkey.gpg 2021-10-27 14:01:17,139: DEBUG - + '[' -n https://dl.yarnpkg.com/debian/pubkey.gpg ']' 2021-10-27 14:01:17,139: DEBUG - + key=--key=https://dl.yarnpkg.com/debian/pubkey.gpg 2021-10-27 14:01:17,139: 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=code-server 2021-10-27 14:01:17,254: DEBUG - + name=code-server 2021-10-27 14:01:17,255: DEBUG - + append=0 2021-10-27 14:01:17,255: DEBUG - + key=https://dl.yarnpkg.com/debian/pubkey.gpg 2021-10-27 14:01:17,255: DEBUG - + priority=995 2021-10-27 14:01:17,255: DEBUG - + '[' 0 -eq 1 ']' 2021-10-27 14:01:17,255: DEBUG - + append= 2021-10-27 14:01:17,256: DEBUG - + wget_append=tee 2021-10-27 14:01:17,256: DEBUG - + repo='https://dl.yarnpkg.com/debian/ stable main' 2021-10-27 14:01:17,256: DEBUG - ++ awk '{ print $1 }' 2021-10-27 14:01:17,256: DEBUG - ++ echo 'https://dl.yarnpkg.com/debian/ stable main' 2021-10-27 14:01:17,262: DEBUG - + local uri=https://dl.yarnpkg.com/debian/ 2021-10-27 14:01:17,262: DEBUG - ++ echo 'https://dl.yarnpkg.com/debian/ stable main' 2021-10-27 14:01:17,262: DEBUG - ++ awk '{ print $2 }' 2021-10-27 14:01:17,265: DEBUG - + local suite=stable 2021-10-27 14:01:17,265: DEBUG - + local component=main 2021-10-27 14:01:17,266: DEBUG - + ynh_add_repo --uri=https://dl.yarnpkg.com/debian/ --suite=stable --component=main --name=code-server 2021-10-27 14:01:17,385: DEBUG - + name=code-server 2021-10-27 14:01:17,386: DEBUG - + append=0 2021-10-27 14:01:17,386: DEBUG - + '[' 0 -eq 1 ']' 2021-10-27 14:01:17,386: DEBUG - + append=tee 2021-10-27 14:01:17,386: DEBUG - + mkdir --parents /etc/apt/sources.list.d 2021-10-27 14:01:17,387: DEBUG - + echo 'deb https://dl.yarnpkg.com/debian/ stable main' 2021-10-27 14:01:17,387: DEBUG - + tee /etc/apt/sources.list.d/code-server.list 2021-10-27 14:01:17,388: DEBUG - deb https://dl.yarnpkg.com/debian/ stable main 2021-10-27 14:01:17,389: DEBUG - + local pin=dl.yarnpkg.com/debian/ 2021-10-27 14:01:17,389: DEBUG - + pin=dl.yarnpkg.com 2021-10-27 14:01:17,389: DEBUG - + '[' -n 995 ']' 2021-10-27 14:01:17,389: DEBUG - + priority=--priority=995 2021-10-27 14:01:17,390: DEBUG - + ynh_pinrepo '--package=' '--pin=origin "dl.yarnpkg.com"' --priority=995 --name=code-server 2021-10-27 14:01:17,510: DEBUG - + package='' 2021-10-27 14:01:17,510: DEBUG - + priority=995 2021-10-27 14:01:17,510: DEBUG - + name=code-server 2021-10-27 14:01:17,510: DEBUG - + append=0 2021-10-27 14:01:17,511: DEBUG - + '[' 0 -eq 1 ']' 2021-10-27 14:01:17,511: DEBUG - + append=tee 2021-10-27 14:01:17,511: DEBUG - + [[ code-server != \e\x\t\r\a_\p\h\p\\v\e\r\s\i\o\n ]] 2021-10-27 14:01:17,511: DEBUG - + mkdir --parents /etc/apt/preferences.d 2021-10-27 14:01:17,513: DEBUG - + echo 'Package: 2021-10-27 14:01:17,513: DEBUG - Pin: origin "dl.yarnpkg.com" 2021-10-27 14:01:17,513: DEBUG - Pin-Priority: 995 2021-10-27 14:01:17,513: DEBUG - ' 2021-10-27 14:01:17,514: DEBUG - + tee /etc/apt/preferences.d/code-server 2021-10-27 14:01:17,515: DEBUG - Package: 2021-10-27 14:01:17,515: DEBUG - Pin: origin "dl.yarnpkg.com" 2021-10-27 14:01:17,515: DEBUG - Pin-Priority: 995 2021-10-27 14:01:17,515: DEBUG - 2021-10-27 14:01:17,516: DEBUG - + '[' -n https://dl.yarnpkg.com/debian/pubkey.gpg ']' 2021-10-27 14:01:17,516: DEBUG - + mkdir --parents /etc/apt/trusted.gpg.d 2021-10-27 14:01:17,517: DEBUG - + wget --timeout 900 --quiet https://dl.yarnpkg.com/debian/pubkey.gpg --output-document=- 2021-10-27 14:01:17,518: DEBUG - + gpg --dearmor 2021-10-27 14:01:17,518: DEBUG - + tee /etc/apt/trusted.gpg.d/code-server.gpg 2021-10-27 14:01:17,623: DEBUG - + ynh_package_update 2021-10-27 14:01:17,624: DEBUG - + ynh_apt update 2021-10-27 14:01:17,624: DEBUG - + ynh_wait_dpkg_free 2021-10-27 14:01:17,773: DEBUG - + return 0 2021-10-27 14:01:17,773: DEBUG - + LC_ALL=C 2021-10-27 14:01:17,773: DEBUG - + DEBIAN_FRONTEND=noninteractive 2021-10-27 14:01:17,773: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update 2021-10-27 14:01:17,891: DEBUG - Hit:1 http://deb.debian.org/debian buster InRelease 2021-10-27 14:01:17,892: DEBUG - Hit:2 http://deb.debian.org/debian buster-updates InRelease 2021-10-27 14:01:17,892: DEBUG - Hit:3 http://security.debian.org buster/updates InRelease 2021-10-27 14:01:17,894: DEBUG - Hit:4 http://forge.yunohost.org/debian buster InRelease 2021-10-27 14:01:17,926: DEBUG - Get:5 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB] 2021-10-27 14:01:17,928: DEBUG - Hit:6 https://packages.sury.org/php buster InRelease 2021-10-27 14:01:18,509: DEBUG - Get:7 https://dl.yarnpkg.com/debian stable/main all Packages [10.4 kB] 2021-10-27 14:01:18,534: DEBUG - Get:8 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.4 kB] 2021-10-27 14:01:18,591: DEBUG - Fetched 37.9 kB in 1s (52.4 kB/s) 2021-10-27 14:01:19,457: DEBUG - Reading package lists... 2021-10-27 14:01:19,486: DEBUG - + ynh_add_app_dependencies --package=yarn 2021-10-27 14:01:19,502: DEBUG - + replace=0 2021-10-27 14:01:19,503: DEBUG - + local current_dependencies= 2021-10-27 14:01:19,503: DEBUG - + '[' 0 -eq 0 ']' 2021-10-27 14:01:19,503: DEBUG - + local dep_app=code-server 2021-10-27 14:01:19,503: DEBUG - + ynh_package_is_installed --package=code-server-ynh-deps 2021-10-27 14:01:19,513: DEBUG - + ynh_wait_dpkg_free 2021-10-27 14:01:19,660: DEBUG - + return 0 2021-10-27 14:01:19,660: DEBUG - + dpkg-query --show '--showformat=${Status}' code-server-ynh-deps 2021-10-27 14:01:19,661: DEBUG - + grep --count 'ok installed' 2021-10-27 14:01:19,679: DEBUG - ++ dpkg-query --show '--showformat=${Depends}' code-server-ynh-deps 2021-10-27 14:01:19,698: DEBUG - + current_dependencies='git, jq, build-essential, nodejs, g++, gettext-base, rsync ' 2021-10-27 14:01:19,699: DEBUG - + current_dependencies='git, jq, build-essential, nodejs, g++, gettext-base, rsync ' 2021-10-27 14:01:19,699: DEBUG - + ynh_install_app_dependencies 'git, jq, build-essential, nodejs, g++, gettext-base, rsync yarn' 2021-10-27 14:01:19,699: DEBUG - + local 'dependencies=git, jq, build-essential, nodejs, g++, gettext-base, rsync yarn' 2021-10-27 14:01:19,699: DEBUG - ++ sed 's/([^\<=>])\ ([^(])/\1, \2/g' 2021-10-27 14:01:19,699: DEBUG - ++ echo 'git, jq, build-essential, nodejs, g++, gettext-base, rsync yarn' 2021-10-27 14:01:19,702: DEBUG - + dependencies='git,, jq,, build-essential,, nodejs,, g++,, gettext-base,, rsync, yarn' 2021-10-27 14:01:19,702: DEBUG - + local 'dependencies=git,, jq,, build-essential,, nodejs,, g++,, gettext-base,, rsync, yarn' 2021-10-27 14:01:19,702: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_m6w3h4j1/manifest.json 2021-10-27 14:01:19,702: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_m6w3h4j1/manifest.json 2021-10-27 14:01:19,717: DEBUG - + local version=3.11.0~ynh1 2021-10-27 14:01:19,718: DEBUG - + '[' -z 3.11.0~ynh1 ']' 2021-10-27 14:01:19,718: DEBUG - + '[' 3.11.0~ynh1 == null ']' 2021-10-27 14:01:19,718: DEBUG - + local dep_app=code-server 2021-10-27 14:01:19,718: DEBUG - + [[ git,, jq,, build-essential,, nodejs,, g++,, gettext-base,, rsync, yarn =~ [<=>] ]] 2021-10-27 14:01:19,718: DEBUG - + grep --quiet php 2021-10-27 14:01:19,718: DEBUG - + echo git,, jq,, build-essential,, nodejs,, g++,, gettext-base,, rsync, yarn 2021-10-27 14:01:19,719: DEBUG - + cat 2021-10-27 14:01:19,721: DEBUG - + ynh_package_install_from_equivs /tmp/code-server-ynh-deps.control 2021-10-27 14:01:19,721: DEBUG - + local controlfile=/tmp/code-server-ynh-deps.control 2021-10-27 14:01:19,721: DEBUG - ++ cut '--delimiter= ' --fields=2 2021-10-27 14:01:19,722: DEBUG - ++ grep '^Package: ' /tmp/code-server-ynh-deps.control 2021-10-27 14:01:19,724: DEBUG - + local pkgname=code-server-ynh-deps 2021-10-27 14:01:19,725: DEBUG - ++ grep '^Version: ' /tmp/code-server-ynh-deps.control 2021-10-27 14:01:19,725: DEBUG - ++ cut '--delimiter= ' --fields=2 2021-10-27 14:01:19,727: DEBUG - + local pkgversion=3.11.0~ynh1 2021-10-27 14:01:19,728: DEBUG - + [[ -z code-server-ynh-deps ]] 2021-10-27 14:01:19,728: DEBUG - + [[ -z 3.11.0~ynh1 ]] 2021-10-27 14:01:19,728: DEBUG - + ynh_package_update 2021-10-27 14:01:19,728: DEBUG - + ynh_apt update 2021-10-27 14:01:19,728: DEBUG - + ynh_wait_dpkg_free 2021-10-27 14:01:19,863: DEBUG - + return 0 2021-10-27 14:01:19,863: DEBUG - + LC_ALL=C 2021-10-27 14:01:19,863: DEBUG - + DEBIAN_FRONTEND=noninteractive 2021-10-27 14:01:19,863: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update 2021-10-27 14:01:19,975: DEBUG - Hit:1 http://security.debian.org buster/updates InRelease 2021-10-27 14:01:19,976: DEBUG - Hit:2 http://deb.debian.org/debian buster InRelease 2021-10-27 14:01:19,976: DEBUG - Hit:3 http://forge.yunohost.org/debian buster InRelease 2021-10-27 14:01:19,980: DEBUG - Hit:4 http://deb.debian.org/debian buster-updates InRelease 2021-10-27 14:01:20,000: DEBUG - Hit:5 https://dl.yarnpkg.com/debian stable InRelease 2021-10-27 14:01:20,011: DEBUG - Hit:6 https://packages.sury.org/php buster InRelease 2021-10-27 14:01:21,490: DEBUG - Reading package lists... 2021-10-27 14:01:21,518: DEBUG - ++ mktemp --directory 2021-10-27 14:01:21,520: DEBUG - + local TMPDIR=/tmp/tmp.M6QsCmrF30 2021-10-27 14:01:21,521: DEBUG - + echo 10 2021-10-27 14:01:21,521: DEBUG - + ynh_wait_dpkg_free 2021-10-27 14:01:21,663: DEBUG - + return 0 2021-10-27 14:01:21,663: DEBUG - + cp /tmp/code-server-ynh-deps.control /tmp/tmp.M6QsCmrF30/control 2021-10-27 14:01:21,664: DEBUG - + cd /tmp/tmp.M6QsCmrF30 2021-10-27 14:01:21,665: DEBUG - + LC_ALL=C 2021-10-27 14:01:21,665: DEBUG - + equivs-build ./control 2021-10-27 14:01:22,329: DEBUG - + tee ./dpkg_log 2021-10-27 14:01:22,329: DEBUG - + LC_ALL=C 2021-10-27 14:01:22,330: DEBUG - + dpkg --force-depends --install ./code-server-ynh-deps_3.11.0~ynh1_all.deb 2021-10-27 14:01:22,405: DEBUG - (Reading database ... 90454 files and directories currently installed.) 2021-10-27 14:01:22,408: DEBUG - Preparing to unpack .../code-server-ynh-deps_3.11.0~ynh1_all.deb ... 2021-10-27 14:01:22,416: DEBUG - Unpacking code-server-ynh-deps (3.11.0~ynh1) over (3.11.0~ynh1) ... 2021-10-27 14:01:22,439: DEBUG - Setting up code-server-ynh-deps (3.11.0~ynh1) ... 2021-10-27 14:01:22,467: DEBUG - + ynh_package_install --fix-broken 2021-10-27 14:01:22,467: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken 2021-10-27 14:01:22,468: DEBUG - + ynh_wait_dpkg_free 2021-10-27 14:01:22,612: DEBUG - + return 0 2021-10-27 14:01:22,612: DEBUG - + LC_ALL=C 2021-10-27 14:01:22,612: DEBUG - + DEBIAN_FRONTEND=noninteractive 2021-10-27 14:01:22,612: 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-10-27 14:01:22,757: DEBUG - Reading package lists... 2021-10-27 14:01:22,933: DEBUG - Building dependency tree... 2021-10-27 14:01:22,935: DEBUG - Reading state information... 2021-10-27 14:01:23,074: DEBUG - The following packages were automatically installed and are no longer required: 2021-10-27 14:01:23,074: DEBUG - libvpx5 libx264-155 linux-image-4.19.0-5-amd64 php-igbinary php-imagick 2021-10-27 14:01:23,074: DEBUG - php-redis php-smbclient php7.3-smbclient php8.0-igbinary php8.0-imagick 2021-10-27 14:01:23,075: DEBUG - php8.0-redis php8.0-smbclient 2021-10-27 14:01:23,075: DEBUG - Use 'apt autoremove' to remove them. 2021-10-27 14:01:23,091: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. 2021-10-27 14:01:23,092: DEBUG - + [[ -n /tmp/tmp.M6QsCmrF30 ]] 2021-10-27 14:01:23,092: DEBUG - + rm --recursive --force /tmp/tmp.M6QsCmrF30 2021-10-27 14:01:23,094: DEBUG - + ynh_package_is_installed code-server-ynh-deps 2021-10-27 14:01:23,102: DEBUG - + ynh_wait_dpkg_free 2021-10-27 14:01:23,255: DEBUG - + return 0 2021-10-27 14:01:23,255: DEBUG - + dpkg-query --show '--showformat=${Status}' code-server-ynh-deps 2021-10-27 14:01:23,256: DEBUG - + grep --count 'ok installed' 2021-10-27 14:01:23,278: DEBUG - + rm /tmp/code-server-ynh-deps.control 2021-10-27 14:01:23,280: DEBUG - + ynh_app_setting_set --app=code-server --key=apt_dependencies '--value=git,, jq,, build-essential,, nodejs,, g++,, gettext-base,, rsync, yarn' 2021-10-27 14:01:23,343: DEBUG - + [[ aptdependencies =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:23,343: DEBUG - + ynh_app_setting set code-server apt_dependencies 'git,, jq,, build-essential,, nodejs,, g++,, gettext-base,, rsync, yarn' 2021-10-27 14:01:23,395: DEBUG - + ynh_remove_extra_repo --name=code-server 2021-10-27 14:01:23,409: DEBUG - + name=code-server 2021-10-27 14:01:23,409: DEBUG - + ynh_secure_remove --file=/etc/apt/sources.list.d/code-server.list 2021-10-27 14:01:23,419: DEBUG - + local 'forbiddenpath= /var/www /home/yunohost.app' 2021-10-27 14:01:23,420: DEBUG - + '[' 1 -ge 2 ']' 2021-10-27 14:01:23,420: DEBUG - + [[ -z /etc/apt/sources.list.d/code-server.list ]] 2021-10-27 14:01:23,420: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/apt/sources.list.d/code-server.list ]] 2021-10-27 14:01:23,420: DEBUG - + [[ /etc/apt/sources.list.d/code-server.list =~ ^/[[:alnum:]]+$ ]] 2021-10-27 14:01:23,420: DEBUG - + [[ t = \/ ]] 2021-10-27 14:01:23,420: DEBUG - + '[' -e /etc/apt/sources.list.d/code-server.list ']' 2021-10-27 14:01:23,421: DEBUG - + rm --recursive /etc/apt/sources.list.d/code-server.list 2021-10-27 14:01:23,421: DEBUG - + [[ code-server == \e\x\t\r\a_\p\h\p\\v\e\r\s\i\o\n ]] 2021-10-27 14:01:23,421: DEBUG - + ynh_secure_remove /etc/apt/preferences.d/code-server 2021-10-27 14:01:23,430: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app' 2021-10-27 14:01:23,430: DEBUG - + '[' 1 -ge 2 ']' 2021-10-27 14:01:23,430: DEBUG - + [[ -z /etc/apt/preferences.d/code-server ]] 2021-10-27 14:01:23,430: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/apt/preferences.d/code-server ]] 2021-10-27 14:01:23,430: DEBUG - + [[ /etc/apt/preferences.d/code-server =~ ^/[[:alnum:]]+$ ]] 2021-10-27 14:01:23,430: DEBUG - + [[ r = \/ ]] 2021-10-27 14:01:23,430: DEBUG - + '[' -e /etc/apt/preferences.d/code-server ']' 2021-10-27 14:01:23,430: DEBUG - + rm --recursive /etc/apt/preferences.d/code-server 2021-10-27 14:01:23,431: DEBUG - + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/code-server.gpg 2021-10-27 14:01:23,440: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app' 2021-10-27 14:01:23,440: DEBUG - + '[' 1 -ge 2 ']' 2021-10-27 14:01:23,440: DEBUG - + [[ -z /etc/apt/trusted.gpg.d/code-server.gpg ]] 2021-10-27 14:01:23,440: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/apt/trusted.gpg.d/code-server.gpg ]] 2021-10-27 14:01:23,440: DEBUG - + [[ /etc/apt/trusted.gpg.d/code-server.gpg =~ ^/[[:alnum:]]+$ ]] 2021-10-27 14:01:23,441: DEBUG - + [[ g = \/ ]] 2021-10-27 14:01:23,441: DEBUG - + '[' -e /etc/apt/trusted.gpg.d/code-server.gpg ']' 2021-10-27 14:01:23,441: DEBUG - + rm --recursive /etc/apt/trusted.gpg.d/code-server.gpg 2021-10-27 14:01:23,441: DEBUG - + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/code-server.asc 2021-10-27 14:01:23,450: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app' 2021-10-27 14:01:23,450: DEBUG - + '[' 1 -ge 2 ']' 2021-10-27 14:01:23,451: DEBUG - + [[ -z /etc/apt/trusted.gpg.d/code-server.asc ]] 2021-10-27 14:01:23,451: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/apt/trusted.gpg.d/code-server.asc ]] 2021-10-27 14:01:23,451: DEBUG - + [[ /etc/apt/trusted.gpg.d/code-server.asc =~ ^/[[:alnum:]]+$ ]] 2021-10-27 14:01:23,451: DEBUG - + [[ c = \/ ]] 2021-10-27 14:01:23,451: DEBUG - + '[' -e /etc/apt/trusted.gpg.d/code-server.asc ']' 2021-10-27 14:01:23,451: DEBUG - + ynh_print_info '--message='\''/etc/apt/trusted.gpg.d/code-server.asc'\'' wasn'\''t deleted because it doesn'\''t exist.' 2021-10-27 14:01:23,459: INFO - '/etc/apt/trusted.gpg.d/code-server.asc' wasn't deleted because it doesn't exist. 2021-10-27 14:01:23,460: DEBUG - + echo ''\''/etc/apt/trusted.gpg.d/code-server.asc'\'' wasn'\''t deleted because it doesn'\''t exist.' 2021-10-27 14:01:23,460: DEBUG - + ynh_package_update 2021-10-27 14:01:23,460: DEBUG - + ynh_apt update 2021-10-27 14:01:23,460: DEBUG - + ynh_wait_dpkg_free 2021-10-27 14:01:23,616: DEBUG - + return 0 2021-10-27 14:01:23,617: DEBUG - + LC_ALL=C 2021-10-27 14:01:23,618: DEBUG - + DEBIAN_FRONTEND=noninteractive 2021-10-27 14:01:23,618: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update 2021-10-27 14:01:23,730: DEBUG - Hit:1 http://security.debian.org buster/updates InRelease 2021-10-27 14:01:23,730: DEBUG - Hit:2 http://deb.debian.org/debian buster InRelease 2021-10-27 14:01:23,730: DEBUG - Hit:3 http://deb.debian.org/debian buster-updates InRelease 2021-10-27 14:01:23,731: DEBUG - Hit:4 http://forge.yunohost.org/debian buster InRelease 2021-10-27 14:01:23,765: DEBUG - Hit:5 https://packages.sury.org/php buster InRelease 2021-10-27 14:01:25,053: DEBUG - Reading package lists... 2021-10-27 14:01:25,149: INFO - [##++................] > Setting up source files... 2021-10-27 14:01:25,149: DEBUG - + echo '[##++................] > Setting up source files...' 2021-10-27 14:01:25,150: DEBUG - + ynh_app_setting_set --app=code-server --key=final_path --value=/opt/yunohost/code-server 2021-10-27 14:01:25,212: DEBUG - + [[ finalpath =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:25,212: DEBUG - + ynh_app_setting set code-server final_path /opt/yunohost/code-server 2021-10-27 14:01:25,255: DEBUG - + ynh_app_setting_set --app=code-server --key=data_path --value=/home/yunohost.app/code-server 2021-10-27 14:01:25,310: DEBUG - + [[ datapath =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:25,311: DEBUG - + ynh_app_setting set code-server data_path /home/yunohost.app/code-server 2021-10-27 14:01:25,354: DEBUG - + setup_source 2021-10-27 14:01:25,354: DEBUG - + '[' '!' -d /opt/yunohost/code-server/.git ']' 2021-10-27 14:01:25,354: DEBUG - + git clone https://github.com/cdr/code-server/ /opt/yunohost/code-server --no-checkout 2021-10-27 14:01:25,359: DEBUG - Cloning into '/opt/yunohost/code-server'... 2021-10-27 14:01:32,681: DEBUG - + pushd /opt/yunohost/code-server 2021-10-27 14:01:32,681: DEBUG - /opt/yunohost/code-server /var/cache/yunohost/app_tmp_work_dirs/app_m6w3h4j1/scripts 2021-10-27 14:01:32,681: DEBUG - + git fetch --all 2021-10-27 14:01:32,682: DEBUG - Fetching origin 2021-10-27 14:01:32,986: DEBUG - + git reset --hard 2021-10-27 14:01:33,017: DEBUG - HEAD is now at 0e97a94a Replace nodejs with nodejs-lts in Termux docs (#4336) 2021-10-27 14:01:33,018: DEBUG - + git checkout c04198697698dc72b5981fd1b70d6ecbd9b22caa 2021-10-27 14:01:33,711: DEBUG - Note: checking out 'c04198697698dc72b5981fd1b70d6ecbd9b22caa'. 2021-10-27 14:01:33,712: DEBUG - 2021-10-27 14:01:33,712: DEBUG - You are in 'detached HEAD' state. You can look around, make experimental 2021-10-27 14:01:33,712: DEBUG - changes and commit them, and you can discard any commits you make in this 2021-10-27 14:01:33,712: DEBUG - state without impacting any branches by performing another checkout. 2021-10-27 14:01:33,712: DEBUG - 2021-10-27 14:01:33,712: DEBUG - If you want to create a new branch to retain commits you create, you may 2021-10-27 14:01:33,712: DEBUG - do so (now or later) by using -b with the checkout command again. Example: 2021-10-27 14:01:33,713: DEBUG - 2021-10-27 14:01:33,713: DEBUG - git checkout -b 2021-10-27 14:01:33,713: DEBUG - 2021-10-27 14:01:33,713: DEBUG - HEAD is now at c0419869 chore(release): bump version to 3.11.0 2021-10-27 14:01:33,719: DEBUG - + popd 2021-10-27 14:01:33,719: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_m6w3h4j1/scripts 2021-10-27 14:01:33,719: DEBUG - + ynh_replace_special_string -m 'throw new Error('\''compilation requires 4GB of RAM'\'')' -r 'console.log('\''compilation requires 4GB of RAM'\'')' -f /opt/yunohost/code-server/lib/vscode/build/lib/compilation.js 2021-10-27 14:01:33,837: DEBUG - + match_string='throw new Error('\''compilation requires 4GB of RAM'\'')' 2021-10-27 14:01:33,837: DEBUG - + replace_string='console.log('\''compilation requires 4GB of RAM'\'')' 2021-10-27 14:01:33,837: DEBUG - + match_string='throw new Error('\''compilation requires 4GB of RAM'\'')' 2021-10-27 14:01:33,837: DEBUG - + replace_string='console.log('\''compilation requires 4GB of RAM'\'')' 2021-10-27 14:01:33,838: DEBUG - + ynh_replace_string '--match_string=throw new Error('\''compilation requires 4GB of RAM'\'')' '--replace_string=console.log('\''compilation requires 4GB of RAM'\'')' --target_file=/opt/yunohost/code-server/lib/vscode/build/lib/compilation.js 2021-10-27 14:01:33,904: DEBUG - + local delimit=@ 2021-10-27 14:01:33,904: DEBUG - + match_string='throw new Error('\''compilation requires 4GB of RAM'\'')' 2021-10-27 14:01:33,904: DEBUG - + replace_string='console.log('\''compilation requires 4GB of RAM'\'')' 2021-10-27 14:01:33,904: DEBUG - + sed --in-place 's@throw new Error('\''compilation requires 4GB of RAM'\'')@console.log('\''compilation requires 4GB of RAM'\'')@g' /opt/yunohost/code-server/lib/vscode/build/lib/compilation.js 2021-10-27 14:01:33,906: DEBUG - + ynh_replace_special_string -m 'throw new Error('\''compilation requires 4GB of RAM'\'')' -r 'console.log('\''compilation requires 4GB of RAM'\'')' -f /opt/yunohost/code-server/lib/vscode/build/lib/compilation.ts 2021-10-27 14:01:34,024: DEBUG - + match_string='throw new Error('\''compilation requires 4GB of RAM'\'')' 2021-10-27 14:01:34,024: DEBUG - + replace_string='console.log('\''compilation requires 4GB of RAM'\'')' 2021-10-27 14:01:34,024: DEBUG - + match_string='throw new Error('\''compilation requires 4GB of RAM'\'')' 2021-10-27 14:01:34,024: DEBUG - + replace_string='console.log('\''compilation requires 4GB of RAM'\'')' 2021-10-27 14:01:34,024: DEBUG - + ynh_replace_string '--match_string=throw new Error('\''compilation requires 4GB of RAM'\'')' '--replace_string=console.log('\''compilation requires 4GB of RAM'\'')' --target_file=/opt/yunohost/code-server/lib/vscode/build/lib/compilation.ts 2021-10-27 14:01:34,086: DEBUG - + local delimit=@ 2021-10-27 14:01:34,086: DEBUG - + match_string='throw new Error('\''compilation requires 4GB of RAM'\'')' 2021-10-27 14:01:34,086: DEBUG - + replace_string='console.log('\''compilation requires 4GB of RAM'\'')' 2021-10-27 14:01:34,086: DEBUG - + sed --in-place 's@throw new Error('\''compilation requires 4GB of RAM'\'')@console.log('\''compilation requires 4GB of RAM'\'')@g' /opt/yunohost/code-server/lib/vscode/build/lib/compilation.ts 2021-10-27 14:01:34,088: DEBUG - + set_permissions 2021-10-27 14:01:34,088: DEBUG - + chown -R root:txd /opt/yunohost/code-server 2021-10-27 14:01:34,143: DEBUG - + chmod -R g=u,g-w,o-rwx /opt/yunohost/code-server 2021-10-27 14:01:34,191: DEBUG - + mkdir -p /home/yunohost.app/code-server/user-data /home/yunohost.app/code-server/extensions 2021-10-27 14:01:34,193: DEBUG - + chown -R txd:txd /home/yunohost.app/code-server 2021-10-27 14:01:34,197: DEBUG - + chmod -R g=u,g-w,o-rwx /home/yunohost.app/code-server 2021-10-27 14:01:34,198: DEBUG - + mkdir -p /var/log/code-server 2021-10-27 14:01:34,201: DEBUG - + chown -R root:root /var/log/code-server 2021-10-27 14:01:34,202: DEBUG - + chmod -R g=u,g-w,o-rwx /var/log/code-server 2021-10-27 14:01:34,271: INFO - [####................] > Configuring NGINX web server... 2021-10-27 14:01:34,272: DEBUG - + echo '[####................] > Configuring NGINX web server...' 2021-10-27 14:01:34,272: DEBUG - + ynh_add_nginx_config 2021-10-27 14:01:34,272: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,272: DEBUG - + '[' / '!=' / ']' 2021-10-27 14:01:34,272: DEBUG - + ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_m6w3h4j1/conf/nginx.conf 2021-10-27 14:01:34,334: DEBUG - + local delimit=@ 2021-10-27 14:01:34,335: DEBUG - + match_string='^#root_path_only' 2021-10-27 14:01:34,335: DEBUG - + replace_string= 2021-10-27 14:01:34,335: DEBUG - + sed --in-place 's@^#root_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_m6w3h4j1/conf/nginx.conf 2021-10-27 14:01:34,339: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_m6w3h4j1/conf/nginx.conf --destination=/etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,369: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_m6w3h4j1/conf//var/cache/yunohost/app_tmp_work_dirs/app_m6w3h4j1/conf/nginx.conf ']' 2021-10-27 14:01:34,369: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_m6w3h4j1/conf/nginx.conf ']' 2021-10-27 14:01:34,369: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_m6w3h4j1/conf/nginx.conf 2021-10-27 14:01:34,369: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,377: DEBUG - + local checksum_setting_name=checksumetc_nginx_conf.d_code.maindomain.tld.d_code-server.conf 2021-10-27 14:01:34,378: DEBUG - ++ ynh_app_setting_get --app=code-server --key=checksumetc_nginx_conf.d_code.maindomain.tld.d_code-server.conf 2021-10-27 14:01:34,407: DEBUG - ++ [[ checksumetc_nginx_conf.d_code.maindomain.tld.dcode-server.conf =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:34,408: DEBUG - ++ ynh_app_setting get code-server checksumetc_nginx_conf.d_code.maindomain.tld.d_code-server.conf 2021-10-27 14:01:34,452: DEBUG - + local checksum_value= 2021-10-27 14:01:34,452: DEBUG - + backup_file_checksum= 2021-10-27 14:01:34,453: DEBUG - + '[' -n '' ']' 2021-10-27 14:01:34,453: DEBUG - + touch /etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,456: DEBUG - + chown root:root /etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,457: DEBUG - + chmod 640 /etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,458: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_m6w3h4j1/conf/nginx.conf /etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,459: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,459: DEBUG - + local target=/etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,460: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_m6w3h4j1/manifest.json 2021-10-27 14:01:34,460: DEBUG - ++ tr -d '>= ' 2021-10-27 14:01:34,473: DEBUG - + local ynh_requirement=4.1.3 2021-10-27 14:01:34,473: DEBUG - + '[' -z 4.1.3 ']' 2021-10-27 14:01:34,473: DEBUG - + '[' 4.1.3 == null ']' 2021-10-27 14:01:34,473: DEBUG - + dpkg --compare-versions 4.1.3 ge 4.2 2021-10-27 14:01:34,476: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,485: DEBUG - + test -n / 2021-10-27 14:01:34,485: DEBUG - + local path_url_slash_less= 2021-10-27 14:01:34,485: DEBUG - + ynh_replace_string --match_string=PATH/ --replace_string=/ --target_file=/etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,540: DEBUG - + local delimit=@ 2021-10-27 14:01:34,541: DEBUG - + match_string=PATH/ 2021-10-27 14:01:34,541: DEBUG - + replace_string=/ 2021-10-27 14:01:34,541: DEBUG - + sed --in-place s@PATH/@/@g /etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,542: DEBUG - + ynh_replace_string --match_string=PATH --replace_string=/ --target_file=/etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,610: DEBUG - + local delimit=@ 2021-10-27 14:01:34,610: DEBUG - + match_string=PATH 2021-10-27 14:01:34,611: DEBUG - + replace_string=/ 2021-10-27 14:01:34,611: DEBUG - + sed --in-place s@PATH@/@g /etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,611: DEBUG - + test -n code-server 2021-10-27 14:01:34,612: DEBUG - + ynh_replace_string --match_string=NAME --replace_string=code-server --target_file=/etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,672: DEBUG - + local delimit=@ 2021-10-27 14:01:34,672: DEBUG - + match_string=NAME 2021-10-27 14:01:34,672: DEBUG - + replace_string=code-server 2021-10-27 14:01:34,673: DEBUG - + sed --in-place s@NAME@code-server@g /etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,673: DEBUG - + ynh_replace_string --match_string=NAMETOCHANGE --replace_string=code-server --target_file=/etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,730: DEBUG - + local delimit=@ 2021-10-27 14:01:34,730: DEBUG - + match_string=NAMETOCHANGE 2021-10-27 14:01:34,730: DEBUG - + replace_string=code-server 2021-10-27 14:01:34,730: DEBUG - + sed --in-place s@NAMETOCHANGE@code-server@g /etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,731: DEBUG - + ynh_replace_string --match_string=USER --replace_string=code-server --target_file=/etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,790: DEBUG - + local delimit=@ 2021-10-27 14:01:34,790: DEBUG - + match_string=USER 2021-10-27 14:01:34,790: DEBUG - + replace_string=code-server 2021-10-27 14:01:34,790: DEBUG - + sed --in-place s@USER@code-server@g /etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,792: DEBUG - + test -n /opt/yunohost/code-server 2021-10-27 14:01:34,792: DEBUG - + ynh_replace_string --match_string=FINALPATH --replace_string=/opt/yunohost/code-server --target_file=/etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,851: DEBUG - + local delimit=@ 2021-10-27 14:01:34,851: DEBUG - + match_string=FINALPATH 2021-10-27 14:01:34,851: DEBUG - + replace_string=/opt/yunohost/code-server 2021-10-27 14:01:34,851: DEBUG - + sed --in-place s@FINALPATH@/opt/yunohost/code-server@g /etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,852: DEBUG - + test -n 7.3 2021-10-27 14:01:34,852: DEBUG - + ynh_replace_string --match_string=PHPVERSION --replace_string=7.3 --target_file=/etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,914: DEBUG - + local delimit=@ 2021-10-27 14:01:34,915: DEBUG - + match_string=PHPVERSION 2021-10-27 14:01:34,915: DEBUG - + replace_string=7.3 2021-10-27 14:01:34,915: DEBUG - + sed --in-place s@PHPVERSION@7.3@g /etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,916: DEBUG - + test -n '' 2021-10-27 14:01:34,916: DEBUG - + uniques_vars=($(grep -oP '[A-Z0-9]+?[A-Z0-9]?[A-Z0-9]?' $file | sort --unique | sed "s@([^.]*)@\L\1@g" )) 2021-10-27 14:01:34,917: DEBUG - ++ grep -oP '[A-Z0-9]+?[A-Z0-9]?[A-Z0-9]?' /etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,917: DEBUG - ++ sort --unique 2021-10-27 14:01:34,919: DEBUG - ++ sed 's@([^.]*)@\L\1@g' 2021-10-27 14:01:34,922: DEBUG - + local delimit=@ 2021-10-27 14:01:34,922: DEBUG - + for one_var in "${uniques_vars[@]}" 2021-10-27 14:01:34,922: DEBUG - + [[ -v port ]] 2021-10-27 14:01:34,922: DEBUG - + match_string=PORT 2021-10-27 14:01:34,922: DEBUG - + match_string=PORT 2021-10-27 14:01:34,922: DEBUG - + replace_string=8080 2021-10-27 14:01:34,922: DEBUG - + replace_string=8080 2021-10-27 14:01:34,922: DEBUG - + replace_string=8080 2021-10-27 14:01:34,922: DEBUG - + sed --in-place s@PORT@8080@g /etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,923: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,933: DEBUG - + local checksum_setting_name=checksumetc_nginx_conf.d_code.maindomain.tld.d_code-server.conf 2021-10-27 14:01:34,933: DEBUG - ++ md5sum /etc/nginx/conf.d/code.maindomain.tld.d/code-server.conf 2021-10-27 14:01:34,933: DEBUG - ++ cut '--delimiter= ' --fields=1 2021-10-27 14:01:34,936: DEBUG - + ynh_app_setting_set --app=code-server --key=checksumetc_nginx_conf.d_code.maindomain.tld.d_code-server.conf --value=2cf23f5aa7472e6ab5d70125db845277 2021-10-27 14:01:34,999: DEBUG - + [[ checksumetc_nginx_conf.d_code.maindomain.tld.dcode-server.conf =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:35,000: DEBUG - + ynh_app_setting set code-server checksumetc_nginx_conf.d_code.maindomain.tld.d_code-server.conf 2cf23f5aa7472e6ab5d70125db845277 2021-10-27 14:01:35,043: DEBUG - + '[' -n '' ']' 2021-10-27 14:01:35,044: DEBUG - + unset backup_file_checksum 2021-10-27 14:01:35,044: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload 2021-10-27 14:01:35,121: DEBUG - + service_name=nginx 2021-10-27 14:01:35,121: DEBUG - + action=reload 2021-10-27 14:01:35,121: DEBUG - + line_match= 2021-10-27 14:01:35,121: DEBUG - + length=20 2021-10-27 14:01:35,122: DEBUG - + log_path=/var/log/nginx/nginx.log 2021-10-27 14:01:35,122: DEBUG - + timeout=300 2021-10-27 14:01:35,122: DEBUG - + '[' reload == stop ']' 2021-10-27 14:01:35,122: DEBUG - + [[ -n '' ]] 2021-10-27 14:01:35,122: DEBUG - + '[' reload == reload ']' 2021-10-27 14:01:35,122: DEBUG - + action=reload-or-restart 2021-10-27 14:01:35,122: DEBUG - + systemctl reload-or-restart nginx 2021-10-27 14:01:35,364: DEBUG - + [[ -n '' ]] 2021-10-27 14:01:35,442: INFO - [####+++++++++++++++.] > Compiling code-server... (this will take a long time) 2021-10-27 14:01:35,442: DEBUG - + echo '[####+++++++++++++++.] > Compiling code-server... (this will take a long time)' 2021-10-27 14:01:35,442: DEBUG - + build_app 2021-10-27 14:01:35,442: DEBUG - + set_node_vars 2021-10-27 14:01:35,442: DEBUG - + ynh_exec_warn_less ynh_install_nodejs --nodejs_version=14 2021-10-27 14:01:35,442: DEBUG - + eval ynh_install_nodejs --nodejs_version=14 2021-10-27 14:01:35,443: DEBUG - ++ ynh_install_nodejs --nodejs_version=14 2021-10-27 14:01:35,453: DEBUG - ++ mkdir --parents /opt/node_n 2021-10-27 14:01:35,455: DEBUG - ++ CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2021-10-27 14:01:35,456: DEBUG - +++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2021-10-27 14:01:35,456: DEBUG - +++ sed s@/usr/local/bin:@@ 2021-10-27 14:01:35,458: DEBUG - ++ PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin 2021-10-27 14:01:35,458: DEBUG - ++ test -x /usr/bin/node 2021-10-27 14:01:35,459: DEBUG - ++ mv /usr/bin/node /usr/bin/node_n 2021-10-27 14:01:35,462: DEBUG - ++ test -x /usr/bin/npm 2021-10-27 14:01:35,466: DEBUG - ++ mv /usr/bin/npm /usr/bin/npm_n 2021-10-27 14:01:35,467: DEBUG - ++ /opt/node_n/bin/n --version 2021-10-27 14:01:35,479: DEBUG - +++ /opt/node_n/bin/n --version 2021-10-27 14:01:35,487: DEBUG - ++ dpkg --compare-versions 7.3.0 lt 7.3.0 2021-10-27 14:01:35,490: 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-10-27 14:01:35,569: DEBUG - ++ local delimit=@ 2021-10-27 14:01:35,569: DEBUG - ++ match_string='^N_PREFIX=${N_PREFIX-.}$' 2021-10-27 14:01:35,569: DEBUG - ++ replace_string='N_PREFIX=${N_PREFIX-/opt/node_n}' 2021-10-27 14:01:35,569: DEBUG - ++ sed --in-place 's@^N_PREFIX=${N_PREFIX-.}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n 2021-10-27 14:01:35,572: DEBUG - ++ PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2021-10-27 14:01:35,572: DEBUG - ++ test -x /usr/bin/node_n 2021-10-27 14:01:35,572: DEBUG - ++ mv /usr/bin/node_n /usr/bin/node 2021-10-27 14:01:35,573: DEBUG - ++ test -x /usr/bin/npm_n 2021-10-27 14:01:35,574: DEBUG - ++ mv /usr/bin/npm_n /usr/bin/npm 2021-10-27 14:01:35,575: DEBUG - +++ uname --machine 2021-10-27 14:01:35,580: DEBUG - ++ uname=x86_64 2021-10-27 14:01:35,580: DEBUG - ++ [[ x86_64 =~ aarch64 ]] 2021-10-27 14:01:35,580: DEBUG - ++ [[ x86_64 =~ arm64 ]] 2021-10-27 14:01:35,580: DEBUG - ++ n 14 2021-10-27 14:01:35,680: DEBUG - installing : node-v14.18.1 2021-10-27 14:01:35,873: DEBUG - mkdir : /opt/node_n/n/versions/node/14.18.1 2021-10-27 14:01:35,875: DEBUG - fetch : https://nodejs.org/dist/v14.18.1/node-v14.18.1-linux-x64.tar.xz 2021-10-27 14:01:39,720: DEBUG - installed : v14.18.1 (with npm 6.14.15) 2021-10-27 14:01:39,721: DEBUG - +++ find /opt/node_n/n/versions/node/14 /opt/node_n/n/versions/node/14.17.0 /opt/node_n/n/versions/node/14.17.1 /opt/node_n/n/versions/node/14.17.4 /opt/node_n/n/versions/node/14.18.0 /opt/node_n/n/versions/node/14.18.1 -maxdepth 0 2021-10-27 14:01:39,722: DEBUG - +++ sort --version-sort 2021-10-27 14:01:39,723: DEBUG - +++ tail --lines=1 2021-10-27 14:01:39,726: DEBUG - ++ real_nodejs_version=/opt/node_n/n/versions/node/14.18.1 2021-10-27 14:01:39,726: DEBUG - +++ basename /opt/node_n/n/versions/node/14.18.1 2021-10-27 14:01:39,730: DEBUG - ++ real_nodejs_version=14.18.1 2021-10-27 14:01:39,730: DEBUG - ++ '[' '!' -e /opt/node_n/n/versions/node/14 ']' 2021-10-27 14:01:39,730: DEBUG - ++ echo code-server:14 2021-10-27 14:01:39,730: DEBUG - ++ tee --append /opt/node_n/ynh_app_version 2021-10-27 14:01:39,736: DEBUG - code-server:14 2021-10-27 14:01:39,737: DEBUG - ++ ynh_app_setting_set --app=code-server --key=nodejs_version --value=14 2021-10-27 14:01:39,799: DEBUG - ++ [[ nodejsversion =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:39,800: DEBUG - ++ ynh_app_setting set code-server nodejs_version 14 2021-10-27 14:01:39,864: DEBUG - ++ ynh_cron_upgrade_node 2021-10-27 14:01:39,864: DEBUG - ++ cat 2021-10-27 14:01:39,866: DEBUG - ++ chmod +x /opt/node_n/node_update.sh 2021-10-27 14:01:39,867: DEBUG - ++ cat 2021-10-27 14:01:39,869: DEBUG - ++ chmod +x /etc/cron.daily/node_update 2021-10-27 14:01:39,870: DEBUG - ++ ynh_use_nodejs 2021-10-27 14:01:39,870: DEBUG - +++ ynh_app_setting_get --app=code-server --key=nodejs_version 2021-10-27 14:01:39,901: DEBUG - +++ [[ nodejsversion =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:39,901: DEBUG - +++ ynh_app_setting get code-server nodejs_version 2021-10-27 14:01:39,950: DEBUG - ++ nodejs_version=14 2021-10-27 14:01:39,950: DEBUG - ++ nodejs_path=/opt/node_n/n/versions/node/14/bin 2021-10-27 14:01:39,950: DEBUG - ++ shopt -s expand_aliases 2021-10-27 14:01:39,950: DEBUG - ++ ynh_node=/opt/node_n/n/versions/node/14/bin/node 2021-10-27 14:01:39,951: DEBUG - ++ alias ynh_node=/opt/node_n/n/versions/node/14/bin/node 2021-10-27 14:01:39,951: DEBUG - ++ ynh_npm=/opt/node_n/n/versions/node/14/bin/npm 2021-10-27 14:01:39,951: DEBUG - ++ alias ynh_npm=/opt/node_n/n/versions/node/14/bin/npm 2021-10-27 14:01:39,951: 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\4\/\b\i\n ]] 2021-10-27 14:01:39,951: DEBUG - ++ PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2021-10-27 14:01:39,951: DEBUG - ++ node_PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2021-10-27 14:01:39,952: DEBUG - ++ ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2021-10-27 14:01:39,952: DEBUG - ++ ynh_node_load_path=PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2021-10-27 14:01:39,952: DEBUG - + ynh_use_nodejs 2021-10-27 14:01:39,952: DEBUG - ++ ynh_app_setting_get --app=code-server --key=nodejs_version 2021-10-27 14:01:39,987: DEBUG - ++ [[ nodejsversion =~ (unprotected|protected|skipped) ]] 2021-10-27 14:01:39,987: DEBUG - ++ ynh_app_setting get code-server nodejs_version 2021-10-27 14:01:40,040: DEBUG - + nodejs_version=14 2021-10-27 14:01:40,040: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/14/bin 2021-10-27 14:01:40,041: DEBUG - + shopt -s expand_aliases 2021-10-27 14:01:40,041: DEBUG - + ynh_node=/opt/node_n/n/versions/node/14/bin/node 2021-10-27 14:01:40,041: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/14/bin/node 2021-10-27 14:01:40,041: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/14/bin/npm 2021-10-27 14:01:40,041: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/14/bin/npm 2021-10-27 14:01:40,041: DEBUG - + [[ :/opt/node_n/n/versions/node/14/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\4\/\b\i\n ]] 2021-10-27 14:01:40,041: DEBUG - + node_PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2021-10-27 14:01:40,041: DEBUG - + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2021-10-27 14:01:40,042: DEBUG - + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2021-10-27 14:01:40,042: DEBUG - ++ sudo -u txd sh -c 'echo $PATH' 2021-10-27 14:01:40,144: DEBUG - + node_path=/opt/node_n/n/versions/node/14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2021-10-27 14:01:40,144: DEBUG - + pushd /opt/yunohost/code-server 2021-10-27 14:01:40,144: DEBUG - /opt/yunohost/code-server /var/cache/yunohost/app_tmp_work_dirs/app_m6w3h4j1/scripts 2021-10-27 14:01:40,145: DEBUG - + chown -R txd:txd /opt/yunohost/code-server 2021-10-27 14:01:40,202: DEBUG - + sudo -u txd touch /opt/yunohost/code-server/.yarnrc 2021-10-27 14:01:40,223: DEBUG - + sudo -u txd env PATH=/opt/node_n/n/versions/node/14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn --cache-folder /opt/yunohost/code-server/yarn-cache --use-yarnrc /opt/yunohost/code-server/.yarnrc config set python python3 2021-10-27 14:01:40,953: DEBUG - yarn config v1.22.5 2021-10-27 14:01:41,017: DEBUG - success Set "python" to "python3". 2021-10-27 14:01:41,018: DEBUG - Done in 0.07s. 2021-10-27 14:01:41,032: DEBUG - + sudo -u txd env PATH=/opt/node_n/n/versions/node/14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn --cache-folder /opt/yunohost/code-server/yarn-cache --use-yarnrc /opt/yunohost/code-server/.yarnrc install 2021-10-27 14:01:41,226: DEBUG - yarn install v1.22.5 2021-10-27 14:01:41,368: DEBUG - [1/5] Validating package.json... 2021-10-27 14:01:41,372: DEBUG - [2/5] Resolving packages... 2021-10-27 14:01:41,742: DEBUG - [3/5] Fetching packages... 2021-10-27 14:01:55,650: DEBUG - [4/5] Linking dependencies... 2021-10-27 14:01:55,653: DEBUG - warning " > @coder/logger@1.1.16" has unmet peer dependency "@google-cloud/logging@^4.5.2". 2021-10-27 14:02:00,560: DEBUG - [5/5] Building fresh packages... 2021-10-27 14:02:01,392: DEBUG - success Saved lockfile. 2021-10-27 14:02:01,398: DEBUG - $ ./ci/dev/postinstall.sh 2021-10-27 14:02:01,674: DEBUG - yarn install v1.22.5 2021-10-27 14:02:01,797: DEBUG - [1/4] Resolving packages... 2021-10-27 14:02:02,165: DEBUG - [2/4] Fetching packages... 2021-10-27 14:02:02,782: DEBUG - info fsevents@2.3.1: The platform "linux" is incompatible with this module. 2021-10-27 14:02:02,782: DEBUG - info "fsevents@2.3.1" is an optional dependency and failed compatibility check. Excluding it from installation. 2021-10-27 14:02:02,790: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:02:02,796: DEBUG - warning " > ts-jest@26.4.4" has unmet peer dependency "typescript@>=3.8 <5.0". 2021-10-27 14:02:06,628: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:02:07,678: DEBUG - Done in 6.01s. 2021-10-27 14:02:07,895: DEBUG - yarn install v1.22.5 2021-10-27 14:02:08,031: DEBUG - $ node build/npm/preinstall.js 2021-10-27 14:02:08,249: DEBUG - [1/4] Resolving packages... 2021-10-27 14:02:08,775: DEBUG - [2/4] Fetching packages... 2021-10-27 14:02:09,891: DEBUG - info fsevents@2.3.1: The platform "linux" is incompatible with this module. 2021-10-27 14:02:09,891: DEBUG - info "fsevents@2.3.1" is an optional dependency and failed compatibility check. Excluding it from installation. 2021-10-27 14:02:09,893: DEBUG - info vscode-windows-ca-certs@0.3.0: The platform "linux" is incompatible with this module. 2021-10-27 14:02:09,893: DEBUG - info "vscode-windows-ca-certs@0.3.0" is an optional dependency and failed compatibility check. Excluding it from installation. 2021-10-27 14:02:09,894: DEBUG - info fsevents@2.1.1: The platform "linux" is incompatible with this module. 2021-10-27 14:02:09,894: DEBUG - info "fsevents@2.1.1" is an optional dependency and failed compatibility check. Excluding it from installation. 2021-10-27 14:02:09,904: DEBUG - info fsevents@1.2.13: The platform "linux" is incompatible with this module. 2021-10-27 14:02:09,904: DEBUG - info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation. 2021-10-27 14:02:09,922: DEBUG - info fsevents@2.1.3: The platform "linux" is incompatible with this module. 2021-10-27 14:02:09,922: DEBUG - info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation. 2021-10-27 14:02:09,928: DEBUG - info vscode-windows-registry@1.0.3: The platform "linux" is incompatible with this module. 2021-10-27 14:02:09,928: DEBUG - info "vscode-windows-registry@1.0.3" is an optional dependency and failed compatibility check. Excluding it from installation. 2021-10-27 14:02:09,929: DEBUG - info windows-mutex@0.4.1: The platform "linux" is incompatible with this module. 2021-10-27 14:02:09,929: DEBUG - info "windows-mutex@0.4.1" is an optional dependency and failed compatibility check. Excluding it from installation. 2021-10-27 14:02:09,929: DEBUG - info windows-process-tree@0.3.0: The platform "linux" is incompatible with this module. 2021-10-27 14:02:09,929: DEBUG - info "windows-process-tree@0.3.0" is an optional dependency and failed compatibility check. Excluding it from installation. 2021-10-27 14:02:09,930: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:02:09,937: DEBUG - warning " > gulp-tsb@4.0.6" has incorrect peer dependency "typescript@^3.0.0". 2021-10-27 14:02:18,203: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:36,563: DEBUG - $ node build/npm/postinstall.js 2021-10-27 14:03:36,681: DEBUG - Installing dependencies in build... 2021-10-27 14:03:36,682: DEBUG - $ yarn 2021-10-27 14:03:36,917: DEBUG - yarn install v1.22.5 2021-10-27 14:03:37,020: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:37,155: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:37,416: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:37,417: DEBUG - warning " > @typescript-eslint/experimental-utils@2.13.0" has unmet peer dependency "eslint@". 2021-10-27 14:03:37,417: DEBUG - warning " > @typescript-eslint/parser@3.10.1" has unmet peer dependency "eslint@^5.0.0 || ^6.0.0 || ^7.0.0". 2021-10-27 14:03:37,418: DEBUG - warning "@typescript-eslint/parser > @typescript-eslint/experimental-utils@3.10.1" has unmet peer dependency "eslint@*". 2021-10-27 14:03:39,531: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:45,282: DEBUG - Done in 8.37s. 2021-10-27 14:03:45,308: DEBUG - Installing dependencies in /opt/yunohost/code-server/lib/vscode/build/lib/watch... 2021-10-27 14:03:45,309: DEBUG - $ yarn 2021-10-27 14:03:45,467: DEBUG - yarn install v1.22.5 2021-10-27 14:03:45,553: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:45,592: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:45,651: DEBUG - info fsevents@2.3.1: The platform "linux" is incompatible with this module. 2021-10-27 14:03:45,651: DEBUG - info "fsevents@2.3.1" is an optional dependency and failed compatibility check. Excluding it from installation. 2021-10-27 14:03:45,655: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:45,882: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:45,891: DEBUG - Done in 0.43s. 2021-10-27 14:03:45,902: DEBUG - Installing dependencies in extensions... 2021-10-27 14:03:45,902: DEBUG - $ yarn 2021-10-27 14:03:46,064: DEBUG - yarn install v1.22.5 2021-10-27 14:03:46,132: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:46,141: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:46,158: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:46,459: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:46,600: DEBUG - $ node ./postinstall 2021-10-27 14:03:46,699: DEBUG - Removed /opt/yunohost/code-server/lib/vscode/extensions/node_modules/typescript/AUTHORS.md 2021-10-27 14:03:46,702: DEBUG - Removed /opt/yunohost/code-server/lib/vscode/extensions/node_modules/typescript/CODE_OF_CONDUCT.md 2021-10-27 14:03:46,703: DEBUG - Removed /opt/yunohost/code-server/lib/vscode/extensions/node_modules/typescript/CopyrightNotice.txt 2021-10-27 14:03:46,703: DEBUG - Removed /opt/yunohost/code-server/lib/vscode/extensions/node_modules/typescript/LICENSE.txt 2021-10-27 14:03:46,704: DEBUG - Removed /opt/yunohost/code-server/lib/vscode/extensions/node_modules/typescript/README.md 2021-10-27 14:03:46,704: DEBUG - Removed /opt/yunohost/code-server/lib/vscode/extensions/node_modules/typescript/ThirdPartyNoticeText.txt 2021-10-27 14:03:46,705: DEBUG - Removed /opt/yunohost/code-server/lib/vscode/extensions/node_modules/typescript/bin 2021-10-27 14:03:46,706: DEBUG - Removed /opt/yunohost/code-server/lib/vscode/extensions/node_modules/typescript/loc 2021-10-27 14:03:46,733: DEBUG - removed '/opt/yunohost/code-server/lib/vscode/extensions/node_modules/typescript/lib/tsc.js' 2021-10-27 14:03:46,733: DEBUG - removed '/opt/yunohost/code-server/lib/vscode/extensions/node_modules/typescript/lib/tsserverlibrary.d.ts' 2021-10-27 14:03:46,735: DEBUG - removed '/opt/yunohost/code-server/lib/vscode/extensions/node_modules/typescript/lib/tsserverlibrary.js' 2021-10-27 14:03:46,735: DEBUG - removed '/opt/yunohost/code-server/lib/vscode/extensions/node_modules/typescript/lib/typescriptServices.d.ts' 2021-10-27 14:03:46,737: DEBUG - removed '/opt/yunohost/code-server/lib/vscode/extensions/node_modules/typescript/lib/typescriptServices.js' 2021-10-27 14:03:46,744: DEBUG - Done in 0.68s. 2021-10-27 14:03:46,756: DEBUG - Installing dependencies in extensions/configuration-editing... 2021-10-27 14:03:46,756: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:46,919: DEBUG - yarn install v1.22.5 2021-10-27 14:03:46,988: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:46,995: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:47,005: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:47,093: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:47,105: DEBUG - Done in 0.19s. 2021-10-27 14:03:47,117: DEBUG - Installing dependencies in extensions/css-language-features... 2021-10-27 14:03:47,117: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:47,278: DEBUG - yarn install v1.22.5 2021-10-27 14:03:47,356: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:47,368: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:47,387: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:47,591: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:47,604: DEBUG - Done in 0.33s. 2021-10-27 14:03:47,617: DEBUG - Installing dependencies in extensions/css-language-features/server... 2021-10-27 14:03:47,617: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:47,784: DEBUG - yarn install v1.22.5 2021-10-27 14:03:47,862: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:47,875: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:47,887: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:48,103: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:48,111: DEBUG - Done in 0.33s. 2021-10-27 14:03:48,121: DEBUG - Installing dependencies in extensions/debug-auto-launch... 2021-10-27 14:03:48,121: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:48,289: DEBUG - yarn install v1.22.5 2021-10-27 14:03:48,362: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:48,368: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:48,376: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:48,447: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:48,455: DEBUG - Done in 0.17s. 2021-10-27 14:03:48,464: DEBUG - Installing dependencies in extensions/debug-server-ready... 2021-10-27 14:03:48,464: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:48,631: DEBUG - yarn install v1.22.5 2021-10-27 14:03:48,705: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:48,711: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:48,717: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:48,787: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:48,795: DEBUG - Done in 0.17s. 2021-10-27 14:03:48,805: DEBUG - Installing dependencies in extensions/emmet... 2021-10-27 14:03:48,805: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:48,967: DEBUG - yarn install v1.22.5 2021-10-27 14:03:49,044: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:49,060: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:49,082: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:49,304: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:49,318: DEBUG - Done in 0.36s. 2021-10-27 14:03:49,329: DEBUG - Installing dependencies in extensions/extension-editing... 2021-10-27 14:03:49,329: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:49,489: DEBUG - yarn install v1.22.5 2021-10-27 14:03:49,558: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:49,570: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:49,586: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:49,742: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:49,750: DEBUG - Done in 0.27s. 2021-10-27 14:03:49,760: DEBUG - Installing dependencies in extensions/git... 2021-10-27 14:03:49,760: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:49,923: DEBUG - yarn install v1.22.5 2021-10-27 14:03:50,009: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:50,027: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:50,055: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:50,403: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:50,416: DEBUG - Done in 0.50s. 2021-10-27 14:03:50,426: DEBUG - Installing dependencies in extensions/github... 2021-10-27 14:03:50,426: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:50,586: DEBUG - yarn install v1.22.5 2021-10-27 14:03:50,660: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:50,680: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:50,711: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:50,988: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:51,005: DEBUG - Done in 0.42s. 2021-10-27 14:03:51,017: DEBUG - Installing dependencies in extensions/github-authentication... 2021-10-27 14:03:51,018: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:51,179: DEBUG - yarn install v1.22.5 2021-10-27 14:03:51,256: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:51,280: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:51,336: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:51,683: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:51,691: DEBUG - Done in 0.52s. 2021-10-27 14:03:51,705: DEBUG - Installing dependencies in extensions/grunt... 2021-10-27 14:03:51,706: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:51,870: DEBUG - yarn install v1.22.5 2021-10-27 14:03:51,941: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:51,947: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:51,953: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:52,019: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:52,031: DEBUG - Done in 0.17s. 2021-10-27 14:03:52,040: DEBUG - Installing dependencies in extensions/gulp... 2021-10-27 14:03:52,041: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:52,205: DEBUG - yarn install v1.22.5 2021-10-27 14:03:52,279: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:52,286: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:52,292: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:52,351: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:52,362: DEBUG - Done in 0.16s. 2021-10-27 14:03:52,372: DEBUG - Installing dependencies in extensions/html-language-features... 2021-10-27 14:03:52,372: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:52,534: DEBUG - yarn install v1.22.5 2021-10-27 14:03:52,609: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:52,627: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:52,650: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:53,016: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:53,025: DEBUG - Done in 0.50s. 2021-10-27 14:03:53,034: DEBUG - Installing dependencies in extensions/html-language-features/server... 2021-10-27 14:03:53,035: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:53,199: DEBUG - yarn install v1.22.5 2021-10-27 14:03:53,269: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:53,283: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:53,295: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:53,528: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:53,539: DEBUG - Done in 0.35s. 2021-10-27 14:03:53,556: DEBUG - Installing dependencies in extensions/image-preview... 2021-10-27 14:03:53,556: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:53,723: DEBUG - yarn install v1.22.5 2021-10-27 14:03:53,798: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:53,811: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:53,825: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:54,072: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:54,081: DEBUG - Done in 0.36s. 2021-10-27 14:03:54,092: DEBUG - Installing dependencies in extensions/jake... 2021-10-27 14:03:54,092: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:54,258: DEBUG - yarn install v1.22.5 2021-10-27 14:03:54,332: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:54,338: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:54,344: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:54,411: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:54,423: DEBUG - Done in 0.17s. 2021-10-27 14:03:54,433: DEBUG - Installing dependencies in extensions/json-language-features... 2021-10-27 14:03:54,434: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:54,596: DEBUG - yarn install v1.22.5 2021-10-27 14:03:54,675: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:54,700: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:54,737: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:55,130: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:55,139: DEBUG - Done in 0.55s. 2021-10-27 14:03:55,151: DEBUG - Installing dependencies in extensions/json-language-features/server... 2021-10-27 14:03:55,151: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:55,318: DEBUG - yarn install v1.22.5 2021-10-27 14:03:55,394: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:55,412: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:55,435: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:55,684: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:55,695: DEBUG - Done in 0.38s. 2021-10-27 14:03:55,706: DEBUG - Installing dependencies in extensions/markdown-language-features... 2021-10-27 14:03:55,707: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:55,878: DEBUG - yarn install v1.22.5 2021-10-27 14:03:55,960: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:55,981: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:56,017: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:56,615: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:56,625: DEBUG - Done in 0.75s. 2021-10-27 14:03:56,636: DEBUG - Installing dependencies in extensions/merge-conflict... 2021-10-27 14:03:56,636: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:56,808: DEBUG - yarn install v1.22.5 2021-10-27 14:03:56,883: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:56,889: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:56,896: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:56,964: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:56,974: DEBUG - Done in 0.17s. 2021-10-27 14:03:56,986: DEBUG - Installing dependencies in extensions/microsoft-authentication... 2021-10-27 14:03:56,986: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:57,155: DEBUG - yarn install v1.22.5 2021-10-27 14:03:57,229: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:57,257: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:57,318: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:57,701: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:57,709: DEBUG - Done in 0.56s. 2021-10-27 14:03:57,720: DEBUG - Installing dependencies in extensions/notebook-markdown-extensions... 2021-10-27 14:03:57,720: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:57,888: DEBUG - yarn install v1.22.5 2021-10-27 14:03:57,960: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:57,972: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:57,986: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:58,206: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:58,215: DEBUG - Done in 0.33s. 2021-10-27 14:03:58,229: DEBUG - Installing dependencies in extensions/npm... 2021-10-27 14:03:58,230: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:58,396: DEBUG - yarn install v1.22.5 2021-10-27 14:03:58,478: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:58,507: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:58,582: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:58,821: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:58,833: DEBUG - Done in 0.44s. 2021-10-27 14:03:58,845: DEBUG - Installing dependencies in extensions/php-language-features... 2021-10-27 14:03:58,845: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:59,013: DEBUG - yarn install v1.22.5 2021-10-27 14:03:59,089: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:59,097: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:59,105: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:59,183: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:59,191: DEBUG - Done in 0.18s. 2021-10-27 14:03:59,205: DEBUG - Installing dependencies in extensions/search-result... 2021-10-27 14:03:59,206: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:59,374: DEBUG - yarn install v1.22.5 2021-10-27 14:03:59,447: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:59,448: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:59,449: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:03:59,454: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:03:59,458: DEBUG - success Saved lockfile. 2021-10-27 14:03:59,462: DEBUG - Done in 0.09s. 2021-10-27 14:03:59,472: DEBUG - Installing dependencies in extensions/simple-browser... 2021-10-27 14:03:59,472: DEBUG - $ yarn --ignore-engines 2021-10-27 14:03:59,639: DEBUG - yarn install v1.22.5 2021-10-27 14:03:59,711: DEBUG - [1/4] Resolving packages... 2021-10-27 14:03:59,728: DEBUG - [2/4] Fetching packages... 2021-10-27 14:03:59,744: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:04:00,158: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:04:00,166: DEBUG - Done in 0.53s. 2021-10-27 14:04:00,180: DEBUG - Installing dependencies in extensions/testing-editor-contributions... 2021-10-27 14:04:00,180: DEBUG - $ yarn --ignore-engines 2021-10-27 14:04:00,358: DEBUG - yarn install v1.22.5 2021-10-27 14:04:00,435: DEBUG - [1/4] Resolving packages... 2021-10-27 14:04:00,442: DEBUG - [2/4] Fetching packages... 2021-10-27 14:04:00,448: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:04:00,468: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:04:00,477: DEBUG - Done in 0.12s. 2021-10-27 14:04:00,490: DEBUG - Installing dependencies in extensions/typescript-language-features... 2021-10-27 14:04:00,490: DEBUG - $ yarn --ignore-engines 2021-10-27 14:04:00,663: DEBUG - yarn install v1.22.5 2021-10-27 14:04:00,744: DEBUG - [1/4] Resolving packages... 2021-10-27 14:04:00,759: DEBUG - [2/4] Fetching packages... 2021-10-27 14:04:00,781: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:04:01,065: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:04:01,080: DEBUG - Done in 0.42s. 2021-10-27 14:04:01,091: DEBUG - Installing dependencies in extensions/vscode-api-tests... 2021-10-27 14:04:01,091: DEBUG - $ yarn --ignore-engines 2021-10-27 14:04:01,268: DEBUG - yarn install v1.22.5 2021-10-27 14:04:01,342: DEBUG - [1/4] Resolving packages... 2021-10-27 14:04:01,349: DEBUG - [2/4] Fetching packages... 2021-10-27 14:04:01,355: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:04:01,420: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:04:01,430: DEBUG - Done in 0.17s. 2021-10-27 14:04:01,440: DEBUG - Installing dependencies in extensions/vscode-colorize-tests... 2021-10-27 14:04:01,440: DEBUG - $ yarn --ignore-engines 2021-10-27 14:04:01,616: DEBUG - yarn install v1.22.5 2021-10-27 14:04:01,695: DEBUG - [1/4] Resolving packages... 2021-10-27 14:04:01,702: DEBUG - [2/4] Fetching packages... 2021-10-27 14:04:01,708: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:04:01,790: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:04:01,798: DEBUG - Done in 0.19s. 2021-10-27 14:04:01,811: DEBUG - Installing dependencies in extensions/vscode-custom-editor-tests... 2021-10-27 14:04:01,811: DEBUG - $ yarn --ignore-engines 2021-10-27 14:04:01,986: DEBUG - yarn install v1.22.5 2021-10-27 14:04:02,059: DEBUG - [1/4] Resolving packages... 2021-10-27 14:04:02,068: DEBUG - [2/4] Fetching packages... 2021-10-27 14:04:02,080: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:04:02,152: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:04:02,159: DEBUG - Done in 0.18s. 2021-10-27 14:04:02,170: DEBUG - Installing dependencies in extensions/vscode-notebook-tests... 2021-10-27 14:04:02,170: DEBUG - $ yarn --ignore-engines 2021-10-27 14:04:02,344: DEBUG - yarn install v1.22.5 2021-10-27 14:04:02,427: DEBUG - [1/4] Resolving packages... 2021-10-27 14:04:02,433: DEBUG - [2/4] Fetching packages... 2021-10-27 14:04:02,439: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:04:02,495: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:04:02,502: DEBUG - Done in 0.16s. 2021-10-27 14:04:02,513: DEBUG - Installing dependencies in extensions/vscode-test-resolver... 2021-10-27 14:04:02,513: DEBUG - $ yarn --ignore-engines 2021-10-27 14:04:02,687: DEBUG - yarn install v1.22.5 2021-10-27 14:04:02,757: DEBUG - [1/4] Resolving packages... 2021-10-27 14:04:02,763: DEBUG - [2/4] Fetching packages... 2021-10-27 14:04:02,768: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:04:02,819: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:04:02,826: DEBUG - Done in 0.14s. 2021-10-27 14:04:02,839: DEBUG - Installing dependencies in remote... 2021-10-27 14:04:02,840: DEBUG - $ yarn 2021-10-27 14:04:03,017: DEBUG - yarn install v1.22.5 2021-10-27 14:04:03,106: DEBUG - [1/4] Resolving packages... 2021-10-27 14:04:03,164: DEBUG - [2/4] Fetching packages... 2021-10-27 14:04:03,257: DEBUG - info fsevents@2.3.1: The platform "linux" is incompatible with this module. 2021-10-27 14:04:03,257: DEBUG - info "fsevents@2.3.1" is an optional dependency and failed compatibility check. Excluding it from installation. 2021-10-27 14:04:03,258: DEBUG - info vscode-windows-ca-certs@0.3.0: The platform "linux" is incompatible with this module. 2021-10-27 14:04:03,258: DEBUG - info "vscode-windows-ca-certs@0.3.0" is an optional dependency and failed compatibility check. Excluding it from installation. 2021-10-27 14:04:03,259: DEBUG - info vscode-windows-registry@1.0.3: The platform "linux" is incompatible with this module. 2021-10-27 14:04:03,259: DEBUG - info "vscode-windows-registry@1.0.3" is an optional dependency and failed compatibility check. Excluding it from installation. 2021-10-27 14:04:03,259: DEBUG - info windows-process-tree@0.3.0: The platform "linux" is incompatible with this module. 2021-10-27 14:04:03,259: DEBUG - info "windows-process-tree@0.3.0" is an optional dependency and failed compatibility check. Excluding it from installation. 2021-10-27 14:04:03,260: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:04:04,117: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:04:26,864: DEBUG - Done in 23.85s. 2021-10-27 14:04:26,878: DEBUG - Installing dependencies in remote/web... 2021-10-27 14:04:26,879: DEBUG - $ yarn 2021-10-27 14:04:27,112: DEBUG - yarn install v1.22.5 2021-10-27 14:04:27,184: DEBUG - [1/4] Resolving packages... 2021-10-27 14:04:27,196: DEBUG - [2/4] Fetching packages... 2021-10-27 14:04:27,211: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:04:27,405: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:04:27,412: DEBUG - Done in 0.30s. 2021-10-27 14:04:27,425: DEBUG - Installing dependencies in test/automation... 2021-10-27 14:04:27,426: DEBUG - $ yarn 2021-10-27 14:04:27,600: DEBUG - yarn install v1.22.5 2021-10-27 14:04:27,685: DEBUG - [1/4] Resolving packages... 2021-10-27 14:04:27,742: DEBUG - [2/4] Fetching packages... 2021-10-27 14:04:27,840: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:04:28,880: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:04:28,891: DEBUG - Done in 1.30s. 2021-10-27 14:04:28,903: DEBUG - Installing dependencies in test/integration/browser... 2021-10-27 14:04:28,903: DEBUG - $ yarn 2021-10-27 14:04:29,080: DEBUG - yarn install v1.22.5 2021-10-27 14:04:29,154: DEBUG - [1/4] Resolving packages... 2021-10-27 14:04:29,172: DEBUG - [2/4] Fetching packages... 2021-10-27 14:04:29,198: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:04:29,497: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:04:29,506: DEBUG - Done in 0.43s. 2021-10-27 14:04:29,516: DEBUG - Installing dependencies in test/monaco... 2021-10-27 14:04:29,516: DEBUG - $ yarn 2021-10-27 14:04:29,685: DEBUG - yarn install v1.22.5 2021-10-27 14:04:29,761: DEBUG - [1/4] Resolving packages... 2021-10-27 14:04:29,772: DEBUG - [2/4] Fetching packages... 2021-10-27 14:04:29,788: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:04:29,880: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:04:29,888: DEBUG - Done in 0.21s. 2021-10-27 14:04:29,901: DEBUG - Installing dependencies in test/smoke... 2021-10-27 14:04:29,901: DEBUG - $ yarn 2021-10-27 14:04:30,070: DEBUG - yarn install v1.22.5 2021-10-27 14:04:30,160: DEBUG - [1/4] Resolving packages... 2021-10-27 14:04:30,216: DEBUG - [2/4] Fetching packages... 2021-10-27 14:04:30,300: DEBUG - [3/4] Linking dependencies... 2021-10-27 14:04:31,161: DEBUG - [4/4] Building fresh packages... 2021-10-27 14:04:31,173: DEBUG - Done in 1.11s. 2021-10-27 14:04:31,234: DEBUG - Done in 143.34s. 2021-10-27 14:04:31,271: DEBUG - Done in 170.05s. 2021-10-27 14:04:31,304: DEBUG - + sudo -u txd env PATH=/opt/node_n/n/versions/node/14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn --cache-folder /opt/yunohost/code-server/yarn-cache --use-yarnrc /opt/yunohost/code-server/.yarnrc build 2021-10-27 14:04:31,542: DEBUG - yarn run v1.22.5 2021-10-27 14:04:31,606: DEBUG - $ ./ci/build/build-code-server.sh 2021-10-27 14:04:42,093: DEBUG - Downloading the cloud agent... 2021-10-27 14:04:43,190: DEBUG - $ /opt/yunohost/code-server/node_modules/.bin/browserify out/browser/register.js -o out/browser/register.browserified.js 2021-10-27 14:04:43,945: DEBUG - $ /opt/yunohost/code-server/node_modules/.bin/browserify out/browser/pages/login.js -o out/browser/pages/login.browserified.js 2021-10-27 14:04:44,430: DEBUG - $ /opt/yunohost/code-server/node_modules/.bin/browserify out/browser/pages/vscode.js -o out/browser/pages/vscode.browserified.js 2021-10-27 14:04:44,702: DEBUG - Done in 13.16s. 2021-10-27 14:04:44,712: DEBUG - + sudo -u txd env PATH=/opt/node_n/n/versions/node/14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn --cache-folder /opt/yunohost/code-server/yarn-cache --use-yarnrc /opt/yunohost/code-server/.yarnrc build:vscode 2021-10-27 14:04:44,896: DEBUG - yarn run v1.22.5 2021-10-27 14:04:44,951: DEBUG - $ ./ci/build/build-vscode.sh 2021-10-27 14:04:45,203: DEBUG - $ node --max_old_space_size=8192 ./node_modules/gulp/bin/gulp.js compile-build compile-extensions-build 2021-10-27 14:04:47,215: DEBUG - [14:04:47] Using gulpfile /opt/yunohost/code-server/lib/vscode/gulpfile.js 2021-10-27 14:04:47,219: DEBUG - [14:04:47] Starting 'compile-build'... 2021-10-27 14:04:47,220: DEBUG - [14:04:47] Starting 'compile-extensions-build'... 2021-10-27 14:04:47,221: DEBUG - [14:04:47] Starting clean-out-build ... 2021-10-27 14:04:47,224: DEBUG - [14:04:47] Starting clean-extensions-build ... 2021-10-27 14:04:47,225: DEBUG - [14:04:47] Finished clean-out-build after 4 ms 2021-10-27 14:04:47,226: DEBUG - [14:04:47] Starting compile-build ... 2021-10-27 14:04:47,226: DEBUG - compilation requires 4GB of RAM 2021-10-27 14:04:52,619: DEBUG - [14:04:52] Starting compilation... 2021-10-27 14:04:52,624: DEBUG - [14:04:52] Finished clean-extensions-build after 5399 ms 2021-10-27 14:04:52,625: DEBUG - [14:04:52] Starting bundle-extensions-build ... 2021-10-27 14:06:02,119: DEBUG - (node:5797) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead. (Triggered by calling processImmediate on process.) 2021-10-27 14:06:02,344: DEBUG - (Use node --trace-deprecation ... to show where the warning was created) 2021-10-27 14:06:25,873: DEBUG - [14:06:25] Bundled extension: testing-editor-contributions/extension.webpack.config.js... 2021-10-27 14:06:28,282: DEBUG - [14:06:28] Bundled extension: search-result/extension.webpack.config.js... 2021-10-27 14:06:29,280: DEBUG - [14:06:29] Bundled extension: debug-server-ready/extension.webpack.config.js... 2021-10-27 14:06:32,745: DEBUG - [14:06:32] Bundled extension: jake/extension.webpack.config.js... 2021-10-27 14:06:32,757: DEBUG - [14:06:32] Bundled extension: gulp/extension.webpack.config.js... 2021-10-27 14:06:33,980: DEBUG - [14:06:33] Bundled extension: grunt/extension.webpack.config.js... 2021-10-27 14:06:34,001: DEBUG - [14:06:33] Bundled extension: debug-auto-launch/extension.webpack.config.js... 2021-10-27 14:10:02,355: DEBUG - Killed 2021-10-27 14:10:03,582: DEBUG - error Command failed with exit code 137. 2021-10-27 14:10:03,593: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. 2021-10-27 14:10:04,478: DEBUG - error Command failed with exit code 137. 2021-10-27 14:10:04,480: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. 2021-10-27 14:10:04,812: DEBUG - + ynh_exit_properly 2021-10-27 14:10:04,820: DEBUG - + local exit_code=137 2021-10-27 14:10:04,821: DEBUG - + rm -rf /var/cache/yunohost/download/ 2021-10-27 14:10:04,832: DEBUG - + '[' 137 -eq 0 ']' 2021-10-27 14:10:04,832: DEBUG - + trap '' EXIT 2021-10-27 14:10:04,833: DEBUG - + set +o errexit 2021-10-27 14:10:04,833: DEBUG - + set +o nounset 2021-10-27 14:10:04,833: DEBUG - + sleep 0.5 2021-10-27 14:10:05,336: DEBUG - + type -t ynh_clean_setup 2021-10-27 14:10:05,337: DEBUG - + ynh_clean_setup 2021-10-27 14:10:05,339: DEBUG - + true 2021-10-27 14:10:05,339: DEBUG - + exit 1 2021-10-27 14:10:06,498: ERROR - Impossible d’installer code-server : Une erreur est survenue dans le script d’installation de l’application *How to post a meaningful bug report**

  1. Read this whole template first.
  2. Determine if you are on the right place:
    • If you were performing an action on the app from the webadmin or the CLI (install, update, backup, restore, change_url...), you are on the right place!
    • Otherwise, the issue may be due to the app itself. Refer to its documentation or repository for help.
    • When in doubt, post here and we will figure it out together.
  3. Delete the italic comments as you write over them below, and remove this guide.
Jules-Bertholet commented 2 years ago

exit code 137: The install process was killed by OOM because you ran out of memory. Add a few gigs of swap space and try again