YunoHost-Apps / hedgedoc_ynh

HedgeDoc package for YunoHost
https://hedgedoc.org/
GNU General Public License v3.0
13 stars 8 forks source link

Installation and update fails on ARM / raspberry Pi 4 #44

Closed mrflos closed 1 year ago

mrflos commented 2 years ago

Describe the bug

Performing a fresh install or an update of this app will result in an error on a raspberry pi 4 board with 4gb RAM

Context

Steps to reproduce

```sh
sudo yunohost app install hedgedoc
```

Expected behavior

Install or update should succeed, it was working on older yunohost version and debian version

Logs

args:
  app: hedgedoc
  force: false
  label: null
  no_remove_on_failure: false
ended_at: 2022-09-19 12:01:01.662175
env:
  YNH_APP_ARG_DOMAIN: md.maindomain.tld
  YNH_APP_ARG_IS_PUBLIC: '1'
  YNH_APP_ARG_PATH: /
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm
  YNH_APP_ID: hedgedoc
  YNH_APP_INSTANCE_NAME: hedgedoc
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 1.9.4~ynh1
  YNH_ARCH: armhf
error: An error occurred inside the app installation script
interface: cli
operation: app_install
parent: null
related_to:
- - app
  - hedgedoc
started_at: 2022-09-19 11:49:56.346504
success: false
yunohost_version: 11.0.9.14

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

2022-09-19 14:49:56,367: INFO - Installing hedgedoc...
2022-09-19 14:49:56,850: DEBUG - Nothing to update in LDAP
2022-09-19 14:49:56,851: DEBUG - Permission 'hedgedoc.main' updated
2022-09-19 14:49:57,236: DEBUG - To view the log of the operation 'Update URL related to permission 'hedgedoc'', use the command 'yunohost log show 20220919-114956-permission_url-hedgedoc'
2022-09-19 14:49:58,079: DEBUG - The permission database has been resynchronized
2022-09-19 14:49:58,641: DEBUG - SSOwat configuration regenerated
2022-09-19 14:49:59,040: DEBUG - Permission 'hedgedoc.main' created
2022-09-19 14:49:59,041: DEBUG - To view the log of the operation 'Create permission 'hedgedoc'', use the command 'yunohost log show 20220919-114956-permission_create-hedgedoc'
2022-09-19 14:49:59,094: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2022-09-19 14:49:59,112: DEBUG - + source _common.sh
2022-09-19 14:49:59,113: DEBUG - ++ pkg_dependencies='postgresql apt-transport-https'
2022-09-19 14:49:59,113: DEBUG - ++ nodejs_version=16
2022-09-19 14:49:59,114: DEBUG - + source /usr/share/yunohost/helpers
2022-09-19 14:49:59,114: DEBUG - +++ set +o
2022-09-19 14:49:59,115: DEBUG - +++ grep xtrace
2022-09-19 14:49:59,119: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2022-09-19 14:49:59,119: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2022-09-19 14:49:59,160: DEBUG - + ynh_abort_if_errors
2022-09-19 14:49:59,161: DEBUG - + trap ynh_exit_properly EXIT
2022-09-19 14:49:59,161: DEBUG - + domain=md.maindomain.tld
2022-09-19 14:49:59,162: DEBUG - + path_url=/
2022-09-19 14:49:59,162: DEBUG - + is_public=1
2022-09-19 14:49:59,162: DEBUG - + app=hedgedoc
2022-09-19 14:49:59,409: INFO - [....................] > Validating installation parameters...
2022-09-19 14:49:59,410: DEBUG - + final_path=/var/www/hedgedoc
2022-09-19 14:49:59,410: DEBUG - + test '!' -e /var/www/hedgedoc
2022-09-19 14:49:59,411: DEBUG - + ynh_webpath_register --app=hedgedoc --domain=md.maindomain.tld --path_url=/
2022-09-19 14:49:59,603: DEBUG - + yunohost app register-url hedgedoc md.maindomain.tld /
2022-09-19 14:50:04,667: INFO - [....................] > Storing installation settings...
2022-09-19 14:50:04,667: DEBUG - + ynh_app_setting_set --app=hedgedoc --key=domain --value=md.maindomain.tld
2022-09-19 14:50:04,668: DEBUG - + local _globalapp=hedgedoc
2022-09-19 14:50:04,861: DEBUG - + app=hedgedoc
2022-09-19 14:50:04,861: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2022-09-19 14:50:04,862: DEBUG - + ynh_app_setting set hedgedoc domain md.maindomain.tld
2022-09-19 14:50:05,012: DEBUG - + ynh_app_setting_set --app=hedgedoc --key=path --value=/
2022-09-19 14:50:05,013: DEBUG - + local _globalapp=hedgedoc
2022-09-19 14:50:05,211: DEBUG - + app=hedgedoc
2022-09-19 14:50:05,212: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2022-09-19 14:50:05,212: DEBUG - + ynh_app_setting set hedgedoc path /
2022-09-19 14:50:05,580: INFO - [+...................] > Finding an available port...
(cutting this part out) no errors
2022-09-19 14:50:06,261: INFO - [#++++++.............] > Installing dependencies...
(cutting this part out) no errors
2022-09-19 14:53:29,546: INFO - [#######+............] > Configuring system user...
2022-09-19 14:53:30,273: INFO - [########+...........] > Creating a PostgreSQL database...
(cutting this part out) no errors
2022-09-19 14:53:46,256: INFO - [#########...........] > Setting up source files...
2022-09-19 14:53:46,257: DEBUG - + ynh_app_setting_set --app=hedgedoc --key=final_path --value=/var/www/hedgedoc
2022-09-19 14:53:46,258: DEBUG - + local _globalapp=hedgedoc
2022-09-19 14:53:46,468: DEBUG - + app=hedgedoc
2022-09-19 14:53:46,468: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2022-09-19 14:53:46,469: DEBUG - + ynh_app_setting set hedgedoc final_path /var/www/hedgedoc
2022-09-19 14:53:46,614: DEBUG - + ynh_setup_source --dest_dir=/var/www/hedgedoc
2022-09-19 14:53:46,713: DEBUG - + source_id=app
2022-09-19 14:53:46,714: DEBUG - + keep=
2022-09-19 14:53:46,715: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/conf/app.src
2022-09-19 14:53:46,719: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/conf/app.src
2022-09-19 14:53:46,719: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-19 14:53:46,727: DEBUG - + local src_url=https://github.com/hedgedoc/hedgedoc/releases/download/1.9.4/hedgedoc-1.9.4.tar.gz
2022-09-19 14:53:46,732: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/conf/app.src
2022-09-19 14:53:46,733: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-19 14:53:46,742: DEBUG - + local src_sum=f8ed595cb3b47eb71f22518e0a1e93ed120c44dcf1eb30136c16f530c4aaf0a7
2022-09-19 14:53:46,745: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/conf/app.src
2022-09-19 14:53:46,745: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-19 14:53:46,752: DEBUG - + local src_sumprg=sha256sum
2022-09-19 14:53:46,755: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/conf/app.src
2022-09-19 14:53:46,755: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-19 14:53:46,762: DEBUG - + local src_format=tar.gz
2022-09-19 14:53:46,765: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/conf/app.src
2022-09-19 14:53:46,765: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-19 14:53:46,772: DEBUG - + local src_extract=
2022-09-19 14:53:46,776: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/conf/app.src
2022-09-19 14:53:46,777: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-19 14:53:46,783: DEBUG - + local src_in_subdir=true
2022-09-19 14:53:46,787: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/conf/app.src
2022-09-19 14:53:46,787: DEBUG - ++ cut --delimiter== --fields=2-
2022-09-19 14:53:46,794: DEBUG - + local src_filename=
2022-09-19 14:53:46,794: DEBUG - + src_sumprg=sha256sum
2022-09-19 14:53:46,795: DEBUG - + src_in_subdir=true
2022-09-19 14:53:46,795: DEBUG - + src_format=tar.gz
2022-09-19 14:53:46,796: DEBUG - ++ echo tar.gz
2022-09-19 14:53:46,797: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2022-09-19 14:53:46,803: DEBUG - + src_format=tar.gz
2022-09-19 14:53:46,804: DEBUG - + src_extract=true
2022-09-19 14:53:46,804: DEBUG - + '[' '' = '' ']'
2022-09-19 14:53:46,804: DEBUG - + src_filename=app.tar.gz
2022-09-19 14:53:46,805: DEBUG - + local local_src=/opt/yunohost-apps-src/hedgedoc/app.tar.gz
2022-09-19 14:53:46,805: DEBUG - + mkdir -p /var/cache/yunohost/download/hedgedoc/
2022-09-19 14:53:46,808: DEBUG - + src_filename=/var/cache/yunohost/download/hedgedoc/app.tar.gz
2022-09-19 14:53:46,808: DEBUG - + test -e /opt/yunohost-apps-src/hedgedoc/app.tar.gz
2022-09-19 14:53:46,809: DEBUG - + '[' -n https://github.com/hedgedoc/hedgedoc/releases/download/1.9.4/hedgedoc-1.9.4.tar.gz ']'
2022-09-19 14:53:46,810: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/hedgedoc/app.tar.gz https://github.com/hedgedoc/hedgedoc/releases/download/1.9.4/hedgedoc-1.9.4.tar.gz
2022-09-19 14:53:58,533: DEBUG - + out='2022-09-19 14:53:58 URL:https://objects.githubusercontent.com/github-production-release-asset-2e65be/177987738/a09f6ad5-3828-417d-80fb-c06735b00741?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220919%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220919T115347Z&X-Amz-Expires=300&X-Amz-Signature=9a2f0e25c4950bc4cb98b7643f060cf82c6590f74d62c1dd83210dc4045a68ec&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=177987738&response-content-disposition=attachment%3B%20filename%3Dhedgedoc-1.9.4.tar.gz&response-content-type=application%2Foctet-stream [59340530/59340530] -> "/var/cache/yunohost/download/hedgedoc/app.tar.gz" [1]'
2022-09-19 14:53:58,534: DEBUG - + sha256sum --check --status
2022-09-19 14:53:59,172: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-09-19 14:53:59,176: DEBUG - + '[' -n '' ']'
2022-09-19 14:53:59,176: DEBUG - + mkdir --parents /var/www/hedgedoc
2022-09-19 14:53:59,180: DEBUG - + '[' -n /var/www/hedgedoc ']'
2022-09-19 14:53:59,181: DEBUG - + '[' /var/www/hedgedoc == /var/www/hedgedoc ']'
2022-09-19 14:53:59,181: DEBUG - + _ynh_apply_default_permissions /var/www/hedgedoc
2022-09-19 14:53:59,181: DEBUG - + local target=/var/www/hedgedoc
2022-09-19 14:53:59,184: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/manifest.json
2022-09-19 14:53:59,184: DEBUG - ++ tr -d '>= '
2022-09-19 14:53:59,281: DEBUG - + local ynh_requirement=4.3.0
2022-09-19 14:53:59,281: DEBUG - + '[' -z 4.3.0 ']'
2022-09-19 14:53:59,282: DEBUG - + '[' 4.3.0 == null ']'
2022-09-19 14:53:59,282: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2
2022-09-19 14:53:59,286: DEBUG - + chmod o-rwx /var/www/hedgedoc
2022-09-19 14:53:59,289: DEBUG - + chmod g-w /var/www/hedgedoc
2022-09-19 14:53:59,292: DEBUG - + chown -R root:root /var/www/hedgedoc
2022-09-19 14:53:59,302: DEBUG - + ynh_system_user_exists hedgedoc
2022-09-19 14:53:59,336: DEBUG - + getent passwd hedgedoc
2022-09-19 14:53:59,346: DEBUG - + chown hedgedoc:hedgedoc /var/www/hedgedoc
2022-09-19 14:53:59,357: DEBUG - + echo /var/www/hedgedoc
2022-09-19 14:53:59,358: DEBUG - + grep -q '^/etc/cron'
2022-09-19 14:53:59,363: DEBUG - + true
2022-09-19 14:53:59,363: DEBUG - + '[' tar.gz = zip ']'
2022-09-19 14:53:59,364: DEBUG - + local strip=
2022-09-19 14:53:59,364: DEBUG - + '[' true '!=' false ']'
2022-09-19 14:53:59,365: DEBUG - + '[' true == true ']'
2022-09-19 14:53:59,365: DEBUG - + local sub_dirs=1
2022-09-19 14:53:59,365: DEBUG - + strip='--strip-components 1'
2022-09-19 14:53:59,366: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2022-09-19 14:53:59,366: DEBUG - + tar --extract --file=/var/cache/yunohost/download/hedgedoc/app.tar.gz --directory=/var/www/hedgedoc --strip-components 1
2022-09-19 14:54:39,046: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/hedgedoc/app.tar.gz
2022-09-19 14:54:39,578: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/sources/patches/ ']'
2022-09-19 14:54:39,579: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/sources/extra_files/app
2022-09-19 14:54:39,579: DEBUG - + '[' -n '' ']'
2022-09-19 14:54:39,580: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-09-19 14:54:39,584: DEBUG - + chmod 750 /var/www/hedgedoc
2022-09-19 14:54:39,589: DEBUG - + chmod -R o-rwx /var/www/hedgedoc
2022-09-19 14:54:39,717: DEBUG - + chown -R hedgedoc:www-data /var/www/hedgedoc
2022-09-19 14:54:40,063: INFO - [#########+..........] > Configuring NGINX web server...
2022-09-19 14:54:40,065: DEBUG - + ynh_add_nginx_config
2022-09-19 14:54:40,065: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:54:40,066: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/conf/nginx.conf --destination=/etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:54:40,165: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/conf//var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/conf/nginx.conf ']'
2022-09-19 14:54:40,166: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/conf/nginx.conf ']'
2022-09-19 14:54:40,166: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/conf/nginx.conf
2022-09-19 14:54:40,167: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:54:40,199: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_md.maindomain.tld.d_hedgedoc.conf
2022-09-19 14:54:40,201: DEBUG - ++ ynh_app_setting_get --app=hedgedoc --key=checksum__etc_nginx_conf.d_md.maindomain.tld.d_hedgedoc.conf
2022-09-19 14:54:40,202: DEBUG - ++ local _globalapp=hedgedoc
2022-09-19 14:54:40,317: DEBUG - ++ app=hedgedoc
2022-09-19 14:54:40,318: DEBUG - ++ [[ checksum__etc_nginx_conf.d_md.maindomain.tld.d_hedgedoc.conf =~ (unprotected|protected|skipped)_ ]]
2022-09-19 14:54:40,318: DEBUG - ++ ynh_app_setting get hedgedoc checksum__etc_nginx_conf.d_md.maindomain.tld.d_hedgedoc.conf
2022-09-19 14:54:40,494: DEBUG - + local checksum_value=
2022-09-19 14:54:40,495: DEBUG - + backup_file_checksum=
2022-09-19 14:54:40,495: DEBUG - + '[' -n '' ']'
2022-09-19 14:54:40,496: DEBUG - + touch /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:54:40,498: DEBUG - + chown root:root /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:54:40,502: DEBUG - + chmod 640 /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:54:40,505: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/conf/nginx.conf /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:54:40,510: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:54:40,511: DEBUG - + local target=/etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:54:40,513: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/manifest.json
2022-09-19 14:54:40,514: DEBUG - ++ tr -d '>= '
2022-09-19 14:54:40,611: DEBUG - + local ynh_requirement=4.3.0
2022-09-19 14:54:40,611: DEBUG - + '[' -z 4.3.0 ']'
2022-09-19 14:54:40,611: DEBUG - + '[' 4.3.0 == null ']'
2022-09-19 14:54:40,612: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2
2022-09-19 14:54:40,615: DEBUG - + chmod o-rwx /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:54:40,619: DEBUG - + chmod g-w /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:54:40,622: DEBUG - + chown -R root:root /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:54:40,625: DEBUG - + ynh_system_user_exists hedgedoc
2022-09-19 14:54:40,661: DEBUG - + getent passwd hedgedoc
2022-09-19 14:54:40,666: DEBUG - + chown hedgedoc:hedgedoc /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:54:40,672: DEBUG - + echo /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:54:40,673: DEBUG - + grep -q '^/etc/cron'
2022-09-19 14:54:40,678: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:54:40,710: DEBUG - + test -n /
2022-09-19 14:54:40,711: DEBUG - + local path_url_slash_less=
2022-09-19 14:54:40,711: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:54:40,938: DEBUG - + sed --in-place s@__PATH__/@/@g /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:00,046: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:00,389: DEBUG - + sed --in-place s@__PATH__@/@g /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:00,621: DEBUG - + test -n hedgedoc
2022-09-19 14:55:00,622: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=hedgedoc --target_file=/etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:00,964: DEBUG - + sed --in-place s@__NAME__@hedgedoc@g /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:10,459: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=hedgedoc --target_file=/etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:10,816: DEBUG - + sed --in-place s@__NAMETOCHANGE__@hedgedoc@g /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:10,870: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=hedgedoc --target_file=/etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:11,213: DEBUG - + sed --in-place s@__USER__@hedgedoc@g /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:17,701: DEBUG - + test -n /var/www/hedgedoc
2022-09-19 14:55:17,702: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/hedgedoc --target_file=/etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:18,059: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/hedgedoc@g /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:21,613: DEBUG - + test -n 7.4
2022-09-19 14:55:21,614: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:21,882: DEBUG - + sed --in-place s@__PHPVERSION__@7.4@g /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:21,888: DEBUG - + test -n PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-09-19 14:55:21,889: DEBUG - + ynh_replace_string --match_string=__YNH_NODE_LOAD_PATH__ --replace_string=PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --target_file=/etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:22,109: DEBUG - + sed --in-place s@__YNH_NODE_LOAD_PATH__@PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin@g /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:22,181: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:22,182: DEBUG - ++ sort --unique
2022-09-19 14:55:22,183: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2022-09-19 14:55:22,191: DEBUG - + uniques_vars=('port')
2022-09-19 14:55:22,192: DEBUG - + local delimit=@
2022-09-19 14:55:22,193: DEBUG - + for one_var in "${uniques_vars[@]}"
2022-09-19 14:55:22,193: DEBUG - + [[ -v port ]]
2022-09-19 14:55:22,193: DEBUG - + match_string=__PORT__
2022-09-19 14:55:22,193: DEBUG - + match_string=__PORT__
2022-09-19 14:55:22,194: DEBUG - + replace_string=3000
2022-09-19 14:55:22,194: DEBUG - + replace_string=3000
2022-09-19 14:55:22,194: DEBUG - + replace_string=3000
2022-09-19 14:55:22,195: DEBUG - + sed --in-place s@__PORT__@3000@g /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:22,422: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:22,425: DEBUG - + update_only=0
2022-09-19 14:55:22,523: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_md.maindomain.tld.d_hedgedoc.conf
2022-09-19 14:55:22,527: DEBUG - ++ md5sum /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:22,528: DEBUG - ++ cut '--delimiter= ' --fields=1
2022-09-19 14:55:22,534: DEBUG - + ynh_app_setting_set --app=hedgedoc --key=checksum__etc_nginx_conf.d_md.maindomain.tld.d_hedgedoc.conf --value=3ae20736560470b9bb1f56916f562934
2022-09-19 14:55:22,535: DEBUG - + local _globalapp=hedgedoc
2022-09-19 14:55:22,762: DEBUG - + app=hedgedoc
2022-09-19 14:55:22,763: DEBUG - + [[ checksum__etc_nginx_conf.d_md.maindomain.tld.d_hedgedoc.conf =~ (unprotected|protected|skipped)_ ]]
2022-09-19 14:55:22,763: DEBUG - + ynh_app_setting set hedgedoc checksum__etc_nginx_conf.d_md.maindomain.tld.d_hedgedoc.conf 3ae20736560470b9bb1f56916f562934
2022-09-19 14:55:22,910: DEBUG - + '[' -n '' ']'
2022-09-19 14:55:22,911: DEBUG - + unset backup_file_checksum
2022-09-19 14:55:22,911: DEBUG - + '[' / '!=' / ']'
2022-09-19 14:55:22,912: DEBUG - + ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:23,127: DEBUG - + sed --in-place 's@^#root_path_only@@g' /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:23,133: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:23,135: DEBUG - + update_only=0
2022-09-19 14:55:23,193: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_md.maindomain.tld.d_hedgedoc.conf
2022-09-19 14:55:23,196: DEBUG - ++ md5sum /etc/nginx/conf.d/md.maindomain.tld.d/hedgedoc.conf
2022-09-19 14:55:23,197: DEBUG - ++ cut '--delimiter= ' --fields=1
2022-09-19 14:55:23,203: DEBUG - + ynh_app_setting_set --app=hedgedoc --key=checksum__etc_nginx_conf.d_md.maindomain.tld.d_hedgedoc.conf --value=3ae20736560470b9bb1f56916f562934
2022-09-19 14:55:23,204: DEBUG - + local _globalapp=hedgedoc
2022-09-19 14:55:23,526: DEBUG - + app=hedgedoc
2022-09-19 14:55:23,527: DEBUG - + [[ checksum__etc_nginx_conf.d_md.maindomain.tld.d_hedgedoc.conf =~ (unprotected|protected|skipped)_ ]]
2022-09-19 14:55:23,528: DEBUG - + ynh_app_setting set hedgedoc checksum__etc_nginx_conf.d_md.maindomain.tld.d_hedgedoc.conf 3ae20736560470b9bb1f56916f562934
2022-09-19 14:55:23,704: DEBUG - + '[' -n '' ']'
2022-09-19 14:55:23,705: DEBUG - + unset backup_file_checksum
2022-09-19 14:55:23,705: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2022-09-19 14:55:23,985: DEBUG - + service_name=nginx
2022-09-19 14:55:24,000: DEBUG - + action=reload
2022-09-19 14:55:24,000: DEBUG - + line_match=
2022-09-19 14:55:24,001: DEBUG - + length=20
2022-09-19 14:55:24,002: DEBUG - + log_path=/var/log/nginx/nginx.log
2022-09-19 14:55:24,002: DEBUG - + timeout=300
2022-09-19 14:55:24,003: DEBUG - + '[' reload == stop ']'
2022-09-19 14:55:24,004: DEBUG - + '[' reload == reload ']'
2022-09-19 14:55:24,004: DEBUG - + action=reload-or-restart
2022-09-19 14:55:24,005: DEBUG - + systemctl reload-or-restart nginx
2022-09-19 14:55:24,675: INFO - [##########++++++....] > Building HedgeDoc... (this will take some time and resources!)
2022-09-19 14:55:24,677: DEBUG - + pushd /var/www/hedgedoc
2022-09-19 14:55:24,677: DEBUG - /var/www/hedgedoc /var/cache/yunohost/app_tmp_work_dirs/app_9u1_ydnm/scripts
2022-09-19 14:55:24,678: DEBUG - + ynh_use_nodejs
2022-09-19 14:55:24,678: DEBUG - ++ ynh_app_setting_get --app=hedgedoc --key=nodejs_version
2022-09-19 14:55:24,679: DEBUG - ++ local _globalapp=hedgedoc
2022-09-19 14:55:24,789: DEBUG - ++ app=hedgedoc
2022-09-19 14:55:24,789: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2022-09-19 14:55:24,790: DEBUG - ++ ynh_app_setting get hedgedoc nodejs_version
2022-09-19 14:55:24,959: DEBUG - + nodejs_version=16
2022-09-19 14:55:24,960: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/16/bin
2022-09-19 14:55:24,960: DEBUG - + shopt -s expand_aliases
2022-09-19 14:55:24,961: DEBUG - + ynh_node=/opt/node_n/n/versions/node/16/bin/node
2022-09-19 14:55:24,962: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/16/bin/node
2022-09-19 14:55:24,962: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/16/bin/npm
2022-09-19 14:55:24,963: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/16/bin/npm
2022-09-19 14:55:24,963: DEBUG - + [[ :/opt/node_n/n/versions/node/16/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\6\/\b\i\n* ]]
2022-09-19 14:55:24,964: DEBUG - + node_PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-09-19 14:55:24,964: DEBUG - + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-09-19 14:55:24,965: DEBUG - + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-09-19 14:55:24,965: DEBUG - + bin/setup
2022-09-19 14:55:25,802: DEBUG - Copying config files...
2022-09-19 14:55:25,806: DEBUG - Installing packages...
2022-09-19 14:55:26,534: DEBUG - yarn install v1.22.19
2022-09-19 14:55:26,980: DEBUG - [1/5] Validating package.json...
2022-09-19 14:55:27,000: DEBUG - [2/5] Resolving packages...
2022-09-19 14:55:29,012: DEBUG - [3/5] Fetching packages...
2022-09-19 14:55:31,989: DEBUG - [4/5] Linking dependencies...
2022-09-19 14:55:31,999: WARNING - warning " > connect-session-sequelize@7.1.4" has incorrect peer dependency "sequelize@>= 6.1.0".
2022-09-19 14:57:12,197: DEBUG - [5/5] Building fresh packages...
2022-09-19 14:57:15,294: WARNING - warning Error running install script for optional dependency: "/var/www/hedgedoc/node_modules/utf-8-validate: Command failed.
2022-09-19 14:57:15,295: WARNING - Exit code: 1
2022-09-19 14:57:15,296: WARNING - Command: node-gyp-build
2022-09-19 14:57:15,297: WARNING - Arguments:
2022-09-19 14:57:15,298: WARNING - Directory: /var/www/hedgedoc/node_modules/utf-8-validate
2022-09-19 14:57:15,299: WARNING - Output:
2022-09-19 14:57:15,300: WARNING - gyp info it worked if it ends with ok
2022-09-19 14:57:15,301: WARNING - gyp info using node-gyp@9.0.0
2022-09-19 14:57:15,302: WARNING - gyp info using node@16.17.0 | linux | arm
2022-09-19 14:57:15,303: WARNING - gyp info find Python using Python version 3.9.2 found at \"/usr/bin/python3\"
2022-09-19 14:57:15,306: WARNING - gyp info spawn /usr/bin/python3
2022-09-19 14:57:15,307: WARNING - gyp info spawn args [
2022-09-19 14:57:15,309: WARNING - gyp info spawn args   '/opt/node_n/n/versions/node/16.17.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
2022-09-19 14:57:15,311: WARNING - gyp info spawn args   'binding.gyp',
2022-09-19 14:57:15,313: WARNING - gyp info spawn args   '-f',
2022-09-19 14:57:15,315: WARNING - gyp info spawn args   'make',
2022-09-19 14:57:15,318: WARNING - gyp info spawn args   '-I',
2022-09-19 14:57:15,319: WARNING - gyp info spawn args   '/var/www/hedgedoc/node_modules/utf-8-validate/build/config.gypi',
2022-09-19 14:57:15,322: WARNING - gyp info spawn args   '-I',
2022-09-19 14:57:15,324: WARNING - gyp info spawn args   '/opt/node_n/n/versions/node/16.17.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
2022-09-19 14:57:15,326: WARNING - gyp info spawn args   '-I',
2022-09-19 14:57:15,328: WARNING - gyp info spawn args   '/root/.cache/node-gyp/16.17.0/include/node/common.gypi',
2022-09-19 14:57:15,330: WARNING - gyp info spawn args   '-Dlibrary=shared_library',
2022-09-19 14:57:15,331: WARNING - gyp info spawn args   '-Dvisibility=default',
2022-09-19 14:57:15,332: WARNING - gyp info spawn args   '-Dnode_root_dir=/root/.cache/node-gyp/16.17.0',
2022-09-19 14:57:15,334: WARNING - gyp info spawn args   '-Dnode_gyp_dir=/opt/node_n/n/versions/node/16.17.0/lib/node_modules/npm/node_modules/node-gyp',
2022-09-19 14:57:15,335: WARNING - gyp info spawn args   '-Dnode_lib_file=/root/.cache/node-gyp/16.17.0/<(target_arch)/node.lib',
2022-09-19 14:57:15,337: WARNING - gyp info spawn args   '-Dmodule_root_dir=/var/www/hedgedoc/node_modules/utf-8-validate',
2022-09-19 14:57:15,340: WARNING - gyp info spawn args   '-Dnode_engine=v8',
2022-09-19 14:57:15,341: WARNING - gyp info spawn args   '--depth=.',
2022-09-19 14:57:15,343: WARNING - gyp info spawn args   '--no-parallel',
2022-09-19 14:57:15,345: WARNING - gyp info spawn args   '--generator-output',
2022-09-19 14:57:15,350: WARNING - gyp info spawn args   'build',
2022-09-19 14:57:15,351: WARNING - gyp info spawn args   '-Goutput_dir=.'
2022-09-19 14:57:15,353: WARNING - gyp info spawn args ]
2022-09-19 14:57:15,354: WARNING - gyp info spawn make
2022-09-19 14:57:15,355: WARNING - gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
2022-09-19 14:57:15,356: WARNING - make: Entering directory '/var/www/hedgedoc/node_modules/utf-8-validate/build'
2022-09-19 14:57:15,357: WARNING -   CC(target) Release/obj.target/validation/src/validation.o
2022-09-19 14:57:15,358: WARNING -   SOLINK_MODULE(target) Release/obj.target/validation.node
2022-09-19 14:57:15,360: WARNING - make: g++: No such file or directory
2022-09-19 14:57:15,361: WARNING - make: *** [validation.target.mk:137: Release/obj.target/validation.node] Error 127
2022-09-19 14:57:15,362: WARNING - make: Leaving directory '/var/www/hedgedoc/node_modules/utf-8-validate/build'
2022-09-19 14:57:15,363: WARNING - gyp ERR! build error
2022-09-19 14:57:15,365: WARNING - gyp ERR! stack Error: `make` failed with exit code: 2
2022-09-19 14:57:15,366: WARNING - gyp ERR! stack     at ChildProcess.onExit (/opt/node_n/n/versions/node/16.17.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
2022-09-19 14:57:15,367: WARNING - gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
2022-09-19 14:57:15,376: WARNING - gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
2022-09-19 14:57:15,377: WARNING - gyp ERR! System Linux 5.15.61-v7l+
2022-09-19 14:57:15,378: WARNING - gyp ERR! command \"/opt/node_n/n/versions/node/16.17.0/bin/node\" \"/opt/node_n/n/versions/node/16.17.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"
2022-09-19 14:57:15,379: WARNING - gyp ERR! cwd /var/www/hedgedoc/node_modules/utf-8-validate
2022-09-19 14:57:15,380: WARNING - gyp ERR! node -v v16.17.0
2022-09-19 14:57:15,381: WARNING - gyp ERR! node-gyp -v v9.0.0
2022-09-19 14:57:15,382: WARNING - gyp ERR! not ok"
2022-09-19 14:57:15,382: DEBUG - info This module is OPTIONAL, you can safely ignore this error
2022-09-19 14:57:15,544: WARNING - warning Error running install script for optional dependency: "/var/www/hedgedoc/node_modules/bufferutil: Command failed.
2022-09-19 14:57:15,545: WARNING - Exit code: 1
2022-09-19 14:57:15,546: WARNING - Command: node-gyp-build
2022-09-19 14:57:15,547: WARNING - Arguments:
2022-09-19 14:57:15,548: WARNING - Directory: /var/www/hedgedoc/node_modules/bufferutil
2022-09-19 14:57:15,549: WARNING - Output:
2022-09-19 14:57:15,549: WARNING - gyp info it worked if it ends with ok
2022-09-19 14:57:15,550: WARNING - gyp info using node-gyp@9.0.0
2022-09-19 14:57:15,551: WARNING - gyp info using node@16.17.0 | linux | arm
2022-09-19 14:57:15,552: WARNING - gyp info find Python using Python version 3.9.2 found at \"/usr/bin/python3\"
2022-09-19 14:57:15,553: WARNING - gyp info spawn /usr/bin/python3
2022-09-19 14:57:15,553: WARNING - gyp info spawn args [
2022-09-19 14:57:15,554: WARNING - gyp info spawn args   '/opt/node_n/n/versions/node/16.17.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
2022-09-19 14:57:15,555: WARNING - gyp info spawn args   'binding.gyp',
2022-09-19 14:57:15,556: WARNING - gyp info spawn args   '-f',
2022-09-19 14:57:15,557: WARNING - gyp info spawn args   'make',
2022-09-19 14:57:15,558: WARNING - gyp info spawn args   '-I',
2022-09-19 14:57:15,558: WARNING - gyp info spawn args   '/var/www/hedgedoc/node_modules/bufferutil/build/config.gypi',
2022-09-19 14:57:15,559: WARNING - gyp info spawn args   '-I',
2022-09-19 14:57:15,560: WARNING - gyp info spawn args   '/opt/node_n/n/versions/node/16.17.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
2022-09-19 14:57:15,561: WARNING - gyp info spawn args   '-I',
2022-09-19 14:57:15,562: WARNING - gyp info spawn args   '/root/.cache/node-gyp/16.17.0/include/node/common.gypi',
2022-09-19 14:57:15,563: WARNING - gyp info spawn args   '-Dlibrary=shared_library',
2022-09-19 14:57:15,564: WARNING - gyp info spawn args   '-Dvisibility=default',
2022-09-19 14:57:15,564: WARNING - gyp info spawn args   '-Dnode_root_dir=/root/.cache/node-gyp/16.17.0',
2022-09-19 14:57:15,565: WARNING - gyp info spawn args   '-Dnode_gyp_dir=/opt/node_n/n/versions/node/16.17.0/lib/node_modules/npm/node_modules/node-gyp',
2022-09-19 14:57:15,566: WARNING - gyp info spawn args   '-Dnode_lib_file=/root/.cache/node-gyp/16.17.0/<(target_arch)/node.lib',
2022-09-19 14:57:15,567: WARNING - gyp info spawn args   '-Dmodule_root_dir=/var/www/hedgedoc/node_modules/bufferutil',
2022-09-19 14:57:15,567: WARNING - gyp info spawn args   '-Dnode_engine=v8',
2022-09-19 14:57:15,568: WARNING - gyp info spawn args   '--depth=.',
2022-09-19 14:57:15,568: WARNING - gyp info spawn args   '--no-parallel',
2022-09-19 14:57:15,569: WARNING - gyp info spawn args   '--generator-output',
2022-09-19 14:57:15,570: WARNING - gyp info spawn args   'build',
2022-09-19 14:57:15,570: WARNING - gyp info spawn args   '-Goutput_dir=.'
2022-09-19 14:57:15,571: WARNING - gyp info spawn args ]
2022-09-19 14:57:15,571: WARNING - gyp info spawn make
2022-09-19 14:57:15,572: WARNING - gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
2022-09-19 14:57:15,573: WARNING - make: Entering directory '/var/www/hedgedoc/node_modules/bufferutil/build'
2022-09-19 14:57:15,573: WARNING -   CC(target) Release/obj.target/bufferutil/src/bufferutil.o
2022-09-19 14:57:15,574: WARNING -   SOLINK_MODULE(target) Release/obj.target/bufferutil.node
2022-09-19 14:57:15,574: WARNING - make: Leaving directory '/var/www/hedgedoc/node_modules/bufferutil/build'
2022-09-19 14:57:15,575: WARNING - make: g++: No such file or directory
2022-09-19 14:57:15,575: WARNING - make: *** [bufferutil.target.mk:137: Release/obj.target/bufferutil.node] Error 127
2022-09-19 14:57:15,576: WARNING - gyp ERR! build error
2022-09-19 14:57:15,577: WARNING - gyp ERR! stack Error: `make` failed with exit code: 2
2022-09-19 14:57:15,577: WARNING - gyp ERR! stack     at ChildProcess.onExit (/opt/node_n/n/versions/node/16.17.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
2022-09-19 14:57:15,578: WARNING - gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
2022-09-19 14:57:15,578: WARNING - gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
2022-09-19 14:57:15,579: WARNING - gyp ERR! System Linux 5.15.61-v7l+
2022-09-19 14:57:15,580: WARNING - gyp ERR! command \"/opt/node_n/n/versions/node/16.17.0/bin/node\" \"/opt/node_n/n/versions/node/16.17.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"
2022-09-19 14:57:15,580: WARNING - gyp ERR! cwd /var/www/hedgedoc/node_modules/bufferutil
2022-09-19 14:57:15,581: WARNING - gyp ERR! node -v v16.17.0
2022-09-19 14:57:15,581: WARNING - gyp ERR! node-gyp -v v9.0.0
2022-09-19 14:57:15,582: WARNING - gyp ERR! not ok"
2022-09-19 14:57:15,582: DEBUG - info This module is OPTIONAL, you can safely ignore this error
2022-09-19 15:01:00,116: WARNING - error /var/www/hedgedoc/node_modules/sqlite3: Command failed.
2022-09-19 15:01:00,118: WARNING - Exit code: 1
2022-09-19 15:01:00,118: WARNING - Command: node-pre-gyp install --fallback-to-build
2022-09-19 15:01:00,119: WARNING - Arguments:
2022-09-19 15:01:00,119: WARNING - Directory: /var/www/hedgedoc/node_modules/sqlite3
2022-09-19 15:01:00,120: WARNING - Output:
2022-09-19 15:01:00,120: WARNING - node-pre-gyp info it worked if it ends with ok
2022-09-19 15:01:00,120: WARNING - node-pre-gyp info using node-pre-gyp@1.0.9
2022-09-19 15:01:00,121: WARNING - node-pre-gyp info using node@16.17.0 | linux | arm
2022-09-19 15:01:00,122: WARNING - node-pre-gyp info check checked for "/var/www/hedgedoc/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-arm/node_sqlite3.node" (not found)
2022-09-19 15:01:00,122: WARNING - node-pre-gyp http GET https://github.com/TryGhost/node-sqlite3/releases/download/v5.0.8/napi-v6-linux-glibc-arm.tar.gz
2022-09-19 15:01:00,123: WARNING - node-pre-gyp ERR! install response status 404 Not Found on https://github.com/TryGhost/node-sqlite3/releases/download/v5.0.8/napi-v6-linux-glibc-arm.tar.gz
2022-09-19 15:01:00,124: WARNING - node-pre-gyp WARN Pre-built binaries not installable for sqlite3@5.0.8 and node@16.17.0 (node-v93 ABI, glibc) (falling back to source compile with node-gyp)
2022-09-19 15:01:00,124: WARNING - node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/TryGhost/node-sqlite3/releases/download/v5.0.8/napi-v6-linux-glibc-arm.tar.gz
2022-09-19 15:01:00,125: WARNING - gyp info it worked if it ends with ok
2022-09-19 15:01:00,125: WARNING - gyp info using node-gyp@8.4.1
2022-09-19 15:01:00,126: WARNING - gyp info using node@16.17.0 | linux | arm
2022-09-19 15:01:00,127: WARNING - gyp info ok
2022-09-19 15:01:00,127: WARNING - gyp info it worked if it ends with ok
2022-09-19 15:01:00,128: WARNING - gyp info using node-gyp@8.4.1
2022-09-19 15:01:00,128: WARNING - gyp info using node@16.17.0 | linux | arm
2022-09-19 15:01:00,129: WARNING - gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
2022-09-19 15:01:00,130: WARNING - gyp info spawn /usr/bin/python3
2022-09-19 15:01:00,130: WARNING - gyp info spawn args [
2022-09-19 15:01:00,131: WARNING - gyp info spawn args   '/var/www/hedgedoc/node_modules/node-gyp/gyp/gyp_main.py',
2022-09-19 15:01:00,131: WARNING - gyp info spawn args   'binding.gyp',
2022-09-19 15:01:00,132: WARNING - gyp info spawn args   '-f',
2022-09-19 15:01:00,132: WARNING - gyp info spawn args   'make',
2022-09-19 15:01:00,133: WARNING - gyp info spawn args   '-I',
2022-09-19 15:01:00,133: WARNING - gyp info spawn args   '/var/www/hedgedoc/node_modules/sqlite3/build/config.gypi',
2022-09-19 15:01:00,134: WARNING - gyp info spawn args   '-I',
2022-09-19 15:01:00,135: WARNING - gyp info spawn args   '/var/www/hedgedoc/node_modules/node-gyp/addon.gypi',
2022-09-19 15:01:00,135: WARNING - gyp info spawn args   '-I',
2022-09-19 15:01:00,136: WARNING - gyp info spawn args   '/root/.cache/node-gyp/16.17.0/include/node/common.gypi',
2022-09-19 15:01:00,137: WARNING - gyp info spawn args   '-Dlibrary=shared_library',
2022-09-19 15:01:00,138: WARNING - gyp info spawn args   '-Dvisibility=default',
2022-09-19 15:01:00,139: WARNING - gyp info spawn args   '-Dnode_root_dir=/root/.cache/node-gyp/16.17.0',
2022-09-19 15:01:00,139: WARNING - gyp info spawn args   '-Dnode_gyp_dir=/var/www/hedgedoc/node_modules/node-gyp',
2022-09-19 15:01:00,140: WARNING - gyp info spawn args   '-Dnode_lib_file=/root/.cache/node-gyp/16.17.0/<(target_arch)/node.lib',
2022-09-19 15:01:00,141: WARNING - gyp info spawn args   '-Dmodule_root_dir=/var/www/hedgedoc/node_modules/sqlite3',
2022-09-19 15:01:00,141: WARNING - gyp info spawn args   '-Dnode_engine=v8',
2022-09-19 15:01:00,142: WARNING - gyp info spawn args   '--depth=.',
2022-09-19 15:01:00,142: WARNING - gyp info spawn args   '--no-parallel',
2022-09-19 15:01:00,143: WARNING - gyp info spawn args   '--generator-output',
2022-09-19 15:01:00,143: WARNING - gyp info spawn args   'build',
2022-09-19 15:01:00,144: WARNING - gyp info spawn args   '-Goutput_dir=.'
2022-09-19 15:01:00,144: WARNING - gyp info spawn args ]
2022-09-19 15:01:00,145: WARNING - gyp info ok
2022-09-19 15:01:00,145: WARNING - gyp info it worked if it ends with ok
2022-09-19 15:01:00,146: WARNING - gyp info using node-gyp@8.4.1
2022-09-19 15:01:00,147: WARNING - gyp info using node@16.17.0 | linux | arm
2022-09-19 15:01:00,149: WARNING - gyp info spawn make
2022-09-19 15:01:00,150: WARNING - gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
2022-09-19 15:01:00,151: WARNING - make: Entering directory '/var/www/hedgedoc/node_modules/sqlite3/build'
2022-09-19 15:01:00,151: WARNING -   CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
2022-09-19 15:01:00,153: WARNING -   AR(target) Release/obj.target/../node-addon-api/nothing.a
2022-09-19 15:01:00,154: WARNING -   COPY Release/nothing.a
2022-09-19 15:01:00,155: WARNING -   ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c
2022-09-19 15:01:00,155: WARNING -   TOUCH Release/obj.target/deps/action_before_build.stamp
2022-09-19 15:01:00,156: WARNING -   CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3380400/sqlite3.o
2022-09-19 15:01:00,156: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c: In function ‘sqlite3ResultStrAccum’:
2022-09-19 15:01:00,157: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:14524:27: warning: cast between incompatible function types from ‘void * (*)(sqlite3 *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
2022-09-19 15:01:00,157: WARNING - 14524 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3OomFault)
2022-09-19 15:01:00,158: WARNING -       |                           ^
2022-09-19 15:01:00,158: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:30530:51: note: in expansion of macro ‘SQLITE_DYNAMIC’
2022-09-19 15:01:00,159: WARNING - 30530 |     sqlite3_result_text(pCtx, p->zText, p->nChar, SQLITE_DYNAMIC);
2022-09-19 15:01:00,159: WARNING -       |                                                   ^~~~~~~~~~~~~~
2022-09-19 15:01:00,159: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c: In function ‘sqlite3ErrorWithMsg’:
2022-09-19 15:01:00,160: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:14524:27: warning: cast between incompatible function types from ‘void * (*)(sqlite3 *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
2022-09-19 15:01:00,160: WARNING - 14524 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3OomFault)
2022-09-19 15:01:00,161: WARNING -       |                           ^
2022-09-19 15:01:00,161: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:32763:54: note: in expansion of macro ‘SQLITE_DYNAMIC’
2022-09-19 15:01:00,162: WARNING - 32763 |     sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC);
2022-09-19 15:01:00,162: WARNING -       |                                                      ^~~~~~~~~~~~~~
2022-09-19 15:01:00,162: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c: In function ‘sqlite3VdbeMemSetStr’:
2022-09-19 15:01:00,163: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:14524:27: warning: cast between incompatible function types from ‘void * (*)(sqlite3 *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
2022-09-19 15:01:00,163: WARNING - 14524 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3OomFault)
2022-09-19 15:01:00,164: WARNING -       |                           ^
2022-09-19 15:01:00,164: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:79018:15: note: in expansion of macro ‘SQLITE_DYNAMIC’
2022-09-19 15:01:00,165: WARNING - 79018 |     if( xDel==SQLITE_DYNAMIC ){
2022-09-19 15:01:00,165: WARNING -       |               ^~~~~~~~~~~~~~
2022-09-19 15:01:00,165: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c: In function ‘valueFromExpr’:
2022-09-19 15:01:00,166: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:14524:27: warning: cast between incompatible function types from ‘void * (*)(sqlite3 *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
2022-09-19 15:01:00,166: WARNING - 14524 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3OomFault)
2022-09-19 15:01:00,167: WARNING -       |                           ^
2022-09-19 15:01:00,167: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:79430:55: note: in expansion of macro ‘SQLITE_DYNAMIC’
2022-09-19 15:01:00,168: WARNING - 79430 |       sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
2022-09-19 15:01:00,168: WARNING -       |                                                       ^~~~~~~~~~~~~~
2022-09-19 15:01:00,169: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:14524:27: warning: cast between incompatible function types from ‘void * (*)(sqlite3 *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
2022-09-19 15:01:00,169: WARNING - 14524 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3OomFault)
2022-09-19 15:01:00,169: WARNING -       |                           ^
2022-09-19 15:01:00,170: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:79483:29: note: in expansion of macro ‘SQLITE_DYNAMIC’
2022-09-19 15:01:00,170: WARNING - 79483 |                          0, SQLITE_DYNAMIC);
2022-09-19 15:01:00,171: WARNING -       |                             ^~~~~~~~~~~~~~
2022-09-19 15:01:00,171: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c: In function ‘printfFunc’:
2022-09-19 15:01:00,171: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:14524:27: warning: cast between incompatible function types from ‘void * (*)(sqlite3 *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
2022-09-19 15:01:00,172: WARNING - 14524 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3OomFault)
2022-09-19 15:01:00,172: WARNING -       |                           ^
2022-09-19 15:01:00,173: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:121402:25: note: in expansion of macro ‘SQLITE_DYNAMIC’
2022-09-19 15:01:00,173: WARNING - 121402 |                         SQLITE_DYNAMIC);
2022-09-19 15:01:00,174: WARNING -        |                         ^~~~~~~~~~~~~~
2022-09-19 15:01:00,174: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c: In function ‘quoteFunc’:
2022-09-19 15:01:00,174: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:14524:27: warning: cast between incompatible function types from ‘void * (*)(sqlite3 *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
2022-09-19 15:01:00,175: WARNING - 14524 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3OomFault)
2022-09-19 15:01:00,175: WARNING -       |                           ^
2022-09-19 15:01:00,176: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:122229:23: note: in expansion of macro ‘SQLITE_DYNAMIC’
2022-09-19 15:01:00,176: WARNING - 122229 |                       SQLITE_DYNAMIC);
2022-09-19 15:01:00,177: WARNING -        |                       ^~~~~~~~~~~~~~
2022-09-19 15:01:00,177: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c: In function ‘sqlite3GenerateColumnNames’:
2022-09-19 15:01:00,177: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:14524:27: warning: cast between incompatible function types from ‘void * (*)(sqlite3 *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
2022-09-19 15:01:00,178: WARNING - 14524 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3OomFault)
2022-09-19 15:01:00,178: WARNING -       |                           ^
2022-09-19 15:01:00,179: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:136299:58: note: in expansion of macro ‘SQLITE_DYNAMIC’
2022-09-19 15:01:00,179: WARNING - 136299 |         sqlite3VdbeSetColName(v, i, COLNAME_NAME, zName, SQLITE_DYNAMIC);
2022-09-19 15:01:00,180: WARNING -        |                                                          ^~~~~~~~~~~~~~
2022-09-19 15:01:00,180: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:14524:27: warning: cast between incompatible function types from ‘void * (*)(sqlite3 *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
2022-09-19 15:01:00,180: WARNING - 14524 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3OomFault)
2022-09-19 15:01:00,181: WARNING -       |                           ^
2022-09-19 15:01:00,181: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:136306:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
2022-09-19 15:01:00,182: WARNING - 136306 |       sqlite3VdbeSetColName(v, i, COLNAME_NAME, z, SQLITE_DYNAMIC);
2022-09-19 15:01:00,182: WARNING -        |                                                    ^~~~~~~~~~~~~~
2022-09-19 15:01:00,182: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c: In function ‘cellArea’:
2022-09-19 15:01:00,183: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197997:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-09-19 15:01:00,183: WARNING - 197997 |       case 5:  area  = p->aCoord[9].f - p->aCoord[8].f;
2022-09-19 15:01:00,184: WARNING -        |                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-09-19 15:01:00,184: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197998:7: note: here
2022-09-19 15:01:00,185: WARNING - 197998 |       case 4:  area *= p->aCoord[7].f - p->aCoord[6].f;
2022-09-19 15:01:00,185: WARNING -        |       ^~~~
2022-09-19 15:01:00,185: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197998:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-09-19 15:01:00,186: WARNING - 197998 |       case 4:  area *= p->aCoord[7].f - p->aCoord[6].f;
2022-09-19 15:01:00,186: WARNING -        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-09-19 15:01:00,187: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197999:7: note: here
2022-09-19 15:01:00,187: WARNING - 197999 |       case 3:  area *= p->aCoord[5].f - p->aCoord[4].f;
2022-09-19 15:01:00,187: WARNING -        |       ^~~~
2022-09-19 15:01:00,188: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197999:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-09-19 15:01:00,188: WARNING - 197999 |       case 3:  area *= p->aCoord[5].f - p->aCoord[4].f;
2022-09-19 15:01:00,189: WARNING -        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-09-19 15:01:00,189: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:198000:7: note: here
2022-09-19 15:01:00,189: WARNING - 198000 |       case 2:  area *= p->aCoord[3].f - p->aCoord[2].f;
2022-09-19 15:01:00,190: WARNING -        |       ^~~~
2022-09-19 15:01:00,190: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:198000:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-09-19 15:01:00,191: WARNING - 198000 |       case 2:  area *= p->aCoord[3].f - p->aCoord[2].f;
2022-09-19 15:01:00,191: WARNING -        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-09-19 15:01:00,191: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:198001:7: note: here
2022-09-19 15:01:00,192: WARNING - 198001 |       default: area *= p->aCoord[1].f - p->aCoord[0].f;
2022-09-19 15:01:00,192: WARNING -        |       ^~~~~~~
2022-09-19 15:01:00,193: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:198007:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-09-19 15:01:00,193: WARNING - 198007 |       case 5:  area  = (i64)p->aCoord[9].i - (i64)p->aCoord[8].i;
2022-09-19 15:01:00,194: WARNING -        |                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-09-19 15:01:00,194: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:198008:7: note: here
2022-09-19 15:01:00,195: WARNING - 198008 |       case 4:  area *= (i64)p->aCoord[7].i - (i64)p->aCoord[6].i;
2022-09-19 15:01:00,195: WARNING -        |       ^~~~
2022-09-19 15:01:00,195: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:198008:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-09-19 15:01:00,196: WARNING - 198008 |       case 4:  area *= (i64)p->aCoord[7].i - (i64)p->aCoord[6].i;
2022-09-19 15:01:00,196: WARNING -        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-09-19 15:01:00,197: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:198009:7: note: here
2022-09-19 15:01:00,197: WARNING - 198009 |       case 3:  area *= (i64)p->aCoord[5].i - (i64)p->aCoord[4].i;
2022-09-19 15:01:00,198: WARNING -        |       ^~~~
2022-09-19 15:01:00,198: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:198009:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-09-19 15:01:00,199: WARNING - 198009 |       case 3:  area *= (i64)p->aCoord[5].i - (i64)p->aCoord[4].i;
2022-09-19 15:01:00,199: WARNING -        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-09-19 15:01:00,199: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:198010:7: note: here
2022-09-19 15:01:00,200: WARNING - 198010 |       case 2:  area *= (i64)p->aCoord[3].i - (i64)p->aCoord[2].i;
2022-09-19 15:01:00,200: WARNING -        |       ^~~~
2022-09-19 15:01:00,201: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:198010:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-09-19 15:01:00,201: WARNING - 198010 |       case 2:  area *= (i64)p->aCoord[3].i - (i64)p->aCoord[2].i;
2022-09-19 15:01:00,202: WARNING -        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-09-19 15:01:00,202: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:198011:7: note: here
2022-09-19 15:01:00,202: WARNING - 198011 |       default: area *= (i64)p->aCoord[1].i - (i64)p->aCoord[0].i;
2022-09-19 15:01:00,203: WARNING -        |       ^~~~~~~
2022-09-19 15:01:00,203: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2022-09-19 15:01:00,203: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c: In function ‘rtreeCallbackConstraint’:
2022-09-19 15:01:00,204: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197136:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-09-19 15:01:00,204: WARNING - 197136 |                 readCoord(pCellData+32, &c); aCoord[8] = c.f;
2022-09-19 15:01:00,205: WARNING -        |                                              ~~~~~~~~~~^~~~~
2022-09-19 15:01:00,205: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197137:7: note: here
2022-09-19 15:01:00,205: WARNING - 197137 |       case 8:   readCoord(pCellData+28, &c); aCoord[7] = c.f;
2022-09-19 15:01:00,206: WARNING -        |       ^~~~
2022-09-19 15:01:00,206: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197138:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-09-19 15:01:00,207: WARNING - 197138 |                 readCoord(pCellData+24, &c); aCoord[6] = c.f;
2022-09-19 15:01:00,207: WARNING -        |                                              ~~~~~~~~~~^~~~~
2022-09-19 15:01:00,207: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197139:7: note: here
2022-09-19 15:01:00,208: WARNING - 197139 |       case 6:   readCoord(pCellData+20, &c); aCoord[5] = c.f;
2022-09-19 15:01:00,208: WARNING -        |       ^~~~
2022-09-19 15:01:00,209: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197140:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-09-19 15:01:00,209: WARNING - 197140 |                 readCoord(pCellData+16, &c); aCoord[4] = c.f;
2022-09-19 15:01:00,210: WARNING -        |                                              ~~~~~~~~~~^~~~~
2022-09-19 15:01:00,210: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197141:7: note: here
2022-09-19 15:01:00,211: WARNING - 197141 |       case 4:   readCoord(pCellData+12, &c); aCoord[3] = c.f;
2022-09-19 15:01:00,211: WARNING -        |       ^~~~
2022-09-19 15:01:00,211: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197142:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-09-19 15:01:00,212: WARNING - 197142 |                 readCoord(pCellData+8,  &c); aCoord[2] = c.f;
2022-09-19 15:01:00,212: WARNING -        |                                              ~~~~~~~~~~^~~~~
2022-09-19 15:01:00,213: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197143:7: note: here
2022-09-19 15:01:00,213: WARNING - 197143 |       default:  readCoord(pCellData+4,  &c); aCoord[1] = c.f;
2022-09-19 15:01:00,214: WARNING -        |       ^~~~~~~
2022-09-19 15:01:00,214: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197151:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-09-19 15:01:00,214: WARNING - 197151 |                 readCoord(pCellData+32, &c); aCoord[8] = c.i;
2022-09-19 15:01:00,215: WARNING -        |                                              ~~~~~~~~~~^~~~~
2022-09-19 15:01:00,215: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197152:7: note: here
2022-09-19 15:01:00,216: WARNING - 197152 |       case 8:   readCoord(pCellData+28, &c); aCoord[7] = c.i;
2022-09-19 15:01:00,216: WARNING -        |       ^~~~
2022-09-19 15:01:00,217: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197153:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-09-19 15:01:00,217: WARNING - 197153 |                 readCoord(pCellData+24, &c); aCoord[6] = c.i;
2022-09-19 15:01:00,218: WARNING -        |                                              ~~~~~~~~~~^~~~~
2022-09-19 15:01:00,218: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197154:7: note: here
2022-09-19 15:01:00,219: WARNING - 197154 |       case 6:   readCoord(pCellData+20, &c); aCoord[5] = c.i;
2022-09-19 15:01:00,219: WARNING -        |       ^~~~
2022-09-19 15:01:00,219: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197155:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-09-19 15:01:00,220: WARNING - 197155 |                 readCoord(pCellData+16, &c); aCoord[4] = c.i;
2022-09-19 15:01:00,220: WARNING -        |                                              ~~~~~~~~~~^~~~~
2022-09-19 15:01:00,221: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197156:7: note: here
2022-09-19 15:01:00,221: WARNING - 197156 |       case 4:   readCoord(pCellData+12, &c); aCoord[3] = c.i;
2022-09-19 15:01:00,222: WARNING -        |       ^~~~
2022-09-19 15:01:00,222: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197157:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
2022-09-19 15:01:00,222: WARNING - 197157 |                 readCoord(pCellData+8,  &c); aCoord[2] = c.i;
2022-09-19 15:01:00,223: WARNING -        |                                              ~~~~~~~~~~^~~~~
2022-09-19 15:01:00,223: WARNING - Release/obj/gen/sqlite-autoconf-3380400/sqlite3.c:197158:7: note: here
2022-09-19 15:01:00,224: WARNING - 197158 |       default:  readCoord(pCellData+4,  &c); aCoord[1] = c.i;
2022-09-19 15:01:00,224: WARNING -        |       ^~~~~~~
2022-09-19 15:01:00,225: WARNING -   AR(target) Release/obj.target/deps/sqlite3.a
2022-09-19 15:01:00,225: WARNING -   COPY Release/sqlite3.a
2022-09-19 15:01:00,226: WARNING -   CXX(target) Release/obj.target/node_sqlite3/src/backup.o
2022-09-19 15:01:00,226: WARNING - make: g++: No such file or directory
2022-09-19 15:01:00,227: WARNING - make: *** [node_sqlite3.target.mk:138: Release/obj.target/node_sqlite3/src/backup.o] Error 127
2022-09-19 15:01:00,227: WARNING - make: Leaving directory '/var/www/hedgedoc/node_modules/sqlite3/build'
2022-09-19 15:01:00,227: WARNING - gyp ERR! build error
2022-09-19 15:01:00,228: WARNING - gyp ERR! stack Error: `make` failed with exit code: 2
2022-09-19 15:01:00,228: WARNING - gyp ERR! stack     at ChildProcess.onExit (/var/www/hedgedoc/node_modules/node-gyp/lib/build.js:194:23)
2022-09-19 15:01:00,229: WARNING - gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
2022-09-19 15:01:00,229: WARNING - gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
2022-09-19 15:01:00,230: WARNING - gyp ERR! System Linux 5.15.61-v7l+
2022-09-19 15:01:00,230: WARNING - gyp ERR! command "/opt/node_n/n/versions/node/16.17.0/bin/node" "/var/www/hedgedoc/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/var/www/hedgedoc/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-arm/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/var/www/hedgedoc/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-arm" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6"
2022-09-19 15:01:00,231: WARNING - gyp ERR! cwd /var/www/hedgedoc/node_modules/sqlite3
2022-09-19 15:01:00,231: WARNING - gyp ERR! node -v v16.17.0
2022-09-19 15:01:00,232: WARNING - gyp ERR! node-gyp -v v8.4.1
2022-09-19 15:01:00,232: WARNING - gyp ERR! not ok
2022-09-19 15:01:00,232: WARNING - node-pre-gyp ERR! build error
2022-09-19 15:01:00,233: WARNING - node-pre-gyp ERR! stack Error: Failed to execute '/opt/node_n/n/versions/node/16.17.0/bin/node /var/www/hedgedoc/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/var/www/hedgedoc/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-arm/node_sqlite3.node --module_name=node_sqlite3 --module_path=/var/www/hedgedoc/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-arm --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
2022-09-19 15:01:00,233: WARNING - node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/var/www/hedgedoc/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
2022-09-19 15:01:00,234: WARNING - node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
2022-09-19 15:01:00,234: WARNING - node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1093:16)
2022-09-19 15:01:00,235: WARNING - node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
2022-09-19 15:01:00,235: WARNING - node-pre-gyp ERR! System Linux 5.15.61-v7l+
2022-09-19 15:01:00,236: WARNING - node-pre-gyp ERR! command "/opt/node_n/n/versions/node/16.17.0/bin/node" "/var/www/hedgedoc/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
2022-09-19 15:01:00,236: WARNING - node-pre-gyp ERR! cwd /var/www/hedgedoc/node_modules/sqlite3
2022-09-19 15:01:00,237: WARNING - node-pre-gyp ERR! node -v v16.17.0
2022-09-19 15:01:00,237: WARNING - node-pre-gyp ERR! node-pre-gyp -v v1.0.9
2022-09-19 15:01:00,238: WARNING - node-pre-gyp ERR! not ok
2022-09-19 15:01:00,238: WARNING - Failed to execute '/opt/node_n/n/versions/node/16.17.0/bin/node /var/www/hedgedoc/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/var/www/hedgedoc/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-arm/node_sqlite3.node --module_name=node_sqlite3 --module_path=/var/www/hedgedoc/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-arm --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
2022-09-19 15:01:00,239: DEBUG - + ynh_exit_properly
2022-09-19 15:01:00,658: DEBUG - + ynh_clean_setup
2022-09-19 15:01:00,659: DEBUG - + ynh_clean_check_starting
2022-09-19 15:01:00,659: DEBUG - + '[' -n '' ']'
2022-09-19 15:01:00,659: DEBUG - + '[' -n '' ']'
2022-09-19 15:01:01,661: ERROR - Unable to install hedgedoc: An error occurred inside the app installation script
lapineige commented 1 year ago

I believe this is fixed : https://github.com/YunoHost-Apps/hedgedoc_ynh/issues/2