args:
app: outline
force: false
label: undefined
no_remove_on_failure: false
ended_at: 2024-02-12 21:23:18.085021
env:
YNH_APP_ACTION: install
YNH_APP_ARG_DEX_DOMAIN: id.domain2.tld
YNH_APP_ARG_DEX_PATH: /
YNH_APP_ARG_DOMAIN: info.domain2.tld
YNH_APP_ARG_IS_PUBLIC: '1'
YNH_APP_ARG_LANGUAGE: en
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr
YNH_APP_ID: outline
YNH_APP_INSTANCE_NAME: outline
YNH_APP_INSTANCE_NUMBER: '1'
YNH_APP_MANIFEST_VERSION: 0.74.0~ynh1
YNH_APP_PACKAGING_FORMAT: '1.0'
YNH_ARCH: amd64
YNH_DEBIAN_VERSION: bullseye
error: null
interface: api
operation: app_install
parent: null
related_to:
- - app
- outline
started_at: 2024-02-12 21:18:15.217531
success: true
yunohost_version: 11.2.10
============
2024-02-12 22:18:15,233: INFO - Installing outline...
2024-02-12 22:18:15,428: DEBUG - Nothing to update in LDAP
2024-02-12 22:18:15,428: DEBUG - Permission 'outline.main' updated
2024-02-12 22:18:15,592: DEBUG - Full log of this operation: 'Update URL related to permission 'outline''
2024-02-12 22:18:15,963: DEBUG - The permission database has been resynchronized
2024-02-12 22:18:16,318: DEBUG - SSOwat configuration regenerated
2024-02-12 22:18:16,486: DEBUG - Permission 'outline.main' created
2024-02-12 22:18:16,487: DEBUG - Full log of this operation: 'Create permission 'outline''
2024-02-12 22:18:16,522: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
2024-02-12 22:18:16,535: DEBUG - + source _common.sh
2024-02-12 22:18:16,536: DEBUG - ++ pkg_dependencies=postgresql
2024-02-12 22:18:16,536: DEBUG - ++ NODEJS_VERSION=20
2024-02-12 22:18:16,536: DEBUG - + source /usr/share/yunohost/helpers
2024-02-12 22:18:16,536: DEBUG - +++ set +o
2024-02-12 22:18:16,536: DEBUG - +++ grep xtrace
2024-02-12 22:18:16,536: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-02-12 22:18:16,536: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-02-12 22:18:16,554: DEBUG - + ynh_abort_if_errors
2024-02-12 22:18:16,555: DEBUG - + trap ynh_exit_properly EXIT
2024-02-12 22:18:16,555: DEBUG - + domain=info.domain2.tld
2024-02-12 22:18:16,555: DEBUG - + path_url=/
2024-02-12 22:18:16,555: DEBUG - + is_public=1
2024-02-12 22:18:16,555: DEBUG - + language=en
2024-02-12 22:18:16,555: DEBUG - + '[' en == fr ']'
2024-02-12 22:18:16,555: DEBUG - + language_key=**********
2024-02-12 22:18:16,556: DEBUG - + echo English
2024-02-12 22:18:16,556: DEBUG - English
2024-02-12 22:18:16,556: DEBUG - ++ ynh_hex_32_random
2024-02-12 22:18:16,556: DEBUG - +++ tr -dc A-F0-9
2024-02-12 22:18:16,557: DEBUG - +++ head -c64
2024-02-12 22:18:16,560: DEBUG - ++ echo 7A519EF7EBCC465CF3A2D25C78339ED3693FD54B60831A4ACE2D7895D709E4FC
2024-02-12 22:18:16,561: DEBUG - + secret_key=**********
2024-02-12 22:18:16,561: DEBUG - ++ ynh_hex_32_random
2024-02-12 22:18:16,563: DEBUG - +++ tr -dc A-F0-9
2024-02-12 22:18:16,564: DEBUG - +++ head -c64
2024-02-12 22:18:16,567: DEBUG - ++ echo 03D8DBC372610B761487D52554F74580679D2AA689D077592A1DCCA486FE619A
2024-02-12 22:18:16,567: DEBUG - + utils_secret=**********
2024-02-12 22:18:16,568: DEBUG - + app=outline
2024-02-12 22:18:16,652: INFO - [++++................] > Installing Dex...
2024-02-12 22:18:16,654: DEBUG - + dex_domain=id.domain2.tld
2024-02-12 22:18:16,654: DEBUG - + dex_path=/
2024-02-12 22:18:16,654: DEBUG - ++ ynh_hex_32_random
2024-02-12 22:18:16,654: DEBUG - +++ head -c64
2024-02-12 22:18:16,654: DEBUG - +++ tr -dc A-F0-9
2024-02-12 22:18:16,660: DEBUG - ++ echo 285BF94F133215781BDC588C6FF4B6365F8317DACBEE039BF905EFDDBC9113C8
2024-02-12 22:18:16,661: DEBUG - + oidc_secret=**********
2024-02-12 22:18:16,661: DEBUG - + oidc_name=Outline
2024-02-12 22:18:16,661: DEBUG - + oidc_callback=info.domain2.tld/auth/oidc.callback
2024-02-12 22:18:16,661: DEBUG - + yunohost app list
2024-02-12 22:18:16,661: DEBUG - + grep -q id.domain2.tld/
2024-02-12 22:18:17,396: DEBUG - + yunohost app install https://github.com/YunoHost-Apps/dex_ynh --force --args 'domain=id.domain2.tld&path=/&OIDC_name=Outline&OIDC_secret=**********&OIDC_callback=info.domain2.tld/auth/oidc.callback'
2024-02-12 22:18:17,396: DEBUG - + tee dexlog.txt
2024-02-12 22:18:20,883: DEBUG - Argument 'oidc_name' is required
2024-02-12 22:18:20,974: DEBUG - ++ gawk 'match($0, /Installation of (.+) completed/, app) {print app[1]}' dexlog.txt
2024-02-12 22:18:20,978: DEBUG - + dex_app=
2024-02-12 22:18:20,978: DEBUG - + rm dexlog.txt
2024-02-12 22:18:20,979: DEBUG - + '[' / = / ']'
2024-02-12 22:18:20,979: DEBUG - + dex_auth_uri=https://id.domain2.tld/auth
2024-02-12 22:18:20,979: DEBUG - + dex_token_uri=https://id.domain2.tld/token
2024-02-12 22:18:20,980: DEBUG - + dex_user_uri=https://id.domain2.tld/userinfo
2024-02-12 22:18:21,043: INFO - [####................] > Validating installation parameters...
2024-02-12 22:18:21,044: DEBUG - + final_path=/var/www/outline
2024-02-12 22:18:21,045: DEBUG - + test '!' -e /var/www/outline
2024-02-12 22:18:21,045: DEBUG - + ynh_webpath_register --app=outline --domain=info.domain2.tld --path_url=/
2024-02-12 22:18:21,101: DEBUG - + yunohost app register-url outline info.domain2.tld /
2024-02-12 22:18:23,703: INFO - [####+...............] > Storing installation settings...
2024-02-12 22:18:23,705: DEBUG - + ynh_app_setting_set --app=outline --key=domain --value=info.domain2.tld
2024-02-12 22:18:23,705: DEBUG - + local _globalapp=outline
2024-02-12 22:18:23,781: DEBUG - + app=outline
2024-02-12 22:18:23,781: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:23,781: DEBUG - + ynh_app_setting set outline domain info.domain2.tld
2024-02-12 22:18:23,838: DEBUG - + ynh_app_setting_set --app=outline --key=path --value=/
2024-02-12 22:18:23,838: DEBUG - + local _globalapp=outline
2024-02-12 22:18:23,901: DEBUG - + app=outline
2024-02-12 22:18:23,902: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:23,902: DEBUG - + ynh_app_setting set outline path /
2024-02-12 22:18:23,950: DEBUG - + ynh_app_setting_set --app=outline --key=language --value=en
2024-02-12 22:18:23,950: DEBUG - + local _globalapp=outline
2024-02-12 22:18:24,044: DEBUG - + app=outline
2024-02-12 22:18:24,044: DEBUG - + [[ language =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:24,044: DEBUG - + ynh_app_setting set outline language en
2024-02-12 22:18:24,098: DEBUG - + ynh_app_setting_set --app=outline --key=secret_key --value=**********
2024-02-12 22:18:24,098: DEBUG - + local _globalapp=outline
2024-02-12 22:18:24,191: DEBUG - + app=outline
2024-02-12 22:18:24,191: DEBUG - + [[ secret_key =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:24,191: DEBUG - + ynh_app_setting set outline secret_key **********
2024-02-12 22:18:24,239: DEBUG - + ynh_app_setting_set --app=outline --key=utils_secret --value=**********
2024-02-12 22:18:24,239: DEBUG - + local _globalapp=outline
2024-02-12 22:18:24,321: DEBUG - + app=outline
2024-02-12 22:18:24,321: DEBUG - + [[ utils_secret =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:24,321: DEBUG - + ynh_app_setting set outline utils_secret **********
2024-02-12 22:18:24,376: DEBUG - + ynh_app_setting_set --app=outline --key=language_key --value=**********
2024-02-12 22:18:24,376: DEBUG - + local _globalapp=outline
2024-02-12 22:18:24,461: DEBUG - + app=outline
2024-02-12 22:18:24,462: DEBUG - + [[ language_key =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:24,462: DEBUG - + ynh_app_setting set outline language_key **********
2024-02-12 22:18:24,511: DEBUG - + ynh_app_setting_set --app=outline --key=dex_app --value=
2024-02-12 22:18:24,511: DEBUG - + local _globalapp=outline
2024-02-12 22:18:24,588: DEBUG - + app=outline
2024-02-12 22:18:24,588: DEBUG - + [[ dex_app =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:24,588: DEBUG - + ynh_app_setting set outline dex_app ''
2024-02-12 22:18:24,637: DEBUG - + ynh_app_setting_set --app=outline --key=dex_domain --value=id.domain2.tld
2024-02-12 22:18:24,638: DEBUG - + local _globalapp=outline
2024-02-12 22:18:24,730: DEBUG - + app=outline
2024-02-12 22:18:24,730: DEBUG - + [[ dex_domain =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:24,730: DEBUG - + ynh_app_setting set outline dex_domain id.domain2.tld
2024-02-12 22:18:24,795: DEBUG - + ynh_app_setting_set --app=outline --key=dex_path --value=/
2024-02-12 22:18:24,796: DEBUG - + local _globalapp=outline
2024-02-12 22:18:24,875: DEBUG - + app=outline
2024-02-12 22:18:24,876: DEBUG - + [[ dex_path =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:24,876: DEBUG - + ynh_app_setting set outline dex_path /
2024-02-12 22:18:24,921: DEBUG - + ynh_app_setting_set --app=outline --key=oidc_name --value=Outline
2024-02-12 22:18:24,921: DEBUG - + local _globalapp=outline
2024-02-12 22:18:24,998: DEBUG - + app=outline
2024-02-12 22:18:24,998: DEBUG - + [[ oidc_name =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:24,999: DEBUG - + ynh_app_setting set outline oidc_name Outline
2024-02-12 22:18:25,044: DEBUG - + ynh_app_setting_set --app=outline --key=oidc_secret --value=**********
2024-02-12 22:18:25,045: DEBUG - + local _globalapp=outline
2024-02-12 22:18:25,148: DEBUG - + app=outline
2024-02-12 22:18:25,148: DEBUG - + [[ oidc_secret =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:25,148: DEBUG - + ynh_app_setting set outline oidc_secret **********
2024-02-12 22:18:25,208: DEBUG - + ynh_app_setting_set --app=outline --key=oidc_callback --value=info.domain2.tld/auth/oidc.callback
2024-02-12 22:18:25,209: DEBUG - + local _globalapp=outline
2024-02-12 22:18:25,295: DEBUG - + app=outline
2024-02-12 22:18:25,295: DEBUG - + [[ oidc_callback =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:25,295: DEBUG - + ynh_app_setting set outline oidc_callback info.domain2.tld/auth/oidc.callback
2024-02-12 22:18:25,355: DEBUG - + ynh_app_setting_set --app=outline --key=dex_auth_uri --value=https://id.domain2.tld/auth
2024-02-12 22:18:25,356: DEBUG - + local _globalapp=outline
2024-02-12 22:18:25,425: DEBUG - + app=outline
2024-02-12 22:18:25,425: DEBUG - + [[ dex_auth_uri =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:25,425: DEBUG - + ynh_app_setting set outline dex_auth_uri https://id.domain2.tld/auth
2024-02-12 22:18:25,472: DEBUG - + ynh_app_setting_set --app=outline --key=dex_token_uri --value=https://id.domain2.tld/token
2024-02-12 22:18:25,472: DEBUG - + local _globalapp=outline
2024-02-12 22:18:25,556: DEBUG - + app=outline
2024-02-12 22:18:25,556: DEBUG - + [[ dex_token_uri =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:25,556: DEBUG - + ynh_app_setting set outline dex_token_uri https://id.domain2.tld/token
2024-02-12 22:18:25,612: DEBUG - + ynh_app_setting_set --app=outline --key=dex_user_uri --value=https://id.domain2.tld/userinfo
2024-02-12 22:18:25,612: DEBUG - + local _globalapp=outline
2024-02-12 22:18:25,725: DEBUG - + app=outline
2024-02-12 22:18:25,725: DEBUG - + [[ dex_user_uri =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:25,725: DEBUG - + ynh_app_setting set outline dex_user_uri https://id.domain2.tld/userinfo
2024-02-12 22:18:25,932: INFO - [#####...............] > Finding an available port...
2024-02-12 22:18:25,933: DEBUG - ++ ynh_find_port --port=2410
2024-02-12 22:18:25,944: DEBUG - ++ test -n 2410
2024-02-12 22:18:25,944: DEBUG - ++ ynh_port_available --port=2410
2024-02-12 22:18:25,961: DEBUG - ++ ss --numeric --listening --tcp --udp
2024-02-12 22:18:25,962: DEBUG - ++ grep --quiet --extended-regexp ':2410$'
2024-02-12 22:18:25,962: DEBUG - ++ awk '{print$5}'
2024-02-12 22:18:25,986: DEBUG - ++ grep -q 'port: '\''2410'\''' /etc/yunohost/apps/actual/settings.yml /etc/yunohost/apps/commento/settings.yml /etc/yunohost/apps/ihatemoney/settings.yml /etc/yunohost/apps/languagetool/settings.yml /etc/yunohost/apps/listmonk/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/outline/settings.yml /etc/yunohost/apps/paperless-ngx/settings.yml /etc/yunohost/apps/pixelfed/settings.yml /etc/yunohost/apps/redirect__2/settings.yml /etc/yunohost/apps/redirect__3/settings.yml /etc/yunohost/apps/redirect__4/settings.yml /etc/yunohost/apps/redirect__5/settings.yml /etc/yunohost/apps/redirect__6/settings.yml /etc/yunohost/apps/redirect__7/settings.yml /etc/yunohost/apps/redirect__8/settings.yml /etc/yunohost/apps/redirect/settings.yml /etc/yunohost/apps/rustdesk-server/settings.yml /etc/yunohost/apps/wallabag2/settings.yml
2024-02-12 22:18:25,992: DEBUG - ++ return 0
2024-02-12 22:18:25,993: DEBUG - ++ echo 2410
2024-02-12 22:18:25,993: DEBUG - + port=2410
2024-02-12 22:18:25,993: DEBUG - + ynh_app_setting_set --app=outline --key=port --value=2410
2024-02-12 22:18:25,993: DEBUG - + local _globalapp=outline
2024-02-12 22:18:26,094: DEBUG - + app=outline
2024-02-12 22:18:26,095: DEBUG - + [[ port =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:26,095: DEBUG - + ynh_app_setting set outline port 2410
2024-02-12 22:18:26,249: INFO - [#####...............] > Installing dependencies...
2024-02-12 22:18:26,249: DEBUG - + ynh_install_nodejs --nodejs_version=20
2024-02-12 22:18:26,307: DEBUG - + mkdir --parents /opt/node_n
2024-02-12 22:18:26,310: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:18:26,311: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:18:26,312: DEBUG - ++ sed s@/usr/local/bin:@@
2024-02-12 22:18:26,315: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:18:26,316: DEBUG - + test -x /usr/bin/node
2024-02-12 22:18:26,316: DEBUG - + mv /usr/bin/node /usr/bin/node_n
2024-02-12 22:18:26,319: DEBUG - + test -x /usr/bin/npm
2024-02-12 22:18:26,319: DEBUG - + mv /usr/bin/npm /usr/bin/npm_n
2024-02-12 22:18:26,320: DEBUG - + mkdir -p /opt/node_n/bin/
2024-02-12 22:18:26,322: DEBUG - + cp /usr/share/yunohost/helpers.d/vendor/n/n /opt/node_n/bin/n
2024-02-12 22:18:26,326: 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
2024-02-12 22:18:26,392: DEBUG - + sed --in-place 's^N_PREFIX=${N_PREFIX-.*}$N_PREFIX=${N_PREFIX-/opt/node_n}g' /opt/node_n/bin/n
2024-02-12 22:18:26,394: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:18:26,395: DEBUG - + test -x /usr/bin/node_n
2024-02-12 22:18:26,395: DEBUG - + mv /usr/bin/node_n /usr/bin/node
2024-02-12 22:18:26,396: DEBUG - + test -x /usr/bin/npm_n
2024-02-12 22:18:26,396: DEBUG - + mv /usr/bin/npm_n /usr/bin/npm
2024-02-12 22:18:26,397: DEBUG - ++ uname --machine
2024-02-12 22:18:26,399: DEBUG - + uname=x86_64
2024-02-12 22:18:26,399: DEBUG - + [[ x86_64 =~ aarch64 ]]
2024-02-12 22:18:26,399: DEBUG - + [[ x86_64 =~ arm64 ]]
2024-02-12 22:18:26,399: DEBUG - + n 20
2024-02-12 22:18:26,555: DEBUG - installing : node-v20.11.0
2024-02-12 22:18:26,630: DEBUG - mkdir : /opt/node_n/n/versions/node/20.11.0
2024-02-12 22:18:26,634: DEBUG - fetch : https://nodejs.org/dist/v20.11.0/node-v20.11.0-linux-x64.tar.xz
2024-02-12 22:18:29,686: DEBUG - copying : node/20.11.0
2024-02-12 22:18:30,809: DEBUG - installed : v20.11.0 (with npm 10.2.4)
2024-02-12 22:18:30,810: DEBUG - ++ sort --version-sort
2024-02-12 22:18:30,811: DEBUG - ++ find /opt/node_n/n/versions/node/20 /opt/node_n/n/versions/node/20.11.0 -maxdepth 0
2024-02-12 22:18:30,811: DEBUG - ++ tail --lines=1
2024-02-12 22:18:30,814: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/20.11.0
2024-02-12 22:18:30,815: DEBUG - ++ basename /opt/node_n/n/versions/node/20.11.0
2024-02-12 22:18:30,817: DEBUG - + real_nodejs_version=20.11.0
2024-02-12 22:18:30,817: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/20 ']'
2024-02-12 22:18:30,817: DEBUG - + echo outline:20
2024-02-12 22:18:30,821: DEBUG - + tee --append /opt/node_n/ynh_app_version
2024-02-12 22:18:30,822: DEBUG - outline:20
2024-02-12 22:18:30,827: DEBUG - + ynh_app_setting_set --app=outline --key=nodejs_version --value=20
2024-02-12 22:18:30,827: DEBUG - + local _globalapp=outline
2024-02-12 22:18:30,926: DEBUG - + app=outline
2024-02-12 22:18:30,926: DEBUG - + [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:30,926: DEBUG - + ynh_app_setting set outline nodejs_version 20
2024-02-12 22:18:30,982: DEBUG - + ynh_cron_upgrade_node
2024-02-12 22:18:30,982: DEBUG - + cat
2024-02-12 22:18:30,984: DEBUG - + chmod +x /opt/node_n/node_update.sh
2024-02-12 22:18:30,987: DEBUG - + cat
2024-02-12 22:18:30,990: DEBUG - + chmod +x /etc/cron.daily/node_update
2024-02-12 22:18:30,992: DEBUG - + ynh_use_nodejs
2024-02-12 22:18:30,998: DEBUG - ++ ynh_app_setting_get --app=outline --key=nodejs_version
2024-02-12 22:18:30,999: DEBUG - ++ local _globalapp=outline
2024-02-12 22:18:31,044: DEBUG - ++ app=outline
2024-02-12 22:18:31,044: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:31,044: DEBUG - ++ ynh_app_setting get outline nodejs_version
2024-02-12 22:18:31,106: DEBUG - + nodejs_version=20
2024-02-12 22:18:31,107: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/20/bin
2024-02-12 22:18:31,107: DEBUG - + shopt -s expand_aliases
2024-02-12 22:18:31,107: DEBUG - + ynh_node=/opt/node_n/n/versions/node/20/bin/node
2024-02-12 22:18:31,107: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/20/bin/node
2024-02-12 22:18:31,107: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
2024-02-12 22:18:31,107: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
2024-02-12 22:18:31,107: 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\/\2\0\/\b\i\n* ]]
2024-02-12 22:18:31,108: DEBUG - + PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:18:31,108: DEBUG - + node_PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:18:31,108: DEBUG - + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:18:31,108: DEBUG - + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:18:31,108: DEBUG - + ynh_install_app_dependencies postgresql
2024-02-12 22:18:31,108: DEBUG - + local dependencies=postgresql
2024-02-12 22:18:31,109: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2024-02-12 22:18:31,110: DEBUG - ++ echo postgresql
2024-02-12 22:18:31,123: DEBUG - + dependencies=postgresql
2024-02-12 22:18:31,123: DEBUG - + local dependencies=postgresql
2024-02-12 22:18:31,124: DEBUG - ++ ynh_read_manifest --manifest_key=version
2024-02-12 22:18:31,154: DEBUG - ++ '[' '!' -e '' ']'
2024-02-12 22:18:31,155: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json ']'
2024-02-12 22:18:31,155: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json
2024-02-12 22:18:31,156: DEBUG - ++ grep -q '\.json$'
2024-02-12 22:18:31,156: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json
2024-02-12 22:18:31,159: DEBUG - ++ jq .version /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json --raw-output
2024-02-12 22:18:31,192: DEBUG - + local version=0.74.0~ynh1
2024-02-12 22:18:31,192: DEBUG - + '[' -z 0.74.0~ynh1 ']'
2024-02-12 22:18:31,193: DEBUG - + '[' 0.74.0~ynh1 == null ']'
2024-02-12 22:18:31,193: DEBUG - + local dep_app=outline
2024-02-12 22:18:31,193: DEBUG - + [[ postgresql =~ [<=>] ]]
2024-02-12 22:18:31,196: DEBUG - ++ echo postgresql
2024-02-12 22:18:31,196: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2024-02-12 22:18:31,196: DEBUG - ++ sort -u
2024-02-12 22:18:31,198: DEBUG - + local specific_php_version=
2024-02-12 22:18:31,198: DEBUG - + grep --quiet php
2024-02-12 22:18:31,202: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-02-12 22:18:31,215: DEBUG - ++ ynh_wait_dpkg_free
2024-02-12 22:18:31,535: DEBUG - ++ return 0
2024-02-12 22:18:31,535: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-02-12 22:18:31,538: DEBUG - ++ grep --count 'ok installed'
2024-02-12 22:18:31,560: DEBUG - ++ echo yes
2024-02-12 22:18:31,560: DEBUG - + local psql_installed=yes
2024-02-12 22:18:31,560: DEBUG - + [[ true == \t\r\u\e ]]
2024-02-12 22:18:31,560: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2024-02-12 22:18:31,560: DEBUG - + cat
2024-02-12 22:18:31,562: DEBUG - + ynh_package_install_from_equivs /tmp/outline-ynh-deps.control
2024-02-12 22:18:31,562: DEBUG - + local controlfile=/tmp/outline-ynh-deps.control
2024-02-12 22:18:31,564: DEBUG - ++ grep '^Package: ' /tmp/outline-ynh-deps.control
2024-02-12 22:18:31,565: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-02-12 22:18:31,568: DEBUG - + local pkgname=outline-ynh-deps
2024-02-12 22:18:31,572: DEBUG - ++ grep '^Version: ' /tmp/outline-ynh-deps.control
2024-02-12 22:18:31,573: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-02-12 22:18:31,576: DEBUG - + local pkgversion=0.74.0~ynh1
2024-02-12 22:18:31,576: DEBUG - + [[ -z outline-ynh-deps ]]
2024-02-12 22:18:31,576: DEBUG - + [[ -z 0.74.0~ynh1 ]]
2024-02-12 22:18:31,576: DEBUG - + ynh_package_update
2024-02-12 22:18:31,576: DEBUG - + ynh_apt update
2024-02-12 22:18:31,576: DEBUG - + ynh_wait_dpkg_free
2024-02-12 22:18:31,876: DEBUG - + return 0
2024-02-12 22:18:31,876: DEBUG - + LC_ALL=C
2024-02-12 22:18:31,876: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-02-12 22:18:31,876: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-02-12 22:18:32,127: DEBUG - Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
2024-02-12 22:18:32,167: DEBUG - Hit:2 http://forge.yunohost.org/debian bullseye InRelease
2024-02-12 22:18:32,221: DEBUG - Hit:3 http://asi-fs-d.contabo.net/debian bullseye InRelease
2024-02-12 22:18:32,223: DEBUG - Hit:4 http://asi-fs-d.contabo.net/debian bullseye-updates InRelease
2024-02-12 22:18:32,274: DEBUG - Get:5 https://packages.sury.org/php bullseye InRelease [7551 B]
2024-02-12 22:18:32,872: DEBUG - Fetched 7551 B in 1s (8668 B/s)
2024-02-12 22:18:33,873: DEBUG - Reading package lists...
2024-02-12 22:18:33,888: DEBUG - ++ mktemp --directory
2024-02-12 22:18:33,890: DEBUG - + local TMPDIR=/tmp/tmp.lUQW5fB8W9
2024-02-12 22:18:33,891: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2024-02-12 22:18:33,892: DEBUG - + ynh_wait_dpkg_free
2024-02-12 22:18:34,170: DEBUG - + return 0
2024-02-12 22:18:34,170: DEBUG - + cp /tmp/outline-ynh-deps.control /tmp/tmp.lUQW5fB8W9/control
2024-02-12 22:18:34,172: DEBUG - + cd /tmp/tmp.lUQW5fB8W9
2024-02-12 22:18:34,172: DEBUG - + LC_ALL=C
2024-02-12 22:18:34,172: DEBUG - + equivs-build ./control
2024-02-12 22:18:34,364: DEBUG - dpkg-buildpackage: info: source package outline-ynh-deps
2024-02-12 22:18:34,365: DEBUG - dpkg-buildpackage: info: source version 0.74.0~ynh1
2024-02-12 22:18:34,365: DEBUG - dpkg-buildpackage: info: source distribution unstable
2024-02-12 22:18:34,365: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator
2024-02-12 22:18:34,416: DEBUG - dpkg-source --before-build .
2024-02-12 22:18:34,417: DEBUG - dpkg-buildpackage: info: host architecture amd64
2024-02-12 22:18:34,557: DEBUG - debian/rules clean
2024-02-12 22:18:34,564: DEBUG - dh clean
2024-02-12 22:18:34,670: DEBUG - dh_clean
2024-02-12 22:18:34,714: DEBUG - debian/rules binary
2024-02-12 22:18:34,715: DEBUG - dh binary
2024-02-12 22:18:34,807: DEBUG - dh_update_autotools_config
2024-02-12 22:18:34,861: DEBUG - dh_autoreconf
2024-02-12 22:18:34,917: DEBUG - create-stamp debian/debhelper-build-stamp
2024-02-12 22:18:34,917: DEBUG - dh_prep
2024-02-12 22:18:34,957: DEBUG - dh_install
2024-02-12 22:18:35,000: DEBUG - dh_installdocs
2024-02-12 22:18:35,043: DEBUG - dh_installchangelogs
2024-02-12 22:18:35,147: DEBUG - dh_perl
2024-02-12 22:18:35,187: DEBUG - dh_link
2024-02-12 22:18:35,224: DEBUG - dh_strip_nondeterminism
2024-02-12 22:18:35,303: DEBUG - dh_compress
2024-02-12 22:18:35,353: DEBUG - dh_fixperms
2024-02-12 22:18:35,405: DEBUG - dh_missing
2024-02-12 22:18:35,432: DEBUG - dh_installdeb
2024-02-12 22:18:35,468: DEBUG - dh_gencontrol
2024-02-12 22:18:35,630: DEBUG - dh_md5sums
2024-02-12 22:18:35,671: DEBUG - dh_builddeb
2024-02-12 22:18:35,700: DEBUG - dpkg-deb: building package 'outline-ynh-deps' in '../outline-ynh-deps_0.74.0~ynh1_all.deb'.
2024-02-12 22:18:35,725: DEBUG - dpkg-genbuildinfo --build=binary
2024-02-12 22:18:36,481: DEBUG - dpkg-genchanges --build=binary >../outline-ynh-deps_0.74.0~ynh1_amd64.changes
2024-02-12 22:18:36,562: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2024-02-12 22:18:36,567: DEBUG - dpkg-source --after-build .
2024-02-12 22:18:36,679: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2024-02-12 22:18:36,684: DEBUG -
2024-02-12 22:18:36,685: DEBUG - The package has been created.
2024-02-12 22:18:36,685: DEBUG - Attention, the package has been created in the current directory,
2024-02-12 22:18:36,685: DEBUG - not in ".." as indicated by the message above!
2024-02-12 22:18:36,685: DEBUG - + LC_ALL=C
2024-02-12 22:18:36,685: DEBUG - + dpkg --force-depends --install ./outline-ynh-deps_0.74.0~ynh1_all.deb
2024-02-12 22:18:36,685: DEBUG - + tee ./dpkg_log
2024-02-12 22:18:36,732: DEBUG - Selecting previously unselected package outline-ynh-deps.
2024-02-12 22:18:36,791: DEBUG - (Reading database ... 84569 files and directories currently installed.)
2024-02-12 22:18:36,797: DEBUG - Preparing to unpack .../outline-ynh-deps_0.74.0~ynh1_all.deb ...
2024-02-12 22:18:36,800: DEBUG - Unpacking outline-ynh-deps (0.74.0~ynh1) ...
2024-02-12 22:18:36,827: DEBUG - Setting up outline-ynh-deps (0.74.0~ynh1) ...
2024-02-12 22:18:36,851: DEBUG - + ynh_package_install --fix-broken
2024-02-12 22:18:36,851: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-02-12 22:18:36,851: DEBUG - + ynh_wait_dpkg_free
2024-02-12 22:18:37,106: DEBUG - + return 0
2024-02-12 22:18:37,106: DEBUG - + LC_ALL=C
2024-02-12 22:18:37,106: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-02-12 22:18:37,106: 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
2024-02-12 22:18:37,268: DEBUG - Reading package lists...
2024-02-12 22:18:37,524: DEBUG - Building dependency tree...
2024-02-12 22:18:37,526: DEBUG - Reading state information...
2024-02-12 22:18:37,970: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2024-02-12 22:18:37,972: DEBUG - + [[ -n /tmp/tmp.lUQW5fB8W9 ]]
2024-02-12 22:18:37,972: DEBUG - + rm --recursive --force /tmp/tmp.lUQW5fB8W9
2024-02-12 22:18:37,974: DEBUG - + ynh_package_is_installed outline-ynh-deps
2024-02-12 22:18:37,981: DEBUG - + ynh_wait_dpkg_free
2024-02-12 22:18:38,253: DEBUG - + return 0
2024-02-12 22:18:38,254: DEBUG - + dpkg-query --show '--showformat=${Status}' outline-ynh-deps
2024-02-12 22:18:38,254: DEBUG - + grep --count 'ok installed'
2024-02-12 22:18:38,272: DEBUG - + rm /tmp/outline-ynh-deps.control
2024-02-12 22:18:38,274: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-02-12 22:18:38,287: DEBUG - ++ ynh_wait_dpkg_free
2024-02-12 22:18:38,584: DEBUG - ++ return 0
2024-02-12 22:18:38,586: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-02-12 22:18:38,586: DEBUG - ++ grep --count 'ok installed'
2024-02-12 22:18:38,606: DEBUG - ++ echo yes
2024-02-12 22:18:38,613: DEBUG - + local psql_installed2=yes
2024-02-12 22:18:38,613: DEBUG - + [[ yes != \y\e\s ]]
2024-02-12 22:18:38,614: 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
2024-02-12 22:18:38,726: DEBUG - + name=outline
2024-02-12 22:18:38,727: DEBUG - + key=https://dl.yarnpkg.com/debian/pubkey.gpg
2024-02-12 22:18:38,727: DEBUG - + '[' -n https://dl.yarnpkg.com/debian/pubkey.gpg ']'
2024-02-12 22:18:38,727: DEBUG - + key=--key=https://dl.yarnpkg.com/debian/pubkey.gpg
2024-02-12 22:18:38,727: 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=outline
2024-02-12 22:18:38,864: DEBUG - + name=outline
2024-02-12 22:18:38,865: DEBUG - + append=0
2024-02-12 22:18:38,865: DEBUG - + key=https://dl.yarnpkg.com/debian/pubkey.gpg
2024-02-12 22:18:38,865: DEBUG - + priority=995
2024-02-12 22:18:38,865: DEBUG - + append=
2024-02-12 22:18:38,865: DEBUG - + wget_append=tee
2024-02-12 22:18:38,865: DEBUG - + repo='https://dl.yarnpkg.com/debian/ stable main'
2024-02-12 22:18:38,865: DEBUG - ++ echo 'https://dl.yarnpkg.com/debian/ stable main'
2024-02-12 22:18:38,865: DEBUG - ++ awk '{ print $1 }'
2024-02-12 22:18:38,867: DEBUG - + local uri=https://dl.yarnpkg.com/debian/
2024-02-12 22:18:38,868: DEBUG - ++ echo 'https://dl.yarnpkg.com/debian/ stable main'
2024-02-12 22:18:38,868: DEBUG - ++ awk '{ print $2 }'
2024-02-12 22:18:38,870: DEBUG - + local suite=stable
2024-02-12 22:18:38,871: DEBUG - + local component=main
2024-02-12 22:18:38,871: DEBUG - + ynh_add_repo --uri=https://dl.yarnpkg.com/debian/ --suite=stable --component=main --name=outline
2024-02-12 22:18:39,047: DEBUG - + name=outline
2024-02-12 22:18:39,047: DEBUG - + append=0
2024-02-12 22:18:39,048: DEBUG - + append=tee
2024-02-12 22:18:39,048: DEBUG - + mkdir --parents /etc/apt/sources.list.d
2024-02-12 22:18:39,048: DEBUG - + tee /etc/apt/sources.list.d/outline.list
2024-02-12 22:18:39,049: DEBUG - deb https://dl.yarnpkg.com/debian/ stable main
2024-02-12 22:18:39,050: DEBUG - + local pin=dl.yarnpkg.com/debian/
2024-02-12 22:18:39,050: DEBUG - + pin=dl.yarnpkg.com
2024-02-12 22:18:39,050: DEBUG - + '[' -n 995 ']'
2024-02-12 22:18:39,050: DEBUG - + priority=--priority=995
2024-02-12 22:18:39,050: DEBUG - + ynh_pin_repo '--package=*' '--pin=origin "dl.yarnpkg.com"' --priority=995 --name=outline
2024-02-12 22:18:39,203: DEBUG - + package='*'
2024-02-12 22:18:39,203: DEBUG - + priority=995
2024-02-12 22:18:39,203: DEBUG - + name=outline
2024-02-12 22:18:39,203: DEBUG - + append=0
2024-02-12 22:18:39,203: DEBUG - + append=tee
2024-02-12 22:18:39,203: DEBUG - + [[ outline != \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
2024-02-12 22:18:39,204: DEBUG - + mkdir --parents /etc/apt/preferences.d
2024-02-12 22:18:39,208: DEBUG - Pin: origin "dl.yarnpkg.com"
2024-02-12 22:18:39,208: DEBUG - Pin-Priority: 995
2024-02-12 22:18:39,208: DEBUG - '
2024-02-12 22:18:39,208: DEBUG - + tee /etc/apt/preferences.d/outline
2024-02-12 22:18:39,209: DEBUG - Package: *
2024-02-12 22:18:39,209: DEBUG - Pin: origin "dl.yarnpkg.com"
2024-02-12 22:18:39,209: DEBUG - Pin-Priority: 995
2024-02-12 22:18:39,209: DEBUG -
2024-02-12 22:18:39,209: DEBUG - + '[' -n https://dl.yarnpkg.com/debian/pubkey.gpg ']'
2024-02-12 22:18:39,210: DEBUG - + mkdir --parents /etc/apt/trusted.gpg.d
2024-02-12 22:18:39,218: DEBUG - + wget --timeout 900 --quiet https://dl.yarnpkg.com/debian/pubkey.gpg --output-document=-
2024-02-12 22:18:39,218: DEBUG - + gpg --dearmor
2024-02-12 22:18:39,219: DEBUG - + tee /etc/apt/trusted.gpg.d/outline.gpg
2024-02-12 22:18:39,339: DEBUG - + ynh_package_update
2024-02-12 22:18:39,340: DEBUG - + ynh_apt update
2024-02-12 22:18:39,340: DEBUG - + ynh_wait_dpkg_free
2024-02-12 22:18:39,601: DEBUG - + return 0
2024-02-12 22:18:39,602: DEBUG - + LC_ALL=C
2024-02-12 22:18:39,602: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-02-12 22:18:39,602: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-02-12 22:18:39,716: DEBUG - Hit:1 http://asi-fs-d.contabo.net/debian bullseye InRelease
2024-02-12 22:18:39,716: DEBUG - Hit:2 http://asi-fs-d.contabo.net/debian bullseye-updates InRelease
2024-02-12 22:18:39,716: DEBUG - Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
2024-02-12 22:18:39,728: DEBUG - Hit:4 http://forge.yunohost.org/debian bullseye InRelease
2024-02-12 22:18:39,775: DEBUG - Hit:5 https://packages.sury.org/php bullseye InRelease
2024-02-12 22:18:39,893: DEBUG - Get:6 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
2024-02-12 22:18:40,511: DEBUG - Get:7 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.9 kB]
2024-02-12 22:18:40,545: DEBUG - Get:8 https://dl.yarnpkg.com/debian stable/main all Packages [10.9 kB]
2024-02-12 22:18:40,575: DEBUG - Fetched 38.9 kB in 1s (43.3 kB/s)
2024-02-12 22:18:41,373: DEBUG - Reading package lists...
2024-02-12 22:18:41,389: DEBUG - + ynh_install_app_dependencies yarn
2024-02-12 22:18:41,390: DEBUG - + local dependencies=yarn
2024-02-12 22:18:41,390: DEBUG - ++ echo yarn
2024-02-12 22:18:41,391: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2024-02-12 22:18:41,395: DEBUG - + dependencies=yarn
2024-02-12 22:18:41,396: DEBUG - + local dependencies=yarn
2024-02-12 22:18:41,396: DEBUG - ++ ynh_read_manifest --manifest_key=version
2024-02-12 22:18:41,424: DEBUG - ++ '[' '!' -e '' ']'
2024-02-12 22:18:41,424: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json ']'
2024-02-12 22:18:41,424: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json
2024-02-12 22:18:41,424: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json
2024-02-12 22:18:41,425: DEBUG - ++ grep -q '\.json$'
2024-02-12 22:18:41,427: DEBUG - ++ jq .version /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json --raw-output
2024-02-12 22:18:41,461: DEBUG - + local version=0.74.0~ynh1
2024-02-12 22:18:41,462: DEBUG - + '[' -z 0.74.0~ynh1 ']'
2024-02-12 22:18:41,462: DEBUG - + '[' 0.74.0~ynh1 == null ']'
2024-02-12 22:18:41,462: DEBUG - + local dep_app=outline
2024-02-12 22:18:41,462: DEBUG - + [[ yarn =~ [<=>] ]]
2024-02-12 22:18:41,463: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2024-02-12 22:18:41,463: DEBUG - ++ echo yarn
2024-02-12 22:18:41,463: DEBUG - ++ sort -u
2024-02-12 22:18:41,466: DEBUG - + local specific_php_version=
2024-02-12 22:18:41,467: DEBUG - + grep --quiet php
2024-02-12 22:18:41,470: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-02-12 22:18:41,490: DEBUG - ++ ynh_wait_dpkg_free
2024-02-12 22:18:41,787: DEBUG - ++ return 0
2024-02-12 22:18:41,788: DEBUG - ++ grep --count 'ok installed'
2024-02-12 22:18:41,788: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-02-12 22:18:41,808: DEBUG - ++ echo yes
2024-02-12 22:18:41,809: DEBUG - + local psql_installed=yes
2024-02-12 22:18:41,809: DEBUG - + [[ false == \t\r\u\e ]]
2024-02-12 22:18:41,809: DEBUG - + local current_dependencies=
2024-02-12 22:18:41,810: DEBUG - + ynh_package_is_installed --package=outline-ynh-deps
2024-02-12 22:18:41,823: DEBUG - + ynh_wait_dpkg_free
2024-02-12 22:18:42,111: DEBUG - + return 0
2024-02-12 22:18:42,111: DEBUG - + dpkg-query --show '--showformat=${Status}' outline-ynh-deps
2024-02-12 22:18:42,112: DEBUG - + grep --count 'ok installed'
2024-02-12 22:18:42,133: DEBUG - ++ dpkg-query --show '--showformat=${Depends}' outline-ynh-deps
2024-02-12 22:18:42,152: DEBUG - + current_dependencies='postgresql '
2024-02-12 22:18:42,152: DEBUG - + current_dependencies='postgresql '
2024-02-12 22:18:42,152: DEBUG - + dependencies='postgresql , yarn'
2024-02-12 22:18:42,152: DEBUG - + cat
2024-02-12 22:18:42,154: DEBUG - + ynh_package_install_from_equivs /tmp/outline-ynh-deps.control
2024-02-12 22:18:42,154: DEBUG - + local controlfile=/tmp/outline-ynh-deps.control
2024-02-12 22:18:42,155: DEBUG - ++ grep '^Package: ' /tmp/outline-ynh-deps.control
2024-02-12 22:18:42,156: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-02-12 22:18:42,159: DEBUG - + local pkgname=outline-ynh-deps
2024-02-12 22:18:42,160: DEBUG - ++ grep '^Version: ' /tmp/outline-ynh-deps.control
2024-02-12 22:18:42,161: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-02-12 22:18:42,164: DEBUG - + local pkgversion=0.74.0~ynh1
2024-02-12 22:18:42,165: DEBUG - + [[ -z outline-ynh-deps ]]
2024-02-12 22:18:42,165: DEBUG - + [[ -z 0.74.0~ynh1 ]]
2024-02-12 22:18:42,165: DEBUG - + ynh_package_update
2024-02-12 22:18:42,165: DEBUG - + ynh_apt update
2024-02-12 22:18:42,165: DEBUG - + ynh_wait_dpkg_free
2024-02-12 22:18:42,440: DEBUG - + return 0
2024-02-12 22:18:42,441: DEBUG - + LC_ALL=C
2024-02-12 22:18:42,441: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-02-12 22:18:42,441: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-02-12 22:18:42,563: DEBUG - Hit:1 http://asi-fs-d.contabo.net/debian bullseye InRelease
2024-02-12 22:18:42,564: DEBUG - Hit:2 http://asi-fs-d.contabo.net/debian bullseye-updates InRelease
2024-02-12 22:18:42,564: DEBUG - Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
2024-02-12 22:18:42,577: DEBUG - Hit:4 http://forge.yunohost.org/debian bullseye InRelease
2024-02-12 22:18:42,597: DEBUG - Hit:5 https://dl.yarnpkg.com/debian stable InRelease
2024-02-12 22:18:42,625: DEBUG - Hit:6 https://packages.sury.org/php bullseye InRelease
2024-02-12 22:18:44,236: DEBUG - Reading package lists...
2024-02-12 22:18:44,250: DEBUG - ++ mktemp --directory
2024-02-12 22:18:44,253: DEBUG - + local TMPDIR=/tmp/tmp.7QhvHAx3zd
2024-02-12 22:18:44,253: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2024-02-12 22:18:44,254: DEBUG - + ynh_wait_dpkg_free
2024-02-12 22:18:44,539: DEBUG - + return 0
2024-02-12 22:18:44,539: DEBUG - + cp /tmp/outline-ynh-deps.control /tmp/tmp.7QhvHAx3zd/control
2024-02-12 22:18:44,540: DEBUG - + cd /tmp/tmp.7QhvHAx3zd
2024-02-12 22:18:44,541: DEBUG - + LC_ALL=C
2024-02-12 22:18:44,541: DEBUG - + equivs-build ./control
2024-02-12 22:18:44,704: DEBUG - dpkg-buildpackage: info: source package outline-ynh-deps
2024-02-12 22:18:44,704: DEBUG - dpkg-buildpackage: info: source version 0.74.0~ynh1
2024-02-12 22:18:44,704: DEBUG - dpkg-buildpackage: info: source distribution unstable
2024-02-12 22:18:44,704: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator
2024-02-12 22:18:44,755: DEBUG - dpkg-source --before-build .
2024-02-12 22:18:44,755: DEBUG - dpkg-buildpackage: info: host architecture amd64
2024-02-12 22:18:44,868: DEBUG - debian/rules clean
2024-02-12 22:18:44,871: DEBUG - dh clean
2024-02-12 22:18:44,994: DEBUG - dh_clean
2024-02-12 22:18:45,035: DEBUG - debian/rules binary
2024-02-12 22:18:45,037: DEBUG - dh binary
2024-02-12 22:18:45,118: DEBUG - dh_update_autotools_config
2024-02-12 22:18:45,152: DEBUG - dh_autoreconf
2024-02-12 22:18:45,199: DEBUG - create-stamp debian/debhelper-build-stamp
2024-02-12 22:18:45,199: DEBUG - dh_prep
2024-02-12 22:18:45,232: DEBUG - dh_install
2024-02-12 22:18:45,273: DEBUG - dh_installdocs
2024-02-12 22:18:45,321: DEBUG - dh_installchangelogs
2024-02-12 22:18:45,412: DEBUG - dh_perl
2024-02-12 22:18:45,458: DEBUG - dh_link
2024-02-12 22:18:45,497: DEBUG - dh_strip_nondeterminism
2024-02-12 22:18:45,575: DEBUG - dh_compress
2024-02-12 22:18:45,622: DEBUG - dh_fixperms
2024-02-12 22:18:45,667: DEBUG - dh_missing
2024-02-12 22:18:45,696: DEBUG - dh_installdeb
2024-02-12 22:18:45,729: DEBUG - dh_gencontrol
2024-02-12 22:18:45,882: DEBUG - dh_md5sums
2024-02-12 22:18:45,932: DEBUG - dh_builddeb
2024-02-12 22:18:45,968: DEBUG - dpkg-deb: building package 'outline-ynh-deps' in '../outline-ynh-deps_0.74.0~ynh1_all.deb'.
2024-02-12 22:18:45,994: DEBUG - dpkg-genbuildinfo --build=binary
2024-02-12 22:18:46,694: DEBUG - dpkg-genchanges --build=binary >../outline-ynh-deps_0.74.0~ynh1_amd64.changes
2024-02-12 22:18:46,783: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2024-02-12 22:18:46,788: DEBUG - dpkg-source --after-build .
2024-02-12 22:18:46,906: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2024-02-12 22:18:46,913: DEBUG -
2024-02-12 22:18:46,913: DEBUG - The package has been created.
2024-02-12 22:18:46,914: DEBUG - Attention, the package has been created in the current directory,
2024-02-12 22:18:46,914: DEBUG - not in ".." as indicated by the message above!
2024-02-12 22:18:46,920: DEBUG - + LC_ALL=C
2024-02-12 22:18:46,920: DEBUG - + dpkg --force-depends --install ./outline-ynh-deps_0.74.0~ynh1_all.deb
2024-02-12 22:18:46,920: DEBUG - + tee ./dpkg_log
2024-02-12 22:18:46,994: DEBUG - (Reading database ... 84573 files and directories currently installed.)
2024-02-12 22:18:46,999: DEBUG - Preparing to unpack .../outline-ynh-deps_0.74.0~ynh1_all.deb ...
2024-02-12 22:18:47,015: DEBUG - Unpacking outline-ynh-deps (0.74.0~ynh1) over (0.74.0~ynh1) ...
2024-02-12 22:18:47,045: DEBUG - Setting up outline-ynh-deps (0.74.0~ynh1) ...
2024-02-12 22:18:47,073: DEBUG - + ynh_package_install --fix-broken
2024-02-12 22:18:47,073: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-02-12 22:18:47,073: DEBUG - + ynh_wait_dpkg_free
2024-02-12 22:18:47,352: DEBUG - + return 0
2024-02-12 22:18:47,352: DEBUG - + LC_ALL=C
2024-02-12 22:18:47,352: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-02-12 22:18:47,353: 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
2024-02-12 22:18:47,519: DEBUG - Reading package lists...
2024-02-12 22:18:47,831: DEBUG - Building dependency tree...
2024-02-12 22:18:47,833: DEBUG - Reading state information...
2024-02-12 22:18:48,256: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2024-02-12 22:18:48,257: DEBUG - + [[ -n /tmp/tmp.7QhvHAx3zd ]]
2024-02-12 22:18:48,257: DEBUG - + rm --recursive --force /tmp/tmp.7QhvHAx3zd
2024-02-12 22:18:48,259: DEBUG - + ynh_package_is_installed outline-ynh-deps
2024-02-12 22:18:48,266: DEBUG - + ynh_wait_dpkg_free
2024-02-12 22:18:48,542: DEBUG - + return 0
2024-02-12 22:18:48,551: DEBUG - + dpkg-query --show '--showformat=${Status}' outline-ynh-deps
2024-02-12 22:18:48,552: DEBUG - + grep --count 'ok installed'
2024-02-12 22:18:48,576: DEBUG - + rm /tmp/outline-ynh-deps.control
2024-02-12 22:18:48,578: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-02-12 22:18:48,593: DEBUG - ++ ynh_wait_dpkg_free
2024-02-12 22:18:48,882: DEBUG - ++ return 0
2024-02-12 22:18:48,882: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-02-12 22:18:48,883: DEBUG - ++ grep --count 'ok installed'
2024-02-12 22:18:48,897: DEBUG - ++ echo yes
2024-02-12 22:18:48,898: DEBUG - + local psql_installed2=yes
2024-02-12 22:18:48,898: DEBUG - + [[ yes != \y\e\s ]]
2024-02-12 22:18:48,898: DEBUG - ++ apt-mark showauto yarn
2024-02-12 22:18:49,267: DEBUG - + local apps_auto_installed=yarn
2024-02-12 22:18:49,268: DEBUG - + ynh_package_install yarn
2024-02-12 22:18:49,268: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install yarn
2024-02-12 22:18:49,268: DEBUG - + ynh_wait_dpkg_free
2024-02-12 22:18:49,521: DEBUG - + return 0
2024-02-12 22:18:49,521: DEBUG - + LC_ALL=C
2024-02-12 22:18:49,521: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-02-12 22:18:49,521: 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 yarn
2024-02-12 22:18:49,564: DEBUG - Reading package lists...
2024-02-12 22:18:49,833: DEBUG - Building dependency tree...
2024-02-12 22:18:49,835: DEBUG - Reading state information...
2024-02-12 22:18:50,345: DEBUG - yarn is already the newest version (1.22.19-1).
2024-02-12 22:18:50,346: DEBUG - yarn set to manually installed.
2024-02-12 22:18:50,346: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2024-02-12 22:18:50,347: DEBUG - + '[' -z yarn ']'
2024-02-12 22:18:50,347: DEBUG - + apt-mark auto yarn
2024-02-12 22:18:50,808: DEBUG - yarn set to automatically installed.
2024-02-12 22:18:50,809: DEBUG - + ynh_remove_extra_repo --name=outline
2024-02-12 22:18:50,821: DEBUG - + name=outline
2024-02-12 22:18:50,821: DEBUG - + ynh_secure_remove --file=/etc/apt/sources.list.d/outline.list
2024-02-12 22:18:50,842: DEBUG - + [[ outline == \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
2024-02-12 22:18:50,842: DEBUG - + ynh_secure_remove /etc/apt/preferences.d/outline
2024-02-12 22:18:50,868: DEBUG - + '[' -e /etc/apt/trusted.gpg.d/outline.gpg ']'
2024-02-12 22:18:50,869: DEBUG - + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/outline.gpg
2024-02-12 22:18:50,893: DEBUG - + '[' -e /etc/apt/trusted.gpg.d/outline.asc ']'
2024-02-12 22:18:50,893: DEBUG - + ynh_package_update
2024-02-12 22:18:50,893: DEBUG - + ynh_apt update
2024-02-12 22:18:50,894: DEBUG - + ynh_wait_dpkg_free
2024-02-12 22:18:51,169: DEBUG - + return 0
2024-02-12 22:18:51,169: DEBUG - + LC_ALL=C
2024-02-12 22:18:51,169: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-02-12 22:18:51,169: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-02-12 22:18:51,285: DEBUG - Hit:1 http://asi-fs-d.contabo.net/debian bullseye InRelease
2024-02-12 22:18:51,285: DEBUG - Hit:2 http://asi-fs-d.contabo.net/debian bullseye-updates InRelease
2024-02-12 22:18:51,285: DEBUG - Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
2024-02-12 22:18:51,303: DEBUG - Hit:4 http://forge.yunohost.org/debian bullseye InRelease
2024-02-12 22:18:51,338: DEBUG - Hit:5 https://packages.sury.org/php bullseye InRelease
2024-02-12 22:18:52,787: DEBUG - Reading package lists...
2024-02-12 22:18:52,905: INFO - [#####...............] > Configuring system user...
2024-02-12 22:18:52,906: DEBUG - + ynh_system_user_create --username=outline --home_dir=/var/www/outline
2024-02-12 22:18:53,032: DEBUG - + use_shell=0
2024-02-12 22:18:53,033: DEBUG - + home_dir=/var/www/outline
2024-02-12 22:18:53,033: DEBUG - + groups=
2024-02-12 22:18:53,033: DEBUG - + ynh_system_user_exists outline
2024-02-12 22:18:53,044: DEBUG - + getent passwd outline
2024-02-12 22:18:53,050: DEBUG - + '[' -n /var/www/outline ']'
2024-02-12 22:18:53,051: DEBUG - + local 'user_home_dir=--home-dir /var/www/outline'
2024-02-12 22:18:53,051: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2024-02-12 22:18:53,051: DEBUG - + useradd --home-dir /var/www/outline --system --user-group outline --shell /usr/sbin/nologin
2024-02-12 22:18:53,231: INFO - [#####+..............] > Creating a PostgreSQL database...
2024-02-12 22:18:53,251: DEBUG - ++ ynh_sanitize_dbid --db_name=outline
2024-02-12 22:18:53,297: DEBUG - ++ echo outline
2024-02-12 22:18:53,297: DEBUG - + db_name=outline
2024-02-12 22:18:53,297: DEBUG - + ynh_app_setting_set --app=outline --key=db_name --value=outline
2024-02-12 22:18:53,297: DEBUG - + local _globalapp=outline
2024-02-12 22:18:53,415: DEBUG - + app=outline
2024-02-12 22:18:53,415: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:53,415: DEBUG - + ynh_app_setting set outline db_name outline
2024-02-12 22:18:53,477: DEBUG - + ynh_psql_test_if_first_run
2024-02-12 22:18:53,477: DEBUG - + dpkg --list
2024-02-12 22:18:53,478: DEBUG - + grep -q 'ii postgresql-13'
2024-02-12 22:18:53,502: DEBUG - + yunohost tools regen-conf postgresql
2024-02-12 22:18:56,568: DEBUG - + ynh_psql_setup_db --db_user=outline --db_name=outline --db_pwd=**********
2024-02-12 22:18:56,569: DEBUG - + db_pwd=
2024-02-12 22:18:56,696: DEBUG - + ynh_psql_user_exists --user=outline
2024-02-12 22:18:56,706: DEBUG - + grep --quiet outline
2024-02-12 22:18:56,707: DEBUG - ++ cat /etc/yunohost/psql
2024-02-12 22:18:56,707: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql -tAc 'SELECT rolname FROM pg_roles WHERE rolname='\''outline'\'';'
2024-02-12 22:18:56,782: DEBUG - + return 1
2024-02-12 22:18:56,784: DEBUG - ++ ynh_string_random
2024-02-12 22:18:56,785: DEBUG - ++ length=24
2024-02-12 22:18:56,785: DEBUG - ++ filter=A-Za-z0-9
2024-02-12 22:18:56,785: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2024-02-12 22:18:56,785: DEBUG - ++ tr --complement --delete A-Za-z0-9
2024-02-12 22:18:56,785: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2024-02-12 22:18:56,793: DEBUG - + local new_db_pwd=**********
2024-02-12 22:18:56,793: DEBUG - + db_pwd=**********
2024-02-12 22:18:56,794: DEBUG - + ynh_psql_create_user outline **********
2024-02-12 22:18:56,794: DEBUG - + local user=outline
2024-02-12 22:18:56,794: DEBUG - + local pwd=**********
2024-02-12 22:18:56,794: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE USER outline WITH ENCRYPTED PASSWORD '\''**********'\'''
2024-02-12 22:18:56,810: DEBUG - + database=
2024-02-12 22:18:56,810: DEBUG - + '[' -n '' ']'
2024-02-12 22:18:56,810: DEBUG - ++ cat /etc/yunohost/psql
2024-02-12 22:18:56,812: DEBUG - + ynh_psql_connect_as --user=postgres --password=**********
2024-02-12 22:18:56,849: DEBUG - + database=
2024-02-12 22:18:56,849: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ''
2024-02-12 22:18:56,929: DEBUG - CREATE ROLE
2024-02-12 22:18:56,933: DEBUG - + ynh_psql_create_db outline outline
2024-02-12 22:18:56,933: DEBUG - + local db=outline
2024-02-12 22:18:56,933: DEBUG - + local user=outline
2024-02-12 22:18:56,933: DEBUG - + local 'sql=CREATE DATABASE outline;'
2024-02-12 22:18:56,933: DEBUG - + '[' -n outline ']'
2024-02-12 22:18:56,933: DEBUG - + sql+='ALTER DATABASE outline OWNER TO outline;'
2024-02-12 22:18:56,934: DEBUG - + sql+='GRANT ALL PRIVILEGES ON DATABASE outline TO outline WITH GRANT OPTION;'
2024-02-12 22:18:56,934: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE DATABASE outline;ALTER DATABASE outline OWNER TO outline;GRANT ALL PRIVILEGES ON DATABASE outline TO outline WITH GRANT OPTION;'
2024-02-12 22:18:56,948: DEBUG - + database=
2024-02-12 22:18:56,948: DEBUG - + '[' -n '' ']'
2024-02-12 22:18:56,949: DEBUG - ++ cat /etc/yunohost/psql
2024-02-12 22:18:56,950: DEBUG - + ynh_psql_connect_as --user=postgres --password=**********
2024-02-12 22:18:56,995: DEBUG - + database=
2024-02-12 22:18:56,995: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ''
2024-02-12 22:18:57,302: DEBUG - CREATE DATABASE
2024-02-12 22:18:57,303: DEBUG - ALTER DATABASE
2024-02-12 22:18:57,304: DEBUG - GRANT
2024-02-12 22:18:57,309: DEBUG - + ynh_app_setting_set --app=outline --key=psqlpwd --value=**********
2024-02-12 22:18:57,310: DEBUG - + local _globalapp=outline
2024-02-12 22:18:57,397: DEBUG - + app=outline
2024-02-12 22:18:57,397: DEBUG - + [[ psqlpwd =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:57,397: DEBUG - + ynh_app_setting set outline psqlpwd **********
2024-02-12 22:18:57,452: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE EXTENSION IF NOT EXISTS unaccent;' --database=outline
2024-02-12 22:18:57,493: DEBUG - + database=outline
2024-02-12 22:18:57,493: DEBUG - + '[' -n outline ']'
2024-02-12 22:18:57,494: DEBUG - + database=--database=outline
2024-02-12 22:18:57,494: DEBUG - ++ cat /etc/yunohost/psql
2024-02-12 22:18:57,495: DEBUG - + ynh_psql_connect_as --user=postgres --password=********** --database=outline
2024-02-12 22:18:57,563: DEBUG - + database=outline
2024-02-12 22:18:57,564: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql outline
2024-02-12 22:18:57,679: DEBUG - CREATE EXTENSION
2024-02-12 22:18:57,684: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE EXTENSION IF NOT EXISTS pg_trgm;' --database=outline
2024-02-12 22:18:57,727: DEBUG - + database=outline
2024-02-12 22:18:57,727: DEBUG - + '[' -n outline ']'
2024-02-12 22:18:57,727: DEBUG - + database=--database=outline
2024-02-12 22:18:57,727: DEBUG - ++ cat /etc/yunohost/psql
2024-02-12 22:18:57,729: DEBUG - + ynh_psql_connect_as --user=postgres --password=********** --database=outline
2024-02-12 22:18:57,813: DEBUG - + database=outline
2024-02-12 22:18:57,814: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql outline
2024-02-12 22:18:57,926: DEBUG - CREATE EXTENSION
2024-02-12 22:18:58,022: INFO - [######..............] > Setting up source files...
2024-02-12 22:18:58,023: DEBUG - + ynh_app_setting_set --app=outline --key=final_path --value=/var/www/outline
2024-02-12 22:18:58,023: DEBUG - + local _globalapp=outline
2024-02-12 22:18:58,093: DEBUG - + app=outline
2024-02-12 22:18:58,093: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:58,093: DEBUG - + ynh_app_setting set outline final_path /var/www/outline
2024-02-12 22:18:58,152: DEBUG - + ynh_setup_source --dest_dir=/var/www/outline
2024-02-12 22:18:58,184: DEBUG - + keep=
2024-02-12 22:18:58,184: DEBUG - + full_replace=0
2024-02-12 22:18:58,184: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.toml
2024-02-12 22:18:58,184: DEBUG - + source_id=app
2024-02-12 22:18:58,185: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/app.src
2024-02-12 22:18:58,185: DEBUG - ++ cut --delimiter== --fields=2-
2024-02-12 22:18:58,185: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/app.src
2024-02-12 22:18:58,188: DEBUG - + local src_url=https://github.com/outline/outline/archive/e4d00783585f2a509da3565723227d2b5959a2e9.zip
2024-02-12 22:18:58,189: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/app.src
2024-02-12 22:18:58,190: DEBUG - ++ cut --delimiter== --fields=2-
2024-02-12 22:18:58,193: DEBUG - + local src_sum=f3394b676393e574c52aab14786b3553a58c1a87e215ae889d9c8e4d3dd6d962
2024-02-12 22:18:58,195: DEBUG - ++ cut --delimiter== --fields=2-
2024-02-12 22:18:58,195: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/app.src
2024-02-12 22:18:58,197: DEBUG - + local src_sumprg=sha256sum
2024-02-12 22:18:58,198: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/app.src
2024-02-12 22:18:58,198: DEBUG - ++ cut --delimiter== --fields=2-
2024-02-12 22:18:58,201: DEBUG - + local src_format=zip
2024-02-12 22:18:58,202: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/app.src
2024-02-12 22:18:58,202: DEBUG - ++ cut --delimiter== --fields=2-
2024-02-12 22:18:58,205: DEBUG - + local src_in_subdir=true
2024-02-12 22:18:58,206: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/app.src
2024-02-12 22:18:58,206: DEBUG - ++ cut --delimiter== --fields=2-
2024-02-12 22:18:58,209: DEBUG - + local src_rename=
2024-02-12 22:18:58,213: DEBUG - ++ cut --delimiter== --fields=2-
2024-02-12 22:18:58,213: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/app.src
2024-02-12 22:18:58,214: DEBUG - + local src_extract=true
2024-02-12 22:18:58,216: DEBUG - ++ grep SOURCE_PLATFORM= /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/app.src
2024-02-12 22:18:58,216: DEBUG - ++ cut --delimiter== --fields=2-
2024-02-12 22:18:58,218: DEBUG - + local src_platform=
2024-02-12 22:18:58,218: DEBUG - + src_sumprg=sha256sum
2024-02-12 22:18:58,218: DEBUG - + src_in_subdir=true
2024-02-12 22:18:58,218: DEBUG - + src_format=zip
2024-02-12 22:18:58,218: DEBUG - ++ echo zip
2024-02-12 22:18:58,219: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2024-02-12 22:18:58,220: DEBUG - + src_format=zip
2024-02-12 22:18:58,220: DEBUG - + src_extract=true
2024-02-12 22:18:58,220: DEBUG - + [[ true != \t\r\u\e ]]
2024-02-12 22:18:58,220: DEBUG - + local local_src=/opt/yunohost-apps-src/outline/app
2024-02-12 22:18:58,221: DEBUG - ++ dirname /var/cache/yunohost/download/outline/app
2024-02-12 22:18:58,223: DEBUG - + mkdir -p /var/cache/yunohost/download/outline
2024-02-12 22:18:58,225: DEBUG - + src_filename=/var/cache/yunohost/download/outline/app
2024-02-12 22:18:58,225: DEBUG - + '[' zip = docker ']'
2024-02-12 22:18:58,225: DEBUG - + test -e /opt/yunohost-apps-src/outline/app
2024-02-12 22:18:58,225: DEBUG - + '[' -n https://github.com/outline/outline/archive/e4d00783585f2a509da3565723227d2b5959a2e9.zip ']'
2024-02-12 22:18:58,225: DEBUG - + '[' -e /var/cache/yunohost/download/outline/app ']'
2024-02-12 22:18:58,225: DEBUG - + '[' '!' -e /var/cache/yunohost/download/outline/app ']'
2024-02-12 22:18:58,225: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/outline/app https://github.com/outline/outline/archive/e4d00783585f2a509da3565723227d2b5959a2e9.zip
2024-02-12 22:18:59,120: DEBUG - + out='2024-02-12 22:18:59 URL:https://codeload.github.com/outline/outline/zip/e4d00783585f2a509da3565723227d2b5959a2e9 [4771570] -> "/var/cache/yunohost/download/outline/app" [1]'
2024-02-12 22:18:59,122: DEBUG - + sha256sum --check --status
2024-02-12 22:18:59,171: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-02-12 22:18:59,176: DEBUG - + '[' -n '' ']'
2024-02-12 22:18:59,176: DEBUG - + mkdir --parents /var/www/outline
2024-02-12 22:18:59,189: DEBUG - + '[' -n '' ']'
2024-02-12 22:18:59,190: DEBUG - + '[' -n /var/www/outline ']'
2024-02-12 22:18:59,190: DEBUG - + '[' /var/www/outline == /var/www/outline ']'
2024-02-12 22:18:59,190: DEBUG - + _ynh_apply_default_permissions /var/www/outline
2024-02-12 22:18:59,190: DEBUG - + local target=/var/www/outline
2024-02-12 22:18:59,214: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-12 22:18:59,215: DEBUG - ++ tr -d '<>= '
2024-02-12 22:18:59,259: DEBUG - ++ '[' '!' -e '' ']'
2024-02-12 22:18:59,260: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json ']'
2024-02-12 22:18:59,260: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json
2024-02-12 22:18:59,260: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json
2024-02-12 22:18:59,264: DEBUG - ++ grep -q '\.json$'
2024-02-12 22:18:59,266: DEBUG - ++ jq .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json --raw-output
2024-02-12 22:18:59,306: DEBUG - + local ynh_requirement=11.0.9
2024-02-12 22:18:59,307: DEBUG - + dpkg --compare-versions 1.0 ge 2
2024-02-12 22:18:59,308: DEBUG - + '[' -z 11.0.9 ']'
2024-02-12 22:18:59,308: DEBUG - + '[' 11.0.9 == null ']'
2024-02-12 22:18:59,308: DEBUG - + dpkg --compare-versions 11.0.9 ge 4.2
2024-02-12 22:18:59,309: DEBUG - + chmod o-rwx /var/www/outline
2024-02-12 22:18:59,310: DEBUG - + chmod g-w /var/www/outline
2024-02-12 22:18:59,311: DEBUG - + chown -R root:root /var/www/outline
2024-02-12 22:18:59,315: DEBUG - + ynh_system_user_exists outline
2024-02-12 22:18:59,333: DEBUG - + getent passwd outline
2024-02-12 22:18:59,341: DEBUG - + chown outline:outline /var/www/outline
2024-02-12 22:18:59,346: DEBUG - + echo /var/www/outline
2024-02-12 22:18:59,346: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-02-12 22:18:59,348: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-02-12 22:18:59,349: DEBUG - + [[ zip == \d\o\c\k\e\r ]]
2024-02-12 22:18:59,349: DEBUG - + [[ zip == \z\i\p ]]
2024-02-12 22:18:59,349: DEBUG - + true
2024-02-12 22:18:59,349: DEBUG - ++ mktemp --directory
2024-02-12 22:18:59,351: DEBUG - + local tmp_dir=/tmp/tmp.so2pr3LD5r
2024-02-12 22:18:59,352: DEBUG - + unzip -quo /var/cache/yunohost/download/outline/app -d /tmp/tmp.so2pr3LD5r
2024-02-12 22:18:59,513: DEBUG - + cp --archive /tmp/tmp.so2pr3LD5r/outline-e4d00783585f2a509da3565723227d2b5959a2e9/. /var/www/outline
2024-02-12 22:18:59,609: DEBUG - + ynh_secure_remove --file=/tmp/tmp.so2pr3LD5r
2024-02-12 22:18:59,665: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/outline/app
2024-02-12 22:18:59,695: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/sources/patches/ ']'
2024-02-12 22:18:59,697: DEBUG - ++ realpath /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/sources/patches/
2024-02-12 22:18:59,698: DEBUG - + local patches_folder=/var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/sources/patches
2024-02-12 22:18:59,700: DEBUG - ++ find /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/sources/patches -type f -name 'app-*.patch'
2024-02-12 22:18:59,700: DEBUG - ++ wc --lines
2024-02-12 22:18:59,705: DEBUG - + (( 1 > 0 ))
2024-02-12 22:18:59,705: DEBUG - + pushd /var/www/outline
2024-02-12 22:18:59,705: DEBUG - /var/www/outline /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/scripts
2024-02-12 22:18:59,705: DEBUG - + for p in $patches_folder/${source_id}-*.patch
2024-02-12 22:18:59,706: DEBUG - + echo /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/sources/patches/app-01-email.patch
2024-02-12 22:18:59,706: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/sources/patches/app-01-email.patch
2024-02-12 22:18:59,707: DEBUG - + patch --strip=1
2024-02-12 22:18:59,710: DEBUG - patching file server/emails/mailer.tsx
2024-02-12 22:18:59,712: DEBUG - + popd
2024-02-12 22:18:59,712: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/scripts
2024-02-12 22:18:59,712: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/sources/extra_files/app
2024-02-12 22:18:59,712: DEBUG - + cp --archive /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/sources/extra_files/app/. /var/www/outline
2024-02-12 22:18:59,714: DEBUG - + '[' -n '' ']'
2024-02-12 22:18:59,714: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-02-12 22:18:59,716: DEBUG - + chmod 750 /var/www/outline
2024-02-12 22:18:59,720: DEBUG - + chmod -R o-rwx /var/www/outline
2024-02-12 22:18:59,731: DEBUG - + chown -R outline:www-data /var/www/outline
2024-02-12 22:18:59,746: DEBUG - + mkdir /var/lib/outline
2024-02-12 22:18:59,748: DEBUG - + chown -R outline:www-data /var/lib/outline
2024-02-12 22:18:59,839: INFO - [######+.............] > Configuring NGINX web server...
2024-02-12 22:18:59,839: DEBUG - + ynh_add_nginx_config
2024-02-12 22:18:59,840: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:18:59,840: DEBUG - + ynh_add_config --template=nginx.conf --destination=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:18:59,880: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/nginx.conf ']'
2024-02-12 22:18:59,880: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/nginx.conf
2024-02-12 22:18:59,880: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:18:59,889: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_info.domain2.tld.d_outline.conf
2024-02-12 22:18:59,889: DEBUG - ++ ynh_app_setting_get --app=outline --key=checksum__etc_nginx_conf.d_info.domain2.tld.d_outline.conf
2024-02-12 22:18:59,889: DEBUG - ++ local _globalapp=outline
2024-02-12 22:18:59,918: DEBUG - ++ app=outline
2024-02-12 22:18:59,919: DEBUG - ++ [[ checksum__etc_nginx_conf.d_info.domain2.tld.d_outline.conf =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:18:59,919: DEBUG - ++ ynh_app_setting get outline checksum__etc_nginx_conf.d_info.domain2.tld.d_outline.conf
2024-02-12 22:18:59,967: DEBUG - + local checksum_value=
2024-02-12 22:18:59,968: DEBUG - + backup_file_checksum=
2024-02-12 22:18:59,968: DEBUG - + '[' -n '' ']'
2024-02-12 22:18:59,968: DEBUG - + touch /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:18:59,969: DEBUG - + chown root:root /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:18:59,971: DEBUG - + chmod 640 /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:18:59,973: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/nginx.conf /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:18:59,975: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:18:59,976: DEBUG - + local target=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:18:59,977: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-12 22:18:59,979: DEBUG - ++ tr -d '<>= '
2024-02-12 22:19:00,007: DEBUG - ++ '[' '!' -e '' ']'
2024-02-12 22:19:00,007: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json ']'
2024-02-12 22:19:00,007: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json
2024-02-12 22:19:00,008: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json
2024-02-12 22:19:00,008: DEBUG - ++ grep -q '\.json$'
2024-02-12 22:19:00,010: DEBUG - ++ jq .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json --raw-output
2024-02-12 22:19:00,043: DEBUG - + local ynh_requirement=11.0.9
2024-02-12 22:19:00,044: DEBUG - + dpkg --compare-versions 1.0 ge 2
2024-02-12 22:19:00,050: DEBUG - + '[' -z 11.0.9 ']'
2024-02-12 22:19:00,050: DEBUG - + '[' 11.0.9 == null ']'
2024-02-12 22:19:00,050: DEBUG - + dpkg --compare-versions 11.0.9 ge 4.2
2024-02-12 22:19:00,052: DEBUG - + chmod o-rwx /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,053: DEBUG - + chmod g-w /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,055: DEBUG - + chown -R root:root /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,057: DEBUG - + ynh_system_user_exists outline
2024-02-12 22:19:00,069: DEBUG - + getent passwd outline
2024-02-12 22:19:00,071: DEBUG - + chown outline:outline /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,073: DEBUG - + echo /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,074: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-02-12 22:19:00,076: DEBUG - + chmod 400 /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,078: DEBUG - + chown root:root /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,080: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,090: DEBUG - + test -n /
2024-02-12 22:19:00,091: DEBUG - + local path_url_slash_less=
2024-02-12 22:19:00,091: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,177: DEBUG - + sed --in-place $'s\001__PATH__/\001/\001g' /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,181: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,269: DEBUG - + sed --in-place $'s\001__PATH__\001/\001g' /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,270: DEBUG - + test -n outline
2024-02-12 22:19:00,271: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=outline --target_file=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,354: DEBUG - + sed --in-place $'s\001__NAME__\001outline\001g' /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,356: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=outline --target_file=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,440: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001outline\001g' /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,444: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=outline --target_file=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,525: DEBUG - + sed --in-place $'s\001__USER__\001outline\001g' /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,527: DEBUG - + test -n /var/www/outline
2024-02-12 22:19:00,527: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/outline --target_file=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,612: DEBUG - + sed --in-place $'s\001__FINALPATH__\001/var/www/outline\001g' /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,616: DEBUG - + ynh_replace_string --match_string=__INSTALL_DIR__ --replace_string=/var/www/outline --target_file=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,714: DEBUG - + sed --in-place $'s\001__INSTALL_DIR__\001/var/www/outline\001g' /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,715: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-02-12 22:19:00,717: DEBUG - + test -n 7.4
2024-02-12 22:19:00,718: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,782: DEBUG - + sed --in-place $'s\001__PHPVERSION__\0017.4\001g' /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,800: DEBUG - + test -n PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:19:00,801: DEBUG - + ynh_replace_string --match_string=__YNH_NODE_LOAD_PATH__ --replace_string=PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --target_file=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,961: DEBUG - + sed --in-place $'s\001__YNH_NODE_LOAD_PATH__\001PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\001g' /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,966: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,966: DEBUG - ++ sort --unique
2024-02-12 22:19:00,966: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-02-12 22:19:00,969: DEBUG - + uniques_vars=('port')
2024-02-12 22:19:00,972: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:00,974: DEBUG - + update_only=0
2024-02-12 22:19:01,003: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_info.domain2.tld.d_outline.conf
2024-02-12 22:19:01,012: DEBUG - ++ md5sum /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:01,013: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-02-12 22:19:01,016: DEBUG - + ynh_app_setting_set --app=outline --key=checksum__etc_nginx_conf.d_info.domain2.tld.d_outline.conf --value=c7fb009a077a2676bc146abacf141d4e
2024-02-12 22:19:01,016: DEBUG - + local _globalapp=outline
2024-02-12 22:19:01,136: DEBUG - + app=outline
2024-02-12 22:19:01,136: DEBUG - + [[ checksum__etc_nginx_conf.d_info.domain2.tld.d_outline.conf =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:19:01,136: DEBUG - + ynh_app_setting set outline checksum__etc_nginx_conf.d_info.domain2.tld.d_outline.conf c7fb009a077a2676bc146abacf141d4e
2024-02-12 22:19:01,195: DEBUG - + '[' -n '' ']'
2024-02-12 22:19:01,195: DEBUG - + unset backup_file_checksum
2024-02-12 22:19:01,195: DEBUG - + '[' / '!=' / ']'
2024-02-12 22:19:01,195: DEBUG - + ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:01,276: DEBUG - + sed --in-place 's^#root_path_onlyg' /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:01,282: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:01,282: DEBUG - + update_only=0
2024-02-12 22:19:01,314: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_info.domain2.tld.d_outline.conf
2024-02-12 22:19:01,323: DEBUG - ++ md5sum /etc/nginx/conf.d/info.domain2.tld.d/outline.conf
2024-02-12 22:19:01,323: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-02-12 22:19:01,328: DEBUG - + ynh_app_setting_set --app=outline --key=checksum__etc_nginx_conf.d_info.domain2.tld.d_outline.conf --value=c7fb009a077a2676bc146abacf141d4e
2024-02-12 22:19:01,328: DEBUG - + local _globalapp=outline
2024-02-12 22:19:01,411: DEBUG - + app=outline
2024-02-12 22:19:01,412: DEBUG - + [[ checksum__etc_nginx_conf.d_info.domain2.tld.d_outline.conf =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:19:01,412: DEBUG - + ynh_app_setting set outline checksum__etc_nginx_conf.d_info.domain2.tld.d_outline.conf c7fb009a077a2676bc146abacf141d4e
2024-02-12 22:19:01,465: DEBUG - + '[' -n '' ']'
2024-02-12 22:19:01,466: DEBUG - + unset backup_file_checksum
2024-02-12 22:19:01,466: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2024-02-12 22:19:01,606: DEBUG - + service_name=nginx
2024-02-12 22:19:01,606: DEBUG - + action=reload
2024-02-12 22:19:01,606: DEBUG - + line_match=
2024-02-12 22:19:01,606: DEBUG - + length=20
2024-02-12 22:19:01,606: DEBUG - + log_path=/var/log/nginx/nginx.log
2024-02-12 22:19:01,606: DEBUG - + timeout=300
2024-02-12 22:19:01,607: DEBUG - + '[' reload == stop ']'
2024-02-12 22:19:01,607: DEBUG - + '[' reload == reload ']'
2024-02-12 22:19:01,607: DEBUG - + action=reload-or-restart
2024-02-12 22:19:01,607: DEBUG - ++ date --utc --rfc-3339=seconds
2024-02-12 22:19:01,607: DEBUG - ++ cut -d+ -f1
2024-02-12 22:19:01,609: DEBUG - + local 'time_start=2024-02-12 21:19:01 UTC'
2024-02-12 22:19:01,609: DEBUG - + systemctl reload-or-restart nginx
2024-02-12 22:19:01,906: DEBUG - + pushd /var/www/outline
2024-02-12 22:19:01,906: DEBUG - /var/www/outline /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/scripts
2024-02-12 22:19:01,906: DEBUG - + ynh_use_nodejs
2024-02-12 22:19:01,906: DEBUG - ++ ynh_app_setting_get --app=outline --key=nodejs_version
2024-02-12 22:19:01,906: DEBUG - ++ local _globalapp=outline
2024-02-12 22:19:01,936: DEBUG - ++ app=outline
2024-02-12 22:19:01,937: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:19:01,937: DEBUG - ++ ynh_app_setting get outline nodejs_version
2024-02-12 22:19:01,981: DEBUG - + nodejs_version=20
2024-02-12 22:19:01,981: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/20/bin
2024-02-12 22:19:01,981: DEBUG - + shopt -s expand_aliases
2024-02-12 22:19:01,982: DEBUG - + ynh_node=/opt/node_n/n/versions/node/20/bin/node
2024-02-12 22:19:01,982: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/20/bin/node
2024-02-12 22:19:01,982: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
2024-02-12 22:19:01,982: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
2024-02-12 22:19:01,982: DEBUG - + [[ :/opt/node_n/n/versions/node/20/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\/\2\0\/\b\i\n* ]]
2024-02-12 22:19:01,982: DEBUG - + node_PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:19:01,982: DEBUG - + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:19:01,982: DEBUG - + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:19:02,056: INFO - [#######++++.........] > Fetching Yarn production dependencies... This can be very long, be patient !
2024-02-12 22:19:02,057: DEBUG - + ynh_exec_warn_less sudo -u outline env PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install --frozen-lockfile --network-timeout 1000000000
2024-02-12 22:19:02,057: DEBUG - + [[ 10 -eq 1 ]]
2024-02-12 22:19:02,057: DEBUG - + sudo -u outline env PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install --frozen-lockfile --network-timeout 1000000000
2024-02-12 22:19:02,537: DEBUG - yarn install v1.22.19
2024-02-12 22:19:02,704: DEBUG - [1/5] Validating package.json...
2024-02-12 22:19:02,709: DEBUG - [2/5] Resolving packages...
2024-02-12 22:19:02,839: DEBUG - warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^3.1.0"
2024-02-12 22:19:02,938: DEBUG - warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^2.6.8"
2024-02-12 22:19:02,976: DEBUG - warning Resolution field "qs@6.9.7" is incompatible with requested version "qs@^6.11.0"
2024-02-12 22:19:02,979: DEBUG - warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^3.1.0"
2024-02-12 22:19:03,231: DEBUG - warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^3.2.7"
2024-02-12 22:19:03,236: DEBUG - warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^3.2.7"
2024-02-12 22:19:03,237: DEBUG - warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^3.2.7"
2024-02-12 22:19:03,260: DEBUG - warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^2.2.0"
2024-02-12 22:19:03,332: DEBUG - warning Resolution field "debug@4.3.4" is incompatible with requested version "debug@^3.2.7"
2024-02-12 22:19:03,445: DEBUG - [3/5] Fetching packages...
2024-02-12 22:20:21,648: DEBUG - [4/5] Linking dependencies...
2024-02-12 22:20:21,656: DEBUG - warning " > @benrbray/prosemirror-math@0.2.2" has incorrect peer dependency "katex@^0.13.0".
2024-02-12 22:20:21,663: DEBUG - warning " > @vitejs/plugin-react@3.1.0" has incorrect peer dependency "vite@^4.1.0-beta.0".
2024-02-12 22:20:21,666: DEBUG - warning " > mobx-react@6.3.1" has incorrect peer dependency "react@^16.8.0 || 16.9.0-alpha.0".
2024-02-12 22:20:21,667: DEBUG - warning "mobx-react > mobx-react-lite@2.2.2" has incorrect peer dependency "react@^16.8.0".
2024-02-12 22:20:21,673: DEBUG - warning " > sonner@1.0.3" has incorrect peer dependency "react@^18.0.0".
2024-02-12 22:20:21,674: DEBUG - warning " > sonner@1.0.3" has incorrect peer dependency "react-dom@^18.0.0".
2024-02-12 22:20:21,674: DEBUG - warning " > styled-components@5.3.11" has unmet peer dependency "react-is@>= 16.8.0".
2024-02-12 22:20:21,674: DEBUG - warning " > vite-plugin-pwa@0.17.0" has unmet peer dependency "workbox-build@^7.0.0".
2024-02-12 22:20:21,674: DEBUG - warning " > vite-plugin-pwa@0.17.0" has unmet peer dependency "workbox-window@^7.0.0".
2024-02-12 22:20:21,674: DEBUG - warning "vite-plugin-pwa > workbox-build > @rollup/plugin-babel@5.3.1" has incorrect peer dependency "rollup@^1.20.0||^2.0.0".
2024-02-12 22:20:21,674: DEBUG - warning "vite-plugin-pwa > workbox-build > @rollup/plugin-node-resolve@11.2.1" has incorrect peer dependency "rollup@^1.20.0||^2.0.0".
2024-02-12 22:20:21,674: DEBUG - warning "vite-plugin-pwa > workbox-build > @rollup/plugin-replace@2.4.2" has incorrect peer dependency "rollup@^1.20.0 || ^2.0.0".
2024-02-12 22:20:21,674: DEBUG - warning "vite-plugin-pwa > workbox-build > rollup-plugin-terser@7.0.2" has incorrect peer dependency "rollup@^2.0.0".
2024-02-12 22:20:21,675: DEBUG - warning "vite-plugin-pwa > workbox-build > @rollup/plugin-babel > @rollup/pluginutils@3.1.0" has incorrect peer dependency "rollup@^1.20.0||^2.0.0".
2024-02-12 22:20:21,675: DEBUG - warning " > @relative-ci/agent@4.1.10" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0-rc.1".
2024-02-12 22:20:21,677: DEBUG - warning " > enzyme-adapter-react-16@1.15.7" has incorrect peer dependency "react@^16.0.0-0".
2024-02-12 22:20:21,677: DEBUG - warning " > enzyme-adapter-react-16@1.15.7" has incorrect peer dependency "react-dom@^16.0.0-0".
2024-02-12 22:20:21,677: DEBUG - warning "enzyme-adapter-react-16 > enzyme-adapter-utils@1.14.1" has incorrect peer dependency "react@0.13.x || 0.14.x || ^15.0.0-0 || ^16.0.0-0".
2024-02-12 22:20:21,677: DEBUG - warning "enzyme-adapter-react-16 > react-test-renderer@16.14.0" has incorrect peer dependency "react@^16.14.0".
2024-02-12 22:20:21,677: DEBUG - warning "enzyme-adapter-react-16 > enzyme-adapter-utils > airbnb-prop-types@2.16.0" has incorrect peer dependency "react@^0.14 || ^15.0.0 || ^16.0.0-alpha".
2024-02-12 22:20:21,678: DEBUG - warning " > eslint-plugin-react@7.21.5" has incorrect peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7".
2024-02-12 22:20:21,679: DEBUG - warning " > rollup-plugin-webpack-stats@0.2.2" has incorrect peer dependency "rollup@^3.0.0".
2024-02-12 22:20:21,724: DEBUG - warning Workspaces can only be enabled in private projects.
2024-02-12 22:20:53,468: DEBUG - [5/5] Building fresh packages...
2024-02-12 22:20:56,968: DEBUG - $ yarn patch-package
2024-02-12 22:20:57,187: DEBUG - yarn run v1.22.19
2024-02-12 22:20:57,274: DEBUG - $ /var/www/outline/node_modules/.bin/patch-package
2024-02-12 22:20:57,540: DEBUG - patch-package 7.0.2
2024-02-12 22:20:57,541: DEBUG - Applying patches...
2024-02-12 22:20:57,546: DEBUG - @benrbray/prosemirror-math@0.2.2 ✔
2024-02-12 22:20:57,555: DEBUG - Done in 0.37s.
2024-02-12 22:20:57,581: DEBUG - $ husky install
2024-02-12 22:20:57,638: DEBUG - fatal: not a git repository (or any of the parent directories): .git
2024-02-12 22:20:57,658: DEBUG - Done in 115.12s.
2024-02-12 22:20:57,849: INFO - [###########+++++....] > Building... This can be very long, be patient !
2024-02-12 22:20:57,852: DEBUG - + ynh_exec_warn_less sudo -u outline env PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_OPTIONS=--max-old-space-size=3900 yarn build
2024-02-12 22:20:57,852: DEBUG - + [[ 8 -eq 1 ]]
2024-02-12 22:20:57,852: DEBUG - + sudo -u outline env PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_OPTIONS=--max-old-space-size=3900 yarn build
2024-02-12 22:20:58,262: DEBUG - yarn run v1.22.19
2024-02-12 22:20:58,364: DEBUG - $ yarn clean && yarn vite:build && yarn build:i18n && yarn build:server
2024-02-12 22:20:58,854: DEBUG - $ rimraf build
2024-02-12 22:20:59,318: DEBUG - $ VITE_CJS_IGNORE_WARNING=true vite build
2024-02-12 22:21:00,033: DEBUG - Browserslist: caniuse-lite is outdated. Please run:
2024-02-12 22:21:00,033: DEBUG - npx update-browserslist-db@latest
2024-02-12 22:21:00,033: DEBUG - Why you should do it regularly: https://github.com/browserslist/update-db#readme
2024-02-12 22:21:00,082: DEBUG - vite v5.0.5 building for production...
2024-02-12 22:21:00,280: DEBUG - transforming...
2024-02-12 22:21:01,177: DEBUG - node_modules/sonner/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/sonner/dist/index.mjs" was ignored.
2024-02-12 22:21:43,505: DEBUG - ✓ 6256 modules transformed.
2024-02-12 22:21:48,343: DEBUG - rendering chunks...
2024-02-12 22:22:14,534: DEBUG - build/app/manifest.webmanifest 0.41 kB
2024-02-12 22:22:14,535: DEBUG - build/app/assets/KaTeX_Size3-Regular-IFdgjtJ_.woff2 3.62 kB
2024-02-12 22:22:14,535: DEBUG - build/app/assets/KaTeX_Size3-Regular-k6uTKqBB.woff 4.42 kB
2024-02-12 22:22:14,535: DEBUG - build/app/assets/KaTeX_Size4-Regular-5eZcWcVX.woff2 4.93 kB
2024-02-12 22:22:14,535: DEBUG - build/app/assets/KaTeX_Size2-Regular-8uHcfdJu.woff2 5.21 kB
2024-02-12 22:22:14,536: DEBUG - build/app/assets/KaTeX_Size1-Regular-Jgg_JgPA.woff2 5.47 kB
2024-02-12 22:22:14,536: DEBUG - build/app/assets/KaTeX_Size4-Regular-RfuIJGSk.woff 5.98 kB
2024-02-12 22:22:14,536: DEBUG - build/app/assets/KaTeX_Size2-Regular-KA9bXP1N.woff 6.19 kB
2024-02-12 22:22:14,536: DEBUG - build/app/assets/KaTeX_Size1-Regular-tfebZ-uE.woff 6.50 kB
2024-02-12 22:22:14,536: DEBUG - build/app/assets/KaTeX_Caligraphic-Regular-4uo0fsfh.woff2 6.91 kB
2024-02-12 22:22:14,536: DEBUG - build/app/assets/KaTeX_Caligraphic-Bold-6vyEfazt.woff2 6.91 kB
2024-02-12 22:22:14,536: DEBUG - build/app/assets/KaTeX_Size3-Regular-4KV7NJM_.ttf 7.59 kB
2024-02-12 22:22:14,536: DEBUG - build/app/assets/KaTeX_Caligraphic-Regular-k0QPq0y-.woff 7.66 kB
2024-02-12 22:22:14,536: DEBUG - build/app/assets/KaTeX_Caligraphic-Bold-RIlxi71x.woff 7.72 kB
2024-02-12 22:22:14,537: DEBUG - build/app/assets/KaTeX_Script-Regular-98CFnxev.woff2 9.64 kB
2024-02-12 22:22:14,537: DEBUG - build/app/assets/KaTeX_SansSerif-Regular-wwQp5Se8.woff2 10.34 kB
2024-02-12 22:22:14,537: DEBUG - build/app/assets/KaTeX_Size4-Regular-1hQb9ONy.ttf 10.36 kB
2024-02-12 22:22:14,537: DEBUG - build/app/assets/KaTeX_Script-Regular--ckFYqpa.woff 10.59 kB
2024-02-12 22:22:14,537: DEBUG - build/app/assets/KaTeX_Fraktur-Regular-k2IhepQP.woff2 11.32 kB
2024-02-12 22:22:14,537: DEBUG - build/app/assets/KaTeX_Fraktur-Bold-i-oP291Y.woff2 11.35 kB
2024-02-12 22:22:14,537: DEBUG - build/app/assets/KaTeX_Size2-Regular-e4ClFoQr.ttf 11.51 kB
2024-02-12 22:22:14,537: DEBUG - build/app/assets/KaTeX_SansSerif-Italic-tx9FahgZ.woff2 12.03 kB
2024-02-12 22:22:14,537: DEBUG - build/app/assets/KaTeX_SansSerif-Bold-9bFEtBg9.woff2 12.22 kB
2024-02-12 22:22:14,538: DEBUG - build/app/assets/KaTeX_Size1-Regular-27J7nvyK.ttf 12.23 kB
2024-02-12 22:22:14,538: DEBUG - build/app/assets/KaTeX_SansSerif-Regular-kun6lKiW.woff 12.32 kB
2024-02-12 22:22:14,538: DEBUG - build/app/assets/KaTeX_Caligraphic-Regular-MF_e1AYw.ttf 12.34 kB
2024-02-12 22:22:14,538: DEBUG - build/app/assets/KaTeX_Caligraphic-Bold-AE18XbF9.ttf 12.37 kB
2024-02-12 22:22:14,538: DEBUG - build/app/assets/KaTeX_Fraktur-Regular-8XXOHEfX.woff 13.21 kB
2024-02-12 22:22:14,539: DEBUG - build/app/assets/KaTeX_Fraktur-Bold-bAz-dThZ.woff 13.30 kB
2024-02-12 22:22:14,539: DEBUG - build/app/assets/KaTeX_Typewriter-Regular-juq-IZ9c.woff2 13.57 kB
2024-02-12 22:22:14,539: DEBUG - build/app/assets/KaTeX_SansSerif-Italic-Azdo-3Wm.woff 14.11 kB
2024-02-12 22:22:14,539: DEBUG - build/app/assets/KaTeX_SansSerif-Bold-2yISjogg.woff 14.41 kB
2024-02-12 22:22:14,539: DEBUG - build/app/assets/KaTeX_Typewriter-Regular-tMUvZjwd.woff 16.03 kB
2024-02-12 22:22:14,539: DEBUG - build/app/assets/KaTeX_Math-BoldItalic-mZ7zbAmZ.woff2 16.40 kB
2024-02-12 22:22:14,540: DEBUG - build/app/assets/KaTeX_Math-Italic-LedwBEzP.woff2 16.44 kB
2024-02-12 22:22:14,540: DEBUG - build/app/assets/KaTeX_Script-Regular-uSZBlqPg.ttf 16.65 kB
2024-02-12 22:22:14,540: DEBUG - build/app/assets/KaTeX_Main-BoldItalic-8QydwDku.woff2 16.78 kB
2024-02-12 22:22:14,540: DEBUG - build/app/assets/KaTeX_Main-Italic-DVgO3ulm.woff2 16.99 kB
2024-02-12 22:22:14,540: DEBUG - build/app/assets/KaTeX_Math-BoldItalic-ImPtsMme.woff 18.67 kB
2024-02-12 22:22:14,540: DEBUG - build/app/assets/KaTeX_Math-Italic-wNP_z16f.woff 18.75 kB
2024-02-12 22:22:14,540: DEBUG - build/app/assets/KaTeX_Main-BoldItalic-EqUi0SPe.woff 19.41 kB
2024-02-12 22:22:14,540: DEBUG - build/app/assets/KaTeX_SansSerif-Regular-TaO4USHJ.ttf 19.44 kB
2024-02-12 22:22:14,540: DEBUG - build/app/assets/KaTeX_Fraktur-Regular-gf8Lq3rE.ttf 19.57 kB
2024-02-12 22:22:14,540: DEBUG - build/app/assets/KaTeX_Fraktur-Bold-XZxETTVq.ttf 19.58 kB
2024-02-12 22:22:14,540: DEBUG - build/app/assets/KaTeX_Main-Italic-TCzgZvdR.woff 19.68 kB
2024-02-12 22:22:14,541: DEBUG - build/app/assets/KaTeX_SansSerif-Italic-GGIydc0p.ttf 22.36 kB
2024-02-12 22:22:14,541: DEBUG - build/app/assets/KaTeX_SansSerif-Bold-hTHqZ76u.ttf 24.50 kB
2024-02-12 22:22:14,541: DEBUG - build/app/assets/KaTeX_Main-Bold-sffOiHVw.woff2 25.32 kB
2024-02-12 22:22:14,541: DEBUG - build/app/assets/KaTeX_Main-Regular-dtjb4qKe.woff2 26.27 kB
2024-02-12 22:22:14,541: DEBUG - build/app/assets/KaTeX_Typewriter-Regular-9yG-_x36.ttf 27.56 kB
2024-02-12 22:22:14,541: DEBUG - build/app/assets/KaTeX_AMS-Regular-UIXRTGNW.woff2 28.08 kB
2024-02-12 22:22:14,542: DEBUG - build/app/assets/KaTeX_Main-Bold-CZtwCMuf.woff 29.91 kB
2024-02-12 22:22:14,542: DEBUG - build/app/assets/KaTeX_Main-Regular-6_eCWgYQ.woff 30.77 kB
2024-02-12 22:22:14,542: DEBUG - build/app/assets/KaTeX_Math-BoldItalic-d10o37uD.ttf 31.20 kB
2024-02-12 22:22:14,542: DEBUG - build/app/assets/KaTeX_Math-Italic-H5Tq_9FA.ttf 31.31 kB
2024-02-12 22:22:14,542: DEBUG - build/app/assets/KaTeX_Main-BoldItalic-88TzJhul.ttf 32.97 kB
2024-02-12 22:22:14,542: DEBUG - build/app/assets/KaTeX_AMS-Regular-zJvWDgGp.woff 33.52 kB
2024-02-12 22:22:14,542: DEBUG - build/app/assets/KaTeX_Main-Italic-N1npxqDf.ttf 33.58 kB
2024-02-12 22:22:14,542: DEBUG - build/app/.vite/manifest.json 47.68 kB
2024-02-12 22:22:14,542: DEBUG - build/app/assets/KaTeX_Main-Bold-MGqDlVzd.ttf 51.34 kB
2024-02-12 22:22:14,543: DEBUG - build/app/assets/KaTeX_Main-Regular-MqWbzbVV.ttf 53.58 kB
2024-02-12 22:22:14,543: DEBUG - build/app/assets/KaTeX_AMS-Regular-0YIAJWTb.ttf 63.63 kB
2024-02-12 22:22:14,543: DEBUG - build/app/webpack-stats.json 311.40 kB
2024-02-12 22:22:14,543: DEBUG - build/app/assets/katex-hr8-MiG2.css 24.18 kB
2024-02-12 22:22:14,543: DEBUG - build/app/assets/RevisionHelper-hZFCd78W.js 0.15 kB │ map: 0.60 kB
2024-02-12 22:22:14,543: DEBUG - build/app/assets/uniq-mpas_Ut3.js 0.17 kB │ map: 1.00 kB
2024-02-12 22:22:14,543: DEBUG - build/app/assets/Logout-8I3ujbAS.js 0.19 kB │ map: 0.56 kB
2024-02-12 22:22:14,543: DEBUG - build/app/assets/useOnClickOutside-NjpaiPdj.js 0.30 kB │ map: 1.30 kB
2024-02-12 22:22:14,544: DEBUG - build/app/assets/map-5sHGtnoA.js 0.31 kB │ map: 3.12 kB
2024-02-12 22:22:14,544: DEBUG - build/app/assets/useLastVisitedPath-aWia2qeG.js 0.31 kB │ map: 1.28 kB
2024-02-12 22:22:14,544: DEBUG - build/app/assets/isString-qbVihcy3.js 0.31 kB │ map: 1.69 kB
2024-02-12 22:22:14,544: DEBUG - build/app/assets/useFocusedComment-_aBaDAjJ.js 0.35 kB │ map: 1.11 kB
2024-02-12 22:22:14,544: DEBUG - build/app/assets/useCommandBarActions-WF6Wn1h1.js 0.36 kB │ map: 1.50 kB
2024-02-12 22:22:14,544: DEBUG - build/app/assets/PluginIcon-hAxz7NVT.js 0.46 kB │ map: 1.23 kB
2024-02-12 22:22:14,544: DEBUG - build/app/assets/Authenticated-YZ-Z6mDc.js 0.48 kB │ map: 1.83 kB
2024-02-12 22:22:14,544: DEBUG - build/app/assets/language-dBGnhGDF.js 0.48 kB │ map: 1.83 kB
2024-02-12 22:22:14,544: DEBUG - build/app/assets/NewDocumentMenu-7SGPHahE.js 0.51 kB │ map: 1.62 kB
2024-02-12 22:22:14,545: DEBUG - build/app/assets/index-KRFEe-jn.js 0.59 kB │ map: 0.10 kB
2024-02-12 22:22:14,545: DEBUG - build/app/assets/PaginatedDocumentList-2F6_vqZy.js 0.77 kB │ map: 2.68 kB
2024-02-12 22:22:14,545: DEBUG - build/app/assets/Actions-EXe1R8g7.js 0.85 kB │ map: 1.43 kB
2024-02-12 22:22:14,546: DEBUG - build/app/assets/LoadingIndicatorBar-4hCLWPJO.js 0.89 kB │ map: 2.94 kB
2024-02-12 22:22:14,546: DEBUG - build/app/assets/DateFilter-b4J5DK4j.js 0.90 kB │ map: 3.41 kB
2024-02-12 22:22:14,546: DEBUG - build/app/assets/Trash-6AdUWckL.js 1.01 kB │ map: 1.80 kB
2024-02-12 22:22:14,546: DEBUG - build/app/assets/Archive-oCsPE6IG.js 1.03 kB │ map: 1.86 kB
2024-02-12 22:22:14,546: DEBUG - build/app/assets/revisions-lMEeaFrW.js 1.06 kB │ map: 3.70 kB
2024-02-12 22:22:14,546: DEBUG - build/app/assets/DocumentViews-hBZNSGF2.js 1.10 kB │ map: 4.59 kB
2024-02-12 22:22:14,546: DEBUG - build/app/assets/SettingRow-NcQKn_-u.js 1.10 kB │ map: 2.70 kB
2024-02-12 22:22:14,546: DEBUG - build/app/assets/TableFromParams-cdqIzyDF.js 1.13 kB │ map: 2.96 kB
2024-02-12 22:22:14,547: DEBUG - build/app/assets/InputSearchPage-nY2lo_1M.js 1.14 kB │ map: 4.31 kB
2024-02-12 22:22:14,547: DEBUG - build/app/assets/LocaleTime-3seErDLA.js 1.23 kB │ map: 3.90 kB
2024-02-12 22:22:14,547: DEBUG - build/app/assets/SidebarLayout-dpFvhvtA.js 1.30 kB │ map: 3.93 kB
2024-02-12 22:22:14,547: DEBUG - build/app/assets/OutlineIcon-QIhcj6O5.js 1.31 kB │ map: 2.11 kB
2024-02-12 22:22:14,547: DEBUG - build/app/assets/Zapier-qz65z4Dn.js 1.38 kB │ map: 2.50 kB
2024-02-12 22:22:14,547: DEBUG - build/app/assets/Features-WLQJvEkU.js 1.42 kB │ map: 3.71 kB
2024-02-12 22:22:14,547: DEBUG - build/app/assets/FilterOptions-qg5DWds0.js 1.47 kB │ map: 4.53 kB
2024-02-12 22:22:14,547: DEBUG - build/app/assets/Export-t5ll3Hce.js 1.62 kB │ map: 3.86 kB
2024-02-12 22:22:14,547: DEBUG - build/app/assets/Highlight-o36XKwxH.js 1.72 kB │ map: 6.92 kB
2024-02-12 22:22:14,548: DEBUG - build/app/assets/Profile-SYV71vlc.js 1.76 kB │ map: 4.60 kB
2024-02-12 22:22:14,548: DEBUG - build/app/assets/settings-GzRwH55Q.js 2.01 kB │ map: 1.96 kB
2024-02-12 22:22:14,548: DEBUG - build/app/assets/SelfHosted-_odMkUQM.js 2.03 kB │ map: 6.60 kB
2024-02-12 22:22:14,548: DEBUG - build/app/assets/Drafts-31Qgoq_R.js 2.07 kB │ map: 5.38 kB
2024-02-12 22:22:14,548: DEBUG - build/app/assets/GoogleAnalytics-cH9q-2QB.js 2.07 kB │ map: 5.27 kB
2024-02-12 22:22:14,548: DEBUG - build/app/assets/Templates-t6D-J_ue.js 2.44 kB │ map: 7.43 kB
2024-02-12 22:22:14,548: DEBUG - build/app/assets/Notifications-Tsg_4LrJ.js 3.19 kB │ map: 8.67 kB
2024-02-12 22:22:14,548: DEBUG - build/app/assets/FileOperationListItem-VT3dj264.js 3.43 kB │ map: 12.41 kB
2024-02-12 22:22:14,548: DEBUG - build/app/assets/ApiKeys-n-N0ZIbR.js 3.50 kB │ map: 12.52 kB
2024-02-12 22:22:14,549: DEBUG - build/app/assets/DocumentListItem-TIpcZdA-.js 3.56 kB │ map: 10.38 kB
2024-02-12 22:22:14,549: DEBUG - build/app/assets/Groups-8Bdk29DP.js 3.67 kB │ map: 13.65 kB
2024-02-12 22:22:14,549: DEBUG - build/app/assets/index-6iAoVYW3.js 3.73 kB │ map: 11.79 kB
2024-02-12 22:22:14,549: DEBUG - build/app/assets/Twitter-0t83P3vS.js 3.85 kB │ map: 10.09 kB
2024-02-12 22:22:14,549: DEBUG - build/app/assets/index-VECiC9kv.js 3.91 kB │ map: 13.95 kB
2024-02-12 22:22:14,549: DEBUG - build/app/assets/Shares-4XWmrg08.js 4.18 kB │ map: 15.37 kB
2024-02-12 22:22:14,549: DEBUG - build/app/assets/Insights-4EpSGDj8.js 4.26 kB │ map: 13.96 kB
2024-02-12 22:22:14,549: DEBUG - build/app/assets/Settings-oQJFvI-1.js 4.26 kB │ map: 15.07 kB
2024-02-12 22:22:14,549: DEBUG - build/app/assets/Preferences-r0k4h-hL.js 4.52 kB │ map: 12.99 kB
2024-02-12 22:22:14,550: DEBUG - build/app/assets/History-6G2k518x.js 4.69 kB │ map: 17.18 kB
2024-02-12 22:22:14,550: DEBUG - build/app/assets/Star-KPQ4NFTV.js 4.76 kB │ map: 18.62 kB
2024-02-12 22:22:14,550: DEBUG - build/app/assets/Home-b8ewyatY.js 5.22 kB │ map: 11.80 kB
2024-02-12 22:22:14,550: DEBUG - build/app/assets/Security-u-YniRaE.js 6.35 kB │ map: 21.10 kB
2024-02-12 22:22:14,550: DEBUG - build/app/assets/CommandBar-CJBbyHek.js 6.63 kB │ map: 22.39 kB
2024-02-12 22:22:14,550: DEBUG - build/app/assets/Members-efJPpRSY.js 7.15 kB │ map: 27.15 kB
2024-02-12 22:22:14,550: DEBUG - build/app/assets/Import-Yfuc64YT.js 7.15 kB │ map: 21.31 kB
2024-02-12 22:22:14,551: DEBUG - build/app/assets/Details-mn-LbPvi.js 9.15 kB │ map: 30.77 kB
2024-02-12 22:22:14,551: DEBUG - build/app/assets/Tabs-Fal8z3Ye.js 9.36 kB │ map: 43.66 kB
2024-02-12 22:22:14,551: DEBUG - build/app/assets/resize-observer-CTaCgumc.js 9.41 kB │ map: 36.57 kB
2024-02-12 22:22:14,551: DEBUG - build/app/assets/Shared-svW9RZap.js 9.52 kB │ map: 35.29 kB
2024-02-12 22:22:14,551: DEBUG - build/app/assets/Settings-0RA6OYNg.js 10.33 kB │ map: 36.04 kB
2024-02-12 22:22:14,551: DEBUG - build/app/assets/index-nJVld_Su.js 10.75 kB │ map: 32.09 kB
2024-02-12 22:22:14,551: DEBUG - build/app/assets/Search-S-xqRL5P.js 11.63 kB │ map: 35.09 kB
2024-02-12 22:22:14,551: DEBUG - build/app/assets/Chrome-NUGV71gy.js 11.66 kB │ map: 36.52 kB
2024-02-12 22:22:14,551: DEBUG - build/app/assets/Collection-R_ZcnhpG.js 11.94 kB │ map: 41.08 kB
2024-02-12 22:22:14,552: DEBUG - build/app/assets/HoverPreviews-VkeUPaqC.js 12.35 kB │ map: 43.13 kB
2024-02-12 22:22:14,552: DEBUG - build/app/assets/Comments-DtZZgSqd.js 13.44 kB │ map: 51.00 kB
2024-02-12 22:22:14,552: DEBUG - build/app/assets/PluginLoader-Rs1qcaGE.js 13.54 kB │ map: 34.62 kB
2024-02-12 22:22:14,552: DEBUG - build/app/assets/SharedLayoutContext-f5zpkxsT.js 14.45 kB │ map: 69.08 kB
2024-02-12 22:22:14,552: DEBUG - build/app/assets/index.esm-ZtrUnwQB.js 23.82 kB │ map: 129.27 kB
2024-02-12 22:22:14,552: DEBUG - build/app/assets/Item-zzHT11i0.js 24.03 kB │ map: 109.74 kB
2024-02-12 22:22:14,552: DEBUG - build/app/assets/autotrack-ljz4oXIV.js 25.17 kB │ map: 61.04 kB
2024-02-12 22:22:14,552: DEBUG - build/app/assets/ImageInput-dMVRiz2V.js 30.60 kB │ map: 98.29 kB
2024-02-12 22:22:14,552: DEBUG - build/app/assets/motion-Y-rYGKNA.js 30.69 kB │ map: 177.06 kB
2024-02-12 22:22:14,553: DEBUG - build/app/assets/Styles-NGFkncTg.js 31.87 kB │ map: 41.49 kB
2024-02-12 22:22:14,553: DEBUG - build/app/assets/includes-wNQZrSlT.js 35.11 kB │ map: 188.18 kB
2024-02-12 22:22:14,553: DEBUG - build/app/assets/Switch-6BeD25xe.js 35.51 kB │ map: 155.75 kB
2024-02-12 22:22:14,553: DEBUG - build/app/assets/VisualElementDragControls-3xCYc244.js 41.87 kB │ map: 197.59 kB
2024-02-12 22:22:14,553: DEBUG - build/app/assets/Loading-lM6ErZzn.js 52.44 kB │ map: 183.26 kB
2024-02-12 22:22:14,553: DEBUG - build/app/assets/PinnedDocuments-_xq0EXHp.js 54.79 kB │ map: 229.45 kB
2024-02-12 22:22:14,553: DEBUG - build/app/assets/index-HzdHCF0C.js 60.91 kB │ map: 221.64 kB
2024-02-12 22:22:14,553: DEBUG - build/app/assets/Table-sYFtfuMI.js 62.45 kB │ map: 152.73 kB
2024-02-12 22:22:14,554: DEBUG - build/app/assets/index-G9gAbGWm.js 144.49 kB │ map: 557.84 kB
2024-02-12 22:22:14,554: DEBUG - build/app/assets/MultiplayerEditor-orLM5dcs.js 145.71 kB │ map: 744.89 kB
2024-02-12 22:22:14,554: DEBUG - build/app/assets/authenticated-fVqEHATv.js 176.32 kB │ map: 714.22 kB
2024-02-12 22:22:14,554: DEBUG - build/app/assets/mermaid.core-dXWOZX0j.js 912.48 kB │ map: 3,036.71 kB
2024-02-12 22:22:14,554: DEBUG - build/app/assets/index-a4mi1HFo.js 1,258.82 kB │ map: 4,254.92 kB
2024-02-12 22:22:14,554: DEBUG - build/app/assets/Section-U4r5TwpS.js 1,542.55 kB │ map: 4,321.11 kB
2024-02-12 22:22:14,554: DEBUG -
2024-02-12 22:22:14,554: DEBUG - (!) Some chunks are larger than 500 kB after minification. Consider:
2024-02-12 22:22:14,554: DEBUG - - Using dynamic import() to code-split the application
2024-02-12 22:22:14,555: DEBUG - - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
2024-02-12 22:22:14,555: DEBUG - - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
2024-02-12 22:22:14,588: DEBUG - [vite-plugin-static-copy] Copied 1 items.
2024-02-12 22:22:15,316: DEBUG - Unknown input options: manualChunks. Allowed options: cache, context, experimentalCacheExpiry, experimentalLogSideEffects, external, input, logLevel, makeAbsoluteExternalsRelative, maxParallelFileOps, moduleContext, onLog, onwarn, perf, plugins, preserveEntrySignatures, preserveSymlinks, shimMissingExports, strictDeprecations, treeshake, watch
2024-02-12 22:22:18,792: DEBUG -
2024-02-12 22:22:18,793: DEBUG - PWA v0.17.0
2024-02-12 22:22:18,793: DEBUG - mode generateSW
2024-02-12 22:22:18,793: DEBUG - precache 151 entries (5274.43 KiB)
2024-02-12 22:22:18,793: DEBUG - files generated
2024-02-12 22:22:18,793: DEBUG - build/app/sw.js.map
2024-02-12 22:22:18,793: DEBUG - build/app/sw.js
2024-02-12 22:22:18,793: DEBUG - build/app/sw.js.map
2024-02-12 22:22:18,793: DEBUG - ✓ built in 1m 19s
2024-02-12 22:22:19,660: DEBUG - $ i18next --silent '{shared,app,server,plugins}/**/*.{ts,tsx}' && yarn copy:i18n
2024-02-12 22:22:24,072: DEBUG - $ mkdir -p ./build/shared/i18n && cp -R ./shared/i18n/locales ./build/shared/i18n
2024-02-12 22:22:24,522: DEBUG - $ node ./build.js
2024-02-12 22:22:24,609: DEBUG - Clean previous build…
2024-02-12 22:22:24,630: DEBUG - Compiling…
2024-02-12 22:22:42,557: DEBUG - Copying static files…
2024-02-12 22:22:42,699: DEBUG - Done!
2024-02-12 22:22:42,736: DEBUG - Done in 104.48s.
2024-02-12 22:22:42,902: INFO - [################+...] > Cleaning cache...
2024-02-12 22:22:42,906: DEBUG - + ynh_exec_warn_less sudo -u outline env PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn cache clean
2024-02-12 22:22:42,906: DEBUG - + [[ 8 -eq 1 ]]
2024-02-12 22:22:42,906: DEBUG - + sudo -u outline env PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn cache clean
2024-02-12 22:22:43,311: DEBUG - yarn cache v1.22.19
2024-02-12 22:22:49,459: DEBUG - success Cleared cache.
2024-02-12 22:22:49,459: DEBUG - Done in 6.16s.
2024-02-12 22:22:49,560: DEBUG - + popd
2024-02-12 22:22:49,563: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/scripts
2024-02-12 22:22:49,734: INFO - [#################...] > Adding a configuration file...
2024-02-12 22:22:49,735: DEBUG - + ynh_add_config --template=../conf/.env --destination=/var/www/outline/.env
2024-02-12 22:22:49,773: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/../conf/.env ']'
2024-02-12 22:22:49,773: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/../conf/.env
2024-02-12 22:22:49,773: DEBUG - + ynh_backup_if_checksum_is_different --file=/var/www/outline/.env
2024-02-12 22:22:49,783: DEBUG - + local checksum_setting_name=checksum__var_www_outline_.env
2024-02-12 22:22:49,783: DEBUG - ++ ynh_app_setting_get --app=outline --key=checksum__var_www_outline_.env
2024-02-12 22:22:49,783: DEBUG - ++ local _globalapp=outline
2024-02-12 22:22:49,822: DEBUG - ++ app=outline
2024-02-12 22:22:49,822: DEBUG - ++ [[ checksum__var_www_outline_.env =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:22:49,822: DEBUG - ++ ynh_app_setting get outline checksum__var_www_outline_.env
2024-02-12 22:22:50,137: DEBUG - + local checksum_value=
2024-02-12 22:22:50,137: DEBUG - + backup_file_checksum=
2024-02-12 22:22:50,137: DEBUG - + '[' -n '' ']'
2024-02-12 22:22:50,137: DEBUG - + touch /var/www/outline/.env
2024-02-12 22:22:50,143: DEBUG - + chown root:root /var/www/outline/.env
2024-02-12 22:22:50,147: DEBUG - + chmod 640 /var/www/outline/.env
2024-02-12 22:22:50,154: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/../conf/.env /var/www/outline/.env
2024-02-12 22:22:50,170: DEBUG - + _ynh_apply_default_permissions /var/www/outline/.env
2024-02-12 22:22:50,170: DEBUG - + local target=/var/www/outline/.env
2024-02-12 22:22:50,170: DEBUG - ++ tr -d '<>= '
2024-02-12 22:22:50,172: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-12 22:22:50,196: DEBUG - ++ '[' '!' -e '' ']'
2024-02-12 22:22:50,196: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json ']'
2024-02-12 22:22:50,196: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json
2024-02-12 22:22:50,197: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json
2024-02-12 22:22:50,197: DEBUG - ++ grep -q '\.json$'
2024-02-12 22:22:50,209: DEBUG - ++ jq .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json --raw-output
2024-02-12 22:22:50,260: DEBUG - + local ynh_requirement=11.0.9
2024-02-12 22:22:50,260: DEBUG - + dpkg --compare-versions 1.0 ge 2
2024-02-12 22:22:50,280: DEBUG - + '[' -z 11.0.9 ']'
2024-02-12 22:22:50,280: DEBUG - + '[' 11.0.9 == null ']'
2024-02-12 22:22:50,280: DEBUG - + dpkg --compare-versions 11.0.9 ge 4.2
2024-02-12 22:22:50,281: DEBUG - + chmod o-rwx /var/www/outline/.env
2024-02-12 22:22:50,283: DEBUG - + chmod g-w /var/www/outline/.env
2024-02-12 22:22:50,284: DEBUG - + chown -R root:root /var/www/outline/.env
2024-02-12 22:22:50,287: DEBUG - + ynh_system_user_exists outline
2024-02-12 22:22:50,305: DEBUG - + getent passwd outline
2024-02-12 22:22:50,310: DEBUG - + chown outline:outline /var/www/outline/.env
2024-02-12 22:22:50,311: DEBUG - + echo /var/www/outline/.env
2024-02-12 22:22:50,311: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-02-12 22:22:50,313: DEBUG - + ynh_replace_vars --file=/var/www/outline/.env
2024-02-12 22:22:50,329: DEBUG - + test -n /
2024-02-12 22:22:50,330: DEBUG - + local path_url_slash_less=
2024-02-12 22:22:50,330: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/var/www/outline/.env
2024-02-12 22:22:50,403: DEBUG - + sed --in-place $'s\001__PATH__/\001/\001g' /var/www/outline/.env
2024-02-12 22:22:50,406: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/var/www/outline/.env
2024-02-12 22:22:50,489: DEBUG - + sed --in-place $'s\001__PATH__\001/\001g' /var/www/outline/.env
2024-02-12 22:22:50,490: DEBUG - + test -n outline
2024-02-12 22:22:50,491: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=outline --target_file=/var/www/outline/.env
2024-02-12 22:22:50,560: DEBUG - + sed --in-place $'s\001__NAME__\001outline\001g' /var/www/outline/.env
2024-02-12 22:22:50,563: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=outline --target_file=/var/www/outline/.env
2024-02-12 22:22:50,673: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001outline\001g' /var/www/outline/.env
2024-02-12 22:22:50,673: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=outline --target_file=/var/www/outline/.env
2024-02-12 22:22:50,756: DEBUG - + sed --in-place $'s\001__USER__\001outline\001g' /var/www/outline/.env
2024-02-12 22:22:50,758: DEBUG - + test -n /var/www/outline
2024-02-12 22:22:50,758: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/outline --target_file=/var/www/outline/.env
2024-02-12 22:22:50,817: DEBUG - + sed --in-place $'s\001__FINALPATH__\001/var/www/outline\001g' /var/www/outline/.env
2024-02-12 22:22:50,818: DEBUG - + ynh_replace_string --match_string=__INSTALL_DIR__ --replace_string=/var/www/outline --target_file=/var/www/outline/.env
2024-02-12 22:22:50,913: DEBUG - + sed --in-place $'s\001__INSTALL_DIR__\001/var/www/outline\001g' /var/www/outline/.env
2024-02-12 22:22:50,915: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-02-12 22:22:50,917: DEBUG - + test -n 7.4
2024-02-12 22:22:50,918: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/var/www/outline/.env
2024-02-12 22:22:51,004: DEBUG - + sed --in-place $'s\001__PHPVERSION__\0017.4\001g' /var/www/outline/.env
2024-02-12 22:22:51,005: DEBUG - + test -n PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:22:51,006: DEBUG - + ynh_replace_string --match_string=__YNH_NODE_LOAD_PATH__ --replace_string=PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --target_file=/var/www/outline/.env
2024-02-12 22:22:51,097: DEBUG - + sed --in-place $'s\001__YNH_NODE_LOAD_PATH__\001PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\001g' /var/www/outline/.env
2024-02-12 22:22:51,101: DEBUG - ++ sort --unique
2024-02-12 22:22:51,102: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/www/outline/.env
2024-02-12 22:22:51,102: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-02-12 22:22:51,107: DEBUG - + uniques_vars=('app' 'db_name' 'dex_auth_uri' 'dex_token_uri' 'dex_user_uri' 'domain' 'language_key' 'oidc_name' 'oidc_secret' 'port' 'secret_key' 'utils_secret')
2024-02-12 22:22:51,137: DEBUG - + ynh_store_file_checksum --file=/var/www/outline/.env
2024-02-12 22:22:51,138: DEBUG - + update_only=0
2024-02-12 22:22:51,154: DEBUG - + local checksum_setting_name=checksum__var_www_outline_.env
2024-02-12 22:22:51,155: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-02-12 22:22:51,155: DEBUG - ++ md5sum /var/www/outline/.env
2024-02-12 22:22:51,158: DEBUG - + ynh_app_setting_set --app=outline --key=checksum__var_www_outline_.env --value=d9e55e1871046aec7898ec2d4d8130fa
2024-02-12 22:22:51,159: DEBUG - + local _globalapp=outline
2024-02-12 22:22:51,229: DEBUG - + app=outline
2024-02-12 22:22:51,230: DEBUG - + [[ checksum__var_www_outline_.env =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:22:51,230: DEBUG - + ynh_app_setting set outline checksum__var_www_outline_.env d9e55e1871046aec7898ec2d4d8130fa
2024-02-12 22:22:51,291: DEBUG - + '[' -n '' ']'
2024-02-12 22:22:51,292: DEBUG - + unset backup_file_checksum
2024-02-12 22:22:51,292: DEBUG - + chmod 400 /var/www/outline/.env
2024-02-12 22:22:51,294: DEBUG - + chown outline:outline /var/www/outline/.env
2024-02-12 22:22:51,401: INFO - [#################+..] > Running DB initial migration...
2024-02-12 22:22:51,402: DEBUG - + pushd /var/www/outline
2024-02-12 22:22:51,402: DEBUG - /var/www/outline /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/scripts
2024-02-12 22:22:51,402: DEBUG - + ynh_use_nodejs
2024-02-12 22:22:51,404: DEBUG - ++ ynh_app_setting_get --app=outline --key=nodejs_version
2024-02-12 22:22:51,404: DEBUG - ++ local _globalapp=outline
2024-02-12 22:22:51,432: DEBUG - ++ app=outline
2024-02-12 22:22:51,433: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:22:51,433: DEBUG - ++ ynh_app_setting get outline nodejs_version
2024-02-12 22:22:51,478: DEBUG - + nodejs_version=20
2024-02-12 22:22:51,479: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/20/bin
2024-02-12 22:22:51,479: DEBUG - + shopt -s expand_aliases
2024-02-12 22:22:51,479: DEBUG - + ynh_node=/opt/node_n/n/versions/node/20/bin/node
2024-02-12 22:22:51,479: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/20/bin/node
2024-02-12 22:22:51,479: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
2024-02-12 22:22:51,479: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
2024-02-12 22:22:51,479: DEBUG - + [[ :/opt/node_n/n/versions/node/20/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\/\2\0\/\b\i\n* ]]
2024-02-12 22:22:51,479: DEBUG - + node_PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:22:51,480: DEBUG - + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:22:51,480: DEBUG - + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:22:51,480: DEBUG - + ynh_exec_warn_less sudo -u outline env PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn db:migrate
2024-02-12 22:22:51,480: DEBUG - + [[ 7 -eq 1 ]]
2024-02-12 22:22:51,480: DEBUG - + sudo -u outline env PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn db:migrate
2024-02-12 22:22:51,730: DEBUG - yarn run v1.22.19
2024-02-12 22:22:51,882: DEBUG - $ sequelize db:migrate
2024-02-12 22:22:52,318: DEBUG -
2024-02-12 22:22:52,319: DEBUG - [4mSequelize CLI [Node: 20.11.0, CLI: 6.6.1, ORM: 6.33.0][24m
2024-02-12 22:22:52,320: DEBUG -
2024-02-12 22:22:52,338: DEBUG - Loaded configuration file "server/config/database.json".
2024-02-12 22:22:52,338: DEBUG - Using environment "development".
2024-02-12 22:22:52,853: DEBUG - == 20160619080644-initial: migrating =======
2024-02-12 22:22:53,004: DEBUG - == 20160619080644-initial: migrated (0.150s)
2024-02-12 22:22:53,004: DEBUG -
2024-02-12 22:22:53,008: DEBUG - == 20160622043741-add-parent-document: migrating =======
2024-02-12 22:22:53,035: DEBUG - == 20160622043741-add-parent-document: migrated (0.027s)
2024-02-12 22:22:53,036: DEBUG -
2024-02-12 22:22:53,044: DEBUG - == 20160626063409-add-indexes: migrating =======
2024-02-12 22:22:53,107: DEBUG - == 20160626063409-add-indexes: migrated (0.064s)
2024-02-12 22:22:53,108: DEBUG -
2024-02-12 22:22:53,114: DEBUG - == 20160626175224-add-revisions: migrating =======
2024-02-12 22:22:53,144: DEBUG - == 20160626175224-add-revisions: migrated (0.030s)
2024-02-12 22:22:53,145: DEBUG -
2024-02-12 22:22:53,152: DEBUG - == 20160711071958-search-index: migrating =======
2024-02-12 22:22:53,175: DEBUG - == 20160711071958-search-index: migrated (0.023s)
2024-02-12 22:22:53,175: DEBUG -
2024-02-12 22:22:53,180: DEBUG - == 20160726061511-atlas-creator: migrating =======
2024-02-12 22:22:53,192: DEBUG - == 20160726061511-atlas-creator: migrated (0.012s)
2024-02-12 22:22:53,193: DEBUG -
2024-02-12 22:22:53,199: DEBUG - == 20160812145029-document-atlas-soft-delete: migrating =======
2024-02-12 22:22:53,225: DEBUG - == 20160812145029-document-atlas-soft-delete: migrated (0.026s)
2024-02-12 22:22:53,225: DEBUG -
2024-02-12 22:22:53,230: DEBUG - == 20160814083127-paranoia-indeces: migrating =======
2024-02-12 22:22:53,274: DEBUG - == 20160814083127-paranoia-indeces: migrated (0.044s)
2024-02-12 22:22:53,274: DEBUG -
2024-02-12 22:22:53,278: DEBUG - == 20160814095336-add-document-createdById: migrating =======
2024-02-12 22:22:53,284: DEBUG - == 20160814095336-add-document-createdById: migrated (0.006s)
2024-02-12 22:22:53,284: DEBUG -
2024-02-12 22:22:53,288: DEBUG - == 20160814111419-add-document-collaboratorIds: migrating =======
2024-02-12 22:22:53,295: DEBUG - == 20160814111419-add-document-collaboratorIds: migrated (0.007s)
2024-02-12 22:22:53,296: DEBUG -
2024-02-12 22:22:53,300: DEBUG - == 20160815142720-app-collection-urlId: migrating =======
2024-02-12 22:22:53,308: DEBUG - == 20160815142720-app-collection-urlId: migrated (0.008s)
2024-02-12 22:22:53,309: DEBUG -
2024-02-12 22:22:53,313: DEBUG - == 20160816082738-add-revision-index: migrating =======
2024-02-12 22:22:53,323: DEBUG - == 20160816082738-add-revision-index: migrated (0.010s)
2024-02-12 22:22:53,324: DEBUG -
2024-02-12 22:22:53,329: DEBUG - == 20160824061730-add-apikeys: migrating =======
2024-02-12 22:22:53,345: DEBUG - == 20160824061730-add-apikeys: migrated (0.016s)
2024-02-12 22:22:53,346: DEBUG -
2024-02-12 22:22:53,352: DEBUG - == 20160824062457-add-apikey-indeces: migrating =======
2024-02-12 22:22:53,368: DEBUG - == 20160824062457-add-apikey-indeces: migrated (0.017s)
2024-02-12 22:22:53,369: DEBUG -
2024-02-12 22:22:53,372: DEBUG - == 20160911230444-user-optional-slack-id: migrating =======
2024-02-12 22:22:53,423: DEBUG - == 20160911230444-user-optional-slack-id: migrated (0.050s)
2024-02-12 22:22:53,423: DEBUG -
2024-02-12 22:22:53,440: DEBUG - == 20160911232911-user-unique-fields: migrating =======
2024-02-12 22:22:53,503: DEBUG - == 20160911232911-user-unique-fields: migrated (0.062s)
2024-02-12 22:22:53,503: DEBUG -
2024-02-12 22:22:53,530: DEBUG - == 20160911234928-user-password: migrating =======
2024-02-12 22:22:53,540: DEBUG - == 20160911234928-user-password: migrated (0.010s)
2024-02-12 22:22:53,540: DEBUG -
2024-02-12 22:22:53,544: DEBUG - == 20170603185012-add-collection-documentStructure-migration: migrating =======
2024-02-12 22:22:53,553: DEBUG - == 20170603185012-add-collection-documentStructure-migration: migrated (0.008s)
2024-02-12 22:22:53,553: DEBUG -
2024-02-12 22:22:53,557: DEBUG - == 20170604052346-add-views: migrating =======
2024-02-12 22:22:53,575: DEBUG - == 20170604052346-add-views: migrated (0.018s)
2024-02-12 22:22:53,576: DEBUG -
2024-02-12 22:22:53,581: DEBUG - == 20170604052347-add-stars: migrating =======
2024-02-12 22:22:53,599: DEBUG - == 20170604052347-add-stars: migrated (0.017s)
2024-02-12 22:22:53,599: DEBUG -
2024-02-12 22:22:53,604: DEBUG - == 20170712055148-non-unique-email: migrating =======
2024-02-12 22:22:53,614: DEBUG - == 20170712055148-non-unique-email: migrated (0.010s)
2024-02-12 22:22:53,614: DEBUG -
2024-02-12 22:22:53,618: DEBUG - == 20170712072234-uniq-slack-id: migrating =======
2024-02-12 22:22:53,633: DEBUG - == 20170712072234-uniq-slack-id: migrated (0.012s)
2024-02-12 22:22:53,633: DEBUG -
2024-02-12 22:22:53,639: DEBUG - == 20170729215619-emoji: migrating =======
2024-02-12 22:22:53,645: DEBUG - == 20170729215619-emoji: migrated (0.007s)
2024-02-12 22:22:53,646: DEBUG -
2024-02-12 22:22:53,650: DEBUG - == 20170827182423-improve-references: migrating =======
2024-02-12 22:22:53,666: DEBUG - == 20170827182423-improve-references: migrated (0.016s)
2024-02-12 22:22:53,667: DEBUG -
2024-02-12 22:22:53,673: DEBUG - == 20170904202454-allow-null-username: migrating =======
2024-02-12 22:22:53,692: DEBUG - == 20170904202454-allow-null-username: migrated (0.019s)
2024-02-12 22:22:53,692: DEBUG -
2024-02-12 22:22:53,704: DEBUG - == 20171010042938-add-event: migrating =======
2024-02-12 22:22:53,720: DEBUG - == 20171010042938-add-event: migrated (0.017s)
2024-02-12 22:22:53,720: DEBUG -
2024-02-12 22:22:53,726: DEBUG - == 20171016012353-remove-collection-navigationtree: migrating =======
2024-02-12 22:22:53,735: DEBUG - == 20171016012353-remove-collection-navigationtree: migrated (0.009s)
2024-02-12 22:22:53,736: DEBUG -
2024-02-12 22:22:53,741: DEBUG - == 20171017055026-remove-document-html: migrating =======
2024-02-12 22:22:53,752: DEBUG - == 20171017055026-remove-document-html: migrated (0.010s)
2024-02-12 22:22:53,752: DEBUG -
2024-02-12 22:22:53,756: DEBUG - == 20171019071915-user-avatar-url: migrating =======
2024-02-12 22:22:53,763: DEBUG - == 20171019071915-user-avatar-url: migrated (0.007s)
2024-02-12 22:22:53,764: DEBUG -
2024-02-12 22:22:53,767: DEBUG - == 20171023064220-collection-color: migrating =======
2024-02-12 22:22:53,777: DEBUG - == 20171023064220-collection-color: migrated (0.010s)
2024-02-12 22:22:53,778: DEBUG -
2024-02-12 22:22:53,786: DEBUG - == 20171218043717-add-authentications: migrating =======
2024-02-12 22:22:53,798: DEBUG - == 20171218043717-add-authentications: migrated (0.011s)
2024-02-12 22:22:53,798: DEBUG -
2024-02-12 22:22:53,809: DEBUG - == 20171225143838-set-admins: migrating =======
2024-02-12 22:22:53,817: DEBUG - == 20171225143838-set-admins: migrated (0.008s)
2024-02-12 22:22:53,818: DEBUG -
2024-02-12 22:22:53,821: DEBUG - == 20180115021837-add-drafts: migrating =======
2024-02-12 22:22:53,832: DEBUG - == 20180115021837-add-drafts: migrated (0.011s)
2024-02-12 22:22:53,833: DEBUG -
2024-02-12 22:22:53,838: DEBUG - == 20180212033504-add-integrations: migrating =======
2024-02-12 22:22:53,852: DEBUG - == 20180212033504-add-integrations: migrated (0.014s)
2024-02-12 22:22:53,852: DEBUG -
2024-02-12 22:22:53,856: DEBUG - == 20180225203847-document-pinning: migrating =======
2024-02-12 22:22:53,862: DEBUG - == 20180225203847-document-pinning: migrated (0.006s)
2024-02-12 22:22:53,862: DEBUG -
2024-02-12 22:22:53,865: DEBUG - == 20180303193036-suspended-users: migrating =======
2024-02-12 22:22:53,884: DEBUG - == 20180303193036-suspended-users: migrated (0.018s)
2024-02-12 22:22:53,884: DEBUG -
2024-02-12 22:22:53,890: DEBUG - == 20180324214403-serializer-upgrade: migrating =======
2024-02-12 22:22:53,897: DEBUG - == 20180324214403-serializer-upgrade: migrated (0.007s)
2024-02-12 22:22:53,897: DEBUG -
2024-02-12 22:22:53,903: DEBUG - == 20180513041057-add-share-links: migrating =======
2024-02-12 22:22:53,915: DEBUG - == 20180513041057-add-share-links: migrated (0.013s)
2024-02-12 22:22:53,916: DEBUG -
2024-02-12 22:22:53,920: DEBUG - == 20180528233909-google-auth: migrating =======
2024-02-12 22:22:53,956: DEBUG - == 20180528233909-google-auth: migrated (0.035s)
2024-02-12 22:22:53,956: DEBUG -
2024-02-12 22:22:53,960: DEBUG - == 20180528233910-rename-serviceid: migrating =======
2024-02-12 22:22:53,988: DEBUG - == 20180528233910-rename-serviceid: migrated (0.029s)
2024-02-12 22:22:53,989: DEBUG -
2024-02-12 22:22:53,993: DEBUG - == 20180604182823-user-tracking: migrating =======
2024-02-12 22:22:54,001: DEBUG - == 20180604182823-user-tracking: migrated (0.008s)
2024-02-12 22:22:54,002: DEBUG -
2024-02-12 22:22:54,006: DEBUG - == 20180604191743-revoke-share-links: migrating =======
2024-02-12 22:22:54,013: DEBUG - == 20180604191743-revoke-share-links: migrated (0.007s)
2024-02-12 22:22:54,013: DEBUG -
2024-02-12 22:22:54,018: DEBUG - == 20180707220121-more-soft-delete: migrating =======
2024-02-12 22:22:54,025: DEBUG - == 20180707220121-more-soft-delete: migrated (0.007s)
2024-02-12 22:22:54,025: DEBUG -
2024-02-12 22:22:54,031: DEBUG - == 20180707231201-remove-passwords: migrating =======
2024-02-12 22:22:54,039: DEBUG - == 20180707231201-remove-passwords: migrated (0.007s)
2024-02-12 22:22:54,039: DEBUG -
2024-02-12 22:22:54,042: DEBUG - == 20180708231200-serviceid-null: migrating =======
2024-02-12 22:22:54,049: DEBUG - == 20180708231200-serviceid-null: migrated (0.006s)
2024-02-12 22:22:54,049: DEBUG -
2024-02-12 22:22:54,052: DEBUG - == 20180808061353-cleanup: migrating =======
2024-02-12 22:22:54,071: DEBUG - == 20180808061353-cleanup: migrated (0.018s)
2024-02-12 22:22:54,071: DEBUG -
2024-02-12 22:22:54,075: DEBUG - == 20180819054252-disable-sharing: migrating =======
2024-02-12 22:22:54,090: DEBUG - == 20180819054252-disable-sharing: migrated (0.015s)
2024-02-12 22:22:54,090: DEBUG -
2024-02-12 22:22:54,094: DEBUG - == 20181031015046-add-subdomain-to-team: migrating =======
2024-02-12 22:22:54,140: DEBUG - == 20181031015046-add-subdomain-to-team: migrated (0.045s)
2024-02-12 22:22:54,140: DEBUG -
2024-02-12 22:22:54,156: DEBUG - == 20181124000438-add-notifications: migrating =======
2024-02-12 22:22:54,247: DEBUG - == 20181124000438-add-notifications: migrated (0.090s)
2024-02-12 22:22:54,248: DEBUG -
2024-02-12 22:22:54,254: DEBUG - == 20181215192422-document-embeds: migrating =======
2024-02-12 22:22:54,266: DEBUG - == 20181215192422-document-embeds: migrated (0.011s)
2024-02-12 22:22:54,266: DEBUG -
2024-02-12 22:22:54,270: DEBUG - == 20181227001547-collection-permissions: migrating =======
2024-02-12 22:22:54,291: DEBUG - == 20181227001547-collection-permissions: migrated (0.021s)
2024-02-12 22:22:54,292: DEBUG -
2024-02-12 22:22:54,296: DEBUG - == 20190404035736-add-archive: migrating =======
2024-02-12 22:22:54,306: DEBUG - == 20190404035736-add-archive: migrated (0.009s)
2024-02-12 22:22:54,306: DEBUG -
2024-02-12 22:22:54,311: DEBUG - == 20190423051708-add-search-indexes: migrating =======
2024-02-12 22:22:54,323: DEBUG - == 20190423051708-add-search-indexes: migrated (0.012s)
2024-02-12 22:22:54,324: DEBUG -
2024-02-12 22:22:54,328: DEBUG - == 20190606035733-events: migrating =======
2024-02-12 22:22:54,346: DEBUG - == 20190606035733-events: migrated (0.019s)
2024-02-12 22:22:54,346: DEBUG -
2024-02-12 22:22:54,352: DEBUG - == 20190704070630-welcome-docs: migrating =======
2024-02-12 22:22:54,359: DEBUG - == 20190704070630-welcome-docs: migrated (0.007s)
2024-02-12 22:22:54,360: DEBUG -
2024-02-12 22:22:54,363: DEBUG - == 20190706213213-backlinks: migrating =======
2024-02-12 22:22:54,377: DEBUG - == 20190706213213-backlinks: migrated (0.014s)
2024-02-12 22:22:54,377: DEBUG -
2024-02-12 22:22:54,381: DEBUG - == 20190811231511-maintainers: migrating =======
2024-02-12 22:22:54,392: DEBUG - == 20190811231511-maintainers: migrated (0.011s)
2024-02-12 22:22:54,393: DEBUG -
2024-02-12 22:22:54,399: DEBUG - == 20191118023010-cascade-delete: migrating =======
2024-02-12 22:22:54,413: DEBUG - == 20191118023010-cascade-delete: migrated (0.015s)
2024-02-12 22:22:54,414: DEBUG -
2024-02-12 22:22:54,420: DEBUG - == 20191119023010-cascade-backlinks: migrating =======
2024-02-12 22:22:54,430: DEBUG - == 20191119023010-cascade-backlinks: migrated (0.010s)
2024-02-12 22:22:54,431: DEBUG -
2024-02-12 22:22:54,435: DEBUG - == 20191119023011-cascade-parent-documents: migrating =======
2024-02-12 22:22:54,443: DEBUG - == 20191119023011-cascade-parent-documents: migrated (0.007s)
2024-02-12 22:22:54,443: DEBUG -
2024-02-12 22:22:54,447: DEBUG - == 20191119023012-cascade-shares: migrating =======
2024-02-12 22:22:54,456: DEBUG - == 20191119023012-cascade-shares: migrated (0.010s)
2024-02-12 22:22:54,457: DEBUG -
2024-02-12 22:22:54,461: DEBUG - == 20191119023013-cascade-backlinks2: migrating =======
2024-02-12 22:22:54,471: DEBUG - == 20191119023013-cascade-backlinks2: migrated (0.009s)
2024-02-12 22:22:54,471: DEBUG -
2024-02-12 22:22:54,481: DEBUG - == 20191121035144-guest-invite: migrating =======
2024-02-12 22:22:54,489: DEBUG - == 20191121035144-guest-invite: migrated (0.013s)
2024-02-12 22:22:54,489: DEBUG -
2024-02-12 22:22:54,504: DEBUG - == 20191211044318-create-groups: migrating =======
2024-02-12 22:22:54,524: DEBUG - == 20191211044318-create-groups: migrated (0.019s)
2024-02-12 22:22:54,524: DEBUG -
2024-02-12 22:22:54,528: DEBUG - == 20191211044319-create-group-users: migrating =======
2024-02-12 22:22:54,544: DEBUG - == 20191211044319-create-group-users: migrated (0.016s)
2024-02-12 22:22:54,545: DEBUG -
2024-02-12 22:22:54,548: DEBUG - == 20191228031525-edit-presence: migrating =======
2024-02-12 22:22:54,552: DEBUG - == 20191228031525-edit-presence: migrated (0.005s)
2024-02-12 22:22:54,553: DEBUG -
2024-02-12 22:22:54,556: DEBUG - == 20200104233831-attachments: migrating =======
2024-02-12 22:22:54,570: DEBUG - == 20200104233831-attachments: migrated (0.013s)
2024-02-12 22:22:54,570: DEBUG -
2024-02-12 22:22:54,577: DEBUG - == 20200122083721-create-collection-groups: migrating =======
2024-02-12 22:22:54,603: DEBUG - == 20200122083721-create-collection-groups: migrated (0.026s)
2024-02-12 22:22:54,603: DEBUG -
2024-02-12 22:22:54,610: DEBUG - == 20200316040755-document-editor-version: migrating =======
2024-02-12 22:22:54,620: DEBUG - == 20200316040755-document-editor-version: migrated (0.009s)
2024-02-12 22:22:54,620: DEBUG -
2024-02-12 22:22:54,628: DEBUG - == 20200328175012-cascade-delete: migrating =======
2024-02-12 22:22:54,637: DEBUG - == 20200328175012-cascade-delete: migrated (0.010s)
2024-02-12 22:22:54,638: DEBUG -
2024-02-12 22:22:54,641: DEBUG - == 20200330053639-document-version: migrating =======
2024-02-12 22:22:54,650: DEBUG - == 20200330053639-document-version: migrated (0.009s)
2024-02-12 22:22:54,651: DEBUG -
2024-02-12 22:22:54,654: DEBUG - == 20200519032353-text-backup: migrating =======
2024-02-12 22:22:54,664: DEBUG - == 20200519032353-text-backup: migrated (0.010s)
2024-02-12 22:22:54,664: DEBUG -
2024-02-12 22:22:54,668: DEBUG - == 20200522054958-collection-icon: migrating =======
2024-02-12 22:22:54,682: DEBUG - == 20200522054958-collection-icon: migrated (0.013s)
2024-02-12 22:22:54,682: DEBUG -
2024-02-12 22:22:54,692: DEBUG - == 20200723055414-add-published-to-shares: migrating =======
2024-02-12 22:22:54,701: DEBUG - == 20200723055414-add-published-to-shares: migrated (0.008s)
2024-02-12 22:22:54,701: DEBUG -
2024-02-12 22:22:54,707: DEBUG - == 20200727051157-add-templates: migrating =======
2024-02-12 22:22:54,717: DEBUG - == 20200727051157-add-templates: migrated (0.010s)
2024-02-12 22:22:54,717: DEBUG -
2024-02-12 22:22:54,727: DEBUG - == 20200812170227-remove-collection-type: migrating =======
2024-02-12 22:22:54,736: DEBUG - == 20200812170227-remove-collection-type: migrated (0.008s)
2024-02-12 22:22:54,736: DEBUG -
2024-02-12 22:22:54,747: DEBUG - == 20200915010511-create-search-queries: migrating =======
2024-02-12 22:22:54,766: DEBUG - == 20200915010511-create-search-queries: migrated (0.018s)
2024-02-12 22:22:54,766: DEBUG -
2024-02-12 22:22:54,770: DEBUG - == 20200926204620-add-missing-indexes: migrating =======
2024-02-12 22:22:54,792: DEBUG - == 20200926204620-add-missing-indexes: migrated (0.021s)
2024-02-12 22:22:54,792: DEBUG -
2024-02-12 22:22:54,797: DEBUG - == 20201028043021-reverse-document-id-index: migrating =======
2024-02-12 22:22:54,805: DEBUG - == 20201028043021-reverse-document-id-index: migrated (0.008s)
2024-02-12 22:22:54,806: DEBUG -
2024-02-12 22:22:54,810: DEBUG - == 20201103050534-custom-domains: migrating =======
2024-02-12 22:22:54,819: DEBUG - == 20201103050534-custom-domains: migrated (0.007s)
2024-02-12 22:22:54,819: DEBUG -
2024-02-12 22:22:54,824: DEBUG - == 20201106122752-i18n: migrating =======
2024-02-12 22:22:54,836: DEBUG - == 20201106122752-i18n: migrated (0.012s)
2024-02-12 22:22:54,837: DEBUG -
2024-02-12 22:22:54,844: DEBUG - == 20201206210619-update-attachment-cols: migrating =======
2024-02-12 22:22:54,857: DEBUG - == 20201206210619-update-attachment-cols: migrated (0.012s)
2024-02-12 22:22:54,858: DEBUG -
2024-02-12 22:22:54,864: DEBUG - == 20201211080408-attachment-no-cascade: migrating =======
2024-02-12 22:22:54,890: DEBUG - == 20201211080408-attachment-no-cascade: migrated (0.025s)
2024-02-12 22:22:54,891: DEBUG -
2024-02-12 22:22:54,896: DEBUG - == 20201230031607-collection-sort: migrating =======
2024-02-12 22:22:54,905: DEBUG - == 20201230031607-collection-sort: migrated (0.007s)
2024-02-12 22:22:54,905: DEBUG -
2024-02-12 22:22:54,910: DEBUG - == 20210110143902-collection-rename-creator-id: migrating =======
2024-02-12 22:22:54,946: DEBUG - == 20210110143902-collection-rename-creator-id: migrated (0.035s)
2024-02-12 22:22:54,946: DEBUG -
2024-02-12 22:22:54,951: DEBUG - == 20210208062816-disable-collection-sharing: migrating =======
2024-02-12 22:22:54,970: DEBUG - == 20210208062816-disable-collection-sharing: migrated (0.013s)
2024-02-12 22:22:54,970: DEBUG -
2024-02-12 22:22:54,970: DEBUG - == 20210218111237-add-collection-index: migrating =======
2024-02-12 22:22:54,978: DEBUG - == 20210218111237-add-collection-index: migrated (0.009s)
2024-02-12 22:22:54,979: DEBUG -
2024-02-12 22:22:54,983: DEBUG - == 20210226232041-authentication-providers: migrating =======
2024-02-12 22:22:55,009: DEBUG - == 20210226232041-authentication-providers: migrated (0.026s)
2024-02-12 22:22:55,010: DEBUG -
2024-02-12 22:22:55,013: DEBUG - == 20210310051804-passport: migrating =======
2024-02-12 22:22:55,022: DEBUG - == 20210310051804-passport: migrated (0.009s)
2024-02-12 22:22:55,023: DEBUG -
2024-02-12 22:22:55,026: DEBUG - == 20210314173941-isViewer: migrating =======
2024-02-12 22:22:55,032: DEBUG - == 20210314173941-isViewer: migrated (0.006s)
2024-02-12 22:22:55,032: DEBUG -
2024-02-12 22:22:55,037: DEBUG - == 20210327005406-read-only-collections: migrating =======
2024-02-12 22:22:55,047: DEBUG - == 20210327005406-read-only-collections: migrated (0.010s)
2024-02-12 22:22:55,048: DEBUG -
2024-02-12 22:22:55,056: DEBUG - == 20210418053152-share-last-viewed: migrating =======
2024-02-12 22:22:55,066: DEBUG - == 20210418053152-share-last-viewed: migrated (0.010s)
2024-02-12 22:22:55,067: DEBUG -
2024-02-12 22:22:55,075: DEBUG - == 20210426055334-nested-document-sharing: migrating =======
2024-02-12 22:22:55,083: DEBUG - == 20210426055334-nested-document-sharing: migrated (0.008s)
2024-02-12 22:22:55,083: DEBUG -
2024-02-12 22:22:55,087: DEBUG - == 20210430024222-marketing-tracking: migrating =======
2024-02-12 22:22:55,094: DEBUG - == 20210430024222-marketing-tracking: migrated (0.006s)
2024-02-12 22:22:55,094: DEBUG -
2024-02-12 22:22:55,099: DEBUG - == 20210716064654-introduce-previousTitles: migrating =======
2024-02-12 22:22:55,107: DEBUG - == 20210716064654-introduce-previousTitles: migrated (0.008s)
2024-02-12 22:22:55,108: DEBUG -
2024-02-12 22:22:55,114: DEBUG - == 20210716071454-search-index-previousTitles: migrating =======
2024-02-12 22:22:55,123: DEBUG - == 20210716071454-search-index-previousTitles: migrated (0.009s)
2024-02-12 22:22:55,123: DEBUG -
2024-02-12 22:22:55,133: DEBUG - == 20210716162923-events-indexes: migrating =======
2024-02-12 22:22:55,140: DEBUG - == 20210716162923-events-indexes: migrated (0.007s)
2024-02-12 22:22:55,140: DEBUG -
2024-02-12 22:22:55,144: DEBUG - == 20210730042450-remove-unused-indexes: migrating =======
2024-02-12 22:22:55,154: DEBUG - == 20210730042450-remove-unused-indexes: migrated (0.010s)
2024-02-12 22:22:55,155: DEBUG -
2024-02-12 22:22:55,158: DEBUG - == 20210730044247-remove-backup-column: migrating =======
2024-02-12 22:22:55,165: DEBUG - == 20210730044247-remove-backup-column: migrated (0.006s)
2024-02-12 22:22:55,165: DEBUG -
2024-02-12 22:22:55,168: DEBUG - == 20210730044248-create-realtime: migrating =======
2024-02-12 22:22:55,177: DEBUG - == 20210730044248-create-realtime: migrated (0.009s)
2024-02-12 22:22:55,178: DEBUG -
2024-02-12 22:22:55,193: DEBUG - == 20210730210120-add-fileOperations: migrating =======
2024-02-12 22:22:55,224: DEBUG - == 20210730210120-add-fileOperations: migrated (0.035s)
2024-02-12 22:22:55,225: DEBUG -
2024-02-12 22:22:55,229: DEBUG - == 20210915051740-collaborative-collections: migrating =======
2024-02-12 22:22:55,238: DEBUG - == 20210915051740-collaborative-collections: migrated (0.009s)
2024-02-12 22:22:55,239: DEBUG -
2024-02-12 22:22:55,244: DEBUG - == 20210921031555-missing-cascades: migrating =======
2024-02-12 22:22:55,272: DEBUG - == 20210921031555-missing-cascades: migrated (0.027s)
2024-02-12 22:22:55,273: DEBUG -
2024-02-12 22:22:55,280: DEBUG - == 20210923031555-missing-cascades: migrating =======
2024-02-12 22:22:55,296: DEBUG - == 20210923031555-missing-cascades: migrated (0.017s)
2024-02-12 22:22:55,297: DEBUG -
2024-02-12 22:22:55,303: DEBUG - == 20211003021903-missing-cascades: migrating =======
2024-02-12 22:22:55,326: DEBUG - == 20211003021903-missing-cascades: migrated (0.023s)
2024-02-12 22:22:55,326: DEBUG -
2024-02-12 22:22:55,331: DEBUG - == 20211015170955-add-defaultUserRole: migrating =======
2024-02-12 22:22:55,337: DEBUG - == 20211015170955-add-defaultUserRole: migrated (0.006s)
2024-02-12 22:22:55,337: DEBUG -
2024-02-12 22:22:55,342: DEBUG - == 20211107021900-missing-cascades: migrating =======
2024-02-12 22:22:55,361: DEBUG - == 20211107021900-missing-cascades: migrated (0.017s)
2024-02-12 22:22:55,361: DEBUG -
2024-02-12 22:22:55,367: DEBUG - == 20211217054419-integration-events: migrating =======
2024-02-12 22:22:55,374: DEBUG - == 20211217054419-integration-events: migrated (0.006s)
2024-02-12 22:22:55,374: DEBUG -
2024-02-12 22:22:55,380: DEBUG - == 20211218185045-remove-unused-indexes: migrating =======
2024-02-12 22:22:55,392: DEBUG - == 20211218185045-remove-unused-indexes: migrated (0.012s)
2024-02-12 22:22:55,393: DEBUG -
2024-02-12 22:22:55,398: DEBUG - == 20211218193004-documents-full-width: migrating =======
2024-02-12 22:22:55,413: DEBUG - == 20211218193004-documents-full-width: migrated (0.014s)
2024-02-12 22:22:55,413: DEBUG -
2024-02-12 22:22:55,417: DEBUG - == 20211221031430-create-pins: migrating =======
2024-02-12 22:22:55,438: DEBUG - == 20211221031430-create-pins: migrated (0.020s)
2024-02-12 22:22:55,438: DEBUG -
2024-02-12 22:22:55,443: DEBUG - == 20220117012250-add-starred-sorting: migrating =======
2024-02-12 22:22:55,456: DEBUG - == 20220117012250-add-starred-sorting: migrated (0.013s)
2024-02-12 22:22:55,456: DEBUG -
2024-02-12 22:22:55,461: DEBUG - == 20220127000000-index-fixes: migrating =======
2024-02-12 22:22:55,497: DEBUG - == 20220127000000-index-fixes: migrated (0.034s)
2024-02-12 22:22:55,497: DEBUG -
2024-02-12 22:22:55,501: DEBUG - == 20220129092607-add-defaultCollectionId: migrating =======
2024-02-12 22:22:55,510: DEBUG - == 20220129092607-add-defaultCollectionId: migrated (0.009s)
2024-02-12 22:22:55,511: DEBUG -
2024-02-12 22:22:55,514: DEBUG - == 20220206225006-add-error-to-file-operation: migrating =======
2024-02-12 22:22:55,520: DEBUG - == 20220206225006-add-error-to-file-operation: migrated (0.006s)
2024-02-12 22:22:55,521: DEBUG -
2024-02-12 22:22:55,525: DEBUG - == 20220305195830-create-comments: migrating =======
2024-02-12 22:22:55,547: DEBUG - == 20220305195830-create-comments: migrated (0.023s)
2024-02-12 22:22:55,547: DEBUG -
2024-02-12 22:22:55,551: DEBUG - == 20220311020825-views-indexes: migrating =======
2024-02-12 22:22:55,563: DEBUG - == 20220311020825-views-indexes: migrated (0.013s)
2024-02-12 22:22:55,564: DEBUG -
2024-02-12 22:22:55,567: DEBUG - == 20220319022812-events-indexes: migrating =======
2024-02-12 22:22:55,576: DEBUG - == 20220319022812-events-indexes: migrated (0.008s)
2024-02-12 22:22:55,576: DEBUG -
2024-02-12 22:22:55,579: DEBUG - == 20220319060408-collection-create-permission: migrating =======
2024-02-12 22:22:55,587: DEBUG - == 20220319060408-collection-create-permission: migrated (0.008s)
2024-02-12 22:22:55,588: DEBUG -
2024-02-12 22:22:55,598: DEBUG - == 20220328215615-add-shareId-to-search-queries: migrating =======
2024-02-12 22:22:55,601: DEBUG - == 20220328215615-add-shareId-to-search-queries: migrated (0.009s)
2024-02-12 22:22:55,601: DEBUG -
2024-02-12 22:22:55,606: DEBUG - == 20220402032204-starred-collections: migrating =======
2024-02-12 22:22:55,622: DEBUG - == 20220402032204-starred-collections: migrated (0.016s)
2024-02-12 22:22:55,623: DEBUG -
2024-02-12 22:22:55,627: DEBUG - == 20220409222213-user-flags: migrating =======
2024-02-12 22:22:55,634: DEBUG - == 20220409222213-user-flags: migrated (0.007s)
2024-02-12 22:22:55,634: DEBUG -
2024-02-12 22:22:55,640: DEBUG - == 20220409225935-user-invited-by: migrating =======
2024-02-12 22:22:55,646: DEBUG - == 20220409225935-user-invited-by: migrated (0.006s)
2024-02-12 22:22:55,647: DEBUG -
2024-02-12 22:22:55,650: DEBUG - == 20220413213537-add-inviteRequired-to-teams: migrating =======
2024-02-12 22:22:55,656: DEBUG - == 20220413213537-add-inviteRequired-to-teams: migrated (0.006s)
2024-02-12 22:22:55,656: DEBUG -
2024-02-12 22:22:55,661: DEBUG - == 20220419052832-create-team-domains: migrating =======
2024-02-12 22:22:55,677: DEBUG - == 20220419052832-create-team-domains: migrated (0.016s)
2024-02-12 22:22:55,678: DEBUG -
2024-02-12 22:22:55,682: DEBUG - == 20220421052253-create-file-operation-format: migrating =======
2024-02-12 22:22:55,691: DEBUG - == 20220421052253-create-file-operation-format: migrated (0.008s)
2024-02-12 22:22:55,691: DEBUG -
2024-02-12 22:22:55,698: DEBUG - == 20220430043135-collection-sort-backfill: migrating =======
2024-02-12 22:22:55,699: DEBUG - Backfilling collection sort…
2024-02-12 22:22:55,711: DEBUG - == 20220430043135-collection-sort-backfill: migrated (0.012s)
2024-02-12 22:22:55,711: DEBUG -
2024-02-12 22:22:55,718: DEBUG - == 20220521164111-create-webhook-subscription: migrating =======
2024-02-12 22:22:55,741: DEBUG - == 20220521164111-create-webhook-subscription: migrated (0.023s)
2024-02-12 22:22:55,742: DEBUG -
2024-02-12 22:22:55,747: DEBUG - == 20220525054603-user-authentication-expires-at: migrating =======
2024-02-12 22:22:55,762: DEBUG - == 20220525054603-user-authentication-expires-at: migrated (0.014s)
2024-02-12 22:22:55,762: DEBUG -
2024-02-12 22:22:55,768: DEBUG - == 20220606031139-create-webhook-delivieries: migrating =======
2024-02-12 22:22:55,792: DEBUG - == 20220606031139-create-webhook-delivieries: migrated (0.025s)
2024-02-12 22:22:55,793: DEBUG -
2024-02-12 22:22:55,799: DEBUG - == 20220702132722-add-webhooks-deleted-at: migrating =======
2024-02-12 22:22:55,811: DEBUG - == 20220702132722-add-webhooks-deleted-at: migrated (0.011s)
2024-02-12 22:22:55,811: DEBUG -
2024-02-12 22:22:55,815: DEBUG - == 20220719121200-create-subscriptions: migrating =======
2024-02-12 22:22:55,831: DEBUG - == 20220719121200-create-subscriptions: migrated (0.016s)
2024-02-12 22:22:55,831: DEBUG -
2024-02-12 22:22:55,837: DEBUG - == 20220720221531-remove-deprecated-columns: migrating =======
2024-02-12 22:22:55,852: DEBUG - == 20220720221531-remove-deprecated-columns: migrated (0.016s)
2024-02-12 22:22:55,853: DEBUG -
2024-02-12 22:22:55,857: DEBUG - == 20220722184916-remove-event-updatedat: migrating =======
2024-02-12 22:22:55,865: DEBUG - == 20220722184916-remove-event-updatedat: migrated (0.007s)
2024-02-12 22:22:55,865: DEBUG -
2024-02-12 22:22:55,871: DEBUG - == 20220810185000-scope-provider-id-uniqueness-to-team: migrating =======
2024-02-12 22:22:55,892: DEBUG - == 20220810185000-scope-provider-id-uniqueness-to-team: migrated (0.022s)
2024-02-12 22:22:55,893: DEBUG -
2024-02-12 22:22:55,897: DEBUG - == 20220812115059-scope-user-auth-provider-id-uniqueness-to-user: migrating =======
2024-02-12 22:22:55,908: DEBUG - == 20220812115059-scope-user-auth-provider-id-uniqueness-to-user: migrated (0.011s)
2024-02-12 22:22:55,909: DEBUG -
2024-02-12 22:22:55,913: DEBUG - == 20220816070527-change-column-authentication-id-nullable: migrating =======
2024-02-12 22:22:55,922: DEBUG - == 20220816070527-change-column-authentication-id-nullable: migrated (0.008s)
2024-02-12 22:22:55,922: DEBUG -
2024-02-12 22:22:55,926: DEBUG - == 20220816175234-user-email-index: migrating =======
2024-02-12 22:22:55,935: DEBUG - == 20220816175234-user-email-index: migrated (0.009s)
2024-02-12 22:22:55,936: DEBUG -
2024-02-12 22:22:55,940: DEBUG - == 20220828144837-add-columns-to-notifications-for-tracking: migrating =======
2024-02-12 22:22:55,954: DEBUG - == 20220828144837-add-columns-to-notifications-for-tracking: migrated (0.014s)
2024-02-12 22:22:55,954: DEBUG -
2024-02-12 22:22:55,958: DEBUG - == 20220830215146-add-shares-views: migrating =======
2024-02-12 22:22:55,964: DEBUG - == 20220830215146-add-shares-views: migrated (0.006s)
2024-02-12 22:22:55,965: DEBUG -
2024-02-12 22:22:55,971: DEBUG - == 20220907132304-user-preferences: migrating =======
2024-02-12 22:22:56,003: DEBUG - == 20220907132304-user-preferences: migrated (0.031s)
2024-02-12 22:22:56,003: DEBUG -
2024-02-12 22:22:56,012: DEBUG - == 20220907140227-team-preferences: migrating =======
2024-02-12 22:22:56,022: DEBUG - == 20220907140227-team-preferences: migrated (0.009s)
2024-02-12 22:22:56,023: DEBUG -
2024-02-12 22:22:56,030: DEBUG - == 20220909203454-fix-notification-constraints: migrating =======
2024-02-12 22:22:56,074: DEBUG - == 20220909203454-fix-notification-constraints: migrated (0.045s)
2024-02-12 22:22:56,075: DEBUG -
2024-02-12 22:22:56,081: DEBUG - == 20220922073737-webhook-signing-secret: migrating =======
2024-02-12 22:22:56,094: DEBUG - == 20220922073737-webhook-signing-secret: migrated (0.012s)
2024-02-12 22:22:56,094: DEBUG -
2024-02-12 22:22:56,106: DEBUG - == 20220928030442-fix-avatar-urls: migrating =======
2024-02-12 22:22:56,179: DEBUG - == 20220928030442-fix-avatar-urls: migrated (0.062s)
2024-02-12 22:22:56,179: DEBUG -
2024-02-12 22:22:56,181: DEBUG - == 20221111171828-fix-user-constraints: migrating =======
2024-02-12 22:22:56,203: DEBUG - == 20221111171828-fix-user-constraints: migrated (0.022s)
2024-02-12 22:22:56,203: DEBUG -
2024-02-12 22:22:56,209: DEBUG - == 20221112152649-import-document-relationship: migrating =======
2024-02-12 22:22:56,232: DEBUG - == 20221112152649-import-document-relationship: migrated (0.024s)
2024-02-12 22:22:56,233: DEBUG -
2024-02-12 22:22:56,240: DEBUG - == 20221112162341-attachment-tracking: migrating =======
2024-02-12 22:22:56,247: DEBUG - == 20221112162341-attachment-tracking: migrated (0.008s)
2024-02-12 22:22:56,248: DEBUG -
2024-02-12 22:22:56,253: DEBUG - == 20221120151710-attachment-expiry: migrating =======
2024-02-12 22:22:56,275: DEBUG - == 20221120151710-attachment-expiry: migrated (0.022s)
2024-02-12 22:22:56,275: DEBUG -
2024-02-12 22:22:56,282: DEBUG - == 20221206163421-add-share-url-slug: migrating =======
2024-02-12 22:22:56,299: DEBUG - == 20221206163421-add-share-url-slug: migrated (0.016s)
2024-02-12 22:22:56,299: DEBUG -
2024-02-12 22:22:56,303: DEBUG - == 20221218013627-fix-webhook-subscription-constraints: migrating =======
2024-02-12 22:22:56,352: DEBUG - == 20221218013627-fix-webhook-subscription-constraints: migrated (0.049s)
2024-02-12 22:22:56,352: DEBUG -
2024-02-12 22:22:56,356: DEBUG - == 20221219013835-fix-integration-constraints: migrating =======
2024-02-12 22:22:56,405: DEBUG - == 20221219013835-fix-integration-constraints: migrated (0.048s)
2024-02-12 22:22:56,405: DEBUG -
2024-02-12 22:22:56,408: DEBUG - == 20221230234256-add-stars-cascade: migrating =======
2024-02-12 22:22:56,417: DEBUG - == 20221230234256-add-stars-cascade: migrated (0.008s)
2024-02-12 22:22:56,417: DEBUG -
2024-02-12 22:22:56,420: DEBUG - == 20230101144349-integration-indexes: migrating =======
2024-02-12 22:22:56,439: DEBUG - == 20230101144349-integration-indexes: migrated (0.019s)
2024-02-12 22:22:56,440: DEBUG -
2024-02-12 22:22:56,444: DEBUG - == 20230204191035-update-tsvector-trigger: migrating =======
2024-02-12 22:22:56,456: DEBUG - == 20230204191035-update-tsvector-trigger: migrated (0.011s)
2024-02-12 22:22:56,456: DEBUG -
2024-02-12 22:22:56,461: DEBUG - == 20230314013103-move-notification-settings: migrating =======
2024-02-12 22:22:56,485: DEBUG - == 20230314013103-move-notification-settings: migrated (0.023s)
2024-02-12 22:22:56,485: DEBUG -
2024-02-12 22:22:56,498: DEBUG - == 20230317144617-remove-user-username: migrating =======
2024-02-12 22:22:56,507: DEBUG - == 20230317144617-remove-user-username: migrated (0.009s)
2024-02-12 22:22:56,508: DEBUG -
2024-02-12 22:22:56,512: DEBUG - == 20230330181038-remove-column-userId-from-documents: migrating =======
2024-02-12 22:22:56,520: DEBUG - == 20230330181038-remove-column-userId-from-documents: migrated (0.007s)
2024-02-12 22:22:56,520: DEBUG -
2024-02-12 22:22:56,523: DEBUG - == 20230403120315-add-comment-to-notifications: migrating =======
2024-02-12 22:22:56,534: DEBUG - == 20230403120315-add-comment-to-notifications: migrated (0.011s)
2024-02-12 22:22:56,534: DEBUG -
2024-02-12 22:22:56,539: DEBUG - == 20230419124305-add-archivedat-col-to-notifications: migrating =======
2024-02-12 22:22:56,562: DEBUG - == 20230419124305-add-archivedat-col-to-notifications: migrated (0.024s)
2024-02-12 22:22:56,563: DEBUG -
2024-02-12 22:22:56,567: DEBUG - == 20230419132159-add-indexes-to-notifications: migrating =======
2024-02-12 22:22:56,582: DEBUG - == 20230419132159-add-indexes-to-notifications: migrated (0.015s)
2024-02-12 22:22:56,582: DEBUG -
2024-02-12 22:22:56,587: DEBUG - == 20230429005039-collection-admins: migrating =======
2024-02-12 22:22:56,596: DEBUG - == 20230429005039-collection-admins: migrated (0.009s)
2024-02-12 22:22:56,596: DEBUG -
2024-02-12 22:22:56,601: DEBUG - == 20230430213332-remove-notification-settings: migrating =======
2024-02-12 22:22:56,609: DEBUG - == 20230430213332-remove-notification-settings: migrated (0.008s)
2024-02-12 22:22:56,610: DEBUG -
2024-02-12 22:22:56,618: DEBUG - == 20230621004649-add-include-attachments-file-operation: migrating =======
2024-02-12 22:22:56,628: DEBUG - == 20230621004649-add-include-attachments-file-operation: migrated (0.010s)
2024-02-12 22:22:56,629: DEBUG -
2024-02-12 22:22:56,632: DEBUG - == 20230720002422-add-insights-control: migrating =======
2024-02-12 22:22:56,640: DEBUG - == 20230720002422-add-insights-control: migrated (0.008s)
2024-02-12 22:22:56,641: DEBUG -
2024-02-12 22:22:56,645: DEBUG - == 20230723231806-fix-file-operation-constraints: migrating =======
2024-02-12 22:22:56,656: DEBUG - == 20230723231806-fix-file-operation-constraints: migrated (0.010s)
2024-02-12 22:22:56,656: DEBUG -
2024-02-12 22:22:56,661: DEBUG - == 20230815063830-add-emoji-to-revisions: migrating =======
2024-02-12 22:22:56,681: DEBUG - == 20230815063830-add-emoji-to-revisions: migrated (0.019s)
2024-02-12 22:22:56,681: DEBUG -
2024-02-12 22:22:56,689: DEBUG - == 20230815063834-migrate-emoji-in-document-title: migrating =======
2024-02-12 22:23:01,431: DEBUG - Backfill document emoji from title… page 0
2024-02-12 22:23:01,439: DEBUG - (node:3291110) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
2024-02-12 22:23:01,440: DEBUG -
2024-02-12 22:23:01,440: DEBUG - Please migrate your code to use AWS SDK for JavaScript (v3).
2024-02-12 22:23:01,440: DEBUG - For more information, check the migration guide at https://a.co/7PzMCcy
2024-02-12 22:23:01,440: DEBUG - (Use `node --trace-warnings ...` to show where the warning was created)
2024-02-12 22:23:01,551: DEBUG - Backfill complete
2024-02-12 22:23:01,610: DEBUG - == 20230815063834-migrate-emoji-in-document-title: migrated (4.920s)
2024-02-12 22:23:01,616: DEBUG -
2024-02-12 22:23:01,616: DEBUG - == 20230827234031-migrate-emoji-in-revision-title: migrating =======
2024-02-12 22:23:05,883: DEBUG - Backfill revision emoji from title… page 0
2024-02-12 22:23:05,895: DEBUG - (node:3291131) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
2024-02-12 22:23:05,896: DEBUG -
2024-02-12 22:23:05,896: DEBUG - Please migrate your code to use AWS SDK for JavaScript (v3).
2024-02-12 22:23:05,896: DEBUG - For more information, check the migration guide at https://a.co/7PzMCcy
2024-02-12 22:23:05,896: DEBUG - (Use `node --trace-warnings ...` to show where the warning was created)
2024-02-12 22:23:06,023: DEBUG - Backfill complete
2024-02-12 22:23:06,062: DEBUG - == 20230827234031-migrate-emoji-in-revision-title: migrated (4.445s)
2024-02-12 22:23:06,062: DEBUG -
2024-02-12 22:23:06,074: DEBUG - == 20230920032853-add-key-index: migrating =======
2024-02-12 22:23:06,100: DEBUG - == 20230920032853-add-key-index: migrated (0.025s)
2024-02-12 22:23:06,100: DEBUG -
2024-02-12 22:23:06,116: DEBUG - == 20230921071140-rename-collection-groups: migrating =======
2024-02-12 22:23:06,143: DEBUG - == 20230921071140-rename-collection-groups: migrated (0.027s)
2024-02-12 22:23:06,143: DEBUG -
2024-02-12 22:23:06,150: DEBUG - == 20230922105047-rename-collection-users: migrating =======
2024-02-12 22:23:06,175: DEBUG - == 20230922105047-rename-collection-users: migrated (0.025s)
2024-02-12 22:23:06,176: DEBUG -
2024-02-12 22:23:06,184: DEBUG - == 20231001032754-file-operation-paranoid: migrating =======
2024-02-12 22:23:06,192: DEBUG - == 20231001032754-file-operation-paranoid: migrated (0.008s)
2024-02-12 22:23:06,193: DEBUG -
2024-02-12 22:23:06,197: DEBUG - == 20231101021239-share-domain: migrating =======
2024-02-12 22:23:06,227: DEBUG - == 20231101021239-share-domain: migrated (0.026s)
2024-02-12 22:23:06,228: DEBUG -
2024-02-12 22:23:06,239: DEBUG - == 20231111023920-add-source-metadata: migrating =======
2024-02-12 22:23:06,252: DEBUG - == 20231111023920-add-source-metadata: migrated (0.013s)
2024-02-12 22:23:06,253: DEBUG -
2024-02-12 22:23:06,258: DEBUG - == 20231120074257-add-column-id-to-user-permissions: migrating =======
2024-02-12 22:23:06,283: DEBUG - == 20231120074257-add-column-id-to-user-permissions: migrated (0.025s)
2024-02-12 22:23:06,284: DEBUG -
2024-02-12 22:23:06,290: DEBUG - == 20231120142213-add-column-id-to-group-permissions: migrating =======
2024-02-12 22:23:06,319: DEBUG - == 20231120142213-add-column-id-to-group-permissions: migrated (0.030s)
2024-02-12 22:23:06,320: DEBUG -
2024-02-12 22:23:06,324: DEBUG - == 20231123022323-add-suspended-at-teams: migrating =======
2024-02-12 22:23:06,336: DEBUG - == 20231123022323-add-suspended-at-teams: migrated (0.009s)
2024-02-12 22:23:06,336: DEBUG -
2024-02-12 22:23:06,341: DEBUG - == 20231129011114-cascade-delete: migrating =======
2024-02-12 22:23:06,356: DEBUG - == 20231129011114-cascade-delete: migrated (0.015s)
2024-02-12 22:23:06,357: DEBUG -
2024-02-12 22:23:06,401: DEBUG - Done in 14.68s.
2024-02-12 22:23:06,439: DEBUG - + popd
2024-02-12 22:23:06,439: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/scripts
2024-02-12 22:23:06,538: DEBUG - + ynh_add_systemd_config
2024-02-12 22:23:06,539: INFO - [##################..] > Configuring a systemd service...
2024-02-12 22:23:06,540: DEBUG - + service=outline
2024-02-12 22:23:06,540: DEBUG - + template=systemd.service
2024-02-12 22:23:06,540: DEBUG - + ynh_add_config --template=systemd.service --destination=/etc/systemd/system/outline.service
2024-02-12 22:23:06,574: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/systemd.service ']'
2024-02-12 22:23:06,574: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/systemd.service
2024-02-12 22:23:06,574: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/systemd/system/outline.service
2024-02-12 22:23:06,583: DEBUG - + local checksum_setting_name=checksum__etc_systemd_system_outline.service
2024-02-12 22:23:06,584: DEBUG - ++ ynh_app_setting_get --app=outline --key=checksum__etc_systemd_system_outline.service
2024-02-12 22:23:06,584: DEBUG - ++ local _globalapp=outline
2024-02-12 22:23:06,626: DEBUG - ++ app=outline
2024-02-12 22:23:06,627: DEBUG - ++ [[ checksum__etc_systemd_system_outline.service =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:23:06,627: DEBUG - ++ ynh_app_setting get outline checksum__etc_systemd_system_outline.service
2024-02-12 22:23:06,671: DEBUG - + local checksum_value=
2024-02-12 22:23:06,671: DEBUG - + backup_file_checksum=
2024-02-12 22:23:06,672: DEBUG - + '[' -n '' ']'
2024-02-12 22:23:06,672: DEBUG - + touch /etc/systemd/system/outline.service
2024-02-12 22:23:06,672: DEBUG - + chown root:root /etc/systemd/system/outline.service
2024-02-12 22:23:06,673: DEBUG - + chmod 640 /etc/systemd/system/outline.service
2024-02-12 22:23:06,675: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/systemd.service /etc/systemd/system/outline.service
2024-02-12 22:23:06,677: DEBUG - + _ynh_apply_default_permissions /etc/systemd/system/outline.service
2024-02-12 22:23:06,677: DEBUG - + local target=/etc/systemd/system/outline.service
2024-02-12 22:23:06,678: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-12 22:23:06,678: DEBUG - ++ tr -d '<>= '
2024-02-12 22:23:06,709: DEBUG - ++ '[' '!' -e '' ']'
2024-02-12 22:23:06,709: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json ']'
2024-02-12 22:23:06,710: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json
2024-02-12 22:23:06,710: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json
2024-02-12 22:23:06,710: DEBUG - ++ grep -q '\.json$'
2024-02-12 22:23:06,712: DEBUG - ++ jq .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json --raw-output
2024-02-12 22:23:06,746: DEBUG - + local ynh_requirement=11.0.9
2024-02-12 22:23:06,746: DEBUG - + dpkg --compare-versions 1.0 ge 2
2024-02-12 22:23:06,747: DEBUG - + '[' -z 11.0.9 ']'
2024-02-12 22:23:06,747: DEBUG - + '[' 11.0.9 == null ']'
2024-02-12 22:23:06,747: DEBUG - + dpkg --compare-versions 11.0.9 ge 4.2
2024-02-12 22:23:06,749: DEBUG - + chmod o-rwx /etc/systemd/system/outline.service
2024-02-12 22:23:06,751: DEBUG - + chmod g-w /etc/systemd/system/outline.service
2024-02-12 22:23:06,751: DEBUG - + chown -R root:root /etc/systemd/system/outline.service
2024-02-12 22:23:06,753: DEBUG - + ynh_system_user_exists outline
2024-02-12 22:23:06,764: DEBUG - + getent passwd outline
2024-02-12 22:23:06,766: DEBUG - + chown outline:outline /etc/systemd/system/outline.service
2024-02-12 22:23:06,767: DEBUG - + echo /etc/systemd/system/outline.service
2024-02-12 22:23:06,768: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-02-12 22:23:06,770: DEBUG - + chmod 400 /etc/systemd/system/outline.service
2024-02-12 22:23:06,771: DEBUG - + chown root:root /etc/systemd/system/outline.service
2024-02-12 22:23:06,773: DEBUG - + ynh_replace_vars --file=/etc/systemd/system/outline.service
2024-02-12 22:23:06,784: DEBUG - + test -n /
2024-02-12 22:23:06,784: DEBUG - + local path_url_slash_less=
2024-02-12 22:23:06,785: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/systemd/system/outline.service
2024-02-12 22:23:06,846: DEBUG - + sed --in-place $'s\001__PATH__/\001/\001g' /etc/systemd/system/outline.service
2024-02-12 22:23:06,848: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/systemd/system/outline.service
2024-02-12 22:23:06,916: DEBUG - + sed --in-place $'s\001__PATH__\001/\001g' /etc/systemd/system/outline.service
2024-02-12 22:23:06,917: DEBUG - + test -n outline
2024-02-12 22:23:06,917: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=outline --target_file=/etc/systemd/system/outline.service
2024-02-12 22:23:06,975: DEBUG - + sed --in-place $'s\001__NAME__\001outline\001g' /etc/systemd/system/outline.service
2024-02-12 22:23:06,977: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=outline --target_file=/etc/systemd/system/outline.service
2024-02-12 22:23:07,029: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001outline\001g' /etc/systemd/system/outline.service
2024-02-12 22:23:07,030: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=outline --target_file=/etc/systemd/system/outline.service
2024-02-12 22:23:07,132: DEBUG - + sed --in-place $'s\001__USER__\001outline\001g' /etc/systemd/system/outline.service
2024-02-12 22:23:07,133: DEBUG - + test -n /var/www/outline
2024-02-12 22:23:07,134: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/outline --target_file=/etc/systemd/system/outline.service
2024-02-12 22:23:07,209: DEBUG - + sed --in-place $'s\001__FINALPATH__\001/var/www/outline\001g' /etc/systemd/system/outline.service
2024-02-12 22:23:07,211: DEBUG - + ynh_replace_string --match_string=__INSTALL_DIR__ --replace_string=/var/www/outline --target_file=/etc/systemd/system/outline.service
2024-02-12 22:23:07,277: DEBUG - + sed --in-place $'s\001__INSTALL_DIR__\001/var/www/outline\001g' /etc/systemd/system/outline.service
2024-02-12 22:23:07,279: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-02-12 22:23:07,281: DEBUG - + test -n 7.4
2024-02-12 22:23:07,281: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/etc/systemd/system/outline.service
2024-02-12 22:23:07,363: DEBUG - + sed --in-place $'s\001__PHPVERSION__\0017.4\001g' /etc/systemd/system/outline.service
2024-02-12 22:23:07,366: DEBUG - + test -n PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:23:07,366: DEBUG - + ynh_replace_string --match_string=__YNH_NODE_LOAD_PATH__ --replace_string=PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --target_file=/etc/systemd/system/outline.service
2024-02-12 22:23:07,463: DEBUG - + sed --in-place $'s\001__YNH_NODE_LOAD_PATH__\001PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\001g' /etc/systemd/system/outline.service
2024-02-12 22:23:07,468: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/systemd/system/outline.service
2024-02-12 22:23:07,468: DEBUG - ++ sort --unique
2024-02-12 22:23:07,468: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-02-12 22:23:07,469: DEBUG - + uniques_vars=('app' 'ynh_npm')
2024-02-12 22:23:07,475: DEBUG - + ynh_store_file_checksum --file=/etc/systemd/system/outline.service
2024-02-12 22:23:07,476: DEBUG - + update_only=0
2024-02-12 22:23:07,517: DEBUG - + local checksum_setting_name=checksum__etc_systemd_system_outline.service
2024-02-12 22:23:07,519: DEBUG - ++ md5sum /etc/systemd/system/outline.service
2024-02-12 22:23:07,521: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-02-12 22:23:07,523: DEBUG - + ynh_app_setting_set --app=outline --key=checksum__etc_systemd_system_outline.service --value=945d9ce3a52a46795cd94f9719d34b0e
2024-02-12 22:23:07,524: DEBUG - + local _globalapp=outline
2024-02-12 22:23:07,615: DEBUG - + app=outline
2024-02-12 22:23:07,615: DEBUG - + [[ checksum__etc_systemd_system_outline.service =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:23:07,615: DEBUG - + ynh_app_setting set outline checksum__etc_systemd_system_outline.service 945d9ce3a52a46795cd94f9719d34b0e
2024-02-12 22:23:07,676: DEBUG - + '[' -n '' ']'
2024-02-12 22:23:07,676: DEBUG - + unset backup_file_checksum
2024-02-12 22:23:07,676: DEBUG - + systemctl enable outline --quiet
2024-02-12 22:23:07,875: DEBUG - + systemctl daemon-reload
2024-02-12 22:23:08,212: INFO - [##################..] > Configuring log rotation...
2024-02-12 22:23:08,213: DEBUG - + ynh_use_logrotate
2024-02-12 22:23:08,213: DEBUG - + all_args=()
2024-02-12 22:23:08,214: DEBUG - ++ seq 0 -1
2024-02-12 22:23:08,215: DEBUG - + set --
2024-02-12 22:23:08,216: DEBUG - + logfile=
2024-02-12 22:23:08,217: DEBUG - + specific_user=
2024-02-12 22:23:08,217: DEBUG - + set -o noglob
2024-02-12 22:23:08,217: DEBUG - + [[ -z '' ]]
2024-02-12 22:23:08,217: DEBUG - + logfile='/var/log/outline/*.log'
2024-02-12 22:23:08,219: DEBUG - + set +o noglob
2024-02-12 22:23:08,219: DEBUG - + for stuff in $logfile
2024-02-12 22:23:08,219: DEBUG - ++ dirname /var/log/outline/outline.log
2024-02-12 22:23:08,219: DEBUG - + mkdir --parents /var/log/outline
2024-02-12 22:23:08,220: DEBUG - + local su_directive=
2024-02-12 22:23:08,220: DEBUG - ++ mktemp
2024-02-12 22:23:08,223: DEBUG - + local tempconf=/tmp/tmp.XmekgI3K6t
2024-02-12 22:23:08,223: DEBUG - + cat
2024-02-12 22:23:08,226: DEBUG - + [[ true == \t\r\u\e ]]
2024-02-12 22:23:08,230: DEBUG - + cat /tmp/tmp.XmekgI3K6t
2024-02-12 22:23:08,239: DEBUG - + FIRST_CALL_TO_LOGROTATE=false
2024-02-12 22:23:08,239: DEBUG - + chmod 644 /etc/logrotate.d/outline
2024-02-12 22:23:08,245: DEBUG - + cron_path=/etc/cron.d/outline
2024-02-12 22:23:08,246: DEBUG - + ynh_add_config --template=../conf/outline.cron --destination=/etc/cron.d/outline
2024-02-12 22:23:08,303: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/../conf/outline.cron ']'
2024-02-12 22:23:08,304: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/../conf/outline.cron
2024-02-12 22:23:08,304: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/cron.d/outline
2024-02-12 22:23:08,321: DEBUG - + local checksum_setting_name=checksum__etc_cron.d_outline
2024-02-12 22:23:08,322: DEBUG - ++ ynh_app_setting_get --app=outline --key=checksum__etc_cron.d_outline
2024-02-12 22:23:08,323: DEBUG - ++ local _globalapp=outline
2024-02-12 22:23:08,376: DEBUG - ++ app=outline
2024-02-12 22:23:08,376: DEBUG - ++ [[ checksum__etc_cron.d_outline =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:23:08,376: DEBUG - ++ ynh_app_setting get outline checksum__etc_cron.d_outline
2024-02-12 22:23:08,448: DEBUG - + local checksum_value=
2024-02-12 22:23:08,448: DEBUG - + backup_file_checksum=
2024-02-12 22:23:08,448: DEBUG - + '[' -n '' ']'
2024-02-12 22:23:08,448: DEBUG - + touch /etc/cron.d/outline
2024-02-12 22:23:08,449: DEBUG - + chown root:root /etc/cron.d/outline
2024-02-12 22:23:08,451: DEBUG - + chmod 640 /etc/cron.d/outline
2024-02-12 22:23:08,452: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/conf/../conf/outline.cron /etc/cron.d/outline
2024-02-12 22:23:08,456: DEBUG - + _ynh_apply_default_permissions /etc/cron.d/outline
2024-02-12 22:23:08,456: DEBUG - + local target=/etc/cron.d/outline
2024-02-12 22:23:08,457: DEBUG - ++ tr -d '<>= '
2024-02-12 22:23:08,457: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-02-12 22:23:08,497: DEBUG - ++ '[' '!' -e '' ']'
2024-02-12 22:23:08,497: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json ']'
2024-02-12 22:23:08,497: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json
2024-02-12 22:23:08,497: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json
2024-02-12 22:23:08,497: DEBUG - ++ grep -q '\.json$'
2024-02-12 22:23:08,500: DEBUG - ++ jq .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_x6sednhr/manifest.json --raw-output
2024-02-12 22:23:08,534: DEBUG - + local ynh_requirement=11.0.9
2024-02-12 22:23:08,534: DEBUG - + dpkg --compare-versions 1.0 ge 2
2024-02-12 22:23:08,539: DEBUG - + '[' -z 11.0.9 ']'
2024-02-12 22:23:08,539: DEBUG - + '[' 11.0.9 == null ']'
2024-02-12 22:23:08,539: DEBUG - + dpkg --compare-versions 11.0.9 ge 4.2
2024-02-12 22:23:08,542: DEBUG - + chmod o-rwx /etc/cron.d/outline
2024-02-12 22:23:08,544: DEBUG - + chmod g-w /etc/cron.d/outline
2024-02-12 22:23:08,546: DEBUG - + chown -R root:root /etc/cron.d/outline
2024-02-12 22:23:08,549: DEBUG - + ynh_system_user_exists outline
2024-02-12 22:23:08,563: DEBUG - + getent passwd outline
2024-02-12 22:23:08,564: DEBUG - + chown outline:outline /etc/cron.d/outline
2024-02-12 22:23:08,566: DEBUG - + echo /etc/cron.d/outline
2024-02-12 22:23:08,566: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-02-12 22:23:08,570: DEBUG - + chmod 400 /etc/cron.d/outline
2024-02-12 22:23:08,570: DEBUG - + chown root:root /etc/cron.d/outline
2024-02-12 22:23:08,572: DEBUG - + ynh_replace_vars --file=/etc/cron.d/outline
2024-02-12 22:23:08,582: DEBUG - + test -n /
2024-02-12 22:23:08,582: DEBUG - + local path_url_slash_less=
2024-02-12 22:23:08,582: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/cron.d/outline
2024-02-12 22:23:08,657: DEBUG - + sed --in-place $'s\001__PATH__/\001/\001g' /etc/cron.d/outline
2024-02-12 22:23:08,661: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/cron.d/outline
2024-02-12 22:23:08,759: DEBUG - + sed --in-place $'s\001__PATH__\001/\001g' /etc/cron.d/outline
2024-02-12 22:23:08,761: DEBUG - + test -n outline
2024-02-12 22:23:08,761: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=outline --target_file=/etc/cron.d/outline
2024-02-12 22:23:08,861: DEBUG - + sed --in-place $'s\001__NAME__\001outline\001g' /etc/cron.d/outline
2024-02-12 22:23:08,861: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=outline --target_file=/etc/cron.d/outline
2024-02-12 22:23:08,985: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001outline\001g' /etc/cron.d/outline
2024-02-12 22:23:08,988: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=outline --target_file=/etc/cron.d/outline
2024-02-12 22:23:09,176: DEBUG - + sed --in-place $'s\001__USER__\001outline\001g' /etc/cron.d/outline
2024-02-12 22:23:09,177: DEBUG - + test -n /var/www/outline
2024-02-12 22:23:09,178: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/outline --target_file=/etc/cron.d/outline
2024-02-12 22:23:09,302: DEBUG - + sed --in-place $'s\001__FINALPATH__\001/var/www/outline\001g' /etc/cron.d/outline
2024-02-12 22:23:09,306: DEBUG - + ynh_replace_string --match_string=__INSTALL_DIR__ --replace_string=/var/www/outline --target_file=/etc/cron.d/outline
2024-02-12 22:23:09,475: DEBUG - + sed --in-place $'s\001__INSTALL_DIR__\001/var/www/outline\001g' /etc/cron.d/outline
2024-02-12 22:23:09,479: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-02-12 22:23:09,481: DEBUG - + test -n 7.4
2024-02-12 22:23:09,481: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/etc/cron.d/outline
2024-02-12 22:23:09,568: DEBUG - + sed --in-place $'s\001__PHPVERSION__\0017.4\001g' /etc/cron.d/outline
2024-02-12 22:23:09,569: DEBUG - + test -n PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-12 22:23:09,569: DEBUG - + ynh_replace_string --match_string=__YNH_NODE_LOAD_PATH__ --replace_string=PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --target_file=/etc/cron.d/outline
2024-02-12 22:23:09,666: DEBUG - + sed --in-place $'s\001__YNH_NODE_LOAD_PATH__\001PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\001g' /etc/cron.d/outline
2024-02-12 22:23:09,671: DEBUG - ++ sort --unique
2024-02-12 22:23:09,671: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/cron.d/outline
2024-02-12 22:23:09,671: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-02-12 22:23:09,674: DEBUG - + uniques_vars=('app' 'domain' 'utils_secret')
2024-02-12 22:23:09,683: DEBUG - + ynh_store_file_checksum --file=/etc/cron.d/outline
2024-02-12 22:23:09,686: DEBUG - + update_only=0
2024-02-12 22:23:09,711: DEBUG - + local checksum_setting_name=checksum__etc_cron.d_outline
2024-02-12 22:23:09,712: DEBUG - ++ md5sum /etc/cron.d/outline
2024-02-12 22:23:09,714: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-02-12 22:23:09,717: DEBUG - + ynh_app_setting_set --app=outline --key=checksum__etc_cron.d_outline --value=1a40697a68057b656954f8690f3cc776
2024-02-12 22:23:09,717: DEBUG - + local _globalapp=outline
2024-02-12 22:23:09,818: DEBUG - + app=outline
2024-02-12 22:23:09,819: DEBUG - + [[ checksum__etc_cron.d_outline =~ (unprotected|protected|skipped)_ ]]
2024-02-12 22:23:09,819: DEBUG - + ynh_app_setting set outline checksum__etc_cron.d_outline 1a40697a68057b656954f8690f3cc776
2024-02-12 22:23:09,877: DEBUG - + '[' -n '' ']'
2024-02-12 22:23:09,877: DEBUG - + unset backup_file_checksum
2024-02-12 22:23:09,877: DEBUG - + chown root: /etc/cron.d/outline
2024-02-12 22:23:09,879: DEBUG - + chmod 644 /etc/cron.d/outline
2024-02-12 22:23:10,009: INFO - [##################..] > Integrating service in YunoHost...
2024-02-12 22:23:10,010: DEBUG - + yunohost service add outline '--description=Outline server' --log=/var/log/outline/outline.log
2024-02-12 22:23:10,572: DEBUG - The service 'outline' was added
2024-02-12 22:23:10,717: INFO - [##################+.] > Starting a systemd service...
2024-02-12 22:23:10,718: DEBUG - + ynh_systemd_action --service_name=outline --action=start --log_path=/var/log/outline/outline.log
2024-02-12 22:23:10,850: DEBUG - + service_name=outline
2024-02-12 22:23:10,851: DEBUG - + action=start
2024-02-12 22:23:10,851: DEBUG - + line_match=
2024-02-12 22:23:10,851: DEBUG - + length=20
2024-02-12 22:23:10,851: DEBUG - + log_path=/var/log/outline/outline.log
2024-02-12 22:23:10,851: DEBUG - + timeout=300
2024-02-12 22:23:10,851: DEBUG - + '[' start == stop ']'
2024-02-12 22:23:10,852: DEBUG - + '[' start == reload ']'
2024-02-12 22:23:10,852: DEBUG - ++ date --utc --rfc-3339=seconds
2024-02-12 22:23:10,852: DEBUG - ++ cut -d+ -f1
2024-02-12 22:23:10,853: DEBUG - + local 'time_start=2024-02-12 21:23:10 UTC'
2024-02-12 22:23:10,853: DEBUG - + systemctl start outline
2024-02-12 22:23:10,942: INFO - [###################.] > Configuring permissions...
2024-02-12 22:23:10,943: DEBUG - + ynh_permission_update --permission=main --add=visitors
2024-02-12 22:23:11,083: DEBUG - + add=visitors
2024-02-12 22:23:11,083: DEBUG - + remove=
2024-02-12 22:23:11,083: DEBUG - + label=
2024-02-12 22:23:11,083: DEBUG - + show_tile=
2024-02-12 22:23:11,083: DEBUG - + protected=
2024-02-12 22:23:11,083: DEBUG - + [[ -n visitors ]]
2024-02-12 22:23:11,084: DEBUG - + add=',add=['\''visitors'\'']'
2024-02-12 22:23:11,084: DEBUG - + yunohost tools shell -c 'from yunohost.permission import user_permission_update; user_permission_update('\''outline.main'\'' ,add=['\''visitors'\''] , force=True)'
2024-02-12 22:23:13,055: DEBUG - + ynh_permission_url --permission=main --auth_header=false
2024-02-12 22:23:13,204: DEBUG - + url=
2024-02-12 22:23:13,205: DEBUG - + add_url=
2024-02-12 22:23:13,205: DEBUG - + remove_url=
2024-02-12 22:23:13,205: DEBUG - + auth_header=false
2024-02-12 22:23:13,205: DEBUG - + clear_urls=
2024-02-12 22:23:13,205: DEBUG - + [[ -n false ]]
2024-02-12 22:23:13,206: DEBUG - + '[' false == true ']'
2024-02-12 22:23:13,206: DEBUG - + auth_header=,auth_header=False
2024-02-12 22:23:13,206: DEBUG - + yunohost tools shell -c 'from yunohost.permission import permission_url; permission_url('\''outline.main'\'' ,auth_header=False )'
2024-02-12 22:23:15,020: INFO - [###################.] > Reloading NGINX web server...
2024-02-12 22:23:15,021: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2024-02-12 22:23:15,115: DEBUG - + service_name=nginx
2024-02-12 22:23:15,115: DEBUG - + action=reload
2024-02-12 22:23:15,115: DEBUG - + line_match=
2024-02-12 22:23:15,115: DEBUG - + length=20
2024-02-12 22:23:15,115: DEBUG - + log_path=/var/log/nginx/nginx.log
2024-02-12 22:23:15,115: DEBUG - + timeout=300
2024-02-12 22:23:15,115: DEBUG - + '[' reload == stop ']'
2024-02-12 22:23:15,115: DEBUG - + '[' reload == reload ']'
2024-02-12 22:23:15,116: DEBUG - + action=reload-or-restart
2024-02-12 22:23:15,117: DEBUG - ++ date --utc --rfc-3339=seconds
2024-02-12 22:23:15,117: DEBUG - ++ cut -d+ -f1
2024-02-12 22:23:15,117: DEBUG - + local 'time_start=2024-02-12 21:23:15 UTC'
2024-02-12 22:23:15,118: DEBUG - + systemctl reload-or-restart nginx
2024-02-12 22:23:15,540: INFO - [####################] > Installation of outline completed
2024-02-12 22:23:15,541: DEBUG - + ynh_exit_properly
2024-02-12 22:23:15,541: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
2024-02-12 22:23:16,543: DEBUG - Checking that required services are up and running...
2024-02-12 22:23:18,078: SUCCESS - Installation completed