Testing package https://github.com/YunoHost-Apps/digiwords_ynh
on branch testing
(commit 9874b3310b9dd129f663f6e778cf1012e369e547)
Parsing check_process file
{
"test_serie": "default",
"test_type": "PACKAGE_LINTER",
"test_arg": "",
"preinstall_template": "",
"preupgrade_template": "",
"install_args": "domain=domain.tld&path=/path admin=john&language=fr&is_public=1 password=1Strong-Password port=666&admin=&",
"extra": {}
}
{
"test_serie": "default",
"test_type": "TEST_INSTALL",
"test_arg": "root",
"preinstall_template": "",
"preupgrade_template": "",
"install_args": "domain=domain.tld&path=/path admin=john&language=fr&is_public=1 password=1Strong-Password port=666&admin=&",
"extra": {}
}
{
"test_serie": "default",
"test_type": "TEST_INSTALL",
"test_arg": "subdir",
"preinstall_template": "",
"preupgrade_template": "",
"install_args": "domain=domain.tld&path=/path admin=john&language=fr&is_public=1 password=1Strong-Password port=666&admin=&",
"extra": {}
}
{
"test_serie": "default",
"test_type": "TEST_INSTALL",
"test_arg": "private",
"preinstall_template": "",
"preupgrade_template": "",
"install_args": "domain=domain.tld&path=/path admin=john&language=fr&is_public=1 password=1Strong-Password port=666&admin=&",
"extra": {}
}
{
"test_serie": "default",
"test_type": "TEST_INSTALL",
"test_arg": "multi",
"preinstall_template": "",
"preupgrade_template": "",
"install_args": "domain=domain.tld&path=/path admin=john&language=fr&is_public=1 password=1Strong-Password port=666&admin=&",
"extra": {}
}
{
"test_serie": "default",
"test_type": "TEST_BACKUP_RESTORE",
"test_arg": "",
"preinstall_template": "",
"preupgrade_template": "",
"install_args": "domain=domain.tld&path=/path admin=john&language=fr&is_public=1 password=1Strong-Password port=666&admin=&",
"extra": {}
}
{
"test_serie": "default",
"test_type": "TEST_UPGRADE",
"test_arg": "",
"preinstall_template": "",
"preupgrade_template": "",
"install_args": "domain=domain.tld&path=/path admin=john&language=fr&is_public=1 password=1Strong-Password port=666&admin=&",
"extra": {}
}
{
"test_serie": "default",
"test_type": "TEST_UPGRADE",
"test_arg": "fabe9c7bdb98a0569148a79546e2889c2823d79a",
"preinstall_template": "",
"preupgrade_template": "",
"install_args": "domain=domain.tld&path=/path admin=john&language=fr&is_public=1 password=1Strong-Password port=666&admin=&",
"extra": {
"upgrade_name": ""
}
}
{
"test_serie": "default",
"test_type": "TEST_CHANGE_URL",
"test_arg": "",
"preinstall_template": "",
"preupgrade_template": "",
"install_args": "domain=domain.tld&path=/path admin=john&language=fr&is_public=1 password=1Strong-Password port=666&admin=&",
"extra": {}
}
Launching new LXC ynh-appci-buster-amd64-stable-test-1 ...
Creating ynh-appci-buster-amd64-stable-test-1
Retrieving image: Unpack: 1% (19.57MB/s)
Retrieving image: Unpack: 2% (20.91MB/s)
Retrieving image: Unpack: 3% (22.04MB/s)
Retrieving image: Unpack: 4% (21.73MB/s)
Retrieving image: Unpack: 5% (22.25MB/s)
Retrieving image: Unpack: 6% (20.91MB/s)
Retrieving image: Unpack: 7% (21.38MB/s)
Retrieving image: Unpack: 8% (21.48MB/s)
Retrieving image: Unpack: 9% (21.35MB/s)
Retrieving image: Unpack: 10% (21.34MB/s)
Retrieving image: Unpack: 10% (20.43MB/s)
Retrieving image: Unpack: 11% (20.63MB/s)
Retrieving image: Unpack: 12% (21.23MB/s)
Retrieving image: Unpack: 13% (21.36MB/s)
Retrieving image: Unpack: 14% (21.33MB/s)
Retrieving image: Unpack: 15% (21.47MB/s)
Retrieving image: Unpack: 16% (21.81MB/s)
Retrieving image: Unpack: 17% (21.38MB/s)
Retrieving image: Unpack: 18% (21.59MB/s)
Retrieving image: Unpack: 19% (21.59MB/s)
Retrieving image: Unpack: 19% (21.46MB/s)
Retrieving image: Unpack: 20% (21.15MB/s)
Retrieving image: Unpack: 21% (21.07MB/s)
Retrieving image: Unpack: 22% (21.31MB/s)
Retrieving image: Unpack: 23% (21.67MB/s)
Retrieving image: Unpack: 24% (22.09MB/s)
Retrieving image: Unpack: 25% (22.49MB/s)
Retrieving image: Unpack: 26% (22.74MB/s)
Retrieving image: Unpack: 27% (23.03MB/s)
Retrieving image: Unpack: 28% (23.15MB/s)
Retrieving image: Unpack: 28% (23.49MB/s)
Retrieving image: Unpack: 29% (23.15MB/s)
Retrieving image: Unpack: 30% (22.60MB/s)
Retrieving image: Unpack: 31% (22.11MB/s)
Retrieving image: Unpack: 32% (22.04MB/s)
Retrieving image: Unpack: 33% (21.84MB/s)
Retrieving image: Unpack: 34% (21.81MB/s)
Retrieving image: Unpack: 35% (21.83MB/s)
Retrieving image: Unpack: 36% (21.65MB/s)
Retrieving image: Unpack: 37% (21.69MB/s)
Retrieving image: Unpack: 38% (21.65MB/s)
Retrieving image: Unpack: 38% (21.73MB/s)
Retrieving image: Unpack: 39% (21.69MB/s)
Retrieving image: Unpack: 40% (21.72MB/s)
Retrieving image: Unpack: 41% (21.69MB/s)
Retrieving image: Unpack: 42% (21.69MB/s)
Retrieving image: Unpack: 43% (21.69MB/s)
Retrieving image: Unpack: 44% (21.94MB/s)
Retrieving image: Unpack: 45% (22.15MB/s)
Retrieving image: Unpack: 46% (22.38MB/s)
Retrieving image: Unpack: 47% (22.59MB/s)
Retrieving image: Unpack: 47% (22.74MB/s)
Retrieving image: Unpack: 48% (22.92MB/s)
Retrieving image: Unpack: 49% (23.10MB/s)
Retrieving image: Unpack: 50% (23.13MB/s)
Retrieving image: Unpack: 51% (23.12MB/s)
Retrieving image: Unpack: 52% (23.16MB/s)
Retrieving image: Unpack: 53% (22.93MB/s)
Retrieving image: Unpack: 54% (22.93MB/s)
Retrieving image: Unpack: 55% (22.77MB/s)
Retrieving image: Unpack: 56% (22.78MB/s)
Retrieving image: Unpack: 56% (22.90MB/s)
Retrieving image: Unpack: 57% (22.79MB/s)
Retrieving image: Unpack: 58% (22.62MB/s)
Retrieving image: Unpack: 59% (22.24MB/s)
Retrieving image: Unpack: 60% (22.24MB/s)
Retrieving image: Unpack: 61% (22.28MB/s)
Retrieving image: Unpack: 62% (22.50MB/s)
Retrieving image: Unpack: 63% (22.68MB/s)
Retrieving image: Unpack: 64% (22.89MB/s)
Retrieving image: Unpack: 65% (23.08MB/s)
Retrieving image: Unpack: 65% (23.29MB/s)
Retrieving image: Unpack: 66% (23.48MB/s)
Retrieving image: Unpack: 67% (23.64MB/s)
Retrieving image: Unpack: 68% (23.81MB/s)
Retrieving image: Unpack: 69% (23.90MB/s)
Retrieving image: Unpack: 70% (24.00MB/s)
Retrieving image: Unpack: 71% (24.19MB/s)
Retrieving image: Unpack: 72% (24.33MB/s)
Retrieving image: Unpack: 73% (24.50MB/s)
Retrieving image: Unpack: 74% (24.66MB/s)
Retrieving image: Unpack: 75% (24.82MB/s)
Retrieving image: Unpack: 75% (24.98MB/s)
Retrieving image: Unpack: 76% (25.09MB/s)
Retrieving image: Unpack: 77% (25.26MB/s)
Retrieving image: Unpack: 78% (25.40MB/s)
Retrieving image: Unpack: 79% (25.57MB/s)
Retrieving image: Unpack: 80% (25.71MB/s)
Retrieving image: Unpack: 81% (25.86MB/s)
Retrieving image: Unpack: 82% (25.98MB/s)
Retrieving image: Unpack: 83% (26.11MB/s)
Retrieving image: Unpack: 84% (26.21MB/s)
Retrieving image: Unpack: 84% (26.19MB/s)
Retrieving image: Unpack: 85% (26.18MB/s)
Retrieving image: Unpack: 86% (26.30MB/s)
Retrieving image: Unpack: 87% (26.45MB/s)
Retrieving image: Unpack: 88% (26.61MB/s)
Retrieving image: Unpack: 89% (26.76MB/s)
Retrieving image: Unpack: 90% (26.92MB/s)
Retrieving image: Unpack: 91% (27.09MB/s)
Retrieving image: Unpack: 92% (27.27MB/s)
Retrieving image: Unpack: 93% (27.43MB/s)
Retrieving image: Unpack: 93% (27.59MB/s)
Retrieving image: Unpack: 94% (27.64MB/s)
Retrieving image: Unpack: 95% (27.61MB/s)
Retrieving image: Unpack: 96% (27.54MB/s)
Retrieving image: Unpack: 97% (27.47MB/s)
Retrieving image: Unpack: 98% (27.34MB/s)
Retrieving image: Unpack: 99% (27.04MB/s)
Retrieving image: Unpack: 100% (26.91MB/s)
Retrieving image: Unpack: 100% (26.91MB/s)
Starting ynh-appci-buster-amd64-stable-test-1
Create witness files...
Return code: 0
Working time: 0s (09:24:09)
[1m > YunoHost versions[0m
[35m[1myunohost[m:
[35m[1mrepo[m: stable
[35m[1mversion[m: 4.3.6.3
[35m[1myunohost-admin[m:
[35m[1mrepo[m: testing
[35m[1mversion[m: 4.3.4.1
[35m[1mmoulinette[m:
[35m[1mrepo[m: stable
[35m[1mversion[m: 4.3.3.1
[35m[1mssowat[m:
[35m[1mrepo[m: stable
[35m[1mversion[m: 4.3.3.1
Return code: 0
Working time: 0s (09:24:13)
{"yunohost": {"version": "4.3.6.3", "repo": "stable"}, "yunohost-admin": {"version": "4.3.4.1", "repo": "testing"}, "moulinette": {"version": "4.3.3.1", "repo": "stable"}, "ssowat": {"version": "4.3.3.1", "repo": "stable"}}
Return code: 0
Working time: 0s (09:24:16)
{"yunohost": {"version": "4.3.6.3", "repo": "stable"}, "yunohost-admin": {"version": "4.3.4.1", "repo": "testing"}, "moulinette": {"version": "4.3.3.1", "repo": "stable"}, "ssowat": {"version": "4.3.3.1", "repo": "stable"}}
Return code: 0
Working time: 0s (09:24:20)
[1m
============================================
[Test 1/9] Package linter
============================================
[0m
[[94m[1mYunoHost App Package Linter[0m]
App packaging documentation - https://yunohost.org/en/contribute/packaging_apps
App package example - https://github.com/YunoHost/example_ynh
Official helpers - https://yunohost.org/en/contribute/packaging_apps/helpers
Experimental helpers - https://github.com/YunoHost-Apps/Experimental_helpers
If you believe this linter returns false negative (warnings / errors which shouldn't happen),
please report them on https://github.com/YunoHost/package_linter/issues
Analyzing app /tmp/package_check.nIJVG5/app_folder ...
[1m[92m✔ [94mmanifest.json[0m
[1m[92m✔ [94mscripts/_common.sh[0m
[1m[92m✔ [94mscripts/install[0m
[1m[92m✔ [94mscripts/remove[0m
[1m[92m✔ [94mscripts/upgrade[0m
[1m[92m✔ [94mscripts/backup[0m
[1m[92m✔ [94mscripts/restore[0m
[1mⓘ [94mGeneral stuff, misc helper usage[0m
- READMEs are to be automatically generated using https://github.com/YunoHost/apps/tree/master/tools/README-generator.
- You are encouraged to create a doc/DISCLAIMER.md file, which should contain any important information to be presented to the admin before installation. Check https://github.com/YunoHost/example_ynh/blob/master/doc/DISCLAIMER.md for more details (it should be somewhat equivalent to the old 'Known limitations' and 'Specific features' section). (It's not mandatory to create this file if you're absolutely sure there's no relevant info to show to the user)
- If relevant for this app, screenshots can be added in a doc/screenshots/ folder.[0m
[1m[92m✔ [94mConfiguration files[0m
[1m[92m✔ [94mCatalog infos[0m
=======
[92m ☺ Not even a warning! Congratz and thank you for keeping this package up to date with good practices! This app qualifies for level 7! ♥[0m
{
"success": [
"App.qualify_for_level_7"
],
"info": [
"App.doc_dir"
],
"warning": [],
"error": [],
"critical": []
}
[1m[32m--- SUCCESS ---[0m
Working time for this test: 4 seconds (09:24:24)
[1m
============================================
[Test 2/9] Installation on the root
============================================
[0m
Loading snapshot snap0 ...
Running: yunohost app install --force /app_folder -a "domain=sub.domain.tld&path=/ admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&"
Running yunohost app install --force /app_folder -a "domain=sub.domain.tld&path=/ admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&"
222 [37m[1mDEBUG [minitializing base actions map parser for cli
224 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
227 [37m[1mDEBUG [mbuilding parser...
249 [37m[1mDEBUG [mbuilding parser took 0.021s
251 [37m[1mDEBUG [macquiring lock...
269 [37m[1mDEBUG [mlock has been acquired
296 [37m[1mDEBUG [mloading python module yunohost.app took 0.026s
296 [37m[1mDEBUG [mprocessing action [813.1]: yunohost.app.install with args={'app': '/app_folder', 'label': None, 'args': 'domain=sub.domain.tld&path=/ admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&', 'no_remove_on_failure': False, 'force': True}
340 [37m[1mDEBUG [mExtracting...
360 [37m[1mDEBUG [mDone
362 [37m[1mDEBUG [mChecking required packages for digiwords...
372 [37m[1mDEBUG [mChecking that required services are up and running...
1417 [37m[1mDEBUG [minitializing ldap interface
1570 [36m[1mINFO [mInstalling digiwords...
1626 [37m[1mDEBUG [mNothing to update in LDAP
1628 [37m[1mDEBUG [mPermission 'digiwords.main' updated
1634 [37m[1mDEBUG [mTo view the log of the operation 'Update URL related to permission 'digiwords'', use the command 'yunohost log show 20220531-092547-permission_url-digiwords'
1659 [37m[1mDEBUG [mThe permission database has been resynchronized
1674 [37m[1mDEBUG [mSSOwat configuration regenerated
1696 [37m[1mDEBUG [mPermission 'digiwords.main' created
1697 [37m[1mDEBUG [mTo view the log of the operation 'Create permission 'digiwords'', use the command 'yunohost log show 20220531-092547-permission_create-digiwords'
1733 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
1750 [37m[1mDEBUG [m+ source _common.sh
1751 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
1751 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
1753 [37m[1mDEBUG [m+++ grep xtrace
1753 [37m[1mDEBUG [m+++ set +o
1757 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
1758 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
1758 [37m[1mDEBUG [m++ set +x
1826 [37m[1mDEBUG [m+ ynh_abort_if_errors
1827 [37m[1mDEBUG [m+ set -o errexit
1828 [37m[1mDEBUG [m+ set -o nounset
1830 [37m[1mDEBUG [m+ trap ynh_exit_properly EXIT
1831 [37m[1mDEBUG [m+ domain=sub.domain.tld
1832 [37m[1mDEBUG [m+ path_url=/
1834 [37m[1mDEBUG [m+ is_public=1
1834 [37m[1mDEBUG [m+ app=digiwords
1835 [37m[1mDEBUG [m+ ynh_script_progression '--message=Validating installation parameters...' --weight=1
1836 [37m[1mDEBUG [m+ set +o xtrace
1985 [37m[1mDEBUG [m+ set +o xtrace
2053 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2057 [37m[1mDEBUG [m+ set +x
2064 [37m[1mDEBUG [m+ echo '[++..................] > Validating installation parameters...'
2065 [37m[1mDEBUG [m+ set -o xtrace
2067 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
2068 [37m[1mDEBUG [m+ test '!' -e /var/www/digiwords
2071 [37m[1mDEBUG [m+ ynh_webpath_register --app=digiwords --domain=sub.domain.tld --path_url=/
2073 [37m[1mDEBUG [m+ local legacy_args=adp
2076 [37m[1mDEBUG [m+ args_array=([a]=app= [d]=domain= [p]=path_url=)
2077 [37m[1mDEBUG [m+ local -A args_array
2079 [37m[1mDEBUG [m+ local app
2081 [37m[1mDEBUG [m+ local domain
2083 [37m[1mDEBUG [m+ local path_url
2085 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --domain=sub.domain.tld --path_url=/
2086 [37m[1mDEBUG [m+ set +o xtrace
2088 [36m[1mINFO [m[++..................] > Validating installation parameters...
2246 [37m[1mDEBUG [m+ yunohost app register-url digiwords sub.domain.tld /
3029 [37m[1mDEBUG [m+ ynh_script_progression '--message=Storing installation settings...' --weight=1
3030 [37m[1mDEBUG [m+ set +o xtrace
3149 [37m[1mDEBUG [m+ set +o xtrace
3185 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3186 [37m[1mDEBUG [m+ set +x
3190 [36m[1mINFO [m[##++................] > Storing installation settings...
3191 [37m[1mDEBUG [m+ echo '[##++................] > Storing installation settings...'
3192 [37m[1mDEBUG [m+ set -o xtrace
3192 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=domain --value=sub.domain.tld
3192 [37m[1mDEBUG [m+ local _globalapp=digiwords
3193 [37m[1mDEBUG [m+ local legacy_args=akv
3193 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
3193 [37m[1mDEBUG [m+ local -A args_array
3194 [37m[1mDEBUG [m+ local app
3194 [37m[1mDEBUG [m+ local key
3194 [37m[1mDEBUG [m+ local value
3195 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=domain --value=sub.domain.tld
3195 [37m[1mDEBUG [m+ set +o xtrace
3359 [37m[1mDEBUG [m+ app=digiwords
3360 [37m[1mDEBUG [m+ [[ domain =~ (unprotected|protected|skipped)_ ]]
3361 [37m[1mDEBUG [m+ ynh_app_setting set digiwords domain sub.domain.tld
3361 [37m[1mDEBUG [m+ set +o xtrace
3517 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=path --value=/
3517 [37m[1mDEBUG [m+ local _globalapp=digiwords
3518 [37m[1mDEBUG [m+ local legacy_args=akv
3518 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
3519 [37m[1mDEBUG [m+ local -A args_array
3519 [37m[1mDEBUG [m+ local app
3519 [37m[1mDEBUG [m+ local key
3520 [37m[1mDEBUG [m+ local value
3520 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=path --value=/
3521 [37m[1mDEBUG [m+ set +o xtrace
3703 [37m[1mDEBUG [m+ app=digiwords
3703 [37m[1mDEBUG [m+ [[ path =~ (unprotected|protected|skipped)_ ]]
3703 [37m[1mDEBUG [m+ ynh_app_setting set digiwords path /
3704 [37m[1mDEBUG [m+ set +o xtrace
3797 [37m[1mDEBUG [m+ ynh_script_progression '--message=Installing dependencies...' --weight=1
3798 [37m[1mDEBUG [m+ set +o xtrace
3914 [37m[1mDEBUG [m+ set +o xtrace
3938 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3939 [37m[1mDEBUG [m+ set +x
3943 [37m[1mDEBUG [m+ echo '[####++..............] > Installing dependencies...'
3943 [37m[1mDEBUG [m+ set -o xtrace
3943 [37m[1mDEBUG [m+ ynh_install_app_dependencies php-sqlite3
3944 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3944 [36m[1mINFO [m[####++..............] > Installing dependencies...
3947 [37m[1mDEBUG [m++ echo php-sqlite3
3948 [37m[1mDEBUG [m++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
3954 [37m[1mDEBUG [m+ dependencies=php-sqlite3
3955 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3955 [37m[1mDEBUG [m+ local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/manifest.json
3956 [37m[1mDEBUG [m++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/manifest.json
3974 [37m[1mDEBUG [m+ local version=0.3.3~ynh1
3975 [37m[1mDEBUG [m+ '[' -z 0.3.3~ynh1 ']'
3975 [37m[1mDEBUG [m+ '[' 0.3.3~ynh1 == null ']'
3975 [37m[1mDEBUG [m+ local dep_app=digiwords
3976 [37m[1mDEBUG [m+ [[ php-sqlite3 =~ [<=>] ]]
3980 [37m[1mDEBUG [m++ echo php-sqlite3
3984 [37m[1mDEBUG [m++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
3985 [37m[1mDEBUG [m++ sort -u
3991 [37m[1mDEBUG [m+ local specific_php_version=
3994 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
3994 [37m[1mDEBUG [m+ [[ -n '' ]]
3995 [37m[1mDEBUG [m+ [[ true == \t\r\u\e ]]
3995 [37m[1mDEBUG [m+ YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
3995 [37m[1mDEBUG [m+ grep --quiet php
4001 [37m[1mDEBUG [m+ dpkg --list
4002 [37m[1mDEBUG [m+ grep php7.0
4002 [37m[1mDEBUG [m+ grep --quiet --invert-match 7.0.33-0+deb9
4039 [37m[1mDEBUG [m+ cat
4045 [37m[1mDEBUG [m+ ynh_package_install_from_equivs /tmp/digiwords-ynh-deps.control
4046 [37m[1mDEBUG [m+ local controlfile=/tmp/digiwords-ynh-deps.control
4048 [37m[1mDEBUG [m++ grep '^Package: ' /tmp/digiwords-ynh-deps.control
4049 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
4057 [37m[1mDEBUG [m+ local pkgname=digiwords-ynh-deps
4059 [37m[1mDEBUG [m++ grep '^Version: ' /tmp/digiwords-ynh-deps.control
4059 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
4064 [37m[1mDEBUG [m+ local pkgversion=0.3.3~ynh1
4064 [37m[1mDEBUG [m+ [[ -z digiwords-ynh-deps ]]
4065 [37m[1mDEBUG [m+ [[ -z 0.3.3~ynh1 ]]
4066 [37m[1mDEBUG [m+ ynh_package_update
4066 [37m[1mDEBUG [m+ ynh_apt update
4066 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
4067 [37m[1mDEBUG [m+ local try
4067 [37m[1mDEBUG [m+ set +o xtrace
5658 [37m[1mDEBUG [m+ return 0
5659 [37m[1mDEBUG [m+ LC_ALL=C
5660 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
5666 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
5780 [37m[1mDEBUG [mHit:1 http://forge.yunohost.org/debian buster InRelease
5781 [37m[1mDEBUG [mHit:2 http://deb.debian.org/debian buster InRelease
5788 [37m[1mDEBUG [mGet:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
5817 [37m[1mDEBUG [mGet:4 http://deb.debian.org/debian-security buster/updates InRelease [65.4 kB]
6550 [37m[1mDEBUG [mGet:5 http://deb.debian.org/debian buster-updates/main amd64 Packages.diff/Index [11.1 kB]
6566 [37m[1mDEBUG [mGet:6 http://deb.debian.org/debian buster-updates/main amd64 Packages 2022-05-28-1407.13.pdiff [1094 B]
6587 [37m[1mDEBUG [mGet:6 http://deb.debian.org/debian buster-updates/main amd64 Packages 2022-05-28-1407.13.pdiff [1094 B]
6847 [37m[1mDEBUG [mGet:7 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [328 kB]
6889 [37m[1mDEBUG [mGet:8 http://deb.debian.org/debian-security buster/updates/main Translation-en [177 kB]
7036 [37m[1mDEBUG [mFetched 635 kB in 1s (498 kB/s)
8574 [37m[1mDEBUG [mReading package lists...
8619 [37m[1mDEBUG [m++ mktemp --directory
8622 [37m[1mDEBUG [m+ local TMPDIR=/tmp/tmp.meizKP7cAW
8623 [37m[1mDEBUG [m+ echo 10
8626 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
8627 [37m[1mDEBUG [m+ local try
8629 [37m[1mDEBUG [m+ set +o xtrace
10013 [37m[1mDEBUG [m+ return 0
10015 [37m[1mDEBUG [m+ cp /tmp/digiwords-ynh-deps.control /tmp/tmp.meizKP7cAW/control
10018 [37m[1mDEBUG [m+ cd /tmp/tmp.meizKP7cAW
10021 [37m[1mDEBUG [m+ LC_ALL=C
10022 [37m[1mDEBUG [m+ equivs-build ./control
12077 [37m[1mDEBUG [m+ LC_ALL=C
12079 [37m[1mDEBUG [m+ dpkg --force-depends --install ./digiwords-ynh-deps_0.3.3~ynh1_all.deb
12080 [37m[1mDEBUG [m+ tee ./dpkg_log
12170 [37m[1mDEBUG [mSelecting previously unselected package digiwords-ynh-deps.
12216 [37m[1mDEBUG [m(Reading database ... 42385 files and directories currently installed.)
12226 [37m[1mDEBUG [mPreparing to unpack .../digiwords-ynh-deps_0.3.3~ynh1_all.deb ...
12237 [37m[1mDEBUG [mUnpacking digiwords-ynh-deps (0.3.3~ynh1) ...
12308 [37m[1mDEBUG [mdpkg: digiwords-ynh-deps: dependency problems, but configuring anyway as you requested:
12311 [37m[1mDEBUG [m digiwords-ynh-deps depends on php-sqlite3; however:
12311 [37m[1mDEBUG [m Package php-sqlite3 is not installed.
12312 [37m[1mDEBUG [m
12312 [37m[1mDEBUG [mSetting up digiwords-ynh-deps (0.3.3~ynh1) ...
12377 [37m[1mDEBUG [m+ ynh_package_install --fix-broken
12379 [37m[1mDEBUG [m+ ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
12379 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
12380 [37m[1mDEBUG [m+ local try
12381 [37m[1mDEBUG [m+ set +o xtrace
13828 [37m[1mDEBUG [m+ return 0
13829 [37m[1mDEBUG [m+ LC_ALL=C
13829 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
13829 [37m[1mDEBUG [m+ 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
14032 [37m[1mDEBUG [mReading package lists...
14494 [37m[1mDEBUG [mBuilding dependency tree...
14495 [37m[1mDEBUG [mReading state information...
14744 [37m[1mDEBUG [mCorrecting dependencies... Done
15173 [37m[1mDEBUG [mThe following additional packages will be installed:
15175 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
15228 [37m[1mDEBUG [mThe following NEW packages will be installed:
15229 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
15305 [37m[1mDEBUG [m0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
15306 [37m[1mDEBUG [mNeed to get 32.2 kB of archives.
15306 [37m[1mDEBUG [mAfter this operation, 139 kB of additional disk space will be used.
15307 [37m[1mDEBUG [mGet:1 http://deb.debian.org/debian buster/main amd64 php7.3-sqlite3 amd64 7.3.31-1~deb10u1 [26.2 kB]
15321 [37m[1mDEBUG [mGet:2 http://deb.debian.org/debian buster/main amd64 php-sqlite3 all 2:7.3+69 [5996 B]
15922 [37m[1mDEBUG [mFetched 32.2 kB in 0s (610 kB/s)
16119 [37m[1mDEBUG [mSelecting previously unselected package php7.3-sqlite3.
16176 [37m[1mDEBUG [m(Reading database ... 42389 files and directories currently installed.)
16183 [37m[1mDEBUG [mPreparing to unpack .../php7.3-sqlite3_7.3.31-1~deb10u1_amd64.deb ...
16215 [37m[1mDEBUG [mUnpacking php7.3-sqlite3 (7.3.31-1~deb10u1) ...
16334 [37m[1mDEBUG [mSelecting previously unselected package php-sqlite3.
16341 [37m[1mDEBUG [mPreparing to unpack .../php-sqlite3_2%3a7.3+69_all.deb ...
16351 [37m[1mDEBUG [mUnpacking php-sqlite3 (2:7.3+69) ...
16497 [37m[1mDEBUG [mSetting up php7.3-sqlite3 (7.3.31-1~deb10u1) ...
16528 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16769 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16867 [37m[1mDEBUG [m
16869 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/sqlite3.ini with new version
16979 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
17264 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
17494 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
17610 [37m[1mDEBUG [m
17612 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/pdo_sqlite.ini with new version
17727 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
18040 [37m[1mDEBUG [mSetting up php-sqlite3 (2:7.3+69) ...
18074 [37m[1mDEBUG [mProcessing triggers for php7.3-fpm (7.3.31-1~deb10u1) ...
18802 [37m[1mDEBUG [m+ [[ -n /tmp/tmp.meizKP7cAW ]]
18804 [37m[1mDEBUG [m+ rm --recursive --force /tmp/tmp.meizKP7cAW
18809 [37m[1mDEBUG [m+ ynh_package_is_installed digiwords-ynh-deps
18810 [37m[1mDEBUG [m+ local legacy_args=p
18811 [37m[1mDEBUG [m+ args_array=([p]=package=)
18811 [37m[1mDEBUG [m+ local -A args_array
18812 [37m[1mDEBUG [m+ local package
18812 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords-ynh-deps
18814 [37m[1mDEBUG [m+ set +o xtrace
18821 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
18821 [37m[1mDEBUG [m+ set +x
18824 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
18825 [37m[1mDEBUG [m+ local try
18825 [37m[1mDEBUG [m+ set +o xtrace
20236 [37m[1mDEBUG [m+ return 0
20237 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
20238 [37m[1mDEBUG [m+ grep --count 'ok installed'
20260 [37m[1mDEBUG [m+ rm /tmp/digiwords-ynh-deps.control
20266 [37m[1mDEBUG [m+ [[ -n '' ]]
20267 [37m[1mDEBUG [m+ grep --quiet php
20274 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
20275 [37m[1mDEBUG [m+ local _globalapp=digiwords
20276 [37m[1mDEBUG [m+ local legacy_args=akv
20277 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
20279 [37m[1mDEBUG [m+ local -A args_array
20280 [37m[1mDEBUG [m+ local app
20282 [37m[1mDEBUG [m+ local key
20284 [37m[1mDEBUG [m+ local value
20285 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
20288 [37m[1mDEBUG [m+ set +o xtrace
20430 [37m[1mDEBUG [m+ app=digiwords
20433 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
20435 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
20436 [37m[1mDEBUG [m+ set +o xtrace
20513 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring system user...' --weight=1
20515 [37m[1mDEBUG [m+ set +o xtrace
20661 [37m[1mDEBUG [m+ set +o xtrace
20692 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
20693 [37m[1mDEBUG [m+ set +x
20702 [37m[1mDEBUG [m+ echo '[######++............] > Configuring system user...'
20703 [37m[1mDEBUG [m+ set -o xtrace
20703 [37m[1mDEBUG [m+ ynh_system_user_create --username=digiwords --home_dir=/var/www/digiwords
20707 [37m[1mDEBUG [m+ local legacy_args=uhs
20708 [37m[1mDEBUG [m+ args_array=([u]=username= [h]=home_dir= [s]=use_shell [g]=groups=)
20709 [37m[1mDEBUG [m+ local -A args_array
20710 [37m[1mDEBUG [m+ local username
20714 [37m[1mDEBUG [m+ local home_dir
20716 [37m[1mDEBUG [m+ local use_shell
20722 [37m[1mDEBUG [m+ local groups
20725 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords --home_dir=/var/www/digiwords
20726 [37m[1mDEBUG [m+ set +o xtrace
20728 [36m[1mINFO [m[######++............] > Configuring system user...
20860 [37m[1mDEBUG [m+ use_shell=0
20861 [37m[1mDEBUG [m+ home_dir=/var/www/digiwords
20864 [37m[1mDEBUG [m+ groups=
20866 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
20868 [37m[1mDEBUG [m+ local legacy_args=u
20869 [37m[1mDEBUG [m+ args_array=([u]=username=)
20870 [37m[1mDEBUG [m+ local -A args_array
20871 [37m[1mDEBUG [m+ local username
20872 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
20872 [37m[1mDEBUG [m+ set +o xtrace
20885 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
20886 [37m[1mDEBUG [m+ set +x
20893 [37m[1mDEBUG [m+ getent passwd digiwords
20905 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
20908 [37m[1mDEBUG [m+ local 'user_home_dir=--home-dir /var/www/digiwords'
20909 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
20909 [37m[1mDEBUG [m+ local 'shell=--shell /usr/sbin/nologin'
20910 [37m[1mDEBUG [m+ useradd --home-dir /var/www/digiwords --system --user-group digiwords --shell /usr/sbin/nologin
21052 [37m[1mDEBUG [m+ local group
21053 [37m[1mDEBUG [m+ ynh_script_progression '--message=Setting up source files...' --weight=1
21053 [37m[1mDEBUG [m+ set +o xtrace
21211 [37m[1mDEBUG [m+ set +o xtrace
21243 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
21245 [37m[1mDEBUG [m+ set +x
21253 [37m[1mDEBUG [m+ echo '[########++..........] > Setting up source files...'
21254 [37m[1mDEBUG [m+ set -o xtrace
21254 [36m[1mINFO [m[########++..........] > Setting up source files...
21257 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=final_path --value=/var/www/digiwords
21258 [37m[1mDEBUG [m+ local _globalapp=digiwords
21258 [37m[1mDEBUG [m+ local legacy_args=akv
21258 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
21258 [37m[1mDEBUG [m+ local -A args_array
21258 [37m[1mDEBUG [m+ local app
21261 [37m[1mDEBUG [m+ local key
21263 [37m[1mDEBUG [m+ local value
21264 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=final_path --value=/var/www/digiwords
21264 [37m[1mDEBUG [m+ set +o xtrace
21468 [37m[1mDEBUG [m+ app=digiwords
21469 [37m[1mDEBUG [m+ [[ final_path =~ (unprotected|protected|skipped)_ ]]
21471 [37m[1mDEBUG [m+ ynh_app_setting set digiwords final_path /var/www/digiwords
21473 [37m[1mDEBUG [m+ set +o xtrace
21558 [37m[1mDEBUG [m+ ynh_setup_source --dest_dir=/var/www/digiwords
21559 [37m[1mDEBUG [m+ local legacy_args=dsk
21560 [37m[1mDEBUG [m+ args_array=([d]=dest_dir= [s]=source_id= [k]=keep=)
21561 [37m[1mDEBUG [m+ local -A args_array
21561 [37m[1mDEBUG [m+ local dest_dir
21562 [37m[1mDEBUG [m+ local source_id
21563 [37m[1mDEBUG [m+ local keep
21564 [37m[1mDEBUG [m+ ynh_handle_getopts_args --dest_dir=/var/www/digiwords
21565 [37m[1mDEBUG [m+ set +o xtrace
21617 [37m[1mDEBUG [m+ source_id=app
21618 [37m[1mDEBUG [m+ keep=
21619 [37m[1mDEBUG [m+ local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/app.src
21622 [37m[1mDEBUG [m++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/app.src
21624 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
21626 [37m[1mDEBUG [m+ local src_url=https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip
21628 [37m[1mDEBUG [m++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/app.src
21629 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
21635 [37m[1mDEBUG [m+ local src_sum=78564c2aa18e0702972994808843587dde876813dfddc06905924a4354a54156
21636 [37m[1mDEBUG [m++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/app.src
21638 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
21649 [37m[1mDEBUG [m+ local src_sumprg=sha256sum
21653 [37m[1mDEBUG [m++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/app.src
21660 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
21670 [37m[1mDEBUG [m+ local src_format=zip
21673 [37m[1mDEBUG [m++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/app.src
21674 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
21679 [37m[1mDEBUG [m+ local src_extract=true
21682 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
21683 [37m[1mDEBUG [m++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/app.src
21696 [37m[1mDEBUG [m+ local src_in_subdir=true
21702 [37m[1mDEBUG [m++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/app.src
21704 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
21711 [37m[1mDEBUG [m+ local src_filename=
21712 [37m[1mDEBUG [m+ src_sumprg=sha256sum
21713 [37m[1mDEBUG [m+ src_in_subdir=true
21723 [37m[1mDEBUG [m+ src_format=zip
21724 [37m[1mDEBUG [m++ echo zip
21726 [37m[1mDEBUG [m++ tr '[:upper:]' '[:lower:]'
21730 [37m[1mDEBUG [m+ src_format=zip
21731 [37m[1mDEBUG [m+ src_extract=true
21732 [37m[1mDEBUG [m+ '[' '' = '' ']'
21733 [37m[1mDEBUG [m+ src_filename=app.zip
21735 [37m[1mDEBUG [m+ local local_src=/opt/yunohost-apps-src/digiwords/app.zip
21738 [37m[1mDEBUG [m+ mkdir -p /var/cache/yunohost/download/digiwords/
21740 [37m[1mDEBUG [m+ src_filename=/var/cache/yunohost/download/digiwords/app.zip
21742 [37m[1mDEBUG [m+ test -e /opt/yunohost-apps-src/digiwords/app.zip
21744 [37m[1mDEBUG [m+ '[' -n https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip ']'
21745 [37m[1mDEBUG [m+ local out
21747 [37m[1mDEBUG [m++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/digiwords/app.zip https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip
23423 [37m[1mDEBUG [m+ out='2022-05-31 09:26:09 URL:https://objects.githubusercontent.com/github-production-release-asset-2e65be/459932950/34f63a52-4624-4bf0-8fd9-bfd6df81b61b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220531%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220531T092608Z&X-Amz-Expires=300&X-Amz-Signature=bd31550c2d47e10155e2de55a437d534b6364023fbd82da6b5b1b615b2d1c196&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=459932950&response-content-disposition=attachment%3B%20filename%3Ddigiwords-0.3.3.zip&response-content-type=application%2Foctet-stream [3002924/3002924] -> "/var/cache/yunohost/download/digiwords/app.zip" [1]'
23426 [37m[1mDEBUG [m+ echo '78564c2aa18e0702972994808843587dde876813dfddc06905924a4354a54156 /var/cache/yunohost/download/digiwords/app.zip'
23428 [37m[1mDEBUG [m+ sha256sum --check --status
23454 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
23458 [37m[1mDEBUG [m+ '[' -n '' ']'
23461 [37m[1mDEBUG [m+ mkdir --parents /var/www/digiwords
23463 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
23463 [37m[1mDEBUG [m+ '[' /var/www/digiwords == /var/www/digiwords ']'
23464 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /var/www/digiwords
23465 [37m[1mDEBUG [m+ local target=/var/www/digiwords
23465 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/manifest.json
23467 [37m[1mDEBUG [m++ tr -d '>= '
23473 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
23474 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
23474 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
23475 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
23478 [37m[1mDEBUG [m+ chmod o-rwx /var/www/digiwords
23485 [37m[1mDEBUG [m+ chmod g-w /var/www/digiwords
23490 [37m[1mDEBUG [m+ chown -R root:root /var/www/digiwords
23498 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
23499 [37m[1mDEBUG [m+ local legacy_args=u
23500 [37m[1mDEBUG [m+ args_array=([u]=username=)
23500 [37m[1mDEBUG [m+ local -A args_array
23501 [37m[1mDEBUG [m+ local username
23501 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
23502 [37m[1mDEBUG [m+ set +o xtrace
23521 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
23522 [37m[1mDEBUG [m+ set +x
23526 [37m[1mDEBUG [m+ getent passwd digiwords
23535 [37m[1mDEBUG [m+ chown digiwords:digiwords /var/www/digiwords
23547 [37m[1mDEBUG [m+ echo /var/www/digiwords
23547 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
23557 [37m[1mDEBUG [m+ true
23558 [37m[1mDEBUG [m+ '[' zip = zip ']'
23559 [37m[1mDEBUG [m+ true
23560 [37m[1mDEBUG [m++ mktemp --directory
23562 [37m[1mDEBUG [m+ local tmp_dir=/tmp/tmp.vubQRc6Iod
23564 [37m[1mDEBUG [m+ unzip -quo /var/cache/yunohost/download/digiwords/app.zip -d /tmp/tmp.vubQRc6Iod
23626 [37m[1mDEBUG [m+ cp --archive /tmp/tmp.vubQRc6Iod/digiwords/. /var/www/digiwords
23638 [37m[1mDEBUG [m+ ynh_secure_remove --file=/tmp/tmp.vubQRc6Iod
23640 [37m[1mDEBUG [m+ local legacy_args=f
23642 [37m[1mDEBUG [m+ args_array=([f]=file=)
23644 [37m[1mDEBUG [m+ local -A args_array
23645 [37m[1mDEBUG [m+ local file
23646 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/tmp/tmp.vubQRc6Iod
23647 [37m[1mDEBUG [m+ set +o xtrace
23673 [37m[1mDEBUG [m+ set +o xtrace
23717 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/cache/yunohost/download/digiwords/app.zip
23718 [37m[1mDEBUG [m+ local legacy_args=f
23720 [37m[1mDEBUG [m+ args_array=([f]=file=)
23721 [37m[1mDEBUG [m+ local -A args_array
23722 [37m[1mDEBUG [m+ local file
23723 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/cache/yunohost/download/digiwords/app.zip
23723 [37m[1mDEBUG [m+ set +o xtrace
23754 [37m[1mDEBUG [m+ set +o xtrace
23778 [37m[1mDEBUG [m+ '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/sources/patches/ ']'
23780 [37m[1mDEBUG [m+ test -e /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/sources/extra_files/app
23783 [37m[1mDEBUG [m+ '[' -n '' ']'
23784 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
23789 [37m[1mDEBUG [m+ chmod 750 /var/www/digiwords
23792 [37m[1mDEBUG [m+ chmod -R o-rwx /var/www/digiwords
23797 [37m[1mDEBUG [m+ chown -R digiwords:www-data /var/www/digiwords
23807 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring NGINX web server...' --weight=1
23808 [37m[1mDEBUG [m+ set +o xtrace
23936 [37m[1mDEBUG [m+ set +o xtrace
23960 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
23962 [37m[1mDEBUG [m+ set +x
23966 [37m[1mDEBUG [m+ echo '[##########++........] > Configuring NGINX web server...'
23967 [37m[1mDEBUG [m+ set -o xtrace
23968 [36m[1mINFO [m[##########++........] > Configuring NGINX web server...
23968 [37m[1mDEBUG [m+ ynh_add_nginx_config
23968 [37m[1mDEBUG [m+ local finalnginxconf=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23969 [37m[1mDEBUG [m+ '[' / '!=' / ']'
23969 [37m[1mDEBUG [m+ ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/nginx.conf
23970 [37m[1mDEBUG [m+ local legacy_args=mrf
23970 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
23971 [37m[1mDEBUG [m+ local -A args_array
23972 [37m[1mDEBUG [m+ local match_string
23973 [37m[1mDEBUG [m+ local replace_string
23973 [37m[1mDEBUG [m+ local target_file
23973 [37m[1mDEBUG [m+ ynh_handle_getopts_args '--match_string=^#root_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/nginx.conf
23976 [37m[1mDEBUG [m+ set +o xtrace
24125 [37m[1mDEBUG [m+ set +o xtrace
24127 [37m[1mDEBUG [m+ sed --in-place 's@^#root_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/nginx.conf
24131 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24133 [37m[1mDEBUG [m+ local legacy_args=tdv
24133 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
24134 [37m[1mDEBUG [m+ local -A args_array
24135 [37m[1mDEBUG [m+ local template
24136 [37m[1mDEBUG [m+ local destination
24136 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24137 [37m[1mDEBUG [m+ set +o xtrace
24214 [37m[1mDEBUG [m+ local template_path
24216 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/nginx.conf ']'
24218 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/nginx.conf ']'
24221 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/nginx.conf
24224 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24228 [37m[1mDEBUG [m+ local legacy_args=f
24230 [37m[1mDEBUG [m+ args_array=([f]=file=)
24232 [37m[1mDEBUG [m+ local -A args_array
24236 [37m[1mDEBUG [m+ local file
24237 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24238 [37m[1mDEBUG [m+ set +o xtrace
24253 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
24258 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
24260 [37m[1mDEBUG [m++ local _globalapp=digiwords
24262 [37m[1mDEBUG [m++ local legacy_args=ak
24263 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
24265 [37m[1mDEBUG [m++ local -A args_array
24266 [37m[1mDEBUG [m++ local app
24268 [37m[1mDEBUG [m++ local key
24269 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
24271 [37m[1mDEBUG [m++ set +o xtrace
24351 [37m[1mDEBUG [m++ app=digiwords
24353 [37m[1mDEBUG [m++ [[ checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
24357 [37m[1mDEBUG [m++ ynh_app_setting get digiwords checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
24360 [37m[1mDEBUG [m++ set +o xtrace
24452 [37m[1mDEBUG [m+ local checksum_value=
24453 [37m[1mDEBUG [m+ backup_file_checksum=
24456 [37m[1mDEBUG [m+ '[' -n '' ']'
24460 [37m[1mDEBUG [m+ touch /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24461 [37m[1mDEBUG [m+ chown root:root /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24466 [37m[1mDEBUG [m+ chmod 640 /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24469 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/nginx.conf /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24473 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24476 [37m[1mDEBUG [m+ local target=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24478 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/manifest.json
24480 [37m[1mDEBUG [m++ tr -d '>= '
24488 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
24488 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
24489 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
24490 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
24499 [37m[1mDEBUG [m+ chmod o-rwx /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24511 [37m[1mDEBUG [m+ chmod g-w /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24514 [37m[1mDEBUG [m+ chown -R root:root /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24519 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
24524 [37m[1mDEBUG [m+ local legacy_args=u
24525 [37m[1mDEBUG [m+ args_array=([u]=username=)
24526 [37m[1mDEBUG [m+ local -A args_array
24527 [37m[1mDEBUG [m+ local username
24528 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
24531 [37m[1mDEBUG [m+ set +o xtrace
24537 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
24538 [37m[1mDEBUG [m+ set +x
24541 [37m[1mDEBUG [m+ getent passwd digiwords
24544 [37m[1mDEBUG [m+ chown digiwords:digiwords /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24548 [37m[1mDEBUG [m+ echo /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24549 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
24552 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24553 [37m[1mDEBUG [m+ local legacy_args=f
24554 [37m[1mDEBUG [m+ args_array=([f]=file=)
24555 [37m[1mDEBUG [m+ local -A args_array
24559 [37m[1mDEBUG [m+ local file
24561 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24562 [37m[1mDEBUG [m+ set +o xtrace
24576 [37m[1mDEBUG [m+ test -n /
24578 [37m[1mDEBUG [m+ local path_url_slash_less=
24579 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24580 [37m[1mDEBUG [m+ local legacy_args=mrf
24582 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
24584 [37m[1mDEBUG [m+ local -A args_array
24585 [37m[1mDEBUG [m+ local match_string
24587 [37m[1mDEBUG [m+ local replace_string
24590 [37m[1mDEBUG [m+ local target_file
24592 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24595 [37m[1mDEBUG [m+ set +o xtrace
24717 [37m[1mDEBUG [m+ set +o xtrace
24719 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24723 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24726 [37m[1mDEBUG [m+ local legacy_args=mrf
24727 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
24728 [37m[1mDEBUG [m+ local -A args_array
24729 [37m[1mDEBUG [m+ local match_string
24730 [37m[1mDEBUG [m+ local replace_string
24731 [37m[1mDEBUG [m+ local target_file
24733 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24734 [37m[1mDEBUG [m+ set +o xtrace
24869 [37m[1mDEBUG [m+ set +o xtrace
24870 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24876 [37m[1mDEBUG [m+ test -n digiwords
24876 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24877 [37m[1mDEBUG [m+ local legacy_args=mrf
24877 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
24877 [37m[1mDEBUG [m+ local -A args_array
24878 [37m[1mDEBUG [m+ local match_string
24879 [37m[1mDEBUG [m+ local replace_string
24880 [37m[1mDEBUG [m+ local target_file
24881 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24881 [37m[1mDEBUG [m+ set +o xtrace
25022 [37m[1mDEBUG [m+ set +o xtrace
25023 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25030 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25031 [37m[1mDEBUG [m+ local legacy_args=mrf
25032 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25032 [37m[1mDEBUG [m+ local -A args_array
25033 [37m[1mDEBUG [m+ local match_string
25033 [37m[1mDEBUG [m+ local replace_string
25034 [37m[1mDEBUG [m+ local target_file
25035 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25035 [37m[1mDEBUG [m+ set +o xtrace
25174 [37m[1mDEBUG [m+ set +o xtrace
25175 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25180 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25183 [37m[1mDEBUG [m+ local legacy_args=mrf
25184 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25185 [37m[1mDEBUG [m+ local -A args_array
25185 [37m[1mDEBUG [m+ local match_string
25186 [37m[1mDEBUG [m+ local replace_string
25187 [37m[1mDEBUG [m+ local target_file
25187 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25188 [37m[1mDEBUG [m+ set +o xtrace
25332 [37m[1mDEBUG [m+ set +o xtrace
25333 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25347 [37m[1mDEBUG [m+ test -n /var/www/digiwords
25348 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25348 [37m[1mDEBUG [m+ local legacy_args=mrf
25349 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25349 [37m[1mDEBUG [m+ local -A args_array
25350 [37m[1mDEBUG [m+ local match_string
25351 [37m[1mDEBUG [m+ local replace_string
25353 [37m[1mDEBUG [m+ local target_file
25353 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25354 [37m[1mDEBUG [m+ set +o xtrace
25485 [37m[1mDEBUG [m+ set +o xtrace
25486 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25491 [37m[1mDEBUG [m+ test -n 7.3
25492 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25492 [37m[1mDEBUG [m+ local legacy_args=mrf
25493 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25493 [37m[1mDEBUG [m+ local -A args_array
25494 [37m[1mDEBUG [m+ local match_string
25494 [37m[1mDEBUG [m+ local replace_string
25495 [37m[1mDEBUG [m+ local target_file
25496 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25496 [37m[1mDEBUG [m+ set +o xtrace
25633 [37m[1mDEBUG [m+ set +o xtrace
25634 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25642 [37m[1mDEBUG [m+ test -n ''
25643 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
25644 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25644 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
25646 [37m[1mDEBUG [m++ sort --unique
25687 [37m[1mDEBUG [m+ local uniques_vars
25700 [37m[1mDEBUG [m+ local delimit=@
25711 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25723 [37m[1mDEBUG [m+ local legacy_args=f
25728 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
25731 [37m[1mDEBUG [m+ local -A args_array
25734 [37m[1mDEBUG [m+ local file
25747 [37m[1mDEBUG [m+ local update_only
25757 [37m[1mDEBUG [m+ update_only=0
25760 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25762 [37m[1mDEBUG [m+ set +o xtrace
25763 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
25763 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
25763 [37m[1mDEBUG [m++ md5sum /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25767 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
25780 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf --value=9c307bf4206b43d766feb3b967a25374
25781 [37m[1mDEBUG [m+ local _globalapp=digiwords
25782 [37m[1mDEBUG [m+ local legacy_args=akv
25782 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
25783 [37m[1mDEBUG [m+ local -A args_array
25783 [37m[1mDEBUG [m+ local app
25784 [37m[1mDEBUG [m+ local key
25786 [37m[1mDEBUG [m+ local value
25786 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf --value=9c307bf4206b43d766feb3b967a25374
25787 [37m[1mDEBUG [m+ set +o xtrace
25917 [37m[1mDEBUG [m+ app=digiwords
25918 [37m[1mDEBUG [m+ [[ checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
25919 [37m[1mDEBUG [m+ ynh_app_setting set digiwords checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf 9c307bf4206b43d766feb3b967a25374
25919 [37m[1mDEBUG [m+ set +o xtrace
26001 [37m[1mDEBUG [m+ '[' -n '' ']'
26003 [37m[1mDEBUG [m+ unset backup_file_checksum
26004 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
26004 [37m[1mDEBUG [m+ local legacy_args=nalpte
26005 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
26005 [37m[1mDEBUG [m+ local -A args_array
26006 [37m[1mDEBUG [m+ local service_name
26006 [37m[1mDEBUG [m+ local action
26007 [37m[1mDEBUG [m+ local line_match
26007 [37m[1mDEBUG [m+ local length
26007 [37m[1mDEBUG [m+ local log_path
26007 [37m[1mDEBUG [m+ local timeout
26008 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
26008 [37m[1mDEBUG [m+ set +o xtrace
26169 [37m[1mDEBUG [m+ service_name=nginx
26171 [37m[1mDEBUG [m+ action=reload
26172 [37m[1mDEBUG [m+ line_match=
26173 [37m[1mDEBUG [m+ length=20
26173 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
26175 [37m[1mDEBUG [m+ timeout=300
26175 [37m[1mDEBUG [m+ '[' reload == stop ']'
26176 [37m[1mDEBUG [m+ [[ -n '' ]]
26176 [37m[1mDEBUG [m+ '[' reload == reload ']'
26177 [37m[1mDEBUG [m+ action=reload-or-restart
26177 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
26261 [37m[1mDEBUG [m+ [[ -n '' ]]
26263 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring PHP-FPM...' --weight=1
26263 [37m[1mDEBUG [m+ set +o xtrace
26406 [37m[1mDEBUG [m+ set +o xtrace
26434 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
26435 [37m[1mDEBUG [m+ set +x
26445 [36m[1mINFO [m[############++......] > Configuring PHP-FPM...
26455 [37m[1mDEBUG [m+ echo '[############++......] > Configuring PHP-FPM...'
26455 [37m[1mDEBUG [m+ set -o xtrace
26456 [37m[1mDEBUG [m+ ynh_add_fpm_config
26456 [37m[1mDEBUG [m+ local legacy_args=vtufpd
26456 [37m[1mDEBUG [m+ args_array=([v]=phpversion= [t]=use_template [u]=usage= [f]=footprint= [p]=package= [d]=dedicated_service)
26457 [37m[1mDEBUG [m+ local -A args_array
26457 [37m[1mDEBUG [m+ local phpversion
26458 [37m[1mDEBUG [m+ local use_template
26458 [37m[1mDEBUG [m+ local usage
26458 [37m[1mDEBUG [m+ local footprint
26458 [37m[1mDEBUG [m+ local package
26459 [37m[1mDEBUG [m+ local dedicated_service
26459 [37m[1mDEBUG [m+ ynh_handle_getopts_args
26459 [37m[1mDEBUG [m+ set +o xtrace
26461 [37m[1mDEBUG [m+ package=
26461 [37m[1mDEBUG [m+ use_template=1
26462 [37m[1mDEBUG [m+ usage=
26462 [37m[1mDEBUG [m+ footprint=
26465 [37m[1mDEBUG [m+ '[' -n '' ']'
26466 [37m[1mDEBUG [m+ '[' -n '' ']'
26466 [37m[1mDEBUG [m+ dedicated_service=0
26467 [37m[1mDEBUG [m+ phpversion=7.3
26467 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
26467 [37m[1mDEBUG [m++ local _globalapp=digiwords
26468 [37m[1mDEBUG [m++ local legacy_args=ak
26473 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
26479 [37m[1mDEBUG [m++ local -A args_array
26480 [37m[1mDEBUG [m++ local app
26480 [37m[1mDEBUG [m++ local key
26480 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
26481 [37m[1mDEBUG [m++ set +o xtrace
26560 [37m[1mDEBUG [m++ app=digiwords
26562 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
26563 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
26564 [37m[1mDEBUG [m++ set +o xtrace
26643 [37m[1mDEBUG [m+ local old_phpversion=7.3
26647 [37m[1mDEBUG [m+ '[' -n 7.3 ']'
26650 [37m[1mDEBUG [m+ '[' 7.3 '!=' 7.3 ']'
26652 [37m[1mDEBUG [m+ '[' -n '' ']'
26653 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
26656 [37m[1mDEBUG [m+ local fpm_service=php7.3-fpm
26657 [37m[1mDEBUG [m+ local fpm_config_dir=/etc/php/7.3/fpm
26658 [37m[1mDEBUG [m+ mkdir --parents /etc/php/7.3/fpm/pool.d
26659 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_config_dir --value=/etc/php/7.3/fpm
26662 [37m[1mDEBUG [m+ local _globalapp=digiwords
26669 [37m[1mDEBUG [m+ local legacy_args=akv
26670 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
26670 [37m[1mDEBUG [m+ local -A args_array
26671 [37m[1mDEBUG [m+ local app
26673 [37m[1mDEBUG [m+ local key
26686 [37m[1mDEBUG [m+ local value
26686 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_config_dir --value=/etc/php/7.3/fpm
26687 [37m[1mDEBUG [m+ set +o xtrace
26834 [37m[1mDEBUG [m+ app=digiwords
26836 [37m[1mDEBUG [m+ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
26837 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_config_dir /etc/php/7.3/fpm
26839 [37m[1mDEBUG [m+ set +o xtrace
26952 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_service --value=php7.3-fpm
26953 [37m[1mDEBUG [m+ local _globalapp=digiwords
26954 [37m[1mDEBUG [m+ local legacy_args=akv
26957 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
26958 [37m[1mDEBUG [m+ local -A args_array
26959 [37m[1mDEBUG [m+ local app
26960 [37m[1mDEBUG [m+ local key
26960 [37m[1mDEBUG [m+ local value
26961 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_service --value=php7.3-fpm
26961 [37m[1mDEBUG [m+ set +o xtrace
27117 [37m[1mDEBUG [m+ app=digiwords
27117 [37m[1mDEBUG [m+ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
27118 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_service php7.3-fpm
27118 [37m[1mDEBUG [m+ set +o xtrace
27220 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_dedicated_service --value=0
27221 [37m[1mDEBUG [m+ local _globalapp=digiwords
27222 [37m[1mDEBUG [m+ local legacy_args=akv
27224 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
27225 [37m[1mDEBUG [m+ local -A args_array
27227 [37m[1mDEBUG [m+ local app
27229 [37m[1mDEBUG [m+ local key
27230 [37m[1mDEBUG [m+ local value
27231 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_dedicated_service --value=0
27232 [37m[1mDEBUG [m+ set +o xtrace
27374 [37m[1mDEBUG [m+ app=digiwords
27375 [37m[1mDEBUG [m+ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
27376 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_dedicated_service 0
27377 [37m[1mDEBUG [m+ set +o xtrace
27454 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
27455 [37m[1mDEBUG [m+ local _globalapp=digiwords
27456 [37m[1mDEBUG [m+ local legacy_args=akv
27457 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
27457 [37m[1mDEBUG [m+ local -A args_array
27459 [37m[1mDEBUG [m+ local app
27461 [37m[1mDEBUG [m+ local key
27463 [37m[1mDEBUG [m+ local value
27463 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
27464 [37m[1mDEBUG [m+ set +o xtrace
27595 [37m[1mDEBUG [m+ app=digiwords
27596 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
27597 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
27598 [37m[1mDEBUG [m+ set +o xtrace
27678 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
27679 [37m[1mDEBUG [m+ '[' 1 -eq 1 ']'
27680 [37m[1mDEBUG [m+ local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/php-fpm.conf
27681 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/php-fpm.conf ']'
27681 [37m[1mDEBUG [m+ local finalphpconf=/etc/php/7.3/fpm/pool.d/digiwords.conf
27682 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords.conf
27683 [37m[1mDEBUG [m+ local legacy_args=tdv
27684 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
27685 [37m[1mDEBUG [m+ local -A args_array
27685 [37m[1mDEBUG [m+ local template
27686 [37m[1mDEBUG [m+ local destination
27690 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords.conf
27690 [37m[1mDEBUG [m+ set +o xtrace
27746 [37m[1mDEBUG [m+ local template_path
27747 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/php-fpm.conf ']'
27748 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/php-fpm.conf ']'
27750 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/php-fpm.conf
27751 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27752 [37m[1mDEBUG [m+ local legacy_args=f
27753 [37m[1mDEBUG [m+ args_array=([f]=file=)
27754 [37m[1mDEBUG [m+ local -A args_array
27754 [37m[1mDEBUG [m+ local file
27755 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27756 [37m[1mDEBUG [m+ set +o xtrace
27777 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
27779 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
27780 [37m[1mDEBUG [m++ local _globalapp=digiwords
27781 [37m[1mDEBUG [m++ local legacy_args=ak
27782 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
27782 [37m[1mDEBUG [m++ local -A args_array
27783 [37m[1mDEBUG [m++ local app
27784 [37m[1mDEBUG [m++ local key
27784 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
27785 [37m[1mDEBUG [m++ set +o xtrace
27842 [37m[1mDEBUG [m++ app=digiwords
27844 [37m[1mDEBUG [m++ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
27847 [37m[1mDEBUG [m++ ynh_app_setting get digiwords checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
27848 [37m[1mDEBUG [m++ set +o xtrace
27937 [37m[1mDEBUG [m+ local checksum_value=
27939 [37m[1mDEBUG [m+ backup_file_checksum=
27941 [37m[1mDEBUG [m+ '[' -n '' ']'
27944 [37m[1mDEBUG [m+ touch /etc/php/7.3/fpm/pool.d/digiwords.conf
27946 [37m[1mDEBUG [m+ chown root:root /etc/php/7.3/fpm/pool.d/digiwords.conf
27947 [37m[1mDEBUG [m+ chmod 640 /etc/php/7.3/fpm/pool.d/digiwords.conf
27951 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/digiwords.conf
27957 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/php/7.3/fpm/pool.d/digiwords.conf
27959 [37m[1mDEBUG [m+ local target=/etc/php/7.3/fpm/pool.d/digiwords.conf
27961 [37m[1mDEBUG [m++ tr -d '>= '
27964 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/manifest.json
27971 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
27973 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
27975 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
27976 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
27978 [37m[1mDEBUG [m+ chmod o-rwx /etc/php/7.3/fpm/pool.d/digiwords.conf
27981 [37m[1mDEBUG [m+ chmod g-w /etc/php/7.3/fpm/pool.d/digiwords.conf
27983 [37m[1mDEBUG [m+ chown -R root:root /etc/php/7.3/fpm/pool.d/digiwords.conf
27985 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
27987 [37m[1mDEBUG [m+ local legacy_args=u
27988 [37m[1mDEBUG [m+ args_array=([u]=username=)
27989 [37m[1mDEBUG [m+ local -A args_array
27990 [37m[1mDEBUG [m+ local username
27992 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
27994 [37m[1mDEBUG [m+ set +o xtrace
28012 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
28015 [37m[1mDEBUG [m+ set +x
28019 [37m[1mDEBUG [m+ getent passwd digiwords
28038 [37m[1mDEBUG [m+ chown digiwords:digiwords /etc/php/7.3/fpm/pool.d/digiwords.conf
28039 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
28039 [37m[1mDEBUG [m+ echo /etc/php/7.3/fpm/pool.d/digiwords.conf
28039 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28040 [37m[1mDEBUG [m+ local legacy_args=f
28040 [37m[1mDEBUG [m+ args_array=([f]=file=)
28040 [37m[1mDEBUG [m+ local -A args_array
28040 [37m[1mDEBUG [m+ local file
28040 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28041 [37m[1mDEBUG [m+ set +o xtrace
28061 [37m[1mDEBUG [m+ test -n /
28062 [37m[1mDEBUG [m+ local path_url_slash_less=
28063 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28065 [37m[1mDEBUG [m+ local legacy_args=mrf
28066 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
28071 [37m[1mDEBUG [m+ local -A args_array
28074 [37m[1mDEBUG [m+ local match_string
28076 [37m[1mDEBUG [m+ local replace_string
28077 [37m[1mDEBUG [m+ local target_file
28078 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28079 [37m[1mDEBUG [m+ set +o xtrace
28194 [37m[1mDEBUG [m+ set +o xtrace
28197 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/@g /etc/php/7.3/fpm/pool.d/digiwords.conf
28202 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28203 [37m[1mDEBUG [m+ local legacy_args=mrf
28203 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
28204 [37m[1mDEBUG [m+ local -A args_array
28204 [37m[1mDEBUG [m+ local match_string
28204 [37m[1mDEBUG [m+ local replace_string
28205 [37m[1mDEBUG [m+ local target_file
28206 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28206 [37m[1mDEBUG [m+ set +o xtrace
28348 [37m[1mDEBUG [m+ set +o xtrace
28351 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/@g /etc/php/7.3/fpm/pool.d/digiwords.conf
28357 [37m[1mDEBUG [m+ test -n digiwords
28359 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28359 [37m[1mDEBUG [m+ local legacy_args=mrf
28361 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
28363 [37m[1mDEBUG [m+ local -A args_array
28364 [37m[1mDEBUG [m+ local match_string
28365 [37m[1mDEBUG [m+ local replace_string
28367 [37m[1mDEBUG [m+ local target_file
28369 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28370 [37m[1mDEBUG [m+ set +o xtrace
28491 [37m[1mDEBUG [m+ set +o xtrace
28493 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
28496 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28498 [37m[1mDEBUG [m+ local legacy_args=mrf
28499 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
28501 [37m[1mDEBUG [m+ local -A args_array
28502 [37m[1mDEBUG [m+ local match_string
28503 [37m[1mDEBUG [m+ local replace_string
28504 [37m[1mDEBUG [m+ local target_file
28505 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28506 [37m[1mDEBUG [m+ set +o xtrace
28682 [37m[1mDEBUG [m+ set +o xtrace
28685 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
28688 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28692 [37m[1mDEBUG [m+ local legacy_args=mrf
28696 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
28699 [37m[1mDEBUG [m+ local -A args_array
28702 [37m[1mDEBUG [m+ local match_string
28704 [37m[1mDEBUG [m+ local replace_string
28706 [37m[1mDEBUG [m+ local target_file
28707 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28708 [37m[1mDEBUG [m+ set +o xtrace
28862 [37m[1mDEBUG [m+ set +o xtrace
28863 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
28866 [37m[1mDEBUG [m+ test -n /var/www/digiwords
28868 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28869 [37m[1mDEBUG [m+ local legacy_args=mrf
28870 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
28872 [37m[1mDEBUG [m+ local -A args_array
28873 [37m[1mDEBUG [m+ local match_string
28875 [37m[1mDEBUG [m+ local replace_string
28876 [37m[1mDEBUG [m+ local target_file
28878 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28879 [37m[1mDEBUG [m+ set +o xtrace
29027 [37m[1mDEBUG [m+ set +o xtrace
29028 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
29035 [37m[1mDEBUG [m+ test -n 7.3
29036 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
29037 [37m[1mDEBUG [m+ local legacy_args=mrf
29037 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
29039 [37m[1mDEBUG [m+ local -A args_array
29039 [37m[1mDEBUG [m+ local match_string
29039 [37m[1mDEBUG [m+ local replace_string
29040 [37m[1mDEBUG [m+ local target_file
29040 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
29041 [37m[1mDEBUG [m+ set +o xtrace
29185 [37m[1mDEBUG [m+ set +o xtrace
29187 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/digiwords.conf
29192 [37m[1mDEBUG [m+ test -n ''
29193 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
29194 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/7.3/fpm/pool.d/digiwords.conf
29194 [37m[1mDEBUG [m++ sort --unique
29197 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
29200 [37m[1mDEBUG [m+ local uniques_vars
29201 [37m[1mDEBUG [m+ local delimit=@
29203 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
29203 [37m[1mDEBUG [m+ local legacy_args=f
29204 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
29208 [37m[1mDEBUG [m+ local -A args_array
29209 [37m[1mDEBUG [m+ local file
29211 [37m[1mDEBUG [m+ local update_only
29213 [37m[1mDEBUG [m+ update_only=0
29215 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
29218 [37m[1mDEBUG [m+ set +o xtrace
29258 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
29259 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
29262 [37m[1mDEBUG [m++ md5sum /etc/php/7.3/fpm/pool.d/digiwords.conf
29266 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
29272 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf --value=79ffd547aca07e585572ccb8bfba1ec1
29274 [37m[1mDEBUG [m+ local _globalapp=digiwords
29276 [37m[1mDEBUG [m+ local legacy_args=akv
29280 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
29282 [37m[1mDEBUG [m+ local -A args_array
29283 [37m[1mDEBUG [m+ local app
29284 [37m[1mDEBUG [m+ local key
29289 [37m[1mDEBUG [m+ local value
29292 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf --value=79ffd547aca07e585572ccb8bfba1ec1
29295 [37m[1mDEBUG [m+ set +o xtrace
29446 [37m[1mDEBUG [m+ app=digiwords
29449 [37m[1mDEBUG [m+ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
29453 [37m[1mDEBUG [m+ ynh_app_setting set digiwords checksum__etc_php_7.3_fpm_pool.d_digiwords.conf 79ffd547aca07e585572ccb8bfba1ec1
29454 [37m[1mDEBUG [m+ set +o xtrace
29533 [37m[1mDEBUG [m+ '[' -n '' ']'
29535 [37m[1mDEBUG [m+ unset backup_file_checksum
29538 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_nt96gl3q/app_folder/conf/php-fpm.ini ']'
29540 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
29541 [37m[1mDEBUG [m+ php-fpm7.3 --test
29630 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
29632 [37m[1mDEBUG [m+ local legacy_args=nalpte
29634 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
29636 [37m[1mDEBUG [m+ local -A args_array
29637 [37m[1mDEBUG [m+ local service_name
29638 [37m[1mDEBUG [m+ local action
29639 [37m[1mDEBUG [m+ local line_match
29641 [37m[1mDEBUG [m+ local length
29643 [37m[1mDEBUG [m+ local log_path
29644 [37m[1mDEBUG [m+ local timeout
29645 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
29647 [37m[1mDEBUG [m+ set +o xtrace
29830 [37m[1mDEBUG [m+ service_name=php7.3-fpm
29831 [37m[1mDEBUG [m+ action=reload
29833 [37m[1mDEBUG [m+ line_match=
29836 [37m[1mDEBUG [m+ length=20
29839 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
29841 [37m[1mDEBUG [m+ timeout=300
29842 [37m[1mDEBUG [m+ '[' reload == stop ']'
29843 [37m[1mDEBUG [m+ [[ -n '' ]]
29843 [37m[1mDEBUG [m+ '[' reload == reload ']'
29844 [37m[1mDEBUG [m+ action=reload-or-restart
29845 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
29883 [37m[1mDEBUG [m+ [[ -n '' ]]
29889 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring permissions...' --weight=1
29890 [37m[1mDEBUG [m+ set +o xtrace
30050 [37m[1mDEBUG [m+ set +o xtrace
30087 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
30088 [37m[1mDEBUG [m+ set +x
30097 [36m[1mINFO [m[##############++....] > Configuring permissions...
30102 [37m[1mDEBUG [m+ echo '[##############++....] > Configuring permissions...'
30104 [37m[1mDEBUG [m+ set -o xtrace
30105 [37m[1mDEBUG [m+ '[' 1 -eq 1 ']'
30107 [37m[1mDEBUG [m+ ynh_permission_update --permission=main --add=visitors
30110 [37m[1mDEBUG [m+ local legacy_args=parltP
30112 [37m[1mDEBUG [m+ args_array=([p]=permission= [a]=add= [r]=remove= [l]=label= [t]=show_tile= [P]=protected=)
30116 [37m[1mDEBUG [m+ local -A args_array
30116 [37m[1mDEBUG [m+ local permission
30118 [37m[1mDEBUG [m+ local add
30119 [37m[1mDEBUG [m+ local remove
30119 [37m[1mDEBUG [m+ local label
30120 [37m[1mDEBUG [m+ local show_tile
30121 [37m[1mDEBUG [m+ local protected
30122 [37m[1mDEBUG [m+ ynh_handle_getopts_args --permission=main --add=visitors
30123 [37m[1mDEBUG [m+ set +o xtrace
30301 [37m[1mDEBUG [m+ add=visitors
30301 [37m[1mDEBUG [m+ remove=
30303 [37m[1mDEBUG [m+ label=
30303 [37m[1mDEBUG [m+ show_tile=
30305 [37m[1mDEBUG [m+ protected=
30306 [37m[1mDEBUG [m+ [[ -n visitors ]]
30308 [37m[1mDEBUG [m+ add=',add=['\''visitors'\'']'
30308 [37m[1mDEBUG [m+ [[ -n '' ]]
30309 [37m[1mDEBUG [m+ [[ -n '' ]]
30310 [37m[1mDEBUG [m+ [[ -n '' ]]
30311 [37m[1mDEBUG [m+ [[ -n '' ]]
30311 [37m[1mDEBUG [m+ yunohost tools shell -c 'from yunohost.permission import user_permission_update; user_permission_update('\''digiwords.main'\'' ,add=['\''visitors'\''] , force=True)'
30969 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reloading NGINX web server...' --weight=1
30972 [37m[1mDEBUG [m+ set +o xtrace
31100 [37m[1mDEBUG [m+ set +o xtrace
31129 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
31130 [37m[1mDEBUG [m+ set +x
31135 [37m[1mDEBUG [m+ echo '[################++..] > Reloading NGINX web server...'
31137 [37m[1mDEBUG [m+ set -o xtrace
31138 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
31139 [37m[1mDEBUG [m+ local legacy_args=nalpte
31140 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
31140 [37m[1mDEBUG [m+ local -A args_array
31141 [37m[1mDEBUG [m+ local service_name
31142 [37m[1mDEBUG [m+ local action
31143 [37m[1mDEBUG [m+ local line_match
31144 [37m[1mDEBUG [m+ local length
31144 [37m[1mDEBUG [m+ local log_path
31146 [37m[1mDEBUG [m+ local timeout
31149 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
31149 [37m[1mDEBUG [m+ set +o xtrace
31149 [36m[1mINFO [m[################++..] > Reloading NGINX web server...
31348 [37m[1mDEBUG [m+ service_name=nginx
31349 [37m[1mDEBUG [m+ action=reload
31353 [37m[1mDEBUG [m+ line_match=
31355 [37m[1mDEBUG [m+ length=20
31358 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
31364 [37m[1mDEBUG [m+ timeout=300
31366 [37m[1mDEBUG [m+ '[' reload == stop ']'
31367 [37m[1mDEBUG [m+ [[ -n '' ]]
31368 [37m[1mDEBUG [m+ '[' reload == reload ']'
31369 [37m[1mDEBUG [m+ action=reload-or-restart
31369 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
31450 [37m[1mDEBUG [m+ [[ -n '' ]]
31452 [37m[1mDEBUG [m+ ynh_script_progression '--message=Installation of digiwords completed' --last
31454 [37m[1mDEBUG [m+ set +o xtrace
31669 [37m[1mDEBUG [m+ set +o xtrace
31706 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
31707 [37m[1mDEBUG [m+ set +x
31710 [37m[1mDEBUG [m+ echo '[####################] > Installation of digiwords completed'
31711 [37m[1mDEBUG [m+ set -o xtrace
31712 [37m[1mDEBUG [m+ ynh_exit_properly
31714 [37m[1mDEBUG [m+ local exit_code=0
31715 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/download/
31717 [36m[1mINFO [m[####################] > Installation of digiwords completed
31720 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
31721 [37m[1mDEBUG [m+ exit 0
32724 [37m[1mDEBUG [mChecking that required services are up and running...
33771 [32m[1mSUCCESS [mInstallation completed
33773 [37m[1mDEBUG [mTo view the log of the operation 'Install the 'digiwords' app', use the command 'yunohost log show 20220531-092547-app_install-digiwords'
33792 [37m[1mDEBUG [maction [813.1] executed in 33.496s
33792 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 35 seconds (09:26:20)
Installation successful.
Return code: 1
Working time: 0s (09:26:30)
[1m > Validating that the app digiwords can/can't be accessed with its URL...[0m
Running curl sub.domain.tld
200;https://sub.domain.tld/
Return code: 0
Working time: 0s (09:26:36)
Digiwords by La DigitaleReturn code: 0
Working time: 0s (09:26:38)
HTTP code: 200
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Test URL: sub.domain.tld
Real URL: https://sub.domain.tld/
HTTP code: 200
Page title:
Page extract:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Running curl sub.domain.tld/
Return code: 0
Working time: 0s (09:26:44)
Digiwords by La DigitaleReturn code: 0
Working time: 0s (09:26:48)
HTTP code:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Test URL: sub.domain.tld/
Real URL:
HTTP code:
Page title:
Page extract:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Test URL: sub.domain.tld/
Real URL:
HTTP code:
Page title:
Page extract:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Create a snapshot after app install
(Creating snapshot snap_rootinstall ...)
Failed to start the container ... restarting ...
Working time: 1 minute, 22 seconds (09:28:10)
[1m > Removing the app...[0m
Running yunohost app remove digiwords
183 [37m[1mDEBUG [minitializing base actions map parser for cli
186 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
189 [37m[1mDEBUG [mbuilding parser...
213 [37m[1mDEBUG [mbuilding parser took 0.023s
215 [37m[1mDEBUG [macquiring lock...
237 [37m[1mDEBUG [mlock has been acquired
258 [37m[1mDEBUG [mloading python module yunohost.app took 0.021s
259 [37m[1mDEBUG [mprocessing action [830.1]: yunohost.app.remove with args={'app': 'digiwords', 'purge': False}
287 [36m[1mINFO [mRemoving digiwords...
409 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "./remove" 7>&1']'
419 [37m[1mDEBUG [m+ source _common.sh
420 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
421 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
422 [37m[1mDEBUG [m+++ set +o
423 [37m[1mDEBUG [m+++ grep xtrace
424 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
425 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
427 [37m[1mDEBUG [m++ set +x
470 [37m[1mDEBUG [m+ ynh_script_progression '--message=Loading installation settings...' --weight=1
471 [37m[1mDEBUG [m+ set +o xtrace
578 [37m[1mDEBUG [m+ set +o xtrace
629 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
630 [37m[1mDEBUG [m+ set +x
637 [37m[1mDEBUG [m+ echo '[++..................] > Loading installation settings...'
639 [37m[1mDEBUG [m+ set -o xtrace
640 [36m[1mINFO [m[++..................] > Loading installation settings...
641 [37m[1mDEBUG [m+ app=digiwords
642 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=domain
643 [37m[1mDEBUG [m++ local _globalapp=digiwords
643 [37m[1mDEBUG [m++ local legacy_args=ak
644 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
645 [37m[1mDEBUG [m++ local -A args_array
646 [37m[1mDEBUG [m++ local app
646 [37m[1mDEBUG [m++ local key
647 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=domain
647 [37m[1mDEBUG [m++ set +o xtrace
724 [37m[1mDEBUG [m++ app=digiwords
725 [37m[1mDEBUG [m++ [[ domain =~ (unprotected|protected|skipped)_ ]]
725 [37m[1mDEBUG [m++ ynh_app_setting get digiwords domain
725 [37m[1mDEBUG [m++ set +o xtrace
833 [37m[1mDEBUG [m+ domain=sub.domain.tld
834 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=port
835 [37m[1mDEBUG [m++ local _globalapp=digiwords
837 [37m[1mDEBUG [m++ local legacy_args=ak
838 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
839 [37m[1mDEBUG [m++ local -A args_array
844 [37m[1mDEBUG [m++ local app
845 [37m[1mDEBUG [m++ local key
846 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=port
850 [37m[1mDEBUG [m++ set +o xtrace
908 [37m[1mDEBUG [m++ app=digiwords
909 [37m[1mDEBUG [m++ [[ port =~ (unprotected|protected|skipped)_ ]]
909 [37m[1mDEBUG [m++ ynh_app_setting get digiwords port
909 [37m[1mDEBUG [m++ set +o xtrace
1004 [37m[1mDEBUG [m+ port=
1005 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=db_name
1006 [37m[1mDEBUG [m++ local _globalapp=digiwords
1007 [37m[1mDEBUG [m++ local legacy_args=ak
1008 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1008 [37m[1mDEBUG [m++ local -A args_array
1009 [37m[1mDEBUG [m++ local app
1009 [37m[1mDEBUG [m++ local key
1009 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=db_name
1010 [37m[1mDEBUG [m++ set +o xtrace
1078 [37m[1mDEBUG [m++ app=digiwords
1079 [37m[1mDEBUG [m++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
1079 [37m[1mDEBUG [m++ ynh_app_setting get digiwords db_name
1080 [37m[1mDEBUG [m++ set +o xtrace
1164 [37m[1mDEBUG [m+ db_name=
1165 [37m[1mDEBUG [m+ db_user=
1165 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=final_path
1166 [37m[1mDEBUG [m++ local _globalapp=digiwords
1167 [37m[1mDEBUG [m++ local legacy_args=ak
1168 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1169 [37m[1mDEBUG [m++ local -A args_array
1169 [37m[1mDEBUG [m++ local app
1170 [37m[1mDEBUG [m++ local key
1171 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=final_path
1172 [37m[1mDEBUG [m++ set +o xtrace
1239 [37m[1mDEBUG [m++ app=digiwords
1240 [37m[1mDEBUG [m++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
1240 [37m[1mDEBUG [m++ ynh_app_setting get digiwords final_path
1241 [37m[1mDEBUG [m++ set +o xtrace
1321 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
1322 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=datadir
1323 [37m[1mDEBUG [m++ local _globalapp=digiwords
1324 [37m[1mDEBUG [m++ local legacy_args=ak
1324 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1325 [37m[1mDEBUG [m++ local -A args_array
1325 [37m[1mDEBUG [m++ local app
1326 [37m[1mDEBUG [m++ local key
1326 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=datadir
1327 [37m[1mDEBUG [m++ set +o xtrace
1393 [37m[1mDEBUG [m++ app=digiwords
1394 [37m[1mDEBUG [m++ [[ datadir =~ (unprotected|protected|skipped)_ ]]
1395 [37m[1mDEBUG [m++ ynh_app_setting get digiwords datadir
1395 [37m[1mDEBUG [m++ set +o xtrace
1483 [37m[1mDEBUG [m+ datadir=
1484 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing app main directory...' --weight=1
1485 [37m[1mDEBUG [m+ set +o xtrace
1615 [37m[1mDEBUG [m+ set +o xtrace
1650 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1651 [37m[1mDEBUG [m+ set +x
1652 [36m[1mINFO [m[##+++...............] > Removing app main directory...
1655 [37m[1mDEBUG [m+ echo '[##+++...............] > Removing app main directory...'
1656 [37m[1mDEBUG [m+ set -o xtrace
1657 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/www/digiwords
1657 [37m[1mDEBUG [m+ local legacy_args=f
1657 [37m[1mDEBUG [m+ args_array=([f]=file=)
1658 [37m[1mDEBUG [m+ local -A args_array
1658 [37m[1mDEBUG [m+ local file
1659 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/www/digiwords
1659 [37m[1mDEBUG [m+ set +o xtrace
1674 [37m[1mDEBUG [m+ set +o xtrace
1700 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing NGINX web server configuration...' --weight=1
1702 [37m[1mDEBUG [m+ set +o xtrace
1813 [37m[1mDEBUG [m+ set +o xtrace
1843 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1844 [37m[1mDEBUG [m+ set +x
1849 [36m[1mINFO [m[#####++.............] > Removing NGINX web server configuration...
1851 [37m[1mDEBUG [m+ echo '[#####++.............] > Removing NGINX web server configuration...'
1855 [37m[1mDEBUG [m+ set -o xtrace
1858 [37m[1mDEBUG [m+ ynh_remove_nginx_config
1859 [37m[1mDEBUG [m+ ynh_secure_remove --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1860 [37m[1mDEBUG [m+ local legacy_args=f
1862 [37m[1mDEBUG [m+ args_array=([f]=file=)
1865 [37m[1mDEBUG [m+ local -A args_array
1866 [37m[1mDEBUG [m+ local file
1867 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1867 [37m[1mDEBUG [m+ set +o xtrace
1882 [37m[1mDEBUG [m+ set +o xtrace
1911 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
1912 [37m[1mDEBUG [m+ local legacy_args=nalpte
1913 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
1916 [37m[1mDEBUG [m+ local -A args_array
1917 [37m[1mDEBUG [m+ local service_name
1918 [37m[1mDEBUG [m+ local action
1918 [37m[1mDEBUG [m+ local line_match
1919 [37m[1mDEBUG [m+ local length
1919 [37m[1mDEBUG [m+ local log_path
1919 [37m[1mDEBUG [m+ local timeout
1920 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
1921 [37m[1mDEBUG [m+ set +o xtrace
2082 [37m[1mDEBUG [m+ service_name=nginx
2084 [37m[1mDEBUG [m+ action=reload
2086 [37m[1mDEBUG [m+ line_match=
2087 [37m[1mDEBUG [m+ length=20
2087 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
2088 [37m[1mDEBUG [m+ timeout=300
2089 [37m[1mDEBUG [m+ '[' reload == stop ']'
2090 [37m[1mDEBUG [m+ [[ -n '' ]]
2090 [37m[1mDEBUG [m+ '[' reload == reload ']'
2091 [37m[1mDEBUG [m+ action=reload-or-restart
2091 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
2162 [37m[1mDEBUG [m+ [[ -n '' ]]
2162 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing PHP-FPM configuration...' --weight=1
2163 [37m[1mDEBUG [m+ set +o xtrace
2296 [37m[1mDEBUG [m+ set +o xtrace
2322 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2324 [37m[1mDEBUG [m+ set +x
2339 [36m[1mINFO [m[#######+++..........] > Removing PHP-FPM configuration...
2340 [37m[1mDEBUG [m+ echo '[#######+++..........] > Removing PHP-FPM configuration...'
2340 [37m[1mDEBUG [m+ set -o xtrace
2341 [37m[1mDEBUG [m+ ynh_remove_fpm_config
2342 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_config_dir
2344 [37m[1mDEBUG [m++ local _globalapp=digiwords
2345 [37m[1mDEBUG [m++ local legacy_args=ak
2346 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2348 [37m[1mDEBUG [m++ local -A args_array
2348 [37m[1mDEBUG [m++ local app
2349 [37m[1mDEBUG [m++ local key
2350 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_config_dir
2352 [37m[1mDEBUG [m++ set +o xtrace
2408 [37m[1mDEBUG [m++ app=digiwords
2409 [37m[1mDEBUG [m++ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2411 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_config_dir
2413 [37m[1mDEBUG [m++ set +o xtrace
2503 [37m[1mDEBUG [m+ local fpm_config_dir=/etc/php/7.3/fpm
2506 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_service
2509 [37m[1mDEBUG [m++ local _globalapp=digiwords
2510 [37m[1mDEBUG [m++ local legacy_args=ak
2512 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2513 [37m[1mDEBUG [m++ local -A args_array
2514 [37m[1mDEBUG [m++ local app
2514 [37m[1mDEBUG [m++ local key
2515 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_service
2515 [37m[1mDEBUG [m++ set +o xtrace
2572 [37m[1mDEBUG [m++ app=digiwords
2573 [37m[1mDEBUG [m++ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2575 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_service
2578 [37m[1mDEBUG [m++ set +o xtrace
2651 [37m[1mDEBUG [m+ local fpm_service=php7.3-fpm
2653 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_dedicated_service
2654 [37m[1mDEBUG [m++ local _globalapp=digiwords
2655 [37m[1mDEBUG [m++ local legacy_args=ak
2655 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2656 [37m[1mDEBUG [m++ local -A args_array
2657 [37m[1mDEBUG [m++ local app
2658 [37m[1mDEBUG [m++ local key
2659 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_dedicated_service
2661 [37m[1mDEBUG [m++ set +o xtrace
2738 [37m[1mDEBUG [m++ app=digiwords
2740 [37m[1mDEBUG [m++ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2740 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_dedicated_service
2740 [37m[1mDEBUG [m++ set +o xtrace
2837 [37m[1mDEBUG [m+ local dedicated_service=0
2838 [37m[1mDEBUG [m+ dedicated_service=0
2839 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
2841 [37m[1mDEBUG [m++ local _globalapp=digiwords
2843 [37m[1mDEBUG [m++ local legacy_args=ak
2844 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2845 [37m[1mDEBUG [m++ local -A args_array
2846 [37m[1mDEBUG [m++ local app
2848 [37m[1mDEBUG [m++ local key
2852 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
2856 [37m[1mDEBUG [m++ set +o xtrace
2915 [37m[1mDEBUG [m++ app=digiwords
2923 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2923 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
2925 [37m[1mDEBUG [m++ set +o xtrace
2991 [37m[1mDEBUG [m+ local phpversion=7.3
2992 [37m[1mDEBUG [m+ phpversion=7.3
2993 [37m[1mDEBUG [m+ '[' -z /etc/php/7.3/fpm ']'
2995 [37m[1mDEBUG [m+ ynh_secure_remove --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
2996 [37m[1mDEBUG [m+ local legacy_args=f
2998 [37m[1mDEBUG [m+ args_array=([f]=file=)
2999 [37m[1mDEBUG [m+ local -A args_array
3000 [37m[1mDEBUG [m+ local file
3001 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
3003 [37m[1mDEBUG [m+ set +o xtrace
3021 [37m[1mDEBUG [m+ set +o xtrace
3043 [37m[1mDEBUG [m+ '[' -e /etc/php/7.3/fpm/conf.d/20-digiwords.ini ']'
3044 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
3044 [37m[1mDEBUG [m+ ynh_package_is_installed --package=php7.3-fpm
3045 [37m[1mDEBUG [m+ local legacy_args=p
3045 [37m[1mDEBUG [m+ args_array=([p]=package=)
3047 [37m[1mDEBUG [m+ local -A args_array
3048 [37m[1mDEBUG [m+ local package
3048 [37m[1mDEBUG [m+ ynh_handle_getopts_args --package=php7.3-fpm
3049 [37m[1mDEBUG [m+ set +o xtrace
3064 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
3065 [37m[1mDEBUG [m+ local try
3067 [37m[1mDEBUG [m+ set +o xtrace
4521 [37m[1mDEBUG [m+ return 0
4523 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' php7.3-fpm
4526 [37m[1mDEBUG [m+ grep --count 'ok installed'
4556 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
4557 [37m[1mDEBUG [m+ local legacy_args=nalpte
4557 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
4557 [37m[1mDEBUG [m+ local -A args_array
4557 [37m[1mDEBUG [m+ local service_name
4558 [37m[1mDEBUG [m+ local action
4558 [37m[1mDEBUG [m+ local line_match
4559 [37m[1mDEBUG [m+ local length
4560 [37m[1mDEBUG [m+ local log_path
4561 [37m[1mDEBUG [m+ local timeout
4561 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
4562 [37m[1mDEBUG [m+ set +o xtrace
4752 [37m[1mDEBUG [m+ service_name=php7.3-fpm
4753 [37m[1mDEBUG [m+ action=reload
4754 [37m[1mDEBUG [m+ line_match=
4755 [37m[1mDEBUG [m+ length=20
4756 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
4757 [37m[1mDEBUG [m+ timeout=300
4757 [37m[1mDEBUG [m+ '[' reload == stop ']'
4758 [37m[1mDEBUG [m+ [[ -n '' ]]
4759 [37m[1mDEBUG [m+ '[' reload == reload ']'
4760 [37m[1mDEBUG [m+ action=reload-or-restart
4760 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
4794 [37m[1mDEBUG [m+ [[ -n '' ]]
4795 [37m[1mDEBUG [m+ '[' 7.3 '!=' 7.3 ']'
4797 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing dependencies...' --weight=1
4798 [37m[1mDEBUG [m+ set +o xtrace
4943 [37m[1mDEBUG [m+ set +o xtrace
4976 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
4977 [37m[1mDEBUG [m+ set +x
4983 [37m[1mDEBUG [m+ echo '[##########++........] > Removing dependencies...'
4985 [37m[1mDEBUG [m+ set -o xtrace
4989 [36m[1mINFO [m[##########++........] > Removing dependencies...
4992 [37m[1mDEBUG [m+ ynh_remove_app_dependencies
4993 [37m[1mDEBUG [m+ local dep_app=digiwords
4994 [37m[1mDEBUG [m+ local current_dependencies=
4995 [37m[1mDEBUG [m+ ynh_package_is_installed --package=digiwords-ynh-deps
4996 [37m[1mDEBUG [m+ local legacy_args=p
4996 [37m[1mDEBUG [m+ args_array=([p]=package=)
4997 [37m[1mDEBUG [m+ local -A args_array
4998 [37m[1mDEBUG [m+ local package
4999 [37m[1mDEBUG [m+ ynh_handle_getopts_args --package=digiwords-ynh-deps
4999 [37m[1mDEBUG [m+ set +o xtrace
5018 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
5019 [37m[1mDEBUG [m+ local try
5020 [37m[1mDEBUG [m+ set +o xtrace
6445 [37m[1mDEBUG [m+ return 0
6445 [37m[1mDEBUG [m+ grep --count 'ok installed'
6447 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
6468 [37m[1mDEBUG [m++ dpkg-query --show '--showformat=${Depends}' digiwords-ynh-deps
6484 [37m[1mDEBUG [m+ current_dependencies='php-sqlite3 '
6484 [37m[1mDEBUG [m+ current_dependencies='php-sqlite3 '
6485 [37m[1mDEBUG [m+ ynh_package_autopurge digiwords-ynh-deps
6485 [37m[1mDEBUG [m+ ynh_apt autoremove --purge digiwords-ynh-deps
6485 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
6486 [37m[1mDEBUG [m+ local try
6486 [37m[1mDEBUG [m+ set +o xtrace
7861 [37m[1mDEBUG [m+ return 0
7862 [37m[1mDEBUG [m+ LC_ALL=C
7862 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
7863 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 autoremove --purge digiwords-ynh-deps
7918 [37m[1mDEBUG [mReading package lists...
8310 [37m[1mDEBUG [mBuilding dependency tree...
8312 [37m[1mDEBUG [mReading state information...
8807 [37m[1mDEBUG [mThe following packages will be REMOVED:
8809 [37m[1mDEBUG [m digiwords-ynh-deps* php-sqlite3* php7.3-sqlite3*
9438 [37m[1mDEBUG [m0 upgraded, 0 newly installed, 3 to remove and 9 not upgraded.
9439 [37m[1mDEBUG [mAfter this operation, 148 kB disk space will be freed.
9527 [37m[1mDEBUG [m(Reading database ... 42402 files and directories currently installed.)
9531 [37m[1mDEBUG [mRemoving digiwords-ynh-deps (0.3.3~ynh1) ...
9672 [37m[1mDEBUG [mRemoving php-sqlite3 (2:7.3+69) ...
9805 [37m[1mDEBUG [mRemoving php7.3-sqlite3 (7.3.31-1~deb10u1) ...
10199 [37m[1mDEBUG [mProcessing triggers for php7.3-fpm (7.3.31-1~deb10u1) ...
10858 [37m[1mDEBUG [m(Reading database ... 42384 files and directories currently installed.)
10863 [37m[1mDEBUG [mPurging configuration files for php7.3-sqlite3 (7.3.31-1~deb10u1) ...
10946 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
11045 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
11229 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
11314 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
11848 [37m[1mDEBUG [m++ echo php-sqlite3
11850 [37m[1mDEBUG [m++ tr - ' '
11852 [37m[1mDEBUG [m++ sed s/php//g
11853 [37m[1mDEBUG [m++ grep -o -E '\'
11857 [37m[1mDEBUG [m++ sort
11859 [37m[1mDEBUG [m++ uniq
11868 [37m[1mDEBUG [m+ local specific_php_version=
11868 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
11869 [37m[1mDEBUG [m+ [[ -n '' ]]
11869 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing various files...' --weight=1
11870 [37m[1mDEBUG [m+ set +o xtrace
12024 [37m[1mDEBUG [m+ set +o xtrace
12068 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
12069 [37m[1mDEBUG [m+ set +x
12080 [37m[1mDEBUG [m+ echo '[############+++.....] > Removing various files...'
12083 [37m[1mDEBUG [m+ set -o xtrace
12086 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/log/digiwords
12088 [37m[1mDEBUG [m+ local legacy_args=f
12089 [37m[1mDEBUG [m+ args_array=([f]=file=)
12092 [37m[1mDEBUG [m+ local -A args_array
12093 [37m[1mDEBUG [m+ local file
12093 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/log/digiwords
12094 [37m[1mDEBUG [m+ set +o xtrace
12094 [36m[1mINFO [m[############+++.....] > Removing various files...
12118 [37m[1mDEBUG [m+ set +o xtrace
12148 [37m[1mDEBUG [m+ echo ''\''/var/log/digiwords'\'' wasn'\''t deleted because it doesn'\''t exist.'
12149 [37m[1mDEBUG [m+ set -o xtrace
12149 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing the dedicated system user...' --weight=1
12151 [37m[1mDEBUG [m+ set +o xtrace
12152 [36m[1mINFO [m'/var/log/digiwords' wasn't deleted because it doesn't exist.
12271 [37m[1mDEBUG [m+ set +o xtrace
12294 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
12295 [37m[1mDEBUG [m+ set +x
12303 [37m[1mDEBUG [m+ echo '[###############++...] > Removing the dedicated system user...'
12304 [37m[1mDEBUG [m+ set -o xtrace
12305 [37m[1mDEBUG [m+ ynh_system_user_delete --username=digiwords
12305 [37m[1mDEBUG [m+ local legacy_args=u
12305 [37m[1mDEBUG [m+ args_array=([u]=username=)
12306 [37m[1mDEBUG [m+ local -A args_array
12307 [37m[1mDEBUG [m+ local username
12307 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords
12308 [37m[1mDEBUG [m+ set +o xtrace
12308 [36m[1mINFO [m[###############++...] > Removing the dedicated system user...
12330 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
12331 [37m[1mDEBUG [m+ local legacy_args=u
12331 [37m[1mDEBUG [m+ args_array=([u]=username=)
12331 [37m[1mDEBUG [m+ local -A args_array
12332 [37m[1mDEBUG [m+ local username
12333 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
12333 [37m[1mDEBUG [m+ set +o xtrace
12347 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
12350 [37m[1mDEBUG [m+ set +x
12353 [37m[1mDEBUG [m+ getent passwd digiwords
12357 [37m[1mDEBUG [m+ deluser digiwords
12485 [37m[1mDEBUG [mRemoving user `digiwords' ...
12487 [37m[1mDEBUG [mWarning: group `digiwords' has no more members.
12617 [37m[1mDEBUG [mDone.
12618 [37m[1mDEBUG [m+ ynh_system_group_exists digiwords
12620 [37m[1mDEBUG [m+ local legacy_args=g
12621 [37m[1mDEBUG [m+ args_array=([g]=group=)
12622 [37m[1mDEBUG [m+ local -A args_array
12624 [37m[1mDEBUG [m+ local group
12626 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
12628 [37m[1mDEBUG [m+ set +o xtrace
12642 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
12643 [37m[1mDEBUG [m+ set +x
12646 [37m[1mDEBUG [m+ getent group digiwords
12659 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removal of digiwords completed' --last
12660 [37m[1mDEBUG [m+ set +o xtrace
12781 [37m[1mDEBUG [m+ set +o xtrace
12805 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
12809 [37m[1mDEBUG [m+ set +x
12812 [37m[1mDEBUG [m+ echo '[####################] > Removal of digiwords completed'
12814 [37m[1mDEBUG [m+ set -o xtrace
12815 [36m[1mINFO [m[####################] > Removal of digiwords completed
13819 [32m[1mSUCCESS [mdigiwords uninstalled
13920 [37m[1mDEBUG [minitializing ldap interface
13985 [37m[1mDEBUG [mPermission 'digiwords.main' deleted
13994 [37m[1mDEBUG [mTo view the log of the operation 'Delete permission 'digiwords'', use the command 'yunohost log show 20220531-092831-permission_delete-digiwords'
14011 [37m[1mDEBUG [mThe permission database has been resynchronized
14038 [37m[1mDEBUG [mSSOwat configuration regenerated
14058 [37m[1mDEBUG [mChecking that required services are up and running...
14911 [37m[1mDEBUG [mTo view the log of the operation 'Remove the 'digiwords' app', use the command 'yunohost log show 20220531-092817-app_remove-digiwords'
14929 [37m[1mDEBUG [maction [830.1] executed in 14.670s
14930 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 16 seconds (09:28:32)
Remove successful.
[1m > Reinstalling after removal.[0m
Running: yunohost app install --force /app_folder -a "domain=sub.domain.tld&path=/ admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&"
Running yunohost app install --force /app_folder -a "domain=sub.domain.tld&path=/ admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&"
173 [37m[1mDEBUG [minitializing base actions map parser for cli
176 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
178 [37m[1mDEBUG [mbuilding parser...
198 [37m[1mDEBUG [mbuilding parser took 0.019s
200 [37m[1mDEBUG [macquiring lock...
221 [37m[1mDEBUG [mlock has been acquired
241 [37m[1mDEBUG [mloading python module yunohost.app took 0.019s
241 [37m[1mDEBUG [mprocessing action [2576.1]: yunohost.app.install with args={'app': '/app_folder', 'label': None, 'args': 'domain=sub.domain.tld&path=/ admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&', 'no_remove_on_failure': False, 'force': True}
282 [37m[1mDEBUG [mExtracting...
300 [37m[1mDEBUG [mDone
302 [37m[1mDEBUG [mChecking required packages for digiwords...
316 [37m[1mDEBUG [mChecking that required services are up and running...
1204 [37m[1mDEBUG [minitializing ldap interface
1356 [36m[1mINFO [mInstalling digiwords...
1403 [37m[1mDEBUG [mNothing to update in LDAP
1403 [37m[1mDEBUG [mPermission 'digiwords.main' updated
1411 [37m[1mDEBUG [mTo view the log of the operation 'Update URL related to permission 'digiwords'', use the command 'yunohost log show 20220531-092847-permission_url-digiwords'
1440 [37m[1mDEBUG [mThe permission database has been resynchronized
1452 [37m[1mDEBUG [mSSOwat configuration regenerated
1470 [37m[1mDEBUG [mPermission 'digiwords.main' created
1471 [37m[1mDEBUG [mTo view the log of the operation 'Create permission 'digiwords'', use the command 'yunohost log show 20220531-092847-permission_create-digiwords'
1500 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
1518 [37m[1mDEBUG [m+ source _common.sh
1519 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
1521 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
1523 [37m[1mDEBUG [m+++ set +o
1527 [37m[1mDEBUG [m+++ grep xtrace
1529 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
1529 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
1530 [37m[1mDEBUG [m++ set +x
1580 [37m[1mDEBUG [m+ ynh_abort_if_errors
1585 [37m[1mDEBUG [m+ set -o errexit
1585 [37m[1mDEBUG [m+ set -o nounset
1588 [37m[1mDEBUG [m+ trap ynh_exit_properly EXIT
1589 [37m[1mDEBUG [m+ domain=sub.domain.tld
1590 [37m[1mDEBUG [m+ path_url=/
1590 [37m[1mDEBUG [m+ is_public=1
1590 [37m[1mDEBUG [m+ app=digiwords
1591 [37m[1mDEBUG [m+ ynh_script_progression '--message=Validating installation parameters...' --weight=1
1591 [37m[1mDEBUG [m+ set +o xtrace
1713 [37m[1mDEBUG [m+ set +o xtrace
1788 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1789 [37m[1mDEBUG [m+ set +x
1798 [37m[1mDEBUG [m+ echo '[++..................] > Validating installation parameters...'
1800 [37m[1mDEBUG [m+ set -o xtrace
1800 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
1801 [37m[1mDEBUG [m+ test '!' -e /var/www/digiwords
1801 [37m[1mDEBUG [m+ ynh_webpath_register --app=digiwords --domain=sub.domain.tld --path_url=/
1801 [37m[1mDEBUG [m+ local legacy_args=adp
1802 [37m[1mDEBUG [m+ args_array=([a]=app= [d]=domain= [p]=path_url=)
1802 [37m[1mDEBUG [m+ local -A args_array
1802 [37m[1mDEBUG [m+ local app
1803 [37m[1mDEBUG [m+ local domain
1803 [37m[1mDEBUG [m+ local path_url
1804 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --domain=sub.domain.tld --path_url=/
1804 [37m[1mDEBUG [m+ set +o xtrace
1805 [36m[1mINFO [m[++..................] > Validating installation parameters...
1979 [37m[1mDEBUG [m+ yunohost app register-url digiwords sub.domain.tld /
2639 [37m[1mDEBUG [m+ ynh_script_progression '--message=Storing installation settings...' --weight=1
2640 [37m[1mDEBUG [m+ set +o xtrace
2772 [37m[1mDEBUG [m+ set +o xtrace
2798 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2799 [37m[1mDEBUG [m+ set +x
2805 [36m[1mINFO [m[##++................] > Storing installation settings...
2810 [37m[1mDEBUG [m+ echo '[##++................] > Storing installation settings...'
2812 [37m[1mDEBUG [m+ set -o xtrace
2812 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=domain --value=sub.domain.tld
2813 [37m[1mDEBUG [m+ local _globalapp=digiwords
2813 [37m[1mDEBUG [m+ local legacy_args=akv
2813 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
2814 [37m[1mDEBUG [m+ local -A args_array
2815 [37m[1mDEBUG [m+ local app
2816 [37m[1mDEBUG [m+ local key
2816 [37m[1mDEBUG [m+ local value
2817 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=domain --value=sub.domain.tld
2818 [37m[1mDEBUG [m+ set +o xtrace
2997 [37m[1mDEBUG [m+ app=digiwords
2998 [37m[1mDEBUG [m+ [[ domain =~ (unprotected|protected|skipped)_ ]]
3001 [37m[1mDEBUG [m+ ynh_app_setting set digiwords domain sub.domain.tld
3002 [37m[1mDEBUG [m+ set +o xtrace
3113 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=path --value=/
3114 [37m[1mDEBUG [m+ local _globalapp=digiwords
3117 [37m[1mDEBUG [m+ local legacy_args=akv
3120 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
3123 [37m[1mDEBUG [m+ local -A args_array
3125 [37m[1mDEBUG [m+ local app
3125 [37m[1mDEBUG [m+ local key
3126 [37m[1mDEBUG [m+ local value
3127 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=path --value=/
3128 [37m[1mDEBUG [m+ set +o xtrace
3293 [37m[1mDEBUG [m+ app=digiwords
3296 [37m[1mDEBUG [m+ [[ path =~ (unprotected|protected|skipped)_ ]]
3298 [37m[1mDEBUG [m+ ynh_app_setting set digiwords path /
3301 [37m[1mDEBUG [m+ set +o xtrace
3380 [37m[1mDEBUG [m+ ynh_script_progression '--message=Installing dependencies...' --weight=1
3381 [37m[1mDEBUG [m+ set +o xtrace
3495 [37m[1mDEBUG [m+ set +o xtrace
3520 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3520 [37m[1mDEBUG [m+ set +x
3525 [37m[1mDEBUG [m+ echo '[####++..............] > Installing dependencies...'
3525 [36m[1mINFO [m[####++..............] > Installing dependencies...
3525 [37m[1mDEBUG [m+ set -o xtrace
3526 [37m[1mDEBUG [m+ ynh_install_app_dependencies php-sqlite3
3526 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3526 [37m[1mDEBUG [m++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
3529 [37m[1mDEBUG [m++ echo php-sqlite3
3542 [37m[1mDEBUG [m+ dependencies=php-sqlite3
3543 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3552 [37m[1mDEBUG [m+ local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/manifest.json
3556 [37m[1mDEBUG [m++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/manifest.json
3565 [37m[1mDEBUG [m+ local version=0.3.3~ynh1
3566 [37m[1mDEBUG [m+ '[' -z 0.3.3~ynh1 ']'
3568 [37m[1mDEBUG [m+ '[' 0.3.3~ynh1 == null ']'
3569 [37m[1mDEBUG [m+ local dep_app=digiwords
3569 [37m[1mDEBUG [m+ [[ php-sqlite3 =~ [<=>] ]]
3578 [37m[1mDEBUG [m++ echo php-sqlite3
3584 [37m[1mDEBUG [m++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
3585 [37m[1mDEBUG [m++ sort -u
3586 [37m[1mDEBUG [m+ local specific_php_version=
3587 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
3588 [37m[1mDEBUG [m+ [[ -n '' ]]
3589 [37m[1mDEBUG [m+ [[ true == \t\r\u\e ]]
3590 [37m[1mDEBUG [m+ YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
3590 [37m[1mDEBUG [m+ grep --quiet php
3591 [37m[1mDEBUG [m+ dpkg --list
3593 [37m[1mDEBUG [m+ grep php7.0
3594 [37m[1mDEBUG [m+ grep --quiet --invert-match 7.0.33-0+deb9
3617 [37m[1mDEBUG [m+ cat
3623 [37m[1mDEBUG [m+ ynh_package_install_from_equivs /tmp/digiwords-ynh-deps.control
3624 [37m[1mDEBUG [m+ local controlfile=/tmp/digiwords-ynh-deps.control
3625 [37m[1mDEBUG [m++ grep '^Package: ' /tmp/digiwords-ynh-deps.control
3626 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
3631 [37m[1mDEBUG [m+ local pkgname=digiwords-ynh-deps
3634 [37m[1mDEBUG [m++ grep '^Version: ' /tmp/digiwords-ynh-deps.control
3635 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
3641 [37m[1mDEBUG [m+ local pkgversion=0.3.3~ynh1
3643 [37m[1mDEBUG [m+ [[ -z digiwords-ynh-deps ]]
3645 [37m[1mDEBUG [m+ [[ -z 0.3.3~ynh1 ]]
3646 [37m[1mDEBUG [m+ ynh_package_update
3648 [37m[1mDEBUG [m+ ynh_apt update
3649 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
3650 [37m[1mDEBUG [m+ local try
3651 [37m[1mDEBUG [m+ set +o xtrace
5082 [37m[1mDEBUG [m+ return 0
5082 [37m[1mDEBUG [m+ LC_ALL=C
5084 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
5086 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
5218 [37m[1mDEBUG [mHit:1 http://forge.yunohost.org/debian buster InRelease
5221 [37m[1mDEBUG [mHit:2 http://deb.debian.org/debian buster InRelease
5225 [37m[1mDEBUG [mHit:3 http://deb.debian.org/debian buster-updates InRelease
5226 [37m[1mDEBUG [mHit:4 http://deb.debian.org/debian-security buster/updates InRelease
7986 [37m[1mDEBUG [mReading package lists...
8046 [37m[1mDEBUG [m++ mktemp --directory
8050 [37m[1mDEBUG [m+ local TMPDIR=/tmp/tmp.QYBGfljIaS
8052 [37m[1mDEBUG [m+ echo 10
8054 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
8056 [37m[1mDEBUG [m+ local try
8057 [37m[1mDEBUG [m+ set +o xtrace
9485 [37m[1mDEBUG [m+ return 0
9487 [37m[1mDEBUG [m+ cp /tmp/digiwords-ynh-deps.control /tmp/tmp.QYBGfljIaS/control
9490 [37m[1mDEBUG [m+ cd /tmp/tmp.QYBGfljIaS
9492 [37m[1mDEBUG [m+ LC_ALL=C
9494 [37m[1mDEBUG [m+ equivs-build ./control
11512 [37m[1mDEBUG [m+ LC_ALL=C
11513 [37m[1mDEBUG [m+ dpkg --force-depends --install ./digiwords-ynh-deps_0.3.3~ynh1_all.deb
11515 [37m[1mDEBUG [m+ tee ./dpkg_log
11613 [37m[1mDEBUG [mSelecting previously unselected package digiwords-ynh-deps.
11656 [37m[1mDEBUG [m(Reading database ... 42385 files and directories currently installed.)
11668 [37m[1mDEBUG [mPreparing to unpack .../digiwords-ynh-deps_0.3.3~ynh1_all.deb ...
11681 [37m[1mDEBUG [mUnpacking digiwords-ynh-deps (0.3.3~ynh1) ...
11748 [37m[1mDEBUG [mdpkg: digiwords-ynh-deps: dependency problems, but configuring anyway as you requested:
11751 [37m[1mDEBUG [m digiwords-ynh-deps depends on php-sqlite3; however:
11752 [37m[1mDEBUG [m Package php-sqlite3 is not installed.
11754 [37m[1mDEBUG [m
11755 [37m[1mDEBUG [mSetting up digiwords-ynh-deps (0.3.3~ynh1) ...
11834 [37m[1mDEBUG [m+ ynh_package_install --fix-broken
11836 [37m[1mDEBUG [m+ ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
11839 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
11842 [37m[1mDEBUG [m+ local try
11845 [37m[1mDEBUG [m+ set +o xtrace
13353 [37m[1mDEBUG [m+ return 0
13354 [37m[1mDEBUG [m+ LC_ALL=C
13357 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
13359 [37m[1mDEBUG [m+ 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
13550 [37m[1mDEBUG [mReading package lists...
13975 [37m[1mDEBUG [mBuilding dependency tree...
13979 [37m[1mDEBUG [mReading state information...
14235 [37m[1mDEBUG [mCorrecting dependencies... Done
14635 [37m[1mDEBUG [mThe following additional packages will be installed:
14638 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
14669 [37m[1mDEBUG [mThe following NEW packages will be installed:
14672 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
15194 [37m[1mDEBUG [m0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
15197 [37m[1mDEBUG [mNeed to get 0 B/32.2 kB of archives.
15201 [37m[1mDEBUG [mAfter this operation, 139 kB of additional disk space will be used.
15362 [37m[1mDEBUG [mSelecting previously unselected package php7.3-sqlite3.
15408 [37m[1mDEBUG [m(Reading database ... 42389 files and directories currently installed.)
15412 [37m[1mDEBUG [mPreparing to unpack .../php7.3-sqlite3_7.3.31-1~deb10u1_amd64.deb ...
15438 [37m[1mDEBUG [mUnpacking php7.3-sqlite3 (7.3.31-1~deb10u1) ...
15563 [37m[1mDEBUG [mSelecting previously unselected package php-sqlite3.
15572 [37m[1mDEBUG [mPreparing to unpack .../php-sqlite3_2%3a7.3+69_all.deb ...
15583 [37m[1mDEBUG [mUnpacking php-sqlite3 (2:7.3+69) ...
15716 [37m[1mDEBUG [mSetting up php7.3-sqlite3 (7.3.31-1~deb10u1) ...
15748 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
15955 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16057 [37m[1mDEBUG [m
16058 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/sqlite3.ini with new version
16158 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16381 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16597 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16686 [37m[1mDEBUG [m
16687 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/pdo_sqlite.ini with new version
16796 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
17025 [37m[1mDEBUG [mSetting up php-sqlite3 (2:7.3+69) ...
17070 [37m[1mDEBUG [mProcessing triggers for php7.3-fpm (7.3.31-1~deb10u1) ...
17730 [37m[1mDEBUG [m+ [[ -n /tmp/tmp.QYBGfljIaS ]]
17730 [37m[1mDEBUG [m+ rm --recursive --force /tmp/tmp.QYBGfljIaS
17735 [37m[1mDEBUG [m+ ynh_package_is_installed digiwords-ynh-deps
17735 [37m[1mDEBUG [m+ local legacy_args=p
17736 [37m[1mDEBUG [m+ args_array=([p]=package=)
17736 [37m[1mDEBUG [m+ local -A args_array
17737 [37m[1mDEBUG [m+ local package
17738 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords-ynh-deps
17738 [37m[1mDEBUG [m+ set +o xtrace
17761 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
17766 [37m[1mDEBUG [m+ set +x
17772 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
17776 [37m[1mDEBUG [m+ local try
17777 [37m[1mDEBUG [m+ set +o xtrace
19150 [37m[1mDEBUG [m+ return 0
19151 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
19153 [37m[1mDEBUG [m+ grep --count 'ok installed'
19170 [37m[1mDEBUG [m+ rm /tmp/digiwords-ynh-deps.control
19173 [37m[1mDEBUG [m+ [[ -n '' ]]
19174 [37m[1mDEBUG [m+ grep --quiet php
19178 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
19180 [37m[1mDEBUG [m+ local _globalapp=digiwords
19181 [37m[1mDEBUG [m+ local legacy_args=akv
19181 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
19182 [37m[1mDEBUG [m+ local -A args_array
19183 [37m[1mDEBUG [m+ local app
19184 [37m[1mDEBUG [m+ local key
19185 [37m[1mDEBUG [m+ local value
19186 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
19187 [37m[1mDEBUG [m+ set +o xtrace
19316 [37m[1mDEBUG [m+ app=digiwords
19317 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
19318 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
19319 [37m[1mDEBUG [m+ set +o xtrace
19400 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring system user...' --weight=1
19402 [37m[1mDEBUG [m+ set +o xtrace
19526 [37m[1mDEBUG [m+ set +o xtrace
19554 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
19556 [37m[1mDEBUG [m+ set +x
19560 [37m[1mDEBUG [m+ echo '[######++............] > Configuring system user...'
19562 [37m[1mDEBUG [m+ set -o xtrace
19563 [36m[1mINFO [m[######++............] > Configuring system user...
19568 [37m[1mDEBUG [m+ ynh_system_user_create --username=digiwords --home_dir=/var/www/digiwords
19569 [37m[1mDEBUG [m+ local legacy_args=uhs
19570 [37m[1mDEBUG [m+ args_array=([u]=username= [h]=home_dir= [s]=use_shell [g]=groups=)
19570 [37m[1mDEBUG [m+ local -A args_array
19571 [37m[1mDEBUG [m+ local username
19571 [37m[1mDEBUG [m+ local home_dir
19572 [37m[1mDEBUG [m+ local use_shell
19572 [37m[1mDEBUG [m+ local groups
19573 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords --home_dir=/var/www/digiwords
19573 [37m[1mDEBUG [m+ set +o xtrace
19686 [37m[1mDEBUG [m+ use_shell=0
19686 [37m[1mDEBUG [m+ home_dir=/var/www/digiwords
19687 [37m[1mDEBUG [m+ groups=
19688 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
19688 [37m[1mDEBUG [m+ local legacy_args=u
19689 [37m[1mDEBUG [m+ args_array=([u]=username=)
19689 [37m[1mDEBUG [m+ local -A args_array
19690 [37m[1mDEBUG [m+ local username
19690 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
19691 [37m[1mDEBUG [m+ set +o xtrace
19707 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
19709 [37m[1mDEBUG [m+ set +x
19715 [37m[1mDEBUG [m+ getent passwd digiwords
19724 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
19725 [37m[1mDEBUG [m+ local 'user_home_dir=--home-dir /var/www/digiwords'
19726 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
19726 [37m[1mDEBUG [m+ local 'shell=--shell /usr/sbin/nologin'
19728 [37m[1mDEBUG [m+ useradd --home-dir /var/www/digiwords --system --user-group digiwords --shell /usr/sbin/nologin
19837 [37m[1mDEBUG [m+ local group
19838 [37m[1mDEBUG [m+ ynh_script_progression '--message=Setting up source files...' --weight=1
19839 [37m[1mDEBUG [m+ set +o xtrace
19956 [37m[1mDEBUG [m+ set +o xtrace
19982 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
19983 [37m[1mDEBUG [m+ set +x
19989 [37m[1mDEBUG [m+ echo '[########++..........] > Setting up source files...'
19991 [36m[1mINFO [m[########++..........] > Setting up source files...
19992 [37m[1mDEBUG [m+ set -o xtrace
19996 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=final_path --value=/var/www/digiwords
19997 [37m[1mDEBUG [m+ local _globalapp=digiwords
19997 [37m[1mDEBUG [m+ local legacy_args=akv
19998 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
19999 [37m[1mDEBUG [m+ local -A args_array
20001 [37m[1mDEBUG [m+ local app
20002 [37m[1mDEBUG [m+ local key
20004 [37m[1mDEBUG [m+ local value
20005 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=final_path --value=/var/www/digiwords
20006 [37m[1mDEBUG [m+ set +o xtrace
20130 [37m[1mDEBUG [m+ app=digiwords
20131 [37m[1mDEBUG [m+ [[ final_path =~ (unprotected|protected|skipped)_ ]]
20132 [37m[1mDEBUG [m+ ynh_app_setting set digiwords final_path /var/www/digiwords
20133 [37m[1mDEBUG [m+ set +o xtrace
20214 [37m[1mDEBUG [m+ ynh_setup_source --dest_dir=/var/www/digiwords
20218 [37m[1mDEBUG [m+ local legacy_args=dsk
20222 [37m[1mDEBUG [m+ args_array=([d]=dest_dir= [s]=source_id= [k]=keep=)
20224 [37m[1mDEBUG [m+ local -A args_array
20228 [37m[1mDEBUG [m+ local dest_dir
20229 [37m[1mDEBUG [m+ local source_id
20230 [37m[1mDEBUG [m+ local keep
20232 [37m[1mDEBUG [m+ ynh_handle_getopts_args --dest_dir=/var/www/digiwords
20234 [37m[1mDEBUG [m+ set +o xtrace
20282 [37m[1mDEBUG [m+ source_id=app
20283 [37m[1mDEBUG [m+ keep=
20286 [37m[1mDEBUG [m+ local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/app.src
20289 [37m[1mDEBUG [m++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/app.src
20290 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20297 [37m[1mDEBUG [m+ local src_url=https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip
20299 [37m[1mDEBUG [m++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/app.src
20300 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20305 [37m[1mDEBUG [m+ local src_sum=78564c2aa18e0702972994808843587dde876813dfddc06905924a4354a54156
20307 [37m[1mDEBUG [m++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/app.src
20308 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20313 [37m[1mDEBUG [m+ local src_sumprg=sha256sum
20316 [37m[1mDEBUG [m++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/app.src
20319 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20324 [37m[1mDEBUG [m+ local src_format=zip
20326 [37m[1mDEBUG [m++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/app.src
20327 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20333 [37m[1mDEBUG [m+ local src_extract=true
20335 [37m[1mDEBUG [m++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/app.src
20337 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20341 [37m[1mDEBUG [m+ local src_in_subdir=true
20344 [37m[1mDEBUG [m++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/app.src
20348 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20355 [37m[1mDEBUG [m+ local src_filename=
20356 [37m[1mDEBUG [m+ src_sumprg=sha256sum
20357 [37m[1mDEBUG [m+ src_in_subdir=true
20358 [37m[1mDEBUG [m+ src_format=zip
20358 [37m[1mDEBUG [m++ echo zip
20360 [37m[1mDEBUG [m++ tr '[:upper:]' '[:lower:]'
20365 [37m[1mDEBUG [m+ src_format=zip
20367 [37m[1mDEBUG [m+ src_extract=true
20368 [37m[1mDEBUG [m+ '[' '' = '' ']'
20368 [37m[1mDEBUG [m+ src_filename=app.zip
20368 [37m[1mDEBUG [m+ local local_src=/opt/yunohost-apps-src/digiwords/app.zip
20369 [37m[1mDEBUG [m+ mkdir -p /var/cache/yunohost/download/digiwords/
20372 [37m[1mDEBUG [m+ src_filename=/var/cache/yunohost/download/digiwords/app.zip
20374 [37m[1mDEBUG [m+ test -e /opt/yunohost-apps-src/digiwords/app.zip
20375 [37m[1mDEBUG [m+ '[' -n https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip ']'
20375 [37m[1mDEBUG [m+ local out
20376 [37m[1mDEBUG [m++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/digiwords/app.zip https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip
20778 [37m[1mDEBUG [m+ out='2022-05-31 09:29:07 URL:https://objects.githubusercontent.com/github-production-release-asset-2e65be/459932950/34f63a52-4624-4bf0-8fd9-bfd6df81b61b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220531%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220531T092907Z&X-Amz-Expires=300&X-Amz-Signature=1e1e8baf7f25366882ed59fcc9a4d0df881f3472bb96d89759847fcc6b721705&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=459932950&response-content-disposition=attachment%3B%20filename%3Ddigiwords-0.3.3.zip&response-content-type=application%2Foctet-stream [3002924/3002924] -> "/var/cache/yunohost/download/digiwords/app.zip" [1]'
20779 [37m[1mDEBUG [m+ echo '78564c2aa18e0702972994808843587dde876813dfddc06905924a4354a54156 /var/cache/yunohost/download/digiwords/app.zip'
20782 [37m[1mDEBUG [m+ sha256sum --check --status
20816 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
20819 [37m[1mDEBUG [m+ '[' -n '' ']'
20821 [37m[1mDEBUG [m+ mkdir --parents /var/www/digiwords
20823 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
20824 [37m[1mDEBUG [m+ '[' /var/www/digiwords == /var/www/digiwords ']'
20826 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /var/www/digiwords
20827 [37m[1mDEBUG [m+ local target=/var/www/digiwords
20828 [37m[1mDEBUG [m++ tr -d '>= '
20829 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/manifest.json
20835 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
20836 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
20837 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
20838 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
20839 [37m[1mDEBUG [m+ chmod o-rwx /var/www/digiwords
20844 [37m[1mDEBUG [m+ chmod g-w /var/www/digiwords
20847 [37m[1mDEBUG [m+ chown -R root:root /var/www/digiwords
20856 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
20857 [37m[1mDEBUG [m+ local legacy_args=u
20859 [37m[1mDEBUG [m+ args_array=([u]=username=)
20861 [37m[1mDEBUG [m+ local -A args_array
20862 [37m[1mDEBUG [m+ local username
20863 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
20865 [37m[1mDEBUG [m+ set +o xtrace
20884 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
20885 [37m[1mDEBUG [m+ set +x
20888 [37m[1mDEBUG [m+ getent passwd digiwords
20896 [37m[1mDEBUG [m+ chown digiwords:digiwords /var/www/digiwords
20905 [37m[1mDEBUG [m+ echo /var/www/digiwords
20906 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
20912 [37m[1mDEBUG [m+ true
20913 [37m[1mDEBUG [m+ '[' zip = zip ']'
20915 [37m[1mDEBUG [m+ true
20916 [37m[1mDEBUG [m++ mktemp --directory
20919 [37m[1mDEBUG [m+ local tmp_dir=/tmp/tmp.zwlF2ehYwk
20924 [37m[1mDEBUG [m+ unzip -quo /var/cache/yunohost/download/digiwords/app.zip -d /tmp/tmp.zwlF2ehYwk
20976 [37m[1mDEBUG [m+ cp --archive /tmp/tmp.zwlF2ehYwk/digiwords/. /var/www/digiwords
20992 [37m[1mDEBUG [m+ ynh_secure_remove --file=/tmp/tmp.zwlF2ehYwk
20994 [37m[1mDEBUG [m+ local legacy_args=f
20996 [37m[1mDEBUG [m+ args_array=([f]=file=)
20998 [37m[1mDEBUG [m+ local -A args_array
21002 [37m[1mDEBUG [m+ local file
21007 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/tmp/tmp.zwlF2ehYwk
21009 [37m[1mDEBUG [m+ set +o xtrace
21019 [37m[1mDEBUG [m+ set +o xtrace
21040 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/cache/yunohost/download/digiwords/app.zip
21041 [37m[1mDEBUG [m+ local legacy_args=f
21042 [37m[1mDEBUG [m+ args_array=([f]=file=)
21043 [37m[1mDEBUG [m+ local -A args_array
21046 [37m[1mDEBUG [m+ local file
21048 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/cache/yunohost/download/digiwords/app.zip
21051 [37m[1mDEBUG [m+ set +o xtrace
21066 [37m[1mDEBUG [m+ set +o xtrace
21087 [37m[1mDEBUG [m+ '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/sources/patches/ ']'
21088 [37m[1mDEBUG [m+ test -e /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/sources/extra_files/app
21088 [37m[1mDEBUG [m+ '[' -n '' ']'
21089 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
21091 [37m[1mDEBUG [m+ chmod 750 /var/www/digiwords
21094 [37m[1mDEBUG [m+ chmod -R o-rwx /var/www/digiwords
21097 [37m[1mDEBUG [m+ chown -R digiwords:www-data /var/www/digiwords
21102 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring NGINX web server...' --weight=1
21103 [37m[1mDEBUG [m+ set +o xtrace
21232 [37m[1mDEBUG [m+ set +o xtrace
21264 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
21264 [37m[1mDEBUG [m+ set +x
21269 [36m[1mINFO [m[##########++........] > Configuring NGINX web server...
21273 [37m[1mDEBUG [m+ echo '[##########++........] > Configuring NGINX web server...'
21275 [37m[1mDEBUG [m+ set -o xtrace
21276 [37m[1mDEBUG [m+ ynh_add_nginx_config
21276 [37m[1mDEBUG [m+ local finalnginxconf=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21277 [37m[1mDEBUG [m+ '[' / '!=' / ']'
21278 [37m[1mDEBUG [m+ ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/nginx.conf
21278 [37m[1mDEBUG [m+ local legacy_args=mrf
21279 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
21279 [37m[1mDEBUG [m+ local -A args_array
21280 [37m[1mDEBUG [m+ local match_string
21282 [37m[1mDEBUG [m+ local replace_string
21284 [37m[1mDEBUG [m+ local target_file
21285 [37m[1mDEBUG [m+ ynh_handle_getopts_args '--match_string=^#root_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/nginx.conf
21286 [37m[1mDEBUG [m+ set +o xtrace
21437 [37m[1mDEBUG [m+ set +o xtrace
21439 [37m[1mDEBUG [m+ sed --in-place 's@^#root_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/nginx.conf
21445 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21447 [37m[1mDEBUG [m+ local legacy_args=tdv
21449 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
21452 [37m[1mDEBUG [m+ local -A args_array
21453 [37m[1mDEBUG [m+ local template
21454 [37m[1mDEBUG [m+ local destination
21456 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21457 [37m[1mDEBUG [m+ set +o xtrace
21529 [37m[1mDEBUG [m+ local template_path
21531 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/nginx.conf ']'
21532 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/nginx.conf ']'
21533 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/nginx.conf
21534 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21536 [37m[1mDEBUG [m+ local legacy_args=f
21537 [37m[1mDEBUG [m+ args_array=([f]=file=)
21538 [37m[1mDEBUG [m+ local -A args_array
21540 [37m[1mDEBUG [m+ local file
21542 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21545 [37m[1mDEBUG [m+ set +o xtrace
21560 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
21562 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
21564 [37m[1mDEBUG [m++ local _globalapp=digiwords
21565 [37m[1mDEBUG [m++ local legacy_args=ak
21567 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
21568 [37m[1mDEBUG [m++ local -A args_array
21570 [37m[1mDEBUG [m++ local app
21571 [37m[1mDEBUG [m++ local key
21573 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
21574 [37m[1mDEBUG [m++ set +o xtrace
21664 [37m[1mDEBUG [m++ app=digiwords
21665 [37m[1mDEBUG [m++ [[ checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
21666 [37m[1mDEBUG [m++ ynh_app_setting get digiwords checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
21666 [37m[1mDEBUG [m++ set +o xtrace
21817 [37m[1mDEBUG [m+ local checksum_value=
21819 [37m[1mDEBUG [m+ backup_file_checksum=
21824 [37m[1mDEBUG [m+ '[' -n '' ']'
21827 [37m[1mDEBUG [m+ touch /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21828 [37m[1mDEBUG [m+ chown root:root /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21829 [37m[1mDEBUG [m+ chmod 640 /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21833 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/nginx.conf /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21839 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21840 [37m[1mDEBUG [m+ local target=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21841 [37m[1mDEBUG [m++ tr -d '>= '
21848 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/manifest.json
21850 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
21852 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
21855 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
21857 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
21858 [37m[1mDEBUG [m+ chmod o-rwx /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21861 [37m[1mDEBUG [m+ chmod g-w /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21865 [37m[1mDEBUG [m+ chown -R root:root /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21868 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
21870 [37m[1mDEBUG [m+ local legacy_args=u
21872 [37m[1mDEBUG [m+ args_array=([u]=username=)
21873 [37m[1mDEBUG [m+ local -A args_array
21874 [37m[1mDEBUG [m+ local username
21875 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
21875 [37m[1mDEBUG [m+ set +o xtrace
21886 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
21887 [37m[1mDEBUG [m+ set +x
21890 [37m[1mDEBUG [m+ getent passwd digiwords
21895 [37m[1mDEBUG [m+ chown digiwords:digiwords /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21898 [37m[1mDEBUG [m+ echo /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21901 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
21902 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21903 [37m[1mDEBUG [m+ local legacy_args=f
21904 [37m[1mDEBUG [m+ args_array=([f]=file=)
21905 [37m[1mDEBUG [m+ local -A args_array
21906 [37m[1mDEBUG [m+ local file
21907 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21909 [37m[1mDEBUG [m+ set +o xtrace
21928 [37m[1mDEBUG [m+ test -n /
21929 [37m[1mDEBUG [m+ local path_url_slash_less=
21931 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21933 [37m[1mDEBUG [m+ local legacy_args=mrf
21934 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
21936 [37m[1mDEBUG [m+ local -A args_array
21937 [37m[1mDEBUG [m+ local match_string
21938 [37m[1mDEBUG [m+ local replace_string
21941 [37m[1mDEBUG [m+ local target_file
21942 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21943 [37m[1mDEBUG [m+ set +o xtrace
22056 [37m[1mDEBUG [m+ set +o xtrace
22057 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22059 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22061 [37m[1mDEBUG [m+ local legacy_args=mrf
22062 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22064 [37m[1mDEBUG [m+ local -A args_array
22067 [37m[1mDEBUG [m+ local match_string
22069 [37m[1mDEBUG [m+ local replace_string
22071 [37m[1mDEBUG [m+ local target_file
22072 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22074 [37m[1mDEBUG [m+ set +o xtrace
22194 [37m[1mDEBUG [m+ set +o xtrace
22196 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22201 [37m[1mDEBUG [m+ test -n digiwords
22202 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22203 [37m[1mDEBUG [m+ local legacy_args=mrf
22205 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22206 [37m[1mDEBUG [m+ local -A args_array
22207 [37m[1mDEBUG [m+ local match_string
22208 [37m[1mDEBUG [m+ local replace_string
22209 [37m[1mDEBUG [m+ local target_file
22210 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22211 [37m[1mDEBUG [m+ set +o xtrace
22348 [37m[1mDEBUG [m+ set +o xtrace
22350 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22358 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22359 [37m[1mDEBUG [m+ local legacy_args=mrf
22361 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22362 [37m[1mDEBUG [m+ local -A args_array
22363 [37m[1mDEBUG [m+ local match_string
22364 [37m[1mDEBUG [m+ local replace_string
22365 [37m[1mDEBUG [m+ local target_file
22366 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22368 [37m[1mDEBUG [m+ set +o xtrace
22505 [37m[1mDEBUG [m+ set +o xtrace
22507 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22513 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22518 [37m[1mDEBUG [m+ local legacy_args=mrf
22519 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22519 [37m[1mDEBUG [m+ local -A args_array
22520 [37m[1mDEBUG [m+ local match_string
22520 [37m[1mDEBUG [m+ local replace_string
22521 [37m[1mDEBUG [m+ local target_file
22521 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22522 [37m[1mDEBUG [m+ set +o xtrace
22650 [37m[1mDEBUG [m+ set +o xtrace
22651 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22658 [37m[1mDEBUG [m+ test -n /var/www/digiwords
22660 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22661 [37m[1mDEBUG [m+ local legacy_args=mrf
22662 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22663 [37m[1mDEBUG [m+ local -A args_array
22664 [37m[1mDEBUG [m+ local match_string
22664 [37m[1mDEBUG [m+ local replace_string
22665 [37m[1mDEBUG [m+ local target_file
22666 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22668 [37m[1mDEBUG [m+ set +o xtrace
22793 [37m[1mDEBUG [m+ set +o xtrace
22794 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22798 [37m[1mDEBUG [m+ test -n 7.3
22800 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22804 [37m[1mDEBUG [m+ local legacy_args=mrf
22805 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22807 [37m[1mDEBUG [m+ local -A args_array
22808 [37m[1mDEBUG [m+ local match_string
22809 [37m[1mDEBUG [m+ local replace_string
22810 [37m[1mDEBUG [m+ local target_file
22811 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22813 [37m[1mDEBUG [m+ set +o xtrace
22948 [37m[1mDEBUG [m+ set +o xtrace
22949 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22956 [37m[1mDEBUG [m+ test -n ''
22957 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
22960 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22961 [37m[1mDEBUG [m++ sort --unique
22965 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
22970 [37m[1mDEBUG [m+ local uniques_vars
22971 [37m[1mDEBUG [m+ local delimit=@
22972 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22973 [37m[1mDEBUG [m+ local legacy_args=f
22973 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
22973 [37m[1mDEBUG [m+ local -A args_array
22974 [37m[1mDEBUG [m+ local file
22974 [37m[1mDEBUG [m+ local update_only
22974 [37m[1mDEBUG [m+ update_only=0
22974 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22975 [37m[1mDEBUG [m+ set +o xtrace
23015 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
23017 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
23018 [37m[1mDEBUG [m++ md5sum /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23019 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
23026 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf --value=9c307bf4206b43d766feb3b967a25374
23027 [37m[1mDEBUG [m+ local _globalapp=digiwords
23029 [37m[1mDEBUG [m+ local legacy_args=akv
23030 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
23032 [37m[1mDEBUG [m+ local -A args_array
23033 [37m[1mDEBUG [m+ local app
23034 [37m[1mDEBUG [m+ local key
23035 [37m[1mDEBUG [m+ local value
23036 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf --value=9c307bf4206b43d766feb3b967a25374
23037 [37m[1mDEBUG [m+ set +o xtrace
23179 [37m[1mDEBUG [m+ app=digiwords
23180 [37m[1mDEBUG [m+ [[ checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
23184 [37m[1mDEBUG [m+ ynh_app_setting set digiwords checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf 9c307bf4206b43d766feb3b967a25374
23186 [37m[1mDEBUG [m+ set +o xtrace
23275 [37m[1mDEBUG [m+ '[' -n '' ']'
23276 [37m[1mDEBUG [m+ unset backup_file_checksum
23277 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
23280 [37m[1mDEBUG [m+ local legacy_args=nalpte
23282 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
23283 [37m[1mDEBUG [m+ local -A args_array
23284 [37m[1mDEBUG [m+ local service_name
23285 [37m[1mDEBUG [m+ local action
23286 [37m[1mDEBUG [m+ local line_match
23287 [37m[1mDEBUG [m+ local length
23288 [37m[1mDEBUG [m+ local log_path
23288 [37m[1mDEBUG [m+ local timeout
23290 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
23291 [37m[1mDEBUG [m+ set +o xtrace
23484 [37m[1mDEBUG [m+ service_name=nginx
23488 [37m[1mDEBUG [m+ action=reload
23492 [37m[1mDEBUG [m+ line_match=
23494 [37m[1mDEBUG [m+ length=20
23496 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
23500 [37m[1mDEBUG [m+ timeout=300
23506 [37m[1mDEBUG [m+ '[' reload == stop ']'
23513 [37m[1mDEBUG [m+ [[ -n '' ]]
23517 [37m[1mDEBUG [m+ '[' reload == reload ']'
23520 [37m[1mDEBUG [m+ action=reload-or-restart
23520 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
23608 [37m[1mDEBUG [m+ [[ -n '' ]]
23621 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring PHP-FPM...' --weight=1
23622 [37m[1mDEBUG [m+ set +o xtrace
23775 [37m[1mDEBUG [m+ set +o xtrace
23816 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
23816 [37m[1mDEBUG [m+ set +x
23821 [37m[1mDEBUG [m+ echo '[############++......] > Configuring PHP-FPM...'
23824 [37m[1mDEBUG [m+ set -o xtrace
23824 [37m[1mDEBUG [m+ ynh_add_fpm_config
23825 [37m[1mDEBUG [m+ local legacy_args=vtufpd
23825 [37m[1mDEBUG [m+ args_array=([v]=phpversion= [t]=use_template [u]=usage= [f]=footprint= [p]=package= [d]=dedicated_service)
23826 [37m[1mDEBUG [m+ local -A args_array
23827 [37m[1mDEBUG [m+ local phpversion
23827 [37m[1mDEBUG [m+ local use_template
23827 [37m[1mDEBUG [m+ local usage
23828 [37m[1mDEBUG [m+ local footprint
23828 [37m[1mDEBUG [m+ local package
23829 [37m[1mDEBUG [m+ local dedicated_service
23830 [37m[1mDEBUG [m+ ynh_handle_getopts_args
23830 [37m[1mDEBUG [m+ set +o xtrace
23835 [37m[1mDEBUG [m+ package=
23835 [37m[1mDEBUG [m+ use_template=1
23836 [37m[1mDEBUG [m+ usage=
23837 [37m[1mDEBUG [m+ footprint=
23837 [37m[1mDEBUG [m+ '[' -n '' ']'
23838 [37m[1mDEBUG [m+ '[' -n '' ']'
23838 [37m[1mDEBUG [m+ dedicated_service=0
23839 [37m[1mDEBUG [m+ phpversion=7.3
23839 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
23840 [37m[1mDEBUG [m++ local _globalapp=digiwords
23841 [37m[1mDEBUG [m++ local legacy_args=ak
23842 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
23843 [37m[1mDEBUG [m++ local -A args_array
23844 [37m[1mDEBUG [m++ local app
23845 [37m[1mDEBUG [m++ local key
23846 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
23847 [37m[1mDEBUG [m++ set +o xtrace
23847 [36m[1mINFO [m[############++......] > Configuring PHP-FPM...
23899 [37m[1mDEBUG [m++ app=digiwords
23900 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
23901 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
23902 [37m[1mDEBUG [m++ set +o xtrace
23988 [37m[1mDEBUG [m+ local old_phpversion=7.3
23990 [37m[1mDEBUG [m+ '[' -n 7.3 ']'
23992 [37m[1mDEBUG [m+ '[' 7.3 '!=' 7.3 ']'
23993 [37m[1mDEBUG [m+ '[' -n '' ']'
23996 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
23997 [37m[1mDEBUG [m+ local fpm_service=php7.3-fpm
23998 [37m[1mDEBUG [m+ local fpm_config_dir=/etc/php/7.3/fpm
23998 [37m[1mDEBUG [m+ mkdir --parents /etc/php/7.3/fpm/pool.d
23999 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_config_dir --value=/etc/php/7.3/fpm
23999 [37m[1mDEBUG [m+ local _globalapp=digiwords
24000 [37m[1mDEBUG [m+ local legacy_args=akv
24000 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
24001 [37m[1mDEBUG [m+ local -A args_array
24001 [37m[1mDEBUG [m+ local app
24002 [37m[1mDEBUG [m+ local key
24002 [37m[1mDEBUG [m+ local value
24002 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_config_dir --value=/etc/php/7.3/fpm
24003 [37m[1mDEBUG [m+ set +o xtrace
24134 [37m[1mDEBUG [m+ app=digiwords
24136 [37m[1mDEBUG [m+ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
24138 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_config_dir /etc/php/7.3/fpm
24141 [37m[1mDEBUG [m+ set +o xtrace
24213 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_service --value=php7.3-fpm
24216 [37m[1mDEBUG [m+ local _globalapp=digiwords
24219 [37m[1mDEBUG [m+ local legacy_args=akv
24221 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
24223 [37m[1mDEBUG [m+ local -A args_array
24225 [37m[1mDEBUG [m+ local app
24225 [37m[1mDEBUG [m+ local key
24226 [37m[1mDEBUG [m+ local value
24227 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_service --value=php7.3-fpm
24228 [37m[1mDEBUG [m+ set +o xtrace
24356 [37m[1mDEBUG [m+ app=digiwords
24356 [37m[1mDEBUG [m+ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
24356 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_service php7.3-fpm
24357 [37m[1mDEBUG [m+ set +o xtrace
24440 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_dedicated_service --value=0
24441 [37m[1mDEBUG [m+ local _globalapp=digiwords
24444 [37m[1mDEBUG [m+ local legacy_args=akv
24446 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
24449 [37m[1mDEBUG [m+ local -A args_array
24451 [37m[1mDEBUG [m+ local app
24455 [37m[1mDEBUG [m+ local key
24456 [37m[1mDEBUG [m+ local value
24457 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_dedicated_service --value=0
24458 [37m[1mDEBUG [m+ set +o xtrace
24580 [37m[1mDEBUG [m+ app=digiwords
24582 [37m[1mDEBUG [m+ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
24583 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_dedicated_service 0
24584 [37m[1mDEBUG [m+ set +o xtrace
24661 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
24662 [37m[1mDEBUG [m+ local _globalapp=digiwords
24663 [37m[1mDEBUG [m+ local legacy_args=akv
24665 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
24665 [37m[1mDEBUG [m+ local -A args_array
24666 [37m[1mDEBUG [m+ local app
24667 [37m[1mDEBUG [m+ local key
24667 [37m[1mDEBUG [m+ local value
24668 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
24668 [37m[1mDEBUG [m+ set +o xtrace
24790 [37m[1mDEBUG [m+ app=digiwords
24791 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
24793 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
24794 [37m[1mDEBUG [m+ set +o xtrace
24876 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
24877 [37m[1mDEBUG [m+ '[' 1 -eq 1 ']'
24878 [37m[1mDEBUG [m+ local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/php-fpm.conf
24878 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/php-fpm.conf ']'
24878 [37m[1mDEBUG [m+ local finalphpconf=/etc/php/7.3/fpm/pool.d/digiwords.conf
24879 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords.conf
24886 [37m[1mDEBUG [m+ local legacy_args=tdv
24886 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
24886 [37m[1mDEBUG [m+ local -A args_array
24886 [37m[1mDEBUG [m+ local template
24887 [37m[1mDEBUG [m+ local destination
24887 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords.conf
24887 [37m[1mDEBUG [m+ set +o xtrace
24952 [37m[1mDEBUG [m+ local template_path
24953 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/php-fpm.conf ']'
24953 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/php-fpm.conf ']'
24954 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/php-fpm.conf
24954 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
24954 [37m[1mDEBUG [m+ local legacy_args=f
24957 [37m[1mDEBUG [m+ args_array=([f]=file=)
24958 [37m[1mDEBUG [m+ local -A args_array
24958 [37m[1mDEBUG [m+ local file
24958 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
24959 [37m[1mDEBUG [m+ set +o xtrace
24974 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
24975 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
24975 [37m[1mDEBUG [m++ local _globalapp=digiwords
24977 [37m[1mDEBUG [m++ local legacy_args=ak
24977 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
24978 [37m[1mDEBUG [m++ local -A args_array
24978 [37m[1mDEBUG [m++ local app
24978 [37m[1mDEBUG [m++ local key
24978 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
24978 [37m[1mDEBUG [m++ set +o xtrace
25042 [37m[1mDEBUG [m++ app=digiwords
25044 [37m[1mDEBUG [m++ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
25045 [37m[1mDEBUG [m++ ynh_app_setting get digiwords checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
25047 [37m[1mDEBUG [m++ set +o xtrace
25118 [37m[1mDEBUG [m+ local checksum_value=
25120 [37m[1mDEBUG [m+ backup_file_checksum=
25121 [37m[1mDEBUG [m+ '[' -n '' ']'
25122 [37m[1mDEBUG [m+ touch /etc/php/7.3/fpm/pool.d/digiwords.conf
25124 [37m[1mDEBUG [m+ chown root:root /etc/php/7.3/fpm/pool.d/digiwords.conf
25127 [37m[1mDEBUG [m+ chmod 640 /etc/php/7.3/fpm/pool.d/digiwords.conf
25130 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/digiwords.conf
25133 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/php/7.3/fpm/pool.d/digiwords.conf
25135 [37m[1mDEBUG [m+ local target=/etc/php/7.3/fpm/pool.d/digiwords.conf
25138 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/manifest.json
25142 [37m[1mDEBUG [m++ tr -d '>= '
25146 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
25149 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
25152 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
25153 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
25153 [37m[1mDEBUG [m+ chmod o-rwx /etc/php/7.3/fpm/pool.d/digiwords.conf
25154 [37m[1mDEBUG [m+ chmod g-w /etc/php/7.3/fpm/pool.d/digiwords.conf
25155 [37m[1mDEBUG [m+ chown -R root:root /etc/php/7.3/fpm/pool.d/digiwords.conf
25160 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
25160 [37m[1mDEBUG [m+ local legacy_args=u
25161 [37m[1mDEBUG [m+ args_array=([u]=username=)
25162 [37m[1mDEBUG [m+ local -A args_array
25162 [37m[1mDEBUG [m+ local username
25163 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
25163 [37m[1mDEBUG [m+ set +o xtrace
25172 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
25173 [37m[1mDEBUG [m+ set +x
25175 [37m[1mDEBUG [m+ getent passwd digiwords
25177 [37m[1mDEBUG [m+ chown digiwords:digiwords /etc/php/7.3/fpm/pool.d/digiwords.conf
25182 [37m[1mDEBUG [m+ echo /etc/php/7.3/fpm/pool.d/digiwords.conf
25184 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
25188 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25189 [37m[1mDEBUG [m+ local legacy_args=f
25191 [37m[1mDEBUG [m+ args_array=([f]=file=)
25192 [37m[1mDEBUG [m+ local -A args_array
25193 [37m[1mDEBUG [m+ local file
25194 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25195 [37m[1mDEBUG [m+ set +o xtrace
25207 [37m[1mDEBUG [m+ test -n /
25210 [37m[1mDEBUG [m+ local path_url_slash_less=
25213 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25215 [37m[1mDEBUG [m+ local legacy_args=mrf
25216 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25218 [37m[1mDEBUG [m+ local -A args_array
25219 [37m[1mDEBUG [m+ local match_string
25219 [37m[1mDEBUG [m+ local replace_string
25220 [37m[1mDEBUG [m+ local target_file
25221 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25222 [37m[1mDEBUG [m+ set +o xtrace
25337 [37m[1mDEBUG [m+ set +o xtrace
25338 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/@g /etc/php/7.3/fpm/pool.d/digiwords.conf
25342 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25343 [37m[1mDEBUG [m+ local legacy_args=mrf
25344 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25345 [37m[1mDEBUG [m+ local -A args_array
25345 [37m[1mDEBUG [m+ local match_string
25346 [37m[1mDEBUG [m+ local replace_string
25347 [37m[1mDEBUG [m+ local target_file
25347 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25348 [37m[1mDEBUG [m+ set +o xtrace
25485 [37m[1mDEBUG [m+ set +o xtrace
25486 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/@g /etc/php/7.3/fpm/pool.d/digiwords.conf
25494 [37m[1mDEBUG [m+ test -n digiwords
25495 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25496 [37m[1mDEBUG [m+ local legacy_args=mrf
25498 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25499 [37m[1mDEBUG [m+ local -A args_array
25500 [37m[1mDEBUG [m+ local match_string
25501 [37m[1mDEBUG [m+ local replace_string
25502 [37m[1mDEBUG [m+ local target_file
25503 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25503 [37m[1mDEBUG [m+ set +o xtrace
25637 [37m[1mDEBUG [m+ set +o xtrace
25638 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
25646 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25648 [37m[1mDEBUG [m+ local legacy_args=mrf
25650 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25651 [37m[1mDEBUG [m+ local -A args_array
25652 [37m[1mDEBUG [m+ local match_string
25653 [37m[1mDEBUG [m+ local replace_string
25654 [37m[1mDEBUG [m+ local target_file
25654 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25655 [37m[1mDEBUG [m+ set +o xtrace
25800 [37m[1mDEBUG [m+ set +o xtrace
25801 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
25806 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25810 [37m[1mDEBUG [m+ local legacy_args=mrf
25812 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25813 [37m[1mDEBUG [m+ local -A args_array
25814 [37m[1mDEBUG [m+ local match_string
25815 [37m[1mDEBUG [m+ local replace_string
25816 [37m[1mDEBUG [m+ local target_file
25817 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25818 [37m[1mDEBUG [m+ set +o xtrace
25934 [37m[1mDEBUG [m+ set +o xtrace
25936 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
25940 [37m[1mDEBUG [m+ test -n /var/www/digiwords
25942 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25943 [37m[1mDEBUG [m+ local legacy_args=mrf
25944 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25946 [37m[1mDEBUG [m+ local -A args_array
25947 [37m[1mDEBUG [m+ local match_string
25948 [37m[1mDEBUG [m+ local replace_string
25949 [37m[1mDEBUG [m+ local target_file
25949 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25950 [37m[1mDEBUG [m+ set +o xtrace
26073 [37m[1mDEBUG [m+ set +o xtrace
26075 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
26078 [37m[1mDEBUG [m+ test -n 7.3
26081 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26082 [37m[1mDEBUG [m+ local legacy_args=mrf
26082 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
26083 [37m[1mDEBUG [m+ local -A args_array
26084 [37m[1mDEBUG [m+ local match_string
26084 [37m[1mDEBUG [m+ local replace_string
26085 [37m[1mDEBUG [m+ local target_file
26085 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26086 [37m[1mDEBUG [m+ set +o xtrace
26209 [37m[1mDEBUG [m+ set +o xtrace
26211 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/digiwords.conf
26217 [37m[1mDEBUG [m+ test -n ''
26219 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
26220 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/7.3/fpm/pool.d/digiwords.conf
26221 [37m[1mDEBUG [m++ sort --unique
26226 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
26230 [37m[1mDEBUG [m+ local uniques_vars
26231 [37m[1mDEBUG [m+ local delimit=@
26232 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26232 [37m[1mDEBUG [m+ local legacy_args=f
26233 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
26233 [37m[1mDEBUG [m+ local -A args_array
26234 [37m[1mDEBUG [m+ local file
26235 [37m[1mDEBUG [m+ local update_only
26236 [37m[1mDEBUG [m+ update_only=0
26236 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26237 [37m[1mDEBUG [m+ set +o xtrace
26260 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
26261 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
26261 [37m[1mDEBUG [m++ md5sum /etc/php/7.3/fpm/pool.d/digiwords.conf
26263 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
26266 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf --value=79ffd547aca07e585572ccb8bfba1ec1
26267 [37m[1mDEBUG [m+ local _globalapp=digiwords
26268 [37m[1mDEBUG [m+ local legacy_args=akv
26268 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
26269 [37m[1mDEBUG [m+ local -A args_array
26269 [37m[1mDEBUG [m+ local app
26270 [37m[1mDEBUG [m+ local key
26271 [37m[1mDEBUG [m+ local value
26272 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf --value=79ffd547aca07e585572ccb8bfba1ec1
26272 [37m[1mDEBUG [m+ set +o xtrace
26395 [37m[1mDEBUG [m+ app=digiwords
26398 [37m[1mDEBUG [m+ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
26400 [37m[1mDEBUG [m+ ynh_app_setting set digiwords checksum__etc_php_7.3_fpm_pool.d_digiwords.conf 79ffd547aca07e585572ccb8bfba1ec1
26400 [37m[1mDEBUG [m+ set +o xtrace
26485 [37m[1mDEBUG [m+ '[' -n '' ']'
26487 [37m[1mDEBUG [m+ unset backup_file_checksum
26488 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_6m7nhpu3/app_folder/conf/php-fpm.ini ']'
26488 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
26489 [37m[1mDEBUG [m+ php-fpm7.3 --test
26578 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
26579 [37m[1mDEBUG [m+ local legacy_args=nalpte
26579 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
26580 [37m[1mDEBUG [m+ local -A args_array
26582 [37m[1mDEBUG [m+ local service_name
26582 [37m[1mDEBUG [m+ local action
26583 [37m[1mDEBUG [m+ local line_match
26584 [37m[1mDEBUG [m+ local length
26585 [37m[1mDEBUG [m+ local log_path
26586 [37m[1mDEBUG [m+ local timeout
26586 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
26587 [37m[1mDEBUG [m+ set +o xtrace
26755 [37m[1mDEBUG [m+ service_name=php7.3-fpm
26756 [37m[1mDEBUG [m+ action=reload
26756 [37m[1mDEBUG [m+ line_match=
26757 [37m[1mDEBUG [m+ length=20
26757 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
26758 [37m[1mDEBUG [m+ timeout=300
26758 [37m[1mDEBUG [m+ '[' reload == stop ']'
26758 [37m[1mDEBUG [m+ [[ -n '' ]]
26759 [37m[1mDEBUG [m+ '[' reload == reload ']'
26759 [37m[1mDEBUG [m+ action=reload-or-restart
26760 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
26786 [37m[1mDEBUG [m+ [[ -n '' ]]
26788 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring permissions...' --weight=1
26789 [37m[1mDEBUG [m+ set +o xtrace
26931 [37m[1mDEBUG [m+ set +o xtrace
26962 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
26963 [37m[1mDEBUG [m+ set +x
26969 [37m[1mDEBUG [m+ echo '[##############++....] > Configuring permissions...'
26970 [37m[1mDEBUG [m+ set -o xtrace
26971 [37m[1mDEBUG [m+ '[' 1 -eq 1 ']'
26972 [37m[1mDEBUG [m+ ynh_permission_update --permission=main --add=visitors
26972 [37m[1mDEBUG [m+ local legacy_args=parltP
26973 [37m[1mDEBUG [m+ args_array=([p]=permission= [a]=add= [r]=remove= [l]=label= [t]=show_tile= [P]=protected=)
26973 [37m[1mDEBUG [m+ local -A args_array
26973 [37m[1mDEBUG [m+ local permission
26974 [37m[1mDEBUG [m+ local add
26976 [37m[1mDEBUG [m+ local remove
26977 [37m[1mDEBUG [m+ local label
26978 [37m[1mDEBUG [m+ local show_tile
26979 [37m[1mDEBUG [m+ local protected
26980 [37m[1mDEBUG [m+ ynh_handle_getopts_args --permission=main --add=visitors
26981 [37m[1mDEBUG [m+ set +o xtrace
26982 [36m[1mINFO [m[##############++....] > Configuring permissions...
27176 [37m[1mDEBUG [m+ add=visitors
27177 [37m[1mDEBUG [m+ remove=
27179 [37m[1mDEBUG [m+ label=
27182 [37m[1mDEBUG [m+ show_tile=
27185 [37m[1mDEBUG [m+ protected=
27187 [37m[1mDEBUG [m+ [[ -n visitors ]]
27189 [37m[1mDEBUG [m+ add=',add=['\''visitors'\'']'
27190 [37m[1mDEBUG [m+ [[ -n '' ]]
27191 [37m[1mDEBUG [m+ [[ -n '' ]]
27192 [37m[1mDEBUG [m+ [[ -n '' ]]
27193 [37m[1mDEBUG [m+ [[ -n '' ]]
27194 [37m[1mDEBUG [m+ yunohost tools shell -c 'from yunohost.permission import user_permission_update; user_permission_update('\''digiwords.main'\'' ,add=['\''visitors'\''] , force=True)'
27823 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reloading NGINX web server...' --weight=1
27825 [37m[1mDEBUG [m+ set +o xtrace
27949 [37m[1mDEBUG [m+ set +o xtrace
27976 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
27976 [37m[1mDEBUG [m+ set +x
27982 [37m[1mDEBUG [m+ echo '[################++..] > Reloading NGINX web server...'
27983 [36m[1mINFO [m[################++..] > Reloading NGINX web server...
27987 [37m[1mDEBUG [m+ set -o xtrace
27990 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
27991 [37m[1mDEBUG [m+ local legacy_args=nalpte
27992 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
27993 [37m[1mDEBUG [m+ local -A args_array
27994 [37m[1mDEBUG [m+ local service_name
27995 [37m[1mDEBUG [m+ local action
27996 [37m[1mDEBUG [m+ local line_match
27998 [37m[1mDEBUG [m+ local length
28003 [37m[1mDEBUG [m+ local log_path
28005 [37m[1mDEBUG [m+ local timeout
28007 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
28009 [37m[1mDEBUG [m+ set +o xtrace
28195 [37m[1mDEBUG [m+ service_name=nginx
28195 [37m[1mDEBUG [m+ action=reload
28197 [37m[1mDEBUG [m+ line_match=
28199 [37m[1mDEBUG [m+ length=20
28201 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
28202 [37m[1mDEBUG [m+ timeout=300
28202 [37m[1mDEBUG [m+ '[' reload == stop ']'
28203 [37m[1mDEBUG [m+ [[ -n '' ]]
28204 [37m[1mDEBUG [m+ '[' reload == reload ']'
28205 [37m[1mDEBUG [m+ action=reload-or-restart
28205 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
28298 [37m[1mDEBUG [m+ [[ -n '' ]]
28299 [37m[1mDEBUG [m+ ynh_script_progression '--message=Installation of digiwords completed' --last
28300 [37m[1mDEBUG [m+ set +o xtrace
28438 [37m[1mDEBUG [m+ set +o xtrace
28485 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
28487 [37m[1mDEBUG [m+ set +x
28490 [37m[1mDEBUG [m+ echo '[####################] > Installation of digiwords completed'
28492 [37m[1mDEBUG [m+ set -o xtrace
28494 [37m[1mDEBUG [m+ ynh_exit_properly
28496 [36m[1mINFO [m[####################] > Installation of digiwords completed
28497 [37m[1mDEBUG [m+ local exit_code=0
28498 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/download/
28501 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
28502 [37m[1mDEBUG [m+ exit 0
29506 [37m[1mDEBUG [mChecking that required services are up and running...
30254 [32m[1mSUCCESS [mInstallation completed
30259 [37m[1mDEBUG [mTo view the log of the operation 'Install the 'digiwords' app', use the command 'yunohost log show 20220531-092847-app_install-digiwords'
30275 [37m[1mDEBUG [maction [2576.1] executed in 30.033s
30276 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 31 seconds (09:29:16)
Installation successful.
Return code: 1
Working time: 0s (09:29:26)
[1m > Validating that the app digiwords can/can't be accessed with its URL...[0m
Running curl sub.domain.tld
Return code: 0
Working time: 0s (09:29:32)
Return code: 0
Working time: 0s (09:29:35)
HTTP code:
Test URL: sub.domain.tld
Real URL:
HTTP code:
Page title:
Page extract:
Running curl sub.domain.tld/
Return code: 0
Working time: 0s (09:29:41)
Digiwords by La DigitaleReturn code: 0
Working time: 0s (09:29:44)
HTTP code:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Test URL: sub.domain.tld/
Real URL:
HTTP code:
Page title:
Page extract:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Test URL: sub.domain.tld/
Real URL:
HTTP code:
Page title:
Page extract:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
[1m[32m--- SUCCESS ---[0m
Working time for this test: 5 minutes, 16 seconds (09:29:45)
[1m
============================================
[Test 3/9] Installation in a sub path
============================================
[0m
Loading snapshot snap0 ...
Running: yunohost app install --force /app_folder -a "domain=sub.domain.tld&path=/path admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&"
Running yunohost app install --force /app_folder -a "domain=sub.domain.tld&path=/path admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&"
265 [37m[1mDEBUG [minitializing base actions map parser for cli
268 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
273 [37m[1mDEBUG [mbuilding parser...
301 [37m[1mDEBUG [mbuilding parser took 0.028s
304 [37m[1mDEBUG [macquiring lock...
341 [37m[1mDEBUG [mlock has been acquired
379 [37m[1mDEBUG [mloading python module yunohost.app took 0.038s
379 [37m[1mDEBUG [mprocessing action [813.1]: yunohost.app.install with args={'app': '/app_folder', 'label': None, 'args': 'domain=sub.domain.tld&path=/path admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&', 'no_remove_on_failure': False, 'force': True}
438 [37m[1mDEBUG [mExtracting...
459 [37m[1mDEBUG [mDone
461 [37m[1mDEBUG [mChecking required packages for digiwords...
474 [37m[1mDEBUG [mChecking that required services are up and running...
1472 [37m[1mDEBUG [minitializing ldap interface
1618 [36m[1mINFO [mInstalling digiwords...
1674 [37m[1mDEBUG [mNothing to update in LDAP
1675 [37m[1mDEBUG [mPermission 'digiwords.main' updated
1684 [37m[1mDEBUG [mTo view the log of the operation 'Update URL related to permission 'digiwords'', use the command 'yunohost log show 20220531-093109-permission_url-digiwords'
1710 [37m[1mDEBUG [mThe permission database has been resynchronized
1726 [37m[1mDEBUG [mSSOwat configuration regenerated
1750 [37m[1mDEBUG [mPermission 'digiwords.main' created
1751 [37m[1mDEBUG [mTo view the log of the operation 'Create permission 'digiwords'', use the command 'yunohost log show 20220531-093109-permission_create-digiwords'
1796 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
1810 [37m[1mDEBUG [m+ source _common.sh
1811 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
1812 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
1813 [37m[1mDEBUG [m+++ set +o
1815 [37m[1mDEBUG [m+++ grep xtrace
1819 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
1821 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
1822 [37m[1mDEBUG [m++ set +x
1880 [37m[1mDEBUG [m+ ynh_abort_if_errors
1880 [37m[1mDEBUG [m+ set -o errexit
1881 [37m[1mDEBUG [m+ set -o nounset
1883 [37m[1mDEBUG [m+ trap ynh_exit_properly EXIT
1884 [37m[1mDEBUG [m+ domain=sub.domain.tld
1884 [37m[1mDEBUG [m+ path_url=/path
1884 [37m[1mDEBUG [m+ is_public=1
1885 [37m[1mDEBUG [m+ app=digiwords
1886 [37m[1mDEBUG [m+ ynh_script_progression '--message=Validating installation parameters...' --weight=1
1886 [37m[1mDEBUG [m+ set +o xtrace
1998 [37m[1mDEBUG [m+ set +o xtrace
2060 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2061 [37m[1mDEBUG [m+ set +x
2063 [37m[1mDEBUG [m+ echo '[++..................] > Validating installation parameters...'
2077 [37m[1mDEBUG [m+ set -o xtrace
2078 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
2078 [37m[1mDEBUG [m+ test '!' -e /var/www/digiwords
2080 [37m[1mDEBUG [m+ ynh_webpath_register --app=digiwords --domain=sub.domain.tld --path_url=/path
2081 [37m[1mDEBUG [m+ local legacy_args=adp
2081 [37m[1mDEBUG [m+ args_array=([a]=app= [d]=domain= [p]=path_url=)
2082 [37m[1mDEBUG [m+ local -A args_array
2082 [37m[1mDEBUG [m+ local app
2082 [37m[1mDEBUG [m+ local domain
2082 [37m[1mDEBUG [m+ local path_url
2082 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --domain=sub.domain.tld --path_url=/path
2082 [37m[1mDEBUG [m+ set +o xtrace
2083 [36m[1mINFO [m[++..................] > Validating installation parameters...
2230 [37m[1mDEBUG [m+ yunohost app register-url digiwords sub.domain.tld /path
2990 [37m[1mDEBUG [m+ ynh_script_progression '--message=Storing installation settings...' --weight=1
2990 [37m[1mDEBUG [m+ set +o xtrace
3120 [37m[1mDEBUG [m+ set +o xtrace
3145 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3146 [37m[1mDEBUG [m+ set +x
3149 [37m[1mDEBUG [m+ echo '[##++................] > Storing installation settings...'
3150 [37m[1mDEBUG [m+ set -o xtrace
3150 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=domain --value=sub.domain.tld
3150 [37m[1mDEBUG [m+ local _globalapp=digiwords
3150 [37m[1mDEBUG [m+ local legacy_args=akv
3151 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
3151 [37m[1mDEBUG [m+ local -A args_array
3153 [37m[1mDEBUG [m+ local app
3154 [37m[1mDEBUG [m+ local key
3155 [37m[1mDEBUG [m+ local value
3157 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=domain --value=sub.domain.tld
3158 [37m[1mDEBUG [m+ set +o xtrace
3158 [36m[1mINFO [m[##++................] > Storing installation settings...
3329 [37m[1mDEBUG [m+ app=digiwords
3330 [37m[1mDEBUG [m+ [[ domain =~ (unprotected|protected|skipped)_ ]]
3332 [37m[1mDEBUG [m+ ynh_app_setting set digiwords domain sub.domain.tld
3332 [37m[1mDEBUG [m+ set +o xtrace
3427 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=path --value=/path
3428 [37m[1mDEBUG [m+ local _globalapp=digiwords
3428 [37m[1mDEBUG [m+ local legacy_args=akv
3429 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
3430 [37m[1mDEBUG [m+ local -A args_array
3431 [37m[1mDEBUG [m+ local app
3431 [37m[1mDEBUG [m+ local key
3433 [37m[1mDEBUG [m+ local value
3434 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=path --value=/path
3434 [37m[1mDEBUG [m+ set +o xtrace
3545 [37m[1mDEBUG [m+ app=digiwords
3546 [37m[1mDEBUG [m+ [[ path =~ (unprotected|protected|skipped)_ ]]
3548 [37m[1mDEBUG [m+ ynh_app_setting set digiwords path /path
3550 [37m[1mDEBUG [m+ set +o xtrace
3630 [37m[1mDEBUG [m+ ynh_script_progression '--message=Installing dependencies...' --weight=1
3630 [37m[1mDEBUG [m+ set +o xtrace
3747 [37m[1mDEBUG [m+ set +o xtrace
3770 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3771 [37m[1mDEBUG [m+ set +x
3775 [36m[1mINFO [m[####++..............] > Installing dependencies...
3776 [37m[1mDEBUG [m+ echo '[####++..............] > Installing dependencies...'
3777 [37m[1mDEBUG [m+ set -o xtrace
3778 [37m[1mDEBUG [m+ ynh_install_app_dependencies php-sqlite3
3778 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3782 [37m[1mDEBUG [m++ echo php-sqlite3
3783 [37m[1mDEBUG [m++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
3790 [37m[1mDEBUG [m+ dependencies=php-sqlite3
3790 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3791 [37m[1mDEBUG [m+ local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/manifest.json
3792 [37m[1mDEBUG [m++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/manifest.json
3805 [37m[1mDEBUG [m+ local version=0.3.3~ynh1
3806 [37m[1mDEBUG [m+ '[' -z 0.3.3~ynh1 ']'
3806 [37m[1mDEBUG [m+ '[' 0.3.3~ynh1 == null ']'
3806 [37m[1mDEBUG [m+ local dep_app=digiwords
3807 [37m[1mDEBUG [m+ [[ php-sqlite3 =~ [<=>] ]]
3810 [37m[1mDEBUG [m++ echo php-sqlite3
3811 [37m[1mDEBUG [m++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
3813 [37m[1mDEBUG [m++ sort -u
3822 [37m[1mDEBUG [m+ local specific_php_version=
3823 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
3823 [37m[1mDEBUG [m+ [[ -n '' ]]
3823 [37m[1mDEBUG [m+ [[ true == \t\r\u\e ]]
3824 [37m[1mDEBUG [m+ YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
3824 [37m[1mDEBUG [m+ grep --quiet php
3827 [37m[1mDEBUG [m+ dpkg --list
3828 [37m[1mDEBUG [m+ grep --quiet --invert-match 7.0.33-0+deb9
3829 [37m[1mDEBUG [m+ grep php7.0
3855 [37m[1mDEBUG [m+ cat
3859 [37m[1mDEBUG [m+ ynh_package_install_from_equivs /tmp/digiwords-ynh-deps.control
3860 [37m[1mDEBUG [m+ local controlfile=/tmp/digiwords-ynh-deps.control
3862 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
3863 [37m[1mDEBUG [m++ grep '^Package: ' /tmp/digiwords-ynh-deps.control
3872 [37m[1mDEBUG [m+ local pkgname=digiwords-ynh-deps
3874 [37m[1mDEBUG [m++ grep '^Version: ' /tmp/digiwords-ynh-deps.control
3876 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
3882 [37m[1mDEBUG [m+ local pkgversion=0.3.3~ynh1
3883 [37m[1mDEBUG [m+ [[ -z digiwords-ynh-deps ]]
3883 [37m[1mDEBUG [m+ [[ -z 0.3.3~ynh1 ]]
3884 [37m[1mDEBUG [m+ ynh_package_update
3884 [37m[1mDEBUG [m+ ynh_apt update
3884 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
3885 [37m[1mDEBUG [m+ local try
3885 [37m[1mDEBUG [m+ set +o xtrace
5303 [37m[1mDEBUG [m+ return 0
5304 [37m[1mDEBUG [m+ LC_ALL=C
5305 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
5306 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
5432 [37m[1mDEBUG [mHit:1 http://deb.debian.org/debian buster InRelease
5433 [37m[1mDEBUG [mGet:2 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
5449 [37m[1mDEBUG [mGet:3 http://deb.debian.org/debian-security buster/updates InRelease [65.4 kB]
5470 [37m[1mDEBUG [mHit:4 http://forge.yunohost.org/debian buster InRelease
5918 [37m[1mDEBUG [mGet:5 http://deb.debian.org/debian buster-updates/main amd64 Packages.diff/Index [11.1 kB]
5933 [37m[1mDEBUG [mGet:6 http://deb.debian.org/debian buster-updates/main amd64 Packages 2022-05-28-1407.13.pdiff [1094 B]
5947 [37m[1mDEBUG [mGet:6 http://deb.debian.org/debian buster-updates/main amd64 Packages 2022-05-28-1407.13.pdiff [1094 B]
6127 [37m[1mDEBUG [mGet:7 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [328 kB]
6174 [37m[1mDEBUG [mGet:8 http://deb.debian.org/debian-security buster/updates/main Translation-en [177 kB]
6326 [37m[1mDEBUG [mFetched 635 kB in 1s (684 kB/s)
7685 [37m[1mDEBUG [mReading package lists...
7747 [37m[1mDEBUG [m++ mktemp --directory
7748 [37m[1mDEBUG [m+ local TMPDIR=/tmp/tmp.SV7JXlOsWl
7749 [37m[1mDEBUG [m+ echo 10
7750 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
7750 [37m[1mDEBUG [m+ local try
7751 [37m[1mDEBUG [m+ set +o xtrace
9157 [37m[1mDEBUG [m+ return 0
9159 [37m[1mDEBUG [m+ cp /tmp/digiwords-ynh-deps.control /tmp/tmp.SV7JXlOsWl/control
9168 [37m[1mDEBUG [m+ cd /tmp/tmp.SV7JXlOsWl
9171 [37m[1mDEBUG [m+ LC_ALL=C
9173 [37m[1mDEBUG [m+ equivs-build ./control
11223 [37m[1mDEBUG [m+ tee ./dpkg_log
11225 [37m[1mDEBUG [m+ LC_ALL=C
11227 [37m[1mDEBUG [m+ dpkg --force-depends --install ./digiwords-ynh-deps_0.3.3~ynh1_all.deb
11293 [37m[1mDEBUG [mSelecting previously unselected package digiwords-ynh-deps.
11339 [37m[1mDEBUG [m(Reading database ... 42385 files and directories currently installed.)
11344 [37m[1mDEBUG [mPreparing to unpack .../digiwords-ynh-deps_0.3.3~ynh1_all.deb ...
11356 [37m[1mDEBUG [mUnpacking digiwords-ynh-deps (0.3.3~ynh1) ...
11438 [37m[1mDEBUG [mdpkg: digiwords-ynh-deps: dependency problems, but configuring anyway as you requested:
11439 [37m[1mDEBUG [m digiwords-ynh-deps depends on php-sqlite3; however:
11440 [37m[1mDEBUG [m Package php-sqlite3 is not installed.
11441 [37m[1mDEBUG [m
11443 [37m[1mDEBUG [mSetting up digiwords-ynh-deps (0.3.3~ynh1) ...
11517 [37m[1mDEBUG [m+ ynh_package_install --fix-broken
11518 [37m[1mDEBUG [m+ ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
11520 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
11524 [37m[1mDEBUG [m+ local try
11525 [37m[1mDEBUG [m+ set +o xtrace
12959 [37m[1mDEBUG [m+ return 0
12961 [37m[1mDEBUG [m+ LC_ALL=C
12962 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
12963 [37m[1mDEBUG [m+ 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
13165 [37m[1mDEBUG [mReading package lists...
13546 [37m[1mDEBUG [mBuilding dependency tree...
13548 [37m[1mDEBUG [mReading state information...
13776 [37m[1mDEBUG [mCorrecting dependencies... Done
14236 [37m[1mDEBUG [mThe following additional packages will be installed:
14238 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
14286 [37m[1mDEBUG [mThe following NEW packages will be installed:
14288 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
14352 [37m[1mDEBUG [m0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
14358 [37m[1mDEBUG [mNeed to get 32.2 kB of archives.
14362 [37m[1mDEBUG [mAfter this operation, 139 kB of additional disk space will be used.
14363 [37m[1mDEBUG [mGet:1 http://deb.debian.org/debian buster/main amd64 php7.3-sqlite3 amd64 7.3.31-1~deb10u1 [26.2 kB]
14366 [37m[1mDEBUG [mGet:2 http://deb.debian.org/debian buster/main amd64 php-sqlite3 all 2:7.3+69 [5996 B]
14898 [37m[1mDEBUG [mFetched 32.2 kB in 0s (688 kB/s)
14992 [37m[1mDEBUG [mSelecting previously unselected package php7.3-sqlite3.
15036 [37m[1mDEBUG [m(Reading database ... 42389 files and directories currently installed.)
15042 [37m[1mDEBUG [mPreparing to unpack .../php7.3-sqlite3_7.3.31-1~deb10u1_amd64.deb ...
15072 [37m[1mDEBUG [mUnpacking php7.3-sqlite3 (7.3.31-1~deb10u1) ...
15227 [37m[1mDEBUG [mSelecting previously unselected package php-sqlite3.
15238 [37m[1mDEBUG [mPreparing to unpack .../php-sqlite3_2%3a7.3+69_all.deb ...
15256 [37m[1mDEBUG [mUnpacking php-sqlite3 (2:7.3+69) ...
15405 [37m[1mDEBUG [mSetting up php7.3-sqlite3 (7.3.31-1~deb10u1) ...
15436 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
15682 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
15785 [37m[1mDEBUG [m
15787 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/sqlite3.ini with new version
15909 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16174 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16409 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16521 [37m[1mDEBUG [m
16525 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/pdo_sqlite.ini with new version
16637 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16889 [37m[1mDEBUG [mSetting up php-sqlite3 (2:7.3+69) ...
16928 [37m[1mDEBUG [mProcessing triggers for php7.3-fpm (7.3.31-1~deb10u1) ...
17709 [37m[1mDEBUG [m+ [[ -n /tmp/tmp.SV7JXlOsWl ]]
17709 [37m[1mDEBUG [m+ rm --recursive --force /tmp/tmp.SV7JXlOsWl
17710 [37m[1mDEBUG [m+ ynh_package_is_installed digiwords-ynh-deps
17714 [37m[1mDEBUG [m+ local legacy_args=p
17715 [37m[1mDEBUG [m+ args_array=([p]=package=)
17715 [37m[1mDEBUG [m+ local -A args_array
17716 [37m[1mDEBUG [m+ local package
17717 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords-ynh-deps
17718 [37m[1mDEBUG [m+ set +o xtrace
17728 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
17728 [37m[1mDEBUG [m+ set +x
17732 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
17732 [37m[1mDEBUG [m+ local try
17738 [37m[1mDEBUG [m+ set +o xtrace
19181 [37m[1mDEBUG [m+ return 0
19183 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
19185 [37m[1mDEBUG [m+ grep --count 'ok installed'
19210 [37m[1mDEBUG [m+ rm /tmp/digiwords-ynh-deps.control
19216 [37m[1mDEBUG [m+ [[ -n '' ]]
19225 [37m[1mDEBUG [m+ grep --quiet php
19229 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
19230 [37m[1mDEBUG [m+ local _globalapp=digiwords
19233 [37m[1mDEBUG [m+ local legacy_args=akv
19235 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
19237 [37m[1mDEBUG [m+ local -A args_array
19239 [37m[1mDEBUG [m+ local app
19239 [37m[1mDEBUG [m+ local key
19240 [37m[1mDEBUG [m+ local value
19241 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
19242 [37m[1mDEBUG [m+ set +o xtrace
19378 [37m[1mDEBUG [m+ app=digiwords
19383 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
19393 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
19395 [37m[1mDEBUG [m+ set +o xtrace
19503 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring system user...' --weight=1
19503 [37m[1mDEBUG [m+ set +o xtrace
19627 [37m[1mDEBUG [m+ set +o xtrace
19657 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
19658 [37m[1mDEBUG [m+ set +x
19666 [37m[1mDEBUG [m+ echo '[######++............] > Configuring system user...'
19667 [36m[1mINFO [m[######++............] > Configuring system user...
19671 [37m[1mDEBUG [m+ set -o xtrace
19673 [37m[1mDEBUG [m+ ynh_system_user_create --username=digiwords --home_dir=/var/www/digiwords
19674 [37m[1mDEBUG [m+ local legacy_args=uhs
19677 [37m[1mDEBUG [m+ args_array=([u]=username= [h]=home_dir= [s]=use_shell [g]=groups=)
19678 [37m[1mDEBUG [m+ local -A args_array
19680 [37m[1mDEBUG [m+ local username
19681 [37m[1mDEBUG [m+ local home_dir
19683 [37m[1mDEBUG [m+ local use_shell
19684 [37m[1mDEBUG [m+ local groups
19685 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords --home_dir=/var/www/digiwords
19686 [37m[1mDEBUG [m+ set +o xtrace
19837 [37m[1mDEBUG [m+ use_shell=0
19840 [37m[1mDEBUG [m+ home_dir=/var/www/digiwords
19842 [37m[1mDEBUG [m+ groups=
19843 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
19845 [37m[1mDEBUG [m+ local legacy_args=u
19847 [37m[1mDEBUG [m+ args_array=([u]=username=)
19847 [37m[1mDEBUG [m+ local -A args_array
19848 [37m[1mDEBUG [m+ local username
19848 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
19848 [37m[1mDEBUG [m+ set +o xtrace
19873 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
19873 [37m[1mDEBUG [m+ set +x
19874 [37m[1mDEBUG [m+ getent passwd digiwords
19885 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
19886 [37m[1mDEBUG [m+ local 'user_home_dir=--home-dir /var/www/digiwords'
19887 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
19888 [37m[1mDEBUG [m+ local 'shell=--shell /usr/sbin/nologin'
19890 [37m[1mDEBUG [m+ useradd --home-dir /var/www/digiwords --system --user-group digiwords --shell /usr/sbin/nologin
20025 [37m[1mDEBUG [m+ local group
20026 [37m[1mDEBUG [m+ ynh_script_progression '--message=Setting up source files...' --weight=1
20028 [37m[1mDEBUG [m+ set +o xtrace
20140 [37m[1mDEBUG [m+ set +o xtrace
20164 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
20165 [37m[1mDEBUG [m+ set +x
20170 [37m[1mDEBUG [m+ echo '[########++..........] > Setting up source files...'
20172 [37m[1mDEBUG [m+ set -o xtrace
20174 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=final_path --value=/var/www/digiwords
20175 [37m[1mDEBUG [m+ local _globalapp=digiwords
20177 [37m[1mDEBUG [m+ local legacy_args=akv
20179 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
20180 [37m[1mDEBUG [m+ local -A args_array
20181 [37m[1mDEBUG [m+ local app
20182 [37m[1mDEBUG [m+ local key
20184 [37m[1mDEBUG [m+ local value
20186 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=final_path --value=/var/www/digiwords
20187 [37m[1mDEBUG [m+ set +o xtrace
20188 [36m[1mINFO [m[########++..........] > Setting up source files...
20324 [37m[1mDEBUG [m+ app=digiwords
20325 [37m[1mDEBUG [m+ [[ final_path =~ (unprotected|protected|skipped)_ ]]
20327 [37m[1mDEBUG [m+ ynh_app_setting set digiwords final_path /var/www/digiwords
20328 [37m[1mDEBUG [m+ set +o xtrace
20428 [37m[1mDEBUG [m+ ynh_setup_source --dest_dir=/var/www/digiwords
20430 [37m[1mDEBUG [m+ local legacy_args=dsk
20432 [37m[1mDEBUG [m+ args_array=([d]=dest_dir= [s]=source_id= [k]=keep=)
20434 [37m[1mDEBUG [m+ local -A args_array
20436 [37m[1mDEBUG [m+ local dest_dir
20438 [37m[1mDEBUG [m+ local source_id
20439 [37m[1mDEBUG [m+ local keep
20440 [37m[1mDEBUG [m+ ynh_handle_getopts_args --dest_dir=/var/www/digiwords
20441 [37m[1mDEBUG [m+ set +o xtrace
20476 [37m[1mDEBUG [m+ source_id=app
20478 [37m[1mDEBUG [m+ keep=
20480 [37m[1mDEBUG [m+ local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/app.src
20483 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20489 [37m[1mDEBUG [m++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/app.src
20508 [37m[1mDEBUG [m+ local src_url=https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip
20508 [37m[1mDEBUG [m++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/app.src
20509 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20513 [37m[1mDEBUG [m+ local src_sum=78564c2aa18e0702972994808843587dde876813dfddc06905924a4354a54156
20515 [37m[1mDEBUG [m++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/app.src
20519 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20521 [37m[1mDEBUG [m+ local src_sumprg=sha256sum
20531 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20531 [37m[1mDEBUG [m++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/app.src
20536 [37m[1mDEBUG [m+ local src_format=zip
20539 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20545 [37m[1mDEBUG [m++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/app.src
20545 [37m[1mDEBUG [m+ local src_extract=true
20545 [37m[1mDEBUG [m++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/app.src
20547 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20551 [37m[1mDEBUG [m+ local src_in_subdir=true
20553 [37m[1mDEBUG [m++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/app.src
20557 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20560 [37m[1mDEBUG [m+ local src_filename=
20560 [37m[1mDEBUG [m+ src_sumprg=sha256sum
20561 [37m[1mDEBUG [m+ src_in_subdir=true
20561 [37m[1mDEBUG [m+ src_format=zip
20567 [37m[1mDEBUG [m++ echo zip
20568 [37m[1mDEBUG [m++ tr '[:upper:]' '[:lower:]'
20573 [37m[1mDEBUG [m+ src_format=zip
20574 [37m[1mDEBUG [m+ src_extract=true
20574 [37m[1mDEBUG [m+ '[' '' = '' ']'
20574 [37m[1mDEBUG [m+ src_filename=app.zip
20574 [37m[1mDEBUG [m+ local local_src=/opt/yunohost-apps-src/digiwords/app.zip
20575 [37m[1mDEBUG [m+ mkdir -p /var/cache/yunohost/download/digiwords/
20577 [37m[1mDEBUG [m+ src_filename=/var/cache/yunohost/download/digiwords/app.zip
20578 [37m[1mDEBUG [m+ test -e /opt/yunohost-apps-src/digiwords/app.zip
20580 [37m[1mDEBUG [m+ '[' -n https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip ']'
20580 [37m[1mDEBUG [m+ local out
20581 [37m[1mDEBUG [m++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/digiwords/app.zip https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip
20997 [37m[1mDEBUG [m+ out='2022-05-31 09:31:28 URL:https://objects.githubusercontent.com/github-production-release-asset-2e65be/459932950/34f63a52-4624-4bf0-8fd9-bfd6df81b61b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220531%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220531T093128Z&X-Amz-Expires=300&X-Amz-Signature=b5073b1c416d556b5f0ce413697c4ca7735d344e30bff6b2ae739df2902090f4&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=459932950&response-content-disposition=attachment%3B%20filename%3Ddigiwords-0.3.3.zip&response-content-type=application%2Foctet-stream [3002924/3002924] -> "/var/cache/yunohost/download/digiwords/app.zip" [1]'
20997 [37m[1mDEBUG [m+ echo '78564c2aa18e0702972994808843587dde876813dfddc06905924a4354a54156 /var/cache/yunohost/download/digiwords/app.zip'
20998 [37m[1mDEBUG [m+ sha256sum --check --status
21027 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
21030 [37m[1mDEBUG [m+ '[' -n '' ']'
21030 [37m[1mDEBUG [m+ mkdir --parents /var/www/digiwords
21034 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
21035 [37m[1mDEBUG [m+ '[' /var/www/digiwords == /var/www/digiwords ']'
21035 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /var/www/digiwords
21036 [37m[1mDEBUG [m+ local target=/var/www/digiwords
21038 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/manifest.json
21039 [37m[1mDEBUG [m++ tr -d '>= '
21045 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
21046 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
21046 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
21047 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
21052 [37m[1mDEBUG [m+ chmod o-rwx /var/www/digiwords
21054 [37m[1mDEBUG [m+ chmod g-w /var/www/digiwords
21056 [37m[1mDEBUG [m+ chown -R root:root /var/www/digiwords
21069 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
21072 [37m[1mDEBUG [m+ local legacy_args=u
21075 [37m[1mDEBUG [m+ args_array=([u]=username=)
21076 [37m[1mDEBUG [m+ local -A args_array
21076 [37m[1mDEBUG [m+ local username
21077 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
21078 [37m[1mDEBUG [m+ set +o xtrace
21094 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
21095 [37m[1mDEBUG [m+ set +x
21102 [37m[1mDEBUG [m+ getent passwd digiwords
21113 [37m[1mDEBUG [m+ chown digiwords:digiwords /var/www/digiwords
21126 [37m[1mDEBUG [m+ echo /var/www/digiwords
21127 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
21131 [37m[1mDEBUG [m+ true
21132 [37m[1mDEBUG [m+ '[' zip = zip ']'
21134 [37m[1mDEBUG [m+ true
21136 [37m[1mDEBUG [m++ mktemp --directory
21137 [37m[1mDEBUG [m+ local tmp_dir=/tmp/tmp.kTKrZ2G5Cr
21139 [37m[1mDEBUG [m+ unzip -quo /var/cache/yunohost/download/digiwords/app.zip -d /tmp/tmp.kTKrZ2G5Cr
21190 [37m[1mDEBUG [m+ cp --archive /tmp/tmp.kTKrZ2G5Cr/digiwords/. /var/www/digiwords
21206 [37m[1mDEBUG [m+ ynh_secure_remove --file=/tmp/tmp.kTKrZ2G5Cr
21206 [37m[1mDEBUG [m+ local legacy_args=f
21207 [37m[1mDEBUG [m+ args_array=([f]=file=)
21208 [37m[1mDEBUG [m+ local -A args_array
21208 [37m[1mDEBUG [m+ local file
21209 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/tmp/tmp.kTKrZ2G5Cr
21209 [37m[1mDEBUG [m+ set +o xtrace
21230 [37m[1mDEBUG [m+ set +o xtrace
21256 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/cache/yunohost/download/digiwords/app.zip
21257 [37m[1mDEBUG [m+ local legacy_args=f
21258 [37m[1mDEBUG [m+ args_array=([f]=file=)
21261 [37m[1mDEBUG [m+ local -A args_array
21261 [37m[1mDEBUG [m+ local file
21262 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/cache/yunohost/download/digiwords/app.zip
21263 [37m[1mDEBUG [m+ set +o xtrace
21282 [37m[1mDEBUG [m+ set +o xtrace
21303 [37m[1mDEBUG [m+ '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/sources/patches/ ']'
21304 [37m[1mDEBUG [m+ test -e /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/sources/extra_files/app
21304 [37m[1mDEBUG [m+ '[' -n '' ']'
21304 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
21306 [37m[1mDEBUG [m+ chmod 750 /var/www/digiwords
21308 [37m[1mDEBUG [m+ chmod -R o-rwx /var/www/digiwords
21313 [37m[1mDEBUG [m+ chown -R digiwords:www-data /var/www/digiwords
21323 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring NGINX web server...' --weight=1
21324 [37m[1mDEBUG [m+ set +o xtrace
21473 [37m[1mDEBUG [m+ set +o xtrace
21509 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
21510 [37m[1mDEBUG [m+ set +x
21516 [36m[1mINFO [m[##########++........] > Configuring NGINX web server...
21517 [37m[1mDEBUG [m+ echo '[##########++........] > Configuring NGINX web server...'
21519 [37m[1mDEBUG [m+ set -o xtrace
21519 [37m[1mDEBUG [m+ ynh_add_nginx_config
21520 [37m[1mDEBUG [m+ local finalnginxconf=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21520 [37m[1mDEBUG [m+ '[' /path '!=' / ']'
21522 [37m[1mDEBUG [m+ ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/nginx.conf
21523 [37m[1mDEBUG [m+ local legacy_args=mrf
21523 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
21524 [37m[1mDEBUG [m+ local -A args_array
21526 [37m[1mDEBUG [m+ local match_string
21527 [37m[1mDEBUG [m+ local replace_string
21528 [37m[1mDEBUG [m+ local target_file
21530 [37m[1mDEBUG [m+ ynh_handle_getopts_args '--match_string=^#sub_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/nginx.conf
21530 [37m[1mDEBUG [m+ set +o xtrace
21673 [37m[1mDEBUG [m+ set +o xtrace
21674 [37m[1mDEBUG [m+ sed --in-place 's@^#sub_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/nginx.conf
21683 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21684 [37m[1mDEBUG [m+ local legacy_args=tdv
21685 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
21686 [37m[1mDEBUG [m+ local -A args_array
21686 [37m[1mDEBUG [m+ local template
21687 [37m[1mDEBUG [m+ local destination
21687 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21688 [37m[1mDEBUG [m+ set +o xtrace
21773 [37m[1mDEBUG [m+ local template_path
21775 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/nginx.conf ']'
21776 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/nginx.conf ']'
21778 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/nginx.conf
21779 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21780 [37m[1mDEBUG [m+ local legacy_args=f
21781 [37m[1mDEBUG [m+ args_array=([f]=file=)
21782 [37m[1mDEBUG [m+ local -A args_array
21783 [37m[1mDEBUG [m+ local file
21784 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21785 [37m[1mDEBUG [m+ set +o xtrace
21806 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
21812 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
21815 [37m[1mDEBUG [m++ local _globalapp=digiwords
21818 [37m[1mDEBUG [m++ local legacy_args=ak
21820 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
21821 [37m[1mDEBUG [m++ local -A args_array
21822 [37m[1mDEBUG [m++ local app
21823 [37m[1mDEBUG [m++ local key
21823 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
21824 [37m[1mDEBUG [m++ set +o xtrace
21877 [37m[1mDEBUG [m++ app=digiwords
21878 [37m[1mDEBUG [m++ [[ checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
21880 [37m[1mDEBUG [m++ ynh_app_setting get digiwords checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
21881 [37m[1mDEBUG [m++ set +o xtrace
21953 [37m[1mDEBUG [m+ local checksum_value=
21954 [37m[1mDEBUG [m+ backup_file_checksum=
21958 [37m[1mDEBUG [m+ '[' -n '' ']'
21959 [37m[1mDEBUG [m+ touch /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21960 [37m[1mDEBUG [m+ chown root:root /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21963 [37m[1mDEBUG [m+ chmod 640 /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21964 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/nginx.conf /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21967 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21968 [37m[1mDEBUG [m+ local target=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21970 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/manifest.json
21973 [37m[1mDEBUG [m++ tr -d '>= '
21979 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
21981 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
21982 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
21983 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
21986 [37m[1mDEBUG [m+ chmod o-rwx /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21989 [37m[1mDEBUG [m+ chmod g-w /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21990 [37m[1mDEBUG [m+ chown -R root:root /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21995 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
21997 [37m[1mDEBUG [m+ local legacy_args=u
21998 [37m[1mDEBUG [m+ args_array=([u]=username=)
22000 [37m[1mDEBUG [m+ local -A args_array
22002 [37m[1mDEBUG [m+ local username
22006 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
22009 [37m[1mDEBUG [m+ set +o xtrace
22020 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
22021 [37m[1mDEBUG [m+ set +x
22023 [37m[1mDEBUG [m+ getent passwd digiwords
22026 [37m[1mDEBUG [m+ chown digiwords:digiwords /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22029 [37m[1mDEBUG [m+ echo /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22031 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
22035 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22036 [37m[1mDEBUG [m+ local legacy_args=f
22037 [37m[1mDEBUG [m+ args_array=([f]=file=)
22038 [37m[1mDEBUG [m+ local -A args_array
22040 [37m[1mDEBUG [m+ local file
22040 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22041 [37m[1mDEBUG [m+ set +o xtrace
22059 [37m[1mDEBUG [m+ test -n /path
22060 [37m[1mDEBUG [m+ local path_url_slash_less=/path
22061 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/path/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22062 [37m[1mDEBUG [m+ local legacy_args=mrf
22063 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22064 [37m[1mDEBUG [m+ local -A args_array
22067 [37m[1mDEBUG [m+ local match_string
22068 [37m[1mDEBUG [m+ local replace_string
22069 [37m[1mDEBUG [m+ local target_file
22070 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/path/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22071 [37m[1mDEBUG [m+ set +o xtrace
22212 [37m[1mDEBUG [m+ set +o xtrace
22215 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/path/@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22220 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/path --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22223 [37m[1mDEBUG [m+ local legacy_args=mrf
22226 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22227 [37m[1mDEBUG [m+ local -A args_array
22228 [37m[1mDEBUG [m+ local match_string
22229 [37m[1mDEBUG [m+ local replace_string
22230 [37m[1mDEBUG [m+ local target_file
22230 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/path --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22231 [37m[1mDEBUG [m+ set +o xtrace
22375 [37m[1mDEBUG [m+ set +o xtrace
22376 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/path@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22379 [37m[1mDEBUG [m+ test -n digiwords
22381 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22382 [37m[1mDEBUG [m+ local legacy_args=mrf
22383 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22384 [37m[1mDEBUG [m+ local -A args_array
22385 [37m[1mDEBUG [m+ local match_string
22387 [37m[1mDEBUG [m+ local replace_string
22388 [37m[1mDEBUG [m+ local target_file
22388 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22389 [37m[1mDEBUG [m+ set +o xtrace
22515 [37m[1mDEBUG [m+ set +o xtrace
22516 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22525 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22526 [37m[1mDEBUG [m+ local legacy_args=mrf
22527 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22528 [37m[1mDEBUG [m+ local -A args_array
22529 [37m[1mDEBUG [m+ local match_string
22530 [37m[1mDEBUG [m+ local replace_string
22531 [37m[1mDEBUG [m+ local target_file
22532 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22533 [37m[1mDEBUG [m+ set +o xtrace
22675 [37m[1mDEBUG [m+ set +o xtrace
22676 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22683 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22685 [37m[1mDEBUG [m+ local legacy_args=mrf
22687 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22688 [37m[1mDEBUG [m+ local -A args_array
22690 [37m[1mDEBUG [m+ local match_string
22695 [37m[1mDEBUG [m+ local replace_string
22697 [37m[1mDEBUG [m+ local target_file
22699 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22700 [37m[1mDEBUG [m+ set +o xtrace
22856 [37m[1mDEBUG [m+ set +o xtrace
22859 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22862 [37m[1mDEBUG [m+ test -n /var/www/digiwords
22865 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22867 [37m[1mDEBUG [m+ local legacy_args=mrf
22868 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22868 [37m[1mDEBUG [m+ local -A args_array
22869 [37m[1mDEBUG [m+ local match_string
22869 [37m[1mDEBUG [m+ local replace_string
22870 [37m[1mDEBUG [m+ local target_file
22870 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22871 [37m[1mDEBUG [m+ set +o xtrace
22991 [37m[1mDEBUG [m+ set +o xtrace
22992 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22995 [37m[1mDEBUG [m+ test -n 7.3
22996 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22997 [37m[1mDEBUG [m+ local legacy_args=mrf
22999 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
23001 [37m[1mDEBUG [m+ local -A args_array
23003 [37m[1mDEBUG [m+ local match_string
23004 [37m[1mDEBUG [m+ local replace_string
23005 [37m[1mDEBUG [m+ local target_file
23007 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23009 [37m[1mDEBUG [m+ set +o xtrace
23148 [37m[1mDEBUG [m+ set +o xtrace
23150 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23153 [37m[1mDEBUG [m+ test -n ''
23154 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
23161 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
23162 [37m[1mDEBUG [m++ sort --unique
23164 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23175 [37m[1mDEBUG [m+ local uniques_vars
23177 [37m[1mDEBUG [m+ local delimit=@
23178 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23179 [37m[1mDEBUG [m+ local legacy_args=f
23181 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
23182 [37m[1mDEBUG [m+ local -A args_array
23183 [37m[1mDEBUG [m+ local file
23184 [37m[1mDEBUG [m+ local update_only
23185 [37m[1mDEBUG [m+ update_only=0
23186 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23187 [37m[1mDEBUG [m+ set +o xtrace
23223 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
23227 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
23234 [37m[1mDEBUG [m++ md5sum /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23236 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
23242 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf --value=2d274b9377dd09899018d334213d0b11
23244 [37m[1mDEBUG [m+ local _globalapp=digiwords
23246 [37m[1mDEBUG [m+ local legacy_args=akv
23248 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
23251 [37m[1mDEBUG [m+ local -A args_array
23253 [37m[1mDEBUG [m+ local app
23254 [37m[1mDEBUG [m+ local key
23255 [37m[1mDEBUG [m+ local value
23256 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf --value=2d274b9377dd09899018d334213d0b11
23258 [37m[1mDEBUG [m+ set +o xtrace
23382 [37m[1mDEBUG [m+ app=digiwords
23386 [37m[1mDEBUG [m+ [[ checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
23389 [37m[1mDEBUG [m+ ynh_app_setting set digiwords checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf 2d274b9377dd09899018d334213d0b11
23391 [37m[1mDEBUG [m+ set +o xtrace
23455 [37m[1mDEBUG [m+ '[' -n '' ']'
23458 [37m[1mDEBUG [m+ unset backup_file_checksum
23461 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
23462 [37m[1mDEBUG [m+ local legacy_args=nalpte
23463 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
23463 [37m[1mDEBUG [m+ local -A args_array
23464 [37m[1mDEBUG [m+ local service_name
23465 [37m[1mDEBUG [m+ local action
23467 [37m[1mDEBUG [m+ local line_match
23468 [37m[1mDEBUG [m+ local length
23469 [37m[1mDEBUG [m+ local log_path
23469 [37m[1mDEBUG [m+ local timeout
23470 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
23472 [37m[1mDEBUG [m+ set +o xtrace
23648 [37m[1mDEBUG [m+ service_name=nginx
23650 [37m[1mDEBUG [m+ action=reload
23653 [37m[1mDEBUG [m+ line_match=
23655 [37m[1mDEBUG [m+ length=20
23656 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
23657 [37m[1mDEBUG [m+ timeout=300
23659 [37m[1mDEBUG [m+ '[' reload == stop ']'
23661 [37m[1mDEBUG [m+ [[ -n '' ]]
23662 [37m[1mDEBUG [m+ '[' reload == reload ']'
23663 [37m[1mDEBUG [m+ action=reload-or-restart
23664 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
23739 [37m[1mDEBUG [m+ [[ -n '' ]]
23740 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring PHP-FPM...' --weight=1
23741 [37m[1mDEBUG [m+ set +o xtrace
23867 [37m[1mDEBUG [m+ set +o xtrace
23896 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
23897 [37m[1mDEBUG [m+ set +x
23909 [37m[1mDEBUG [m+ echo '[############++......] > Configuring PHP-FPM...'
23909 [37m[1mDEBUG [m+ set -o xtrace
23909 [37m[1mDEBUG [m+ ynh_add_fpm_config
23910 [37m[1mDEBUG [m+ local legacy_args=vtufpd
23911 [37m[1mDEBUG [m+ args_array=([v]=phpversion= [t]=use_template [u]=usage= [f]=footprint= [p]=package= [d]=dedicated_service)
23913 [37m[1mDEBUG [m+ local -A args_array
23914 [37m[1mDEBUG [m+ local phpversion
23916 [37m[1mDEBUG [m+ local use_template
23922 [37m[1mDEBUG [m+ local usage
23928 [37m[1mDEBUG [m+ local footprint
23929 [37m[1mDEBUG [m+ local package
23929 [37m[1mDEBUG [m+ local dedicated_service
23930 [37m[1mDEBUG [m+ ynh_handle_getopts_args
23932 [37m[1mDEBUG [m+ set +o xtrace
23933 [37m[1mDEBUG [m+ package=
23934 [37m[1mDEBUG [m+ use_template=1
23937 [37m[1mDEBUG [m+ usage=
23938 [37m[1mDEBUG [m+ footprint=
23938 [37m[1mDEBUG [m+ '[' -n '' ']'
23939 [37m[1mDEBUG [m+ '[' -n '' ']'
23940 [37m[1mDEBUG [m+ dedicated_service=0
23941 [37m[1mDEBUG [m+ phpversion=7.3
23941 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
23942 [37m[1mDEBUG [m++ local _globalapp=digiwords
23943 [37m[1mDEBUG [m++ local legacy_args=ak
23943 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
23944 [37m[1mDEBUG [m++ local -A args_array
23945 [37m[1mDEBUG [m++ local app
23946 [37m[1mDEBUG [m++ local key
23948 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
23949 [36m[1mINFO [m[############++......] > Configuring PHP-FPM...
23950 [37m[1mDEBUG [m++ set +o xtrace
24002 [37m[1mDEBUG [m++ app=digiwords
24003 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
24004 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
24006 [37m[1mDEBUG [m++ set +o xtrace
24078 [37m[1mDEBUG [m+ local old_phpversion=7.3
24079 [37m[1mDEBUG [m+ '[' -n 7.3 ']'
24080 [37m[1mDEBUG [m+ '[' 7.3 '!=' 7.3 ']'
24082 [37m[1mDEBUG [m+ '[' -n '' ']'
24084 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
24085 [37m[1mDEBUG [m+ local fpm_service=php7.3-fpm
24086 [37m[1mDEBUG [m+ local fpm_config_dir=/etc/php/7.3/fpm
24086 [37m[1mDEBUG [m+ mkdir --parents /etc/php/7.3/fpm/pool.d
24086 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_config_dir --value=/etc/php/7.3/fpm
24087 [37m[1mDEBUG [m+ local _globalapp=digiwords
24087 [37m[1mDEBUG [m+ local legacy_args=akv
24087 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
24088 [37m[1mDEBUG [m+ local -A args_array
24088 [37m[1mDEBUG [m+ local app
24089 [37m[1mDEBUG [m+ local key
24089 [37m[1mDEBUG [m+ local value
24090 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_config_dir --value=/etc/php/7.3/fpm
24091 [37m[1mDEBUG [m+ set +o xtrace
24207 [37m[1mDEBUG [m+ app=digiwords
24209 [37m[1mDEBUG [m+ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
24211 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_config_dir /etc/php/7.3/fpm
24213 [37m[1mDEBUG [m+ set +o xtrace
24283 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_service --value=php7.3-fpm
24285 [37m[1mDEBUG [m+ local _globalapp=digiwords
24289 [37m[1mDEBUG [m+ local legacy_args=akv
24292 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
24294 [37m[1mDEBUG [m+ local -A args_array
24295 [37m[1mDEBUG [m+ local app
24296 [37m[1mDEBUG [m+ local key
24296 [37m[1mDEBUG [m+ local value
24296 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_service --value=php7.3-fpm
24297 [37m[1mDEBUG [m+ set +o xtrace
24425 [37m[1mDEBUG [m+ app=digiwords
24426 [37m[1mDEBUG [m+ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
24428 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_service php7.3-fpm
24430 [37m[1mDEBUG [m+ set +o xtrace
24494 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_dedicated_service --value=0
24495 [37m[1mDEBUG [m+ local _globalapp=digiwords
24497 [37m[1mDEBUG [m+ local legacy_args=akv
24498 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
24500 [37m[1mDEBUG [m+ local -A args_array
24501 [37m[1mDEBUG [m+ local app
24501 [37m[1mDEBUG [m+ local key
24502 [37m[1mDEBUG [m+ local value
24503 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_dedicated_service --value=0
24503 [37m[1mDEBUG [m+ set +o xtrace
24614 [37m[1mDEBUG [m+ app=digiwords
24615 [37m[1mDEBUG [m+ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
24616 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_dedicated_service 0
24616 [37m[1mDEBUG [m+ set +o xtrace
24702 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
24703 [37m[1mDEBUG [m+ local _globalapp=digiwords
24704 [37m[1mDEBUG [m+ local legacy_args=akv
24706 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
24708 [37m[1mDEBUG [m+ local -A args_array
24711 [37m[1mDEBUG [m+ local app
24713 [37m[1mDEBUG [m+ local key
24714 [37m[1mDEBUG [m+ local value
24716 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
24717 [37m[1mDEBUG [m+ set +o xtrace
24826 [37m[1mDEBUG [m+ app=digiwords
24829 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
24833 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
24837 [37m[1mDEBUG [m+ set +o xtrace
24930 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
24933 [37m[1mDEBUG [m+ '[' 1 -eq 1 ']'
24933 [37m[1mDEBUG [m+ local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/php-fpm.conf
24934 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/php-fpm.conf ']'
24934 [37m[1mDEBUG [m+ local finalphpconf=/etc/php/7.3/fpm/pool.d/digiwords.conf
24934 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords.conf
24935 [37m[1mDEBUG [m+ local legacy_args=tdv
24935 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
24936 [37m[1mDEBUG [m+ local -A args_array
24936 [37m[1mDEBUG [m+ local template
24936 [37m[1mDEBUG [m+ local destination
24936 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords.conf
24937 [37m[1mDEBUG [m+ set +o xtrace
25004 [37m[1mDEBUG [m+ local template_path
25005 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/php-fpm.conf ']'
25006 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/php-fpm.conf ']'
25006 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/php-fpm.conf
25007 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25008 [37m[1mDEBUG [m+ local legacy_args=f
25008 [37m[1mDEBUG [m+ args_array=([f]=file=)
25010 [37m[1mDEBUG [m+ local -A args_array
25011 [37m[1mDEBUG [m+ local file
25011 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25011 [37m[1mDEBUG [m+ set +o xtrace
25042 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
25045 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
25046 [37m[1mDEBUG [m++ local _globalapp=digiwords
25047 [37m[1mDEBUG [m++ local legacy_args=ak
25048 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
25049 [37m[1mDEBUG [m++ local -A args_array
25050 [37m[1mDEBUG [m++ local app
25050 [37m[1mDEBUG [m++ local key
25052 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
25052 [37m[1mDEBUG [m++ set +o xtrace
25120 [37m[1mDEBUG [m++ app=digiwords
25121 [37m[1mDEBUG [m++ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
25121 [37m[1mDEBUG [m++ ynh_app_setting get digiwords checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
25122 [37m[1mDEBUG [m++ set +o xtrace
25237 [37m[1mDEBUG [m+ local checksum_value=
25238 [37m[1mDEBUG [m+ backup_file_checksum=
25238 [37m[1mDEBUG [m+ '[' -n '' ']'
25238 [37m[1mDEBUG [m+ touch /etc/php/7.3/fpm/pool.d/digiwords.conf
25242 [37m[1mDEBUG [m+ chown root:root /etc/php/7.3/fpm/pool.d/digiwords.conf
25251 [37m[1mDEBUG [m+ chmod 640 /etc/php/7.3/fpm/pool.d/digiwords.conf
25251 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/digiwords.conf
25253 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/php/7.3/fpm/pool.d/digiwords.conf
25254 [37m[1mDEBUG [m+ local target=/etc/php/7.3/fpm/pool.d/digiwords.conf
25259 [37m[1mDEBUG [m++ tr -d '>= '
25261 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/manifest.json
25264 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
25264 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
25265 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
25266 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
25270 [37m[1mDEBUG [m+ chmod o-rwx /etc/php/7.3/fpm/pool.d/digiwords.conf
25277 [37m[1mDEBUG [m+ chmod g-w /etc/php/7.3/fpm/pool.d/digiwords.conf
25282 [37m[1mDEBUG [m+ chown -R root:root /etc/php/7.3/fpm/pool.d/digiwords.conf
25285 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
25289 [37m[1mDEBUG [m+ local legacy_args=u
25290 [37m[1mDEBUG [m+ args_array=([u]=username=)
25291 [37m[1mDEBUG [m+ local -A args_array
25291 [37m[1mDEBUG [m+ local username
25292 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
25293 [37m[1mDEBUG [m+ set +o xtrace
25321 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
25322 [37m[1mDEBUG [m+ set +x
25329 [37m[1mDEBUG [m+ getent passwd digiwords
25335 [37m[1mDEBUG [m+ chown digiwords:digiwords /etc/php/7.3/fpm/pool.d/digiwords.conf
25341 [37m[1mDEBUG [m+ echo /etc/php/7.3/fpm/pool.d/digiwords.conf
25342 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
25352 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25353 [37m[1mDEBUG [m+ local legacy_args=f
25354 [37m[1mDEBUG [m+ args_array=([f]=file=)
25355 [37m[1mDEBUG [m+ local -A args_array
25356 [37m[1mDEBUG [m+ local file
25356 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25357 [37m[1mDEBUG [m+ set +o xtrace
25371 [37m[1mDEBUG [m+ test -n /path
25372 [37m[1mDEBUG [m+ local path_url_slash_less=/path
25373 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/path/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25376 [37m[1mDEBUG [m+ local legacy_args=mrf
25377 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25379 [37m[1mDEBUG [m+ local -A args_array
25380 [37m[1mDEBUG [m+ local match_string
25382 [37m[1mDEBUG [m+ local replace_string
25383 [37m[1mDEBUG [m+ local target_file
25384 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/path/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25386 [37m[1mDEBUG [m+ set +o xtrace
25526 [37m[1mDEBUG [m+ set +o xtrace
25527 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/path/@g /etc/php/7.3/fpm/pool.d/digiwords.conf
25531 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/path --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25532 [37m[1mDEBUG [m+ local legacy_args=mrf
25534 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25535 [37m[1mDEBUG [m+ local -A args_array
25536 [37m[1mDEBUG [m+ local match_string
25537 [37m[1mDEBUG [m+ local replace_string
25538 [37m[1mDEBUG [m+ local target_file
25540 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/path --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25541 [37m[1mDEBUG [m+ set +o xtrace
25671 [37m[1mDEBUG [m+ set +o xtrace
25674 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/path@g /etc/php/7.3/fpm/pool.d/digiwords.conf
25678 [37m[1mDEBUG [m+ test -n digiwords
25680 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25681 [37m[1mDEBUG [m+ local legacy_args=mrf
25682 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25682 [37m[1mDEBUG [m+ local -A args_array
25683 [37m[1mDEBUG [m+ local match_string
25684 [37m[1mDEBUG [m+ local replace_string
25684 [37m[1mDEBUG [m+ local target_file
25685 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25686 [37m[1mDEBUG [m+ set +o xtrace
25825 [37m[1mDEBUG [m+ set +o xtrace
25826 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
25830 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25832 [37m[1mDEBUG [m+ local legacy_args=mrf
25835 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25836 [37m[1mDEBUG [m+ local -A args_array
25837 [37m[1mDEBUG [m+ local match_string
25838 [37m[1mDEBUG [m+ local replace_string
25839 [37m[1mDEBUG [m+ local target_file
25840 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25841 [37m[1mDEBUG [m+ set +o xtrace
25958 [37m[1mDEBUG [m+ set +o xtrace
25960 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
25967 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25969 [37m[1mDEBUG [m+ local legacy_args=mrf
25970 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25971 [37m[1mDEBUG [m+ local -A args_array
25972 [37m[1mDEBUG [m+ local match_string
25973 [37m[1mDEBUG [m+ local replace_string
25974 [37m[1mDEBUG [m+ local target_file
25975 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25976 [37m[1mDEBUG [m+ set +o xtrace
26094 [37m[1mDEBUG [m+ set +o xtrace
26095 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
26100 [37m[1mDEBUG [m+ test -n /var/www/digiwords
26102 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26103 [37m[1mDEBUG [m+ local legacy_args=mrf
26104 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
26106 [37m[1mDEBUG [m+ local -A args_array
26107 [37m[1mDEBUG [m+ local match_string
26108 [37m[1mDEBUG [m+ local replace_string
26109 [37m[1mDEBUG [m+ local target_file
26110 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26111 [37m[1mDEBUG [m+ set +o xtrace
26243 [37m[1mDEBUG [m+ set +o xtrace
26246 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
26251 [37m[1mDEBUG [m+ test -n 7.3
26252 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26254 [37m[1mDEBUG [m+ local legacy_args=mrf
26255 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
26256 [37m[1mDEBUG [m+ local -A args_array
26256 [37m[1mDEBUG [m+ local match_string
26258 [37m[1mDEBUG [m+ local replace_string
26260 [37m[1mDEBUG [m+ local target_file
26261 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26262 [37m[1mDEBUG [m+ set +o xtrace
26425 [37m[1mDEBUG [m+ set +o xtrace
26426 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/digiwords.conf
26432 [37m[1mDEBUG [m+ test -n ''
26434 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
26434 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/7.3/fpm/pool.d/digiwords.conf
26435 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
26437 [37m[1mDEBUG [m++ sort --unique
26443 [37m[1mDEBUG [m+ local uniques_vars
26443 [37m[1mDEBUG [m+ local delimit=@
26444 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26445 [37m[1mDEBUG [m+ local legacy_args=f
26445 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
26446 [37m[1mDEBUG [m+ local -A args_array
26447 [37m[1mDEBUG [m+ local file
26448 [37m[1mDEBUG [m+ local update_only
26448 [37m[1mDEBUG [m+ update_only=0
26449 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26450 [37m[1mDEBUG [m+ set +o xtrace
26480 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
26481 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
26482 [37m[1mDEBUG [m++ md5sum /etc/php/7.3/fpm/pool.d/digiwords.conf
26483 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
26488 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf --value=79ffd547aca07e585572ccb8bfba1ec1
26489 [37m[1mDEBUG [m+ local _globalapp=digiwords
26489 [37m[1mDEBUG [m+ local legacy_args=akv
26490 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
26490 [37m[1mDEBUG [m+ local -A args_array
26490 [37m[1mDEBUG [m+ local app
26491 [37m[1mDEBUG [m+ local key
26492 [37m[1mDEBUG [m+ local value
26492 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf --value=79ffd547aca07e585572ccb8bfba1ec1
26493 [37m[1mDEBUG [m+ set +o xtrace
26648 [37m[1mDEBUG [m+ app=digiwords
26649 [37m[1mDEBUG [m+ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
26650 [37m[1mDEBUG [m+ ynh_app_setting set digiwords checksum__etc_php_7.3_fpm_pool.d_digiwords.conf 79ffd547aca07e585572ccb8bfba1ec1
26651 [37m[1mDEBUG [m+ set +o xtrace
26743 [37m[1mDEBUG [m+ '[' -n '' ']'
26744 [37m[1mDEBUG [m+ unset backup_file_checksum
26744 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_rz8okjj4/app_folder/conf/php-fpm.ini ']'
26745 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
26745 [37m[1mDEBUG [m+ php-fpm7.3 --test
26871 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
26875 [37m[1mDEBUG [m+ local legacy_args=nalpte
26876 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
26877 [37m[1mDEBUG [m+ local -A args_array
26878 [37m[1mDEBUG [m+ local service_name
26878 [37m[1mDEBUG [m+ local action
26878 [37m[1mDEBUG [m+ local line_match
26880 [37m[1mDEBUG [m+ local length
26883 [37m[1mDEBUG [m+ local log_path
26883 [37m[1mDEBUG [m+ local timeout
26883 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
26884 [37m[1mDEBUG [m+ set +o xtrace
27088 [37m[1mDEBUG [m+ service_name=php7.3-fpm
27089 [37m[1mDEBUG [m+ action=reload
27090 [37m[1mDEBUG [m+ line_match=
27090 [37m[1mDEBUG [m+ length=20
27091 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
27091 [37m[1mDEBUG [m+ timeout=300
27092 [37m[1mDEBUG [m+ '[' reload == stop ']'
27092 [37m[1mDEBUG [m+ [[ -n '' ]]
27092 [37m[1mDEBUG [m+ '[' reload == reload ']'
27093 [37m[1mDEBUG [m+ action=reload-or-restart
27094 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
27122 [37m[1mDEBUG [m+ [[ -n '' ]]
27125 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring permissions...' --weight=1
27125 [37m[1mDEBUG [m+ set +o xtrace
27273 [37m[1mDEBUG [m+ set +o xtrace
27306 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
27307 [37m[1mDEBUG [m+ set +x
27314 [36m[1mINFO [m[##############++....] > Configuring permissions...
27315 [37m[1mDEBUG [m+ echo '[##############++....] > Configuring permissions...'
27319 [37m[1mDEBUG [m+ set -o xtrace
27320 [37m[1mDEBUG [m+ '[' 1 -eq 1 ']'
27321 [37m[1mDEBUG [m+ ynh_permission_update --permission=main --add=visitors
27321 [37m[1mDEBUG [m+ local legacy_args=parltP
27322 [37m[1mDEBUG [m+ args_array=([p]=permission= [a]=add= [r]=remove= [l]=label= [t]=show_tile= [P]=protected=)
27323 [37m[1mDEBUG [m+ local -A args_array
27323 [37m[1mDEBUG [m+ local permission
27324 [37m[1mDEBUG [m+ local add
27326 [37m[1mDEBUG [m+ local remove
27326 [37m[1mDEBUG [m+ local label
27327 [37m[1mDEBUG [m+ local show_tile
27327 [37m[1mDEBUG [m+ local protected
27328 [37m[1mDEBUG [m+ ynh_handle_getopts_args --permission=main --add=visitors
27328 [37m[1mDEBUG [m+ set +o xtrace
27513 [37m[1mDEBUG [m+ add=visitors
27514 [37m[1mDEBUG [m+ remove=
27514 [37m[1mDEBUG [m+ label=
27515 [37m[1mDEBUG [m+ show_tile=
27515 [37m[1mDEBUG [m+ protected=
27515 [37m[1mDEBUG [m+ [[ -n visitors ]]
27515 [37m[1mDEBUG [m+ add=',add=['\''visitors'\'']'
27516 [37m[1mDEBUG [m+ [[ -n '' ]]
27516 [37m[1mDEBUG [m+ [[ -n '' ]]
27517 [37m[1mDEBUG [m+ [[ -n '' ]]
27517 [37m[1mDEBUG [m+ [[ -n '' ]]
27518 [37m[1mDEBUG [m+ yunohost tools shell -c 'from yunohost.permission import user_permission_update; user_permission_update('\''digiwords.main'\'' ,add=['\''visitors'\''] , force=True)'
28090 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reloading NGINX web server...' --weight=1
28090 [37m[1mDEBUG [m+ set +o xtrace
28209 [37m[1mDEBUG [m+ set +o xtrace
28229 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
28230 [37m[1mDEBUG [m+ set +x
28233 [37m[1mDEBUG [m+ echo '[################++..] > Reloading NGINX web server...'
28235 [37m[1mDEBUG [m+ set -o xtrace
28236 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
28237 [37m[1mDEBUG [m+ local legacy_args=nalpte
28237 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
28238 [37m[1mDEBUG [m+ local -A args_array
28239 [37m[1mDEBUG [m+ local service_name
28240 [37m[1mDEBUG [m+ local action
28241 [37m[1mDEBUG [m+ local line_match
28242 [37m[1mDEBUG [m+ local length
28243 [37m[1mDEBUG [m+ local log_path
28243 [37m[1mDEBUG [m+ local timeout
28244 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
28245 [37m[1mDEBUG [m+ set +o xtrace
28245 [36m[1mINFO [m[################++..] > Reloading NGINX web server...
28419 [37m[1mDEBUG [m+ service_name=nginx
28421 [37m[1mDEBUG [m+ action=reload
28422 [37m[1mDEBUG [m+ line_match=
28424 [37m[1mDEBUG [m+ length=20
28425 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
28426 [37m[1mDEBUG [m+ timeout=300
28427 [37m[1mDEBUG [m+ '[' reload == stop ']'
28428 [37m[1mDEBUG [m+ [[ -n '' ]]
28428 [37m[1mDEBUG [m+ '[' reload == reload ']'
28429 [37m[1mDEBUG [m+ action=reload-or-restart
28429 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
28510 [37m[1mDEBUG [m+ [[ -n '' ]]
28512 [37m[1mDEBUG [m+ ynh_script_progression '--message=Installation of digiwords completed' --last
28512 [37m[1mDEBUG [m+ set +o xtrace
28663 [37m[1mDEBUG [m+ set +o xtrace
28711 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
28712 [37m[1mDEBUG [m+ set +x
28724 [36m[1mINFO [m[####################] > Installation of digiwords completed
28728 [37m[1mDEBUG [m+ echo '[####################] > Installation of digiwords completed'
28730 [37m[1mDEBUG [m+ set -o xtrace
28732 [37m[1mDEBUG [m+ ynh_exit_properly
28733 [37m[1mDEBUG [m+ local exit_code=0
28734 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/download/
28734 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
28735 [37m[1mDEBUG [m+ exit 0
29738 [37m[1mDEBUG [mChecking that required services are up and running...
30586 [32m[1mSUCCESS [mInstallation completed
30590 [37m[1mDEBUG [mTo view the log of the operation 'Install the 'digiwords' app', use the command 'yunohost log show 20220531-093109-app_install-digiwords'
30613 [37m[1mDEBUG [maction [813.1] executed in 30.234s
30614 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 31 seconds (09:31:38)
Installation successful.
Return code: 1
Working time: 0s (09:31:49)
[1m > Validating that the app digiwords can/can't be accessed with its URL...[0m
Running curl sub.domain.tld/path
Return code: 0
Working time: 0s (09:31:55)
Digiwords by La DigitaleReturn code: 0
Working time: 0s (09:31:58)
HTTP code:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Test URL: sub.domain.tld/path
Real URL:
HTTP code:
Page title:
Page extract:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Running curl sub.domain.tld/path/
Return code: 0
Working time: 0s (09:32:05)
Return code: 0
Working time: 0s (09:32:08)
HTTP code:
Test URL: sub.domain.tld/path/
Real URL:
HTTP code:
Page title:
Page extract:
Test URL: sub.domain.tld/path/
Real URL:
HTTP code:
Page title:
Page extract:
Create a snapshot after app install
(Creating snapshot snap_subdirinstall ...)
Failed to start the container ... restarting ...
Working time: 1 minute, 14 seconds (09:33:22)
[1m > Removing the app...[0m
Running yunohost app remove digiwords
212 [37m[1mDEBUG [minitializing base actions map parser for cli
215 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
219 [37m[1mDEBUG [mbuilding parser...
240 [37m[1mDEBUG [mbuilding parser took 0.021s
242 [37m[1mDEBUG [macquiring lock...
259 [37m[1mDEBUG [mlock has been acquired
282 [37m[1mDEBUG [mloading python module yunohost.app took 0.022s
282 [37m[1mDEBUG [mprocessing action [830.1]: yunohost.app.remove with args={'app': 'digiwords', 'purge': False}
306 [36m[1mINFO [mRemoving digiwords...
436 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "./remove" 7>&1']'
449 [37m[1mDEBUG [m+ source _common.sh
450 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
451 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
452 [37m[1mDEBUG [m+++ set +o
453 [37m[1mDEBUG [m+++ grep xtrace
458 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
459 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
460 [37m[1mDEBUG [m++ set +x
502 [37m[1mDEBUG [m+ ynh_script_progression '--message=Loading installation settings...' --weight=1
503 [37m[1mDEBUG [m+ set +o xtrace
640 [37m[1mDEBUG [m+ set +o xtrace
690 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
692 [37m[1mDEBUG [m+ set +x
696 [37m[1mDEBUG [m+ echo '[++..................] > Loading installation settings...'
697 [36m[1mINFO [m[++..................] > Loading installation settings...
698 [37m[1mDEBUG [m+ set -o xtrace
699 [37m[1mDEBUG [m+ app=digiwords
701 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=domain
702 [37m[1mDEBUG [m++ local _globalapp=digiwords
703 [37m[1mDEBUG [m++ local legacy_args=ak
703 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
704 [37m[1mDEBUG [m++ local -A args_array
705 [37m[1mDEBUG [m++ local app
706 [37m[1mDEBUG [m++ local key
707 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=domain
707 [37m[1mDEBUG [m++ set +o xtrace
798 [37m[1mDEBUG [m++ app=digiwords
800 [37m[1mDEBUG [m++ [[ domain =~ (unprotected|protected|skipped)_ ]]
802 [37m[1mDEBUG [m++ ynh_app_setting get digiwords domain
803 [37m[1mDEBUG [m++ set +o xtrace
886 [37m[1mDEBUG [m+ domain=sub.domain.tld
887 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=port
889 [37m[1mDEBUG [m++ local _globalapp=digiwords
890 [37m[1mDEBUG [m++ local legacy_args=ak
891 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
892 [37m[1mDEBUG [m++ local -A args_array
893 [37m[1mDEBUG [m++ local app
894 [37m[1mDEBUG [m++ local key
895 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=port
896 [37m[1mDEBUG [m++ set +o xtrace
953 [37m[1mDEBUG [m++ app=digiwords
954 [37m[1mDEBUG [m++ [[ port =~ (unprotected|protected|skipped)_ ]]
966 [37m[1mDEBUG [m++ ynh_app_setting get digiwords port
966 [37m[1mDEBUG [m++ set +o xtrace
1053 [37m[1mDEBUG [m+ port=
1054 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=db_name
1055 [37m[1mDEBUG [m++ local _globalapp=digiwords
1055 [37m[1mDEBUG [m++ local legacy_args=ak
1055 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1055 [37m[1mDEBUG [m++ local -A args_array
1056 [37m[1mDEBUG [m++ local app
1056 [37m[1mDEBUG [m++ local key
1056 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=db_name
1057 [37m[1mDEBUG [m++ set +o xtrace
1119 [37m[1mDEBUG [m++ app=digiwords
1120 [37m[1mDEBUG [m++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
1120 [37m[1mDEBUG [m++ ynh_app_setting get digiwords db_name
1121 [37m[1mDEBUG [m++ set +o xtrace
1203 [37m[1mDEBUG [m+ db_name=
1204 [37m[1mDEBUG [m+ db_user=
1206 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=final_path
1210 [37m[1mDEBUG [m++ local _globalapp=digiwords
1212 [37m[1mDEBUG [m++ local legacy_args=ak
1214 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1215 [37m[1mDEBUG [m++ local -A args_array
1216 [37m[1mDEBUG [m++ local app
1216 [37m[1mDEBUG [m++ local key
1217 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=final_path
1217 [37m[1mDEBUG [m++ set +o xtrace
1286 [37m[1mDEBUG [m++ app=digiwords
1286 [37m[1mDEBUG [m++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
1287 [37m[1mDEBUG [m++ ynh_app_setting get digiwords final_path
1287 [37m[1mDEBUG [m++ set +o xtrace
1365 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
1367 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=datadir
1370 [37m[1mDEBUG [m++ local _globalapp=digiwords
1371 [37m[1mDEBUG [m++ local legacy_args=ak
1372 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1373 [37m[1mDEBUG [m++ local -A args_array
1374 [37m[1mDEBUG [m++ local app
1374 [37m[1mDEBUG [m++ local key
1375 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=datadir
1376 [37m[1mDEBUG [m++ set +o xtrace
1437 [37m[1mDEBUG [m++ app=digiwords
1438 [37m[1mDEBUG [m++ [[ datadir =~ (unprotected|protected|skipped)_ ]]
1439 [37m[1mDEBUG [m++ ynh_app_setting get digiwords datadir
1439 [37m[1mDEBUG [m++ set +o xtrace
1522 [37m[1mDEBUG [m+ datadir=
1523 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing app main directory...' --weight=1
1523 [37m[1mDEBUG [m+ set +o xtrace
1651 [37m[1mDEBUG [m+ set +o xtrace
1674 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1674 [37m[1mDEBUG [m+ set +x
1685 [37m[1mDEBUG [m+ echo '[##+++...............] > Removing app main directory...'
1686 [37m[1mDEBUG [m+ set -o xtrace
1687 [36m[1mINFO [m[##+++...............] > Removing app main directory...
1688 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/www/digiwords
1689 [37m[1mDEBUG [m+ local legacy_args=f
1690 [37m[1mDEBUG [m+ args_array=([f]=file=)
1691 [37m[1mDEBUG [m+ local -A args_array
1692 [37m[1mDEBUG [m+ local file
1692 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/www/digiwords
1694 [37m[1mDEBUG [m+ set +o xtrace
1725 [37m[1mDEBUG [m+ set +o xtrace
1757 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing NGINX web server configuration...' --weight=1
1758 [37m[1mDEBUG [m+ set +o xtrace
1862 [37m[1mDEBUG [m+ set +o xtrace
1890 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1891 [37m[1mDEBUG [m+ set +x
1894 [36m[1mINFO [m[#####++.............] > Removing NGINX web server configuration...
1896 [37m[1mDEBUG [m+ echo '[#####++.............] > Removing NGINX web server configuration...'
1901 [37m[1mDEBUG [m+ set -o xtrace
1903 [37m[1mDEBUG [m+ ynh_remove_nginx_config
1904 [37m[1mDEBUG [m+ ynh_secure_remove --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1905 [37m[1mDEBUG [m+ local legacy_args=f
1906 [37m[1mDEBUG [m+ args_array=([f]=file=)
1906 [37m[1mDEBUG [m+ local -A args_array
1907 [37m[1mDEBUG [m+ local file
1907 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1908 [37m[1mDEBUG [m+ set +o xtrace
1916 [37m[1mDEBUG [m+ set +o xtrace
1939 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
1940 [37m[1mDEBUG [m+ local legacy_args=nalpte
1942 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
1943 [37m[1mDEBUG [m+ local -A args_array
1945 [37m[1mDEBUG [m+ local service_name
1948 [37m[1mDEBUG [m+ local action
1951 [37m[1mDEBUG [m+ local line_match
1954 [37m[1mDEBUG [m+ local length
1955 [37m[1mDEBUG [m+ local log_path
1956 [37m[1mDEBUG [m+ local timeout
1958 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
1959 [37m[1mDEBUG [m+ set +o xtrace
2128 [37m[1mDEBUG [m+ service_name=nginx
2129 [37m[1mDEBUG [m+ action=reload
2130 [37m[1mDEBUG [m+ line_match=
2131 [37m[1mDEBUG [m+ length=20
2131 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
2132 [37m[1mDEBUG [m+ timeout=300
2133 [37m[1mDEBUG [m+ '[' reload == stop ']'
2134 [37m[1mDEBUG [m+ [[ -n '' ]]
2135 [37m[1mDEBUG [m+ '[' reload == reload ']'
2135 [37m[1mDEBUG [m+ action=reload-or-restart
2136 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
2249 [37m[1mDEBUG [m+ [[ -n '' ]]
2250 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing PHP-FPM configuration...' --weight=1
2251 [37m[1mDEBUG [m+ set +o xtrace
2422 [37m[1mDEBUG [m+ set +o xtrace
2470 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2470 [37m[1mDEBUG [m+ set +x
2473 [36m[1mINFO [m[#######+++..........] > Removing PHP-FPM configuration...
2475 [37m[1mDEBUG [m+ echo '[#######+++..........] > Removing PHP-FPM configuration...'
2479 [37m[1mDEBUG [m+ set -o xtrace
2480 [37m[1mDEBUG [m+ ynh_remove_fpm_config
2487 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_config_dir
2489 [37m[1mDEBUG [m++ local _globalapp=digiwords
2489 [37m[1mDEBUG [m++ local legacy_args=ak
2492 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2493 [37m[1mDEBUG [m++ local -A args_array
2498 [37m[1mDEBUG [m++ local app
2499 [37m[1mDEBUG [m++ local key
2501 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_config_dir
2502 [37m[1mDEBUG [m++ set +o xtrace
2574 [37m[1mDEBUG [m++ app=digiwords
2578 [37m[1mDEBUG [m++ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2581 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_config_dir
2583 [37m[1mDEBUG [m++ set +o xtrace
2680 [37m[1mDEBUG [m+ local fpm_config_dir=/etc/php/7.3/fpm
2686 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_service
2693 [37m[1mDEBUG [m++ local _globalapp=digiwords
2694 [37m[1mDEBUG [m++ local legacy_args=ak
2694 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2695 [37m[1mDEBUG [m++ local -A args_array
2696 [37m[1mDEBUG [m++ local app
2696 [37m[1mDEBUG [m++ local key
2697 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_service
2697 [37m[1mDEBUG [m++ set +o xtrace
2786 [37m[1mDEBUG [m++ app=digiwords
2786 [37m[1mDEBUG [m++ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2787 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_service
2790 [37m[1mDEBUG [m++ set +o xtrace
2861 [37m[1mDEBUG [m+ local fpm_service=php7.3-fpm
2863 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_dedicated_service
2865 [37m[1mDEBUG [m++ local _globalapp=digiwords
2866 [37m[1mDEBUG [m++ local legacy_args=ak
2867 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2868 [37m[1mDEBUG [m++ local -A args_array
2869 [37m[1mDEBUG [m++ local app
2870 [37m[1mDEBUG [m++ local key
2871 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_dedicated_service
2873 [37m[1mDEBUG [m++ set +o xtrace
2949 [37m[1mDEBUG [m++ app=digiwords
2950 [37m[1mDEBUG [m++ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2952 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_dedicated_service
2953 [37m[1mDEBUG [m++ set +o xtrace
3047 [37m[1mDEBUG [m+ local dedicated_service=0
3050 [37m[1mDEBUG [m+ dedicated_service=0
3051 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
3052 [37m[1mDEBUG [m++ local _globalapp=digiwords
3053 [37m[1mDEBUG [m++ local legacy_args=ak
3055 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
3056 [37m[1mDEBUG [m++ local -A args_array
3056 [37m[1mDEBUG [m++ local app
3057 [37m[1mDEBUG [m++ local key
3058 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
3059 [37m[1mDEBUG [m++ set +o xtrace
3123 [37m[1mDEBUG [m++ app=digiwords
3124 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
3126 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
3127 [37m[1mDEBUG [m++ set +o xtrace
3222 [37m[1mDEBUG [m+ local phpversion=7.3
3224 [37m[1mDEBUG [m+ phpversion=7.3
3226 [37m[1mDEBUG [m+ '[' -z /etc/php/7.3/fpm ']'
3229 [37m[1mDEBUG [m+ ynh_secure_remove --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
3231 [37m[1mDEBUG [m+ local legacy_args=f
3233 [37m[1mDEBUG [m+ args_array=([f]=file=)
3234 [37m[1mDEBUG [m+ local -A args_array
3236 [37m[1mDEBUG [m+ local file
3238 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
3239 [37m[1mDEBUG [m+ set +o xtrace
3246 [37m[1mDEBUG [m+ set +o xtrace
3275 [37m[1mDEBUG [m+ '[' -e /etc/php/7.3/fpm/conf.d/20-digiwords.ini ']'
3276 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
3278 [37m[1mDEBUG [m+ ynh_package_is_installed --package=php7.3-fpm
3280 [37m[1mDEBUG [m+ local legacy_args=p
3282 [37m[1mDEBUG [m+ args_array=([p]=package=)
3284 [37m[1mDEBUG [m+ local -A args_array
3285 [37m[1mDEBUG [m+ local package
3287 [37m[1mDEBUG [m+ ynh_handle_getopts_args --package=php7.3-fpm
3288 [37m[1mDEBUG [m+ set +o xtrace
3302 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
3304 [37m[1mDEBUG [m+ local try
3308 [37m[1mDEBUG [m+ set +o xtrace
4865 [37m[1mDEBUG [m+ return 0
4866 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' php7.3-fpm
4868 [37m[1mDEBUG [m+ grep --count 'ok installed'
4887 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
4889 [37m[1mDEBUG [m+ local legacy_args=nalpte
4890 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
4890 [37m[1mDEBUG [m+ local -A args_array
4891 [37m[1mDEBUG [m+ local service_name
4892 [37m[1mDEBUG [m+ local action
4892 [37m[1mDEBUG [m+ local line_match
4893 [37m[1mDEBUG [m+ local length
4893 [37m[1mDEBUG [m+ local log_path
4893 [37m[1mDEBUG [m+ local timeout
4894 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
4894 [37m[1mDEBUG [m+ set +o xtrace
5090 [37m[1mDEBUG [m+ service_name=php7.3-fpm
5092 [37m[1mDEBUG [m+ action=reload
5092 [37m[1mDEBUG [m+ line_match=
5094 [37m[1mDEBUG [m+ length=20
5095 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
5096 [37m[1mDEBUG [m+ timeout=300
5104 [37m[1mDEBUG [m+ '[' reload == stop ']'
5104 [37m[1mDEBUG [m+ [[ -n '' ]]
5105 [37m[1mDEBUG [m+ '[' reload == reload ']'
5105 [37m[1mDEBUG [m+ action=reload-or-restart
5105 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
5167 [37m[1mDEBUG [m+ [[ -n '' ]]
5168 [37m[1mDEBUG [m+ '[' 7.3 '!=' 7.3 ']'
5168 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing dependencies...' --weight=1
5169 [37m[1mDEBUG [m+ set +o xtrace
5334 [37m[1mDEBUG [m+ set +o xtrace
5360 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
5361 [37m[1mDEBUG [m+ set +x
5364 [37m[1mDEBUG [m+ echo '[##########++........] > Removing dependencies...'
5365 [37m[1mDEBUG [m+ set -o xtrace
5366 [36m[1mINFO [m[##########++........] > Removing dependencies...
5369 [37m[1mDEBUG [m+ ynh_remove_app_dependencies
5370 [37m[1mDEBUG [m+ local dep_app=digiwords
5371 [37m[1mDEBUG [m+ local current_dependencies=
5371 [37m[1mDEBUG [m+ ynh_package_is_installed --package=digiwords-ynh-deps
5372 [37m[1mDEBUG [m+ local legacy_args=p
5373 [37m[1mDEBUG [m+ args_array=([p]=package=)
5374 [37m[1mDEBUG [m+ local -A args_array
5377 [37m[1mDEBUG [m+ local package
5378 [37m[1mDEBUG [m+ ynh_handle_getopts_args --package=digiwords-ynh-deps
5379 [37m[1mDEBUG [m+ set +o xtrace
5400 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
5400 [37m[1mDEBUG [m+ local try
5401 [37m[1mDEBUG [m+ set +o xtrace
6887 [37m[1mDEBUG [m+ return 0
6888 [37m[1mDEBUG [m+ grep --count 'ok installed'
6890 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
6918 [37m[1mDEBUG [m++ dpkg-query --show '--showformat=${Depends}' digiwords-ynh-deps
6950 [37m[1mDEBUG [m+ current_dependencies='php-sqlite3 '
6950 [37m[1mDEBUG [m+ current_dependencies='php-sqlite3 '
6951 [37m[1mDEBUG [m+ ynh_package_autopurge digiwords-ynh-deps
6952 [37m[1mDEBUG [m+ ynh_apt autoremove --purge digiwords-ynh-deps
6952 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
6952 [37m[1mDEBUG [m+ local try
6953 [37m[1mDEBUG [m+ set +o xtrace
8405 [37m[1mDEBUG [m+ return 0
8405 [37m[1mDEBUG [m+ LC_ALL=C
8406 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
8406 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 autoremove --purge digiwords-ynh-deps
8452 [37m[1mDEBUG [mReading package lists...
8931 [37m[1mDEBUG [mBuilding dependency tree...
8933 [37m[1mDEBUG [mReading state information...
9505 [37m[1mDEBUG [mThe following packages will be REMOVED:
9509 [37m[1mDEBUG [m digiwords-ynh-deps* php-sqlite3* php7.3-sqlite3*
10105 [37m[1mDEBUG [m0 upgraded, 0 newly installed, 3 to remove and 9 not upgraded.
10106 [37m[1mDEBUG [mAfter this operation, 148 kB disk space will be freed.
10207 [37m[1mDEBUG [m(Reading database ... 42402 files and directories currently installed.)
10212 [37m[1mDEBUG [mRemoving digiwords-ynh-deps (0.3.3~ynh1) ...
10332 [37m[1mDEBUG [mRemoving php-sqlite3 (2:7.3+69) ...
10473 [37m[1mDEBUG [mRemoving php7.3-sqlite3 (7.3.31-1~deb10u1) ...
10885 [37m[1mDEBUG [mProcessing triggers for php7.3-fpm (7.3.31-1~deb10u1) ...
11434 [37m[1mDEBUG [m(Reading database ... 42384 files and directories currently installed.)
11437 [37m[1mDEBUG [mPurging configuration files for php7.3-sqlite3 (7.3.31-1~deb10u1) ...
11496 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
11591 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
11768 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
11864 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
12391 [37m[1mDEBUG [m++ tr - ' '
12394 [37m[1mDEBUG [m++ uniq
12395 [37m[1mDEBUG [m++ sort
12396 [37m[1mDEBUG [m++ echo php-sqlite3
12396 [37m[1mDEBUG [m++ sed s/php//g
12399 [37m[1mDEBUG [m++ grep -o -E '\'
12406 [37m[1mDEBUG [m+ local specific_php_version=
12406 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
12407 [37m[1mDEBUG [m+ [[ -n '' ]]
12407 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing various files...' --weight=1
12407 [37m[1mDEBUG [m+ set +o xtrace
12520 [37m[1mDEBUG [m+ set +o xtrace
12549 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
12550 [37m[1mDEBUG [m+ set +x
12553 [36m[1mINFO [m[############+++.....] > Removing various files...
12554 [37m[1mDEBUG [m+ echo '[############+++.....] > Removing various files...'
12554 [37m[1mDEBUG [m+ set -o xtrace
12555 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/log/digiwords
12555 [37m[1mDEBUG [m+ local legacy_args=f
12556 [37m[1mDEBUG [m+ args_array=([f]=file=)
12556 [37m[1mDEBUG [m+ local -A args_array
12557 [37m[1mDEBUG [m+ local file
12557 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/log/digiwords
12558 [37m[1mDEBUG [m+ set +o xtrace
12571 [37m[1mDEBUG [m+ set +o xtrace
12587 [37m[1mDEBUG [m+ echo ''\''/var/log/digiwords'\'' wasn'\''t deleted because it doesn'\''t exist.'
12589 [37m[1mDEBUG [m+ set -o xtrace
12591 [36m[1mINFO [m'/var/log/digiwords' wasn't deleted because it doesn't exist.
12592 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing the dedicated system user...' --weight=1
12593 [37m[1mDEBUG [m+ set +o xtrace
12713 [37m[1mDEBUG [m+ set +o xtrace
12741 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
12743 [37m[1mDEBUG [m+ set +x
12745 [36m[1mINFO [m[###############++...] > Removing the dedicated system user...
12747 [37m[1mDEBUG [m+ echo '[###############++...] > Removing the dedicated system user...'
12747 [37m[1mDEBUG [m+ set -o xtrace
12748 [37m[1mDEBUG [m+ ynh_system_user_delete --username=digiwords
12749 [37m[1mDEBUG [m+ local legacy_args=u
12750 [37m[1mDEBUG [m+ args_array=([u]=username=)
12750 [37m[1mDEBUG [m+ local -A args_array
12751 [37m[1mDEBUG [m+ local username
12752 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords
12754 [37m[1mDEBUG [m+ set +o xtrace
12771 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
12772 [37m[1mDEBUG [m+ local legacy_args=u
12774 [37m[1mDEBUG [m+ args_array=([u]=username=)
12774 [37m[1mDEBUG [m+ local -A args_array
12775 [37m[1mDEBUG [m+ local username
12776 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
12776 [37m[1mDEBUG [m+ set +o xtrace
12789 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
12790 [37m[1mDEBUG [m+ set +x
12794 [37m[1mDEBUG [m+ getent passwd digiwords
12798 [37m[1mDEBUG [m+ deluser digiwords
12951 [37m[1mDEBUG [mRemoving user `digiwords' ...
12952 [37m[1mDEBUG [mWarning: group `digiwords' has no more members.
13083 [37m[1mDEBUG [mDone.
13086 [37m[1mDEBUG [m+ ynh_system_group_exists digiwords
13087 [37m[1mDEBUG [m+ local legacy_args=g
13089 [37m[1mDEBUG [m+ args_array=([g]=group=)
13090 [37m[1mDEBUG [m+ local -A args_array
13091 [37m[1mDEBUG [m+ local group
13092 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
13092 [37m[1mDEBUG [m+ set +o xtrace
13100 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
13101 [37m[1mDEBUG [m+ set +x
13106 [37m[1mDEBUG [m+ getent group digiwords
13117 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removal of digiwords completed' --last
13118 [37m[1mDEBUG [m+ set +o xtrace
13233 [37m[1mDEBUG [m+ set +o xtrace
13258 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
13259 [37m[1mDEBUG [m+ set +x
13264 [37m[1mDEBUG [m+ echo '[####################] > Removal of digiwords completed'
13266 [37m[1mDEBUG [m+ set -o xtrace
13268 [36m[1mINFO [m[####################] > Removal of digiwords completed
14273 [32m[1mSUCCESS [mdigiwords uninstalled
14354 [37m[1mDEBUG [minitializing ldap interface
14414 [37m[1mDEBUG [mPermission 'digiwords.main' deleted
14418 [37m[1mDEBUG [mTo view the log of the operation 'Delete permission 'digiwords'', use the command 'yunohost log show 20220531-093344-permission_delete-digiwords'
14429 [37m[1mDEBUG [mThe permission database has been resynchronized
14445 [37m[1mDEBUG [mSSOwat configuration regenerated
14464 [37m[1mDEBUG [mChecking that required services are up and running...
15368 [37m[1mDEBUG [mTo view the log of the operation 'Remove the 'digiwords' app', use the command 'yunohost log show 20220531-093330-app_remove-digiwords'
15382 [37m[1mDEBUG [maction [830.1] executed in 15.100s
15382 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 16 seconds (09:33:45)
Remove successful.
[1m > Reinstalling after removal.[0m
Running: yunohost app install --force /app_folder -a "domain=sub.domain.tld&path=/path admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&"
Running yunohost app install --force /app_folder -a "domain=sub.domain.tld&path=/path admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&"
195 [37m[1mDEBUG [minitializing base actions map parser for cli
198 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
200 [37m[1mDEBUG [mbuilding parser...
222 [37m[1mDEBUG [mbuilding parser took 0.022s
224 [37m[1mDEBUG [macquiring lock...
247 [37m[1mDEBUG [mlock has been acquired
272 [37m[1mDEBUG [mloading python module yunohost.app took 0.025s
272 [37m[1mDEBUG [mprocessing action [2576.1]: yunohost.app.install with args={'app': '/app_folder', 'label': None, 'args': 'domain=sub.domain.tld&path=/path admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&', 'no_remove_on_failure': False, 'force': True}
317 [37m[1mDEBUG [mExtracting...
335 [37m[1mDEBUG [mDone
337 [37m[1mDEBUG [mChecking required packages for digiwords...
353 [37m[1mDEBUG [mChecking that required services are up and running...
1426 [37m[1mDEBUG [minitializing ldap interface
1591 [36m[1mINFO [mInstalling digiwords...
1662 [37m[1mDEBUG [mNothing to update in LDAP
1663 [37m[1mDEBUG [mPermission 'digiwords.main' updated
1671 [37m[1mDEBUG [mTo view the log of the operation 'Update URL related to permission 'digiwords'', use the command 'yunohost log show 20220531-093401-permission_url-digiwords'
1699 [37m[1mDEBUG [mThe permission database has been resynchronized
1729 [37m[1mDEBUG [mSSOwat configuration regenerated
1763 [37m[1mDEBUG [mPermission 'digiwords.main' created
1764 [37m[1mDEBUG [mTo view the log of the operation 'Create permission 'digiwords'', use the command 'yunohost log show 20220531-093401-permission_create-digiwords'
1797 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
1814 [37m[1mDEBUG [m+ source _common.sh
1816 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
1819 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
1820 [37m[1mDEBUG [m+++ set +o
1821 [37m[1mDEBUG [m+++ grep xtrace
1826 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
1827 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
1828 [37m[1mDEBUG [m++ set +x
1889 [37m[1mDEBUG [m+ ynh_abort_if_errors
1891 [37m[1mDEBUG [m+ set -o errexit
1892 [37m[1mDEBUG [m+ set -o nounset
1892 [37m[1mDEBUG [m+ trap ynh_exit_properly EXIT
1892 [37m[1mDEBUG [m+ domain=sub.domain.tld
1893 [37m[1mDEBUG [m+ path_url=/path
1893 [37m[1mDEBUG [m+ is_public=1
1893 [37m[1mDEBUG [m+ app=digiwords
1893 [37m[1mDEBUG [m+ ynh_script_progression '--message=Validating installation parameters...' --weight=1
1894 [37m[1mDEBUG [m+ set +o xtrace
2045 [37m[1mDEBUG [m+ set +o xtrace
2102 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2103 [37m[1mDEBUG [m+ set +x
2109 [37m[1mDEBUG [m+ echo '[++..................] > Validating installation parameters...'
2111 [36m[1mINFO [m[++..................] > Validating installation parameters...
2115 [37m[1mDEBUG [m+ set -o xtrace
2115 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
2116 [37m[1mDEBUG [m+ test '!' -e /var/www/digiwords
2116 [37m[1mDEBUG [m+ ynh_webpath_register --app=digiwords --domain=sub.domain.tld --path_url=/path
2116 [37m[1mDEBUG [m+ local legacy_args=adp
2117 [37m[1mDEBUG [m+ args_array=([a]=app= [d]=domain= [p]=path_url=)
2117 [37m[1mDEBUG [m+ local -A args_array
2117 [37m[1mDEBUG [m+ local app
2117 [37m[1mDEBUG [m+ local domain
2118 [37m[1mDEBUG [m+ local path_url
2119 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --domain=sub.domain.tld --path_url=/path
2119 [37m[1mDEBUG [m+ set +o xtrace
2254 [37m[1mDEBUG [m+ yunohost app register-url digiwords sub.domain.tld /path
2991 [37m[1mDEBUG [m+ ynh_script_progression '--message=Storing installation settings...' --weight=1
2993 [37m[1mDEBUG [m+ set +o xtrace
3109 [37m[1mDEBUG [m+ set +o xtrace
3141 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3143 [37m[1mDEBUG [m+ set +x
3146 [37m[1mDEBUG [m+ echo '[##++................] > Storing installation settings...'
3147 [37m[1mDEBUG [m+ set -o xtrace
3150 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=domain --value=sub.domain.tld
3151 [37m[1mDEBUG [m+ local _globalapp=digiwords
3152 [37m[1mDEBUG [m+ local legacy_args=akv
3153 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
3153 [37m[1mDEBUG [m+ local -A args_array
3154 [37m[1mDEBUG [m+ local app
3155 [37m[1mDEBUG [m+ local key
3156 [37m[1mDEBUG [m+ local value
3156 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=domain --value=sub.domain.tld
3157 [36m[1mINFO [m[##++................] > Storing installation settings...
3158 [37m[1mDEBUG [m+ set +o xtrace
3320 [37m[1mDEBUG [m+ app=digiwords
3321 [37m[1mDEBUG [m+ [[ domain =~ (unprotected|protected|skipped)_ ]]
3323 [37m[1mDEBUG [m+ ynh_app_setting set digiwords domain sub.domain.tld
3324 [37m[1mDEBUG [m+ set +o xtrace
3406 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=path --value=/path
3407 [37m[1mDEBUG [m+ local _globalapp=digiwords
3409 [37m[1mDEBUG [m+ local legacy_args=akv
3410 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
3412 [37m[1mDEBUG [m+ local -A args_array
3414 [37m[1mDEBUG [m+ local app
3415 [37m[1mDEBUG [m+ local key
3416 [37m[1mDEBUG [m+ local value
3419 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=path --value=/path
3419 [37m[1mDEBUG [m+ set +o xtrace
3580 [37m[1mDEBUG [m+ app=digiwords
3581 [37m[1mDEBUG [m+ [[ path =~ (unprotected|protected|skipped)_ ]]
3582 [37m[1mDEBUG [m+ ynh_app_setting set digiwords path /path
3583 [37m[1mDEBUG [m+ set +o xtrace
3685 [37m[1mDEBUG [m+ ynh_script_progression '--message=Installing dependencies...' --weight=1
3686 [37m[1mDEBUG [m+ set +o xtrace
3821 [37m[1mDEBUG [m+ set +o xtrace
3853 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3854 [37m[1mDEBUG [m+ set +x
3855 [37m[1mDEBUG [m+ echo '[####++..............] > Installing dependencies...'
3856 [37m[1mDEBUG [m+ set -o xtrace
3857 [37m[1mDEBUG [m+ ynh_install_app_dependencies php-sqlite3
3857 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3859 [36m[1mINFO [m[####++..............] > Installing dependencies...
3859 [37m[1mDEBUG [m++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
3863 [37m[1mDEBUG [m++ echo php-sqlite3
3868 [37m[1mDEBUG [m+ dependencies=php-sqlite3
3874 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3875 [37m[1mDEBUG [m+ local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/manifest.json
3876 [37m[1mDEBUG [m++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/manifest.json
3879 [37m[1mDEBUG [m+ local version=0.3.3~ynh1
3879 [37m[1mDEBUG [m+ '[' -z 0.3.3~ynh1 ']'
3880 [37m[1mDEBUG [m+ '[' 0.3.3~ynh1 == null ']'
3880 [37m[1mDEBUG [m+ local dep_app=digiwords
3881 [37m[1mDEBUG [m+ [[ php-sqlite3 =~ [<=>] ]]
3883 [37m[1mDEBUG [m++ echo php-sqlite3
3885 [37m[1mDEBUG [m++ sort -u
3885 [37m[1mDEBUG [m++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
3894 [37m[1mDEBUG [m+ local specific_php_version=
3895 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
3896 [37m[1mDEBUG [m+ [[ -n '' ]]
3897 [37m[1mDEBUG [m+ [[ true == \t\r\u\e ]]
3898 [37m[1mDEBUG [m+ YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
3898 [37m[1mDEBUG [m+ grep --quiet php
3900 [37m[1mDEBUG [m+ dpkg --list
3901 [37m[1mDEBUG [m+ grep php7.0
3902 [37m[1mDEBUG [m+ grep --quiet --invert-match 7.0.33-0+deb9
3926 [37m[1mDEBUG [m+ cat
3931 [37m[1mDEBUG [m+ ynh_package_install_from_equivs /tmp/digiwords-ynh-deps.control
3932 [37m[1mDEBUG [m+ local controlfile=/tmp/digiwords-ynh-deps.control
3933 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
3934 [37m[1mDEBUG [m++ grep '^Package: ' /tmp/digiwords-ynh-deps.control
3940 [37m[1mDEBUG [m+ local pkgname=digiwords-ynh-deps
3942 [37m[1mDEBUG [m++ grep '^Version: ' /tmp/digiwords-ynh-deps.control
3945 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
3948 [37m[1mDEBUG [m+ local pkgversion=0.3.3~ynh1
3948 [37m[1mDEBUG [m+ [[ -z digiwords-ynh-deps ]]
3949 [37m[1mDEBUG [m+ [[ -z 0.3.3~ynh1 ]]
3949 [37m[1mDEBUG [m+ ynh_package_update
3950 [37m[1mDEBUG [m+ ynh_apt update
3953 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
3954 [37m[1mDEBUG [m+ local try
3954 [37m[1mDEBUG [m+ set +o xtrace
5395 [37m[1mDEBUG [m+ return 0
5396 [37m[1mDEBUG [m+ LC_ALL=C
5397 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
5397 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
5488 [37m[1mDEBUG [mHit:1 http://forge.yunohost.org/debian buster InRelease
5491 [37m[1mDEBUG [mHit:2 http://deb.debian.org/debian buster InRelease
5502 [37m[1mDEBUG [mHit:3 http://deb.debian.org/debian buster-updates InRelease
5513 [37m[1mDEBUG [mHit:4 http://deb.debian.org/debian-security buster/updates InRelease
7856 [37m[1mDEBUG [mReading package lists...
7905 [37m[1mDEBUG [m++ mktemp --directory
7916 [37m[1mDEBUG [m+ local TMPDIR=/tmp/tmp.IxoghLjsOE
7916 [37m[1mDEBUG [m+ echo 10
7919 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
7919 [37m[1mDEBUG [m+ local try
7920 [37m[1mDEBUG [m+ set +o xtrace
9405 [37m[1mDEBUG [m+ return 0
9407 [37m[1mDEBUG [m+ cp /tmp/digiwords-ynh-deps.control /tmp/tmp.IxoghLjsOE/control
9416 [37m[1mDEBUG [m+ cd /tmp/tmp.IxoghLjsOE
9417 [37m[1mDEBUG [m+ LC_ALL=C
9419 [37m[1mDEBUG [m+ equivs-build ./control
11554 [37m[1mDEBUG [m+ LC_ALL=C
11555 [37m[1mDEBUG [m+ dpkg --force-depends --install ./digiwords-ynh-deps_0.3.3~ynh1_all.deb
11556 [37m[1mDEBUG [m+ tee ./dpkg_log
11631 [37m[1mDEBUG [mSelecting previously unselected package digiwords-ynh-deps.
11674 [37m[1mDEBUG [m(Reading database ... 42385 files and directories currently installed.)
11676 [37m[1mDEBUG [mPreparing to unpack .../digiwords-ynh-deps_0.3.3~ynh1_all.deb ...
11687 [37m[1mDEBUG [mUnpacking digiwords-ynh-deps (0.3.3~ynh1) ...
11759 [37m[1mDEBUG [mdpkg: digiwords-ynh-deps: dependency problems, but configuring anyway as you requested:
11761 [37m[1mDEBUG [m digiwords-ynh-deps depends on php-sqlite3; however:
11764 [37m[1mDEBUG [m Package php-sqlite3 is not installed.
11765 [37m[1mDEBUG [m
11767 [37m[1mDEBUG [mSetting up digiwords-ynh-deps (0.3.3~ynh1) ...
11854 [37m[1mDEBUG [m+ ynh_package_install --fix-broken
11856 [37m[1mDEBUG [m+ ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
11858 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
11859 [37m[1mDEBUG [m+ local try
11863 [37m[1mDEBUG [m+ set +o xtrace
13327 [37m[1mDEBUG [m+ return 0
13331 [37m[1mDEBUG [m+ LC_ALL=C
13333 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
13334 [37m[1mDEBUG [m+ 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
13503 [37m[1mDEBUG [mReading package lists...
13936 [37m[1mDEBUG [mBuilding dependency tree...
13939 [37m[1mDEBUG [mReading state information...
14177 [37m[1mDEBUG [mCorrecting dependencies... Done
14596 [37m[1mDEBUG [mThe following additional packages will be installed:
14598 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
14630 [37m[1mDEBUG [mThe following NEW packages will be installed:
14632 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
15217 [37m[1mDEBUG [m0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
15218 [37m[1mDEBUG [mNeed to get 0 B/32.2 kB of archives.
15219 [37m[1mDEBUG [mAfter this operation, 139 kB of additional disk space will be used.
15390 [37m[1mDEBUG [mSelecting previously unselected package php7.3-sqlite3.
15437 [37m[1mDEBUG [m(Reading database ... 42389 files and directories currently installed.)
15443 [37m[1mDEBUG [mPreparing to unpack .../php7.3-sqlite3_7.3.31-1~deb10u1_amd64.deb ...
15471 [37m[1mDEBUG [mUnpacking php7.3-sqlite3 (7.3.31-1~deb10u1) ...
15623 [37m[1mDEBUG [mSelecting previously unselected package php-sqlite3.
15632 [37m[1mDEBUG [mPreparing to unpack .../php-sqlite3_2%3a7.3+69_all.deb ...
15645 [37m[1mDEBUG [mUnpacking php-sqlite3 (2:7.3+69) ...
15801 [37m[1mDEBUG [mSetting up php7.3-sqlite3 (7.3.31-1~deb10u1) ...
15829 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16042 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16145 [37m[1mDEBUG [m
16147 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/sqlite3.ini with new version
16256 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16557 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16779 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16896 [37m[1mDEBUG [m
16898 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/pdo_sqlite.ini with new version
17004 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
17270 [37m[1mDEBUG [mSetting up php-sqlite3 (2:7.3+69) ...
17320 [37m[1mDEBUG [mProcessing triggers for php7.3-fpm (7.3.31-1~deb10u1) ...
17978 [37m[1mDEBUG [m+ [[ -n /tmp/tmp.IxoghLjsOE ]]
17979 [37m[1mDEBUG [m+ rm --recursive --force /tmp/tmp.IxoghLjsOE
17989 [37m[1mDEBUG [m+ ynh_package_is_installed digiwords-ynh-deps
17990 [37m[1mDEBUG [m+ local legacy_args=p
17990 [37m[1mDEBUG [m+ args_array=([p]=package=)
17990 [37m[1mDEBUG [m+ local -A args_array
17991 [37m[1mDEBUG [m+ local package
17991 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords-ynh-deps
17992 [37m[1mDEBUG [m+ set +o xtrace
18015 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
18019 [37m[1mDEBUG [m+ set +x
18020 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
18020 [37m[1mDEBUG [m+ local try
18024 [37m[1mDEBUG [m+ set +o xtrace
19507 [37m[1mDEBUG [m+ return 0
19511 [37m[1mDEBUG [m+ grep --count 'ok installed'
19512 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
19547 [37m[1mDEBUG [m+ rm /tmp/digiwords-ynh-deps.control
19551 [37m[1mDEBUG [m+ [[ -n '' ]]
19551 [37m[1mDEBUG [m+ grep --quiet php
19556 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
19558 [37m[1mDEBUG [m+ local _globalapp=digiwords
19559 [37m[1mDEBUG [m+ local legacy_args=akv
19560 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
19561 [37m[1mDEBUG [m+ local -A args_array
19561 [37m[1mDEBUG [m+ local app
19562 [37m[1mDEBUG [m+ local key
19562 [37m[1mDEBUG [m+ local value
19563 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
19564 [37m[1mDEBUG [m+ set +o xtrace
19738 [37m[1mDEBUG [m+ app=digiwords
19739 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
19739 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
19739 [37m[1mDEBUG [m+ set +o xtrace
19829 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring system user...' --weight=1
19830 [37m[1mDEBUG [m+ set +o xtrace
19976 [37m[1mDEBUG [m+ set +o xtrace
19997 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
19999 [37m[1mDEBUG [m+ set +x
20002 [36m[1mINFO [m[######++............] > Configuring system user...
20007 [37m[1mDEBUG [m+ echo '[######++............] > Configuring system user...'
20008 [37m[1mDEBUG [m+ set -o xtrace
20009 [37m[1mDEBUG [m+ ynh_system_user_create --username=digiwords --home_dir=/var/www/digiwords
20011 [37m[1mDEBUG [m+ local legacy_args=uhs
20012 [37m[1mDEBUG [m+ args_array=([u]=username= [h]=home_dir= [s]=use_shell [g]=groups=)
20012 [37m[1mDEBUG [m+ local -A args_array
20013 [37m[1mDEBUG [m+ local username
20013 [37m[1mDEBUG [m+ local home_dir
20014 [37m[1mDEBUG [m+ local use_shell
20015 [37m[1mDEBUG [m+ local groups
20015 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords --home_dir=/var/www/digiwords
20016 [37m[1mDEBUG [m+ set +o xtrace
20186 [37m[1mDEBUG [m+ use_shell=0
20188 [37m[1mDEBUG [m+ home_dir=/var/www/digiwords
20191 [37m[1mDEBUG [m+ groups=
20193 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
20195 [37m[1mDEBUG [m+ local legacy_args=u
20208 [37m[1mDEBUG [m+ args_array=([u]=username=)
20210 [37m[1mDEBUG [m+ local -A args_array
20212 [37m[1mDEBUG [m+ local username
20214 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
20215 [37m[1mDEBUG [m+ set +o xtrace
20228 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
20230 [37m[1mDEBUG [m+ set +x
20235 [37m[1mDEBUG [m+ getent passwd digiwords
20252 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
20254 [37m[1mDEBUG [m+ local 'user_home_dir=--home-dir /var/www/digiwords'
20255 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
20256 [37m[1mDEBUG [m+ local 'shell=--shell /usr/sbin/nologin'
20257 [37m[1mDEBUG [m+ useradd --home-dir /var/www/digiwords --system --user-group digiwords --shell /usr/sbin/nologin
20407 [37m[1mDEBUG [m+ local group
20409 [37m[1mDEBUG [m+ ynh_script_progression '--message=Setting up source files...' --weight=1
20413 [37m[1mDEBUG [m+ set +o xtrace
20565 [37m[1mDEBUG [m+ set +o xtrace
20604 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
20605 [37m[1mDEBUG [m+ set +x
20610 [36m[1mINFO [m[########++..........] > Setting up source files...
20619 [37m[1mDEBUG [m+ echo '[########++..........] > Setting up source files...'
20624 [37m[1mDEBUG [m+ set -o xtrace
20628 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=final_path --value=/var/www/digiwords
20633 [37m[1mDEBUG [m+ local _globalapp=digiwords
20636 [37m[1mDEBUG [m+ local legacy_args=akv
20638 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
20640 [37m[1mDEBUG [m+ local -A args_array
20643 [37m[1mDEBUG [m+ local app
20645 [37m[1mDEBUG [m+ local key
20653 [37m[1mDEBUG [m+ local value
20659 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=final_path --value=/var/www/digiwords
20663 [37m[1mDEBUG [m+ set +o xtrace
20795 [37m[1mDEBUG [m+ app=digiwords
20798 [37m[1mDEBUG [m+ [[ final_path =~ (unprotected|protected|skipped)_ ]]
20799 [37m[1mDEBUG [m+ ynh_app_setting set digiwords final_path /var/www/digiwords
20801 [37m[1mDEBUG [m+ set +o xtrace
20892 [37m[1mDEBUG [m+ ynh_setup_source --dest_dir=/var/www/digiwords
20893 [37m[1mDEBUG [m+ local legacy_args=dsk
20894 [37m[1mDEBUG [m+ args_array=([d]=dest_dir= [s]=source_id= [k]=keep=)
20895 [37m[1mDEBUG [m+ local -A args_array
20895 [37m[1mDEBUG [m+ local dest_dir
20895 [37m[1mDEBUG [m+ local source_id
20896 [37m[1mDEBUG [m+ local keep
20896 [37m[1mDEBUG [m+ ynh_handle_getopts_args --dest_dir=/var/www/digiwords
20896 [37m[1mDEBUG [m+ set +o xtrace
20957 [37m[1mDEBUG [m+ source_id=app
20959 [37m[1mDEBUG [m+ keep=
20959 [37m[1mDEBUG [m+ local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/app.src
20960 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20962 [37m[1mDEBUG [m++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/app.src
20969 [37m[1mDEBUG [m+ local src_url=https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip
20972 [37m[1mDEBUG [m++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/app.src
20974 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20984 [37m[1mDEBUG [m+ local src_sum=78564c2aa18e0702972994808843587dde876813dfddc06905924a4354a54156
20988 [37m[1mDEBUG [m++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/app.src
20989 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20997 [37m[1mDEBUG [m+ local src_sumprg=sha256sum
21000 [37m[1mDEBUG [m++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/app.src
21001 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
21010 [37m[1mDEBUG [m+ local src_format=zip
21013 [37m[1mDEBUG [m++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/app.src
21015 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
21019 [37m[1mDEBUG [m+ local src_extract=true
21021 [37m[1mDEBUG [m++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/app.src
21024 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
21028 [37m[1mDEBUG [m+ local src_in_subdir=true
21030 [37m[1mDEBUG [m++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/app.src
21030 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
21037 [37m[1mDEBUG [m+ local src_filename=
21037 [37m[1mDEBUG [m+ src_sumprg=sha256sum
21039 [37m[1mDEBUG [m+ src_in_subdir=true
21040 [37m[1mDEBUG [m+ src_format=zip
21041 [37m[1mDEBUG [m++ echo zip
21043 [37m[1mDEBUG [m++ tr '[:upper:]' '[:lower:]'
21054 [37m[1mDEBUG [m+ src_format=zip
21056 [37m[1mDEBUG [m+ src_extract=true
21058 [37m[1mDEBUG [m+ '[' '' = '' ']'
21059 [37m[1mDEBUG [m+ src_filename=app.zip
21060 [37m[1mDEBUG [m+ local local_src=/opt/yunohost-apps-src/digiwords/app.zip
21060 [37m[1mDEBUG [m+ mkdir -p /var/cache/yunohost/download/digiwords/
21072 [37m[1mDEBUG [m+ src_filename=/var/cache/yunohost/download/digiwords/app.zip
21073 [37m[1mDEBUG [m+ test -e /opt/yunohost-apps-src/digiwords/app.zip
21076 [37m[1mDEBUG [m+ '[' -n https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip ']'
21077 [37m[1mDEBUG [m+ local out
21078 [37m[1mDEBUG [m++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/digiwords/app.zip https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip
21774 [37m[1mDEBUG [m+ out='2022-05-31 09:34:21 URL:https://objects.githubusercontent.com/github-production-release-asset-2e65be/459932950/34f63a52-4624-4bf0-8fd9-bfd6df81b61b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220531%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220531T093420Z&X-Amz-Expires=300&X-Amz-Signature=8cb9cbe9eb1361a1c09caa02950dbd9eb36cb3e962c00bcbfa3270353ae70b0f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=459932950&response-content-disposition=attachment%3B%20filename%3Ddigiwords-0.3.3.zip&response-content-type=application%2Foctet-stream [3002924/3002924] -> "/var/cache/yunohost/download/digiwords/app.zip" [1]'
21776 [37m[1mDEBUG [m+ echo '78564c2aa18e0702972994808843587dde876813dfddc06905924a4354a54156 /var/cache/yunohost/download/digiwords/app.zip'
21777 [37m[1mDEBUG [m+ sha256sum --check --status
21800 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
21803 [37m[1mDEBUG [m+ '[' -n '' ']'
21803 [37m[1mDEBUG [m+ mkdir --parents /var/www/digiwords
21807 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
21808 [37m[1mDEBUG [m+ '[' /var/www/digiwords == /var/www/digiwords ']'
21809 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /var/www/digiwords
21810 [37m[1mDEBUG [m+ local target=/var/www/digiwords
21813 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/manifest.json
21816 [37m[1mDEBUG [m++ tr -d '>= '
21824 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
21825 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
21826 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
21826 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
21831 [37m[1mDEBUG [m+ chmod o-rwx /var/www/digiwords
21834 [37m[1mDEBUG [m+ chmod g-w /var/www/digiwords
21836 [37m[1mDEBUG [m+ chown -R root:root /var/www/digiwords
21843 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
21844 [37m[1mDEBUG [m+ local legacy_args=u
21844 [37m[1mDEBUG [m+ args_array=([u]=username=)
21844 [37m[1mDEBUG [m+ local -A args_array
21845 [37m[1mDEBUG [m+ local username
21845 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
21845 [37m[1mDEBUG [m+ set +o xtrace
21857 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
21857 [37m[1mDEBUG [m+ set +x
21861 [37m[1mDEBUG [m+ getent passwd digiwords
21869 [37m[1mDEBUG [m+ chown digiwords:digiwords /var/www/digiwords
21887 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
21887 [37m[1mDEBUG [m+ echo /var/www/digiwords
21888 [37m[1mDEBUG [m+ true
21888 [37m[1mDEBUG [m+ '[' zip = zip ']'
21888 [37m[1mDEBUG [m+ true
21889 [37m[1mDEBUG [m++ mktemp --directory
21889 [37m[1mDEBUG [m+ local tmp_dir=/tmp/tmp.Xnp4ASWeZv
21890 [37m[1mDEBUG [m+ unzip -quo /var/cache/yunohost/download/digiwords/app.zip -d /tmp/tmp.Xnp4ASWeZv
21949 [37m[1mDEBUG [m+ cp --archive /tmp/tmp.Xnp4ASWeZv/digiwords/. /var/www/digiwords
21965 [37m[1mDEBUG [m+ ynh_secure_remove --file=/tmp/tmp.Xnp4ASWeZv
21966 [37m[1mDEBUG [m+ local legacy_args=f
21966 [37m[1mDEBUG [m+ args_array=([f]=file=)
21967 [37m[1mDEBUG [m+ local -A args_array
21968 [37m[1mDEBUG [m+ local file
21968 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/tmp/tmp.Xnp4ASWeZv
21969 [37m[1mDEBUG [m+ set +o xtrace
21988 [37m[1mDEBUG [m+ set +o xtrace
22014 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/cache/yunohost/download/digiwords/app.zip
22015 [37m[1mDEBUG [m+ local legacy_args=f
22016 [37m[1mDEBUG [m+ args_array=([f]=file=)
22017 [37m[1mDEBUG [m+ local -A args_array
22018 [37m[1mDEBUG [m+ local file
22019 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/cache/yunohost/download/digiwords/app.zip
22020 [37m[1mDEBUG [m+ set +o xtrace
22044 [37m[1mDEBUG [m+ set +o xtrace
22072 [37m[1mDEBUG [m+ '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/sources/patches/ ']'
22072 [37m[1mDEBUG [m+ test -e /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/sources/extra_files/app
22075 [37m[1mDEBUG [m+ '[' -n '' ']'
22077 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
22079 [37m[1mDEBUG [m+ chmod 750 /var/www/digiwords
22080 [37m[1mDEBUG [m+ chmod -R o-rwx /var/www/digiwords
22082 [37m[1mDEBUG [m+ chown -R digiwords:www-data /var/www/digiwords
22091 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring NGINX web server...' --weight=1
22092 [37m[1mDEBUG [m+ set +o xtrace
22223 [37m[1mDEBUG [m+ set +o xtrace
22248 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
22249 [37m[1mDEBUG [m+ set +x
22254 [37m[1mDEBUG [m+ echo '[##########++........] > Configuring NGINX web server...'
22258 [37m[1mDEBUG [m+ set -o xtrace
22260 [36m[1mINFO [m[##########++........] > Configuring NGINX web server...
22262 [37m[1mDEBUG [m+ ynh_add_nginx_config
22265 [37m[1mDEBUG [m+ local finalnginxconf=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22268 [37m[1mDEBUG [m+ '[' /path '!=' / ']'
22270 [37m[1mDEBUG [m+ ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/nginx.conf
22271 [37m[1mDEBUG [m+ local legacy_args=mrf
22273 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22274 [37m[1mDEBUG [m+ local -A args_array
22275 [37m[1mDEBUG [m+ local match_string
22276 [37m[1mDEBUG [m+ local replace_string
22277 [37m[1mDEBUG [m+ local target_file
22279 [37m[1mDEBUG [m+ ynh_handle_getopts_args '--match_string=^#sub_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/nginx.conf
22280 [37m[1mDEBUG [m+ set +o xtrace
22453 [37m[1mDEBUG [m+ set +o xtrace
22455 [37m[1mDEBUG [m+ sed --in-place 's@^#sub_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/nginx.conf
22460 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22462 [37m[1mDEBUG [m+ local legacy_args=tdv
22463 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
22464 [37m[1mDEBUG [m+ local -A args_array
22466 [37m[1mDEBUG [m+ local template
22467 [37m[1mDEBUG [m+ local destination
22469 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22471 [37m[1mDEBUG [m+ set +o xtrace
22551 [37m[1mDEBUG [m+ local template_path
22552 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/nginx.conf ']'
22553 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/nginx.conf ']'
22555 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/nginx.conf
22558 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22560 [37m[1mDEBUG [m+ local legacy_args=f
22561 [37m[1mDEBUG [m+ args_array=([f]=file=)
22563 [37m[1mDEBUG [m+ local -A args_array
22564 [37m[1mDEBUG [m+ local file
22564 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22565 [37m[1mDEBUG [m+ set +o xtrace
22579 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
22580 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
22581 [37m[1mDEBUG [m++ local _globalapp=digiwords
22583 [37m[1mDEBUG [m++ local legacy_args=ak
22584 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
22586 [37m[1mDEBUG [m++ local -A args_array
22587 [37m[1mDEBUG [m++ local app
22589 [37m[1mDEBUG [m++ local key
22590 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
22591 [37m[1mDEBUG [m++ set +o xtrace
22646 [37m[1mDEBUG [m++ app=digiwords
22647 [37m[1mDEBUG [m++ [[ checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
22648 [37m[1mDEBUG [m++ ynh_app_setting get digiwords checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
22649 [37m[1mDEBUG [m++ set +o xtrace
22732 [37m[1mDEBUG [m+ local checksum_value=
22733 [37m[1mDEBUG [m+ backup_file_checksum=
22734 [37m[1mDEBUG [m+ '[' -n '' ']'
22735 [37m[1mDEBUG [m+ touch /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22740 [37m[1mDEBUG [m+ chown root:root /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22748 [37m[1mDEBUG [m+ chmod 640 /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22752 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/nginx.conf /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22757 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22759 [37m[1mDEBUG [m+ local target=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22761 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/manifest.json
22764 [37m[1mDEBUG [m++ tr -d '>= '
22774 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
22775 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
22775 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
22776 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
22782 [37m[1mDEBUG [m+ chmod o-rwx /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22786 [37m[1mDEBUG [m+ chmod g-w /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22790 [37m[1mDEBUG [m+ chown -R root:root /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22795 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
22797 [37m[1mDEBUG [m+ local legacy_args=u
22798 [37m[1mDEBUG [m+ args_array=([u]=username=)
22799 [37m[1mDEBUG [m+ local -A args_array
22800 [37m[1mDEBUG [m+ local username
22801 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
22803 [37m[1mDEBUG [m+ set +o xtrace
22821 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
22824 [37m[1mDEBUG [m+ set +x
22827 [37m[1mDEBUG [m+ getent passwd digiwords
22831 [37m[1mDEBUG [m+ chown digiwords:digiwords /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22837 [37m[1mDEBUG [m+ echo /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22839 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
22843 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22845 [37m[1mDEBUG [m+ local legacy_args=f
22845 [37m[1mDEBUG [m+ args_array=([f]=file=)
22845 [37m[1mDEBUG [m+ local -A args_array
22846 [37m[1mDEBUG [m+ local file
22847 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22847 [37m[1mDEBUG [m+ set +o xtrace
22874 [37m[1mDEBUG [m+ test -n /path
22875 [37m[1mDEBUG [m+ local path_url_slash_less=/path
22876 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/path/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22877 [37m[1mDEBUG [m+ local legacy_args=mrf
22879 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22880 [37m[1mDEBUG [m+ local -A args_array
22881 [37m[1mDEBUG [m+ local match_string
22883 [37m[1mDEBUG [m+ local replace_string
22885 [37m[1mDEBUG [m+ local target_file
22887 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/path/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22888 [37m[1mDEBUG [m+ set +o xtrace
23030 [37m[1mDEBUG [m+ set +o xtrace
23034 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/path/@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23040 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/path --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23042 [37m[1mDEBUG [m+ local legacy_args=mrf
23045 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
23046 [37m[1mDEBUG [m+ local -A args_array
23047 [37m[1mDEBUG [m+ local match_string
23047 [37m[1mDEBUG [m+ local replace_string
23049 [37m[1mDEBUG [m+ local target_file
23050 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/path --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23051 [37m[1mDEBUG [m+ set +o xtrace
23194 [37m[1mDEBUG [m+ set +o xtrace
23195 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/path@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23199 [37m[1mDEBUG [m+ test -n digiwords
23203 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23203 [37m[1mDEBUG [m+ local legacy_args=mrf
23204 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
23204 [37m[1mDEBUG [m+ local -A args_array
23205 [37m[1mDEBUG [m+ local match_string
23205 [37m[1mDEBUG [m+ local replace_string
23205 [37m[1mDEBUG [m+ local target_file
23206 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23206 [37m[1mDEBUG [m+ set +o xtrace
23380 [37m[1mDEBUG [m+ set +o xtrace
23381 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23387 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23388 [37m[1mDEBUG [m+ local legacy_args=mrf
23389 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
23390 [37m[1mDEBUG [m+ local -A args_array
23391 [37m[1mDEBUG [m+ local match_string
23391 [37m[1mDEBUG [m+ local replace_string
23392 [37m[1mDEBUG [m+ local target_file
23392 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23393 [37m[1mDEBUG [m+ set +o xtrace
23539 [37m[1mDEBUG [m+ set +o xtrace
23541 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23547 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23548 [37m[1mDEBUG [m+ local legacy_args=mrf
23549 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
23550 [37m[1mDEBUG [m+ local -A args_array
23554 [37m[1mDEBUG [m+ local match_string
23554 [37m[1mDEBUG [m+ local replace_string
23555 [37m[1mDEBUG [m+ local target_file
23555 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23557 [37m[1mDEBUG [m+ set +o xtrace
23752 [37m[1mDEBUG [m+ set +o xtrace
23753 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23754 [37m[1mDEBUG [m+ test -n /var/www/digiwords
23756 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23757 [37m[1mDEBUG [m+ local legacy_args=mrf
23759 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
23761 [37m[1mDEBUG [m+ local -A args_array
23766 [37m[1mDEBUG [m+ local match_string
23767 [37m[1mDEBUG [m+ local replace_string
23768 [37m[1mDEBUG [m+ local target_file
23768 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23769 [37m[1mDEBUG [m+ set +o xtrace
23920 [37m[1mDEBUG [m+ set +o xtrace
23921 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23928 [37m[1mDEBUG [m+ test -n 7.3
23928 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23932 [37m[1mDEBUG [m+ local legacy_args=mrf
23933 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
23933 [37m[1mDEBUG [m+ local -A args_array
23934 [37m[1mDEBUG [m+ local match_string
23935 [37m[1mDEBUG [m+ local replace_string
23936 [37m[1mDEBUG [m+ local target_file
23937 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23938 [37m[1mDEBUG [m+ set +o xtrace
24084 [37m[1mDEBUG [m+ set +o xtrace
24087 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24096 [37m[1mDEBUG [m+ test -n ''
24098 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
24100 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
24102 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24105 [37m[1mDEBUG [m++ sort --unique
24109 [37m[1mDEBUG [m+ local uniques_vars
24118 [37m[1mDEBUG [m+ local delimit=@
24118 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24120 [37m[1mDEBUG [m+ local legacy_args=f
24122 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
24123 [37m[1mDEBUG [m+ local -A args_array
24125 [37m[1mDEBUG [m+ local file
24127 [37m[1mDEBUG [m+ local update_only
24128 [37m[1mDEBUG [m+ update_only=0
24129 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24131 [37m[1mDEBUG [m+ set +o xtrace
24145 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
24147 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
24148 [37m[1mDEBUG [m++ md5sum /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24150 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
24158 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf --value=2d274b9377dd09899018d334213d0b11
24159 [37m[1mDEBUG [m+ local _globalapp=digiwords
24160 [37m[1mDEBUG [m+ local legacy_args=akv
24160 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
24161 [37m[1mDEBUG [m+ local -A args_array
24162 [37m[1mDEBUG [m+ local app
24164 [37m[1mDEBUG [m+ local key
24165 [37m[1mDEBUG [m+ local value
24167 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf --value=2d274b9377dd09899018d334213d0b11
24168 [37m[1mDEBUG [m+ set +o xtrace
24292 [37m[1mDEBUG [m+ app=digiwords
24293 [37m[1mDEBUG [m+ [[ checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
24295 [37m[1mDEBUG [m+ ynh_app_setting set digiwords checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf 2d274b9377dd09899018d334213d0b11
24297 [37m[1mDEBUG [m+ set +o xtrace
24383 [37m[1mDEBUG [m+ '[' -n '' ']'
24385 [37m[1mDEBUG [m+ unset backup_file_checksum
24387 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
24389 [37m[1mDEBUG [m+ local legacy_args=nalpte
24392 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
24395 [37m[1mDEBUG [m+ local -A args_array
24396 [37m[1mDEBUG [m+ local service_name
24397 [37m[1mDEBUG [m+ local action
24398 [37m[1mDEBUG [m+ local line_match
24399 [37m[1mDEBUG [m+ local length
24399 [37m[1mDEBUG [m+ local log_path
24400 [37m[1mDEBUG [m+ local timeout
24401 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
24402 [37m[1mDEBUG [m+ set +o xtrace
24620 [37m[1mDEBUG [m+ service_name=nginx
24625 [37m[1mDEBUG [m+ action=reload
24628 [37m[1mDEBUG [m+ line_match=
24629 [37m[1mDEBUG [m+ length=20
24630 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
24631 [37m[1mDEBUG [m+ timeout=300
24631 [37m[1mDEBUG [m+ '[' reload == stop ']'
24632 [37m[1mDEBUG [m+ [[ -n '' ]]
24632 [37m[1mDEBUG [m+ '[' reload == reload ']'
24633 [37m[1mDEBUG [m+ action=reload-or-restart
24633 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
24720 [37m[1mDEBUG [m+ [[ -n '' ]]
24721 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring PHP-FPM...' --weight=1
24723 [37m[1mDEBUG [m+ set +o xtrace
24893 [37m[1mDEBUG [m+ set +o xtrace
24949 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
24952 [37m[1mDEBUG [m+ set +x
24962 [37m[1mDEBUG [m+ echo '[############++......] > Configuring PHP-FPM...'
24963 [37m[1mDEBUG [m+ set -o xtrace
24964 [37m[1mDEBUG [m+ ynh_add_fpm_config
24966 [37m[1mDEBUG [m+ local legacy_args=vtufpd
24967 [37m[1mDEBUG [m+ args_array=([v]=phpversion= [t]=use_template [u]=usage= [f]=footprint= [p]=package= [d]=dedicated_service)
24968 [37m[1mDEBUG [m+ local -A args_array
24969 [37m[1mDEBUG [m+ local phpversion
24970 [37m[1mDEBUG [m+ local use_template
24971 [37m[1mDEBUG [m+ local usage
24973 [37m[1mDEBUG [m+ local footprint
24973 [37m[1mDEBUG [m+ local package
24975 [37m[1mDEBUG [m+ local dedicated_service
24976 [37m[1mDEBUG [m+ ynh_handle_getopts_args
24976 [37m[1mDEBUG [m+ set +o xtrace
24977 [37m[1mDEBUG [m+ package=
24978 [37m[1mDEBUG [m+ use_template=1
24979 [37m[1mDEBUG [m+ usage=
24980 [37m[1mDEBUG [m+ footprint=
24981 [37m[1mDEBUG [m+ '[' -n '' ']'
24981 [37m[1mDEBUG [m+ '[' -n '' ']'
24982 [37m[1mDEBUG [m+ dedicated_service=0
24983 [37m[1mDEBUG [m+ phpversion=7.3
24983 [36m[1mINFO [m[############++......] > Configuring PHP-FPM...
24983 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
24984 [37m[1mDEBUG [m++ local _globalapp=digiwords
24984 [37m[1mDEBUG [m++ local legacy_args=ak
24984 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
24985 [37m[1mDEBUG [m++ local -A args_array
24985 [37m[1mDEBUG [m++ local app
24985 [37m[1mDEBUG [m++ local key
24986 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
24986 [37m[1mDEBUG [m++ set +o xtrace
25046 [37m[1mDEBUG [m++ app=digiwords
25047 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
25047 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
25048 [37m[1mDEBUG [m++ set +o xtrace
25128 [37m[1mDEBUG [m+ local old_phpversion=7.3
25130 [37m[1mDEBUG [m+ '[' -n 7.3 ']'
25130 [37m[1mDEBUG [m+ '[' 7.3 '!=' 7.3 ']'
25131 [37m[1mDEBUG [m+ '[' -n '' ']'
25131 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
25131 [37m[1mDEBUG [m+ local fpm_service=php7.3-fpm
25131 [37m[1mDEBUG [m+ local fpm_config_dir=/etc/php/7.3/fpm
25131 [37m[1mDEBUG [m+ mkdir --parents /etc/php/7.3/fpm/pool.d
25132 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_config_dir --value=/etc/php/7.3/fpm
25132 [37m[1mDEBUG [m+ local _globalapp=digiwords
25132 [37m[1mDEBUG [m+ local legacy_args=akv
25133 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
25133 [37m[1mDEBUG [m+ local -A args_array
25133 [37m[1mDEBUG [m+ local app
25133 [37m[1mDEBUG [m+ local key
25133 [37m[1mDEBUG [m+ local value
25133 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_config_dir --value=/etc/php/7.3/fpm
25133 [37m[1mDEBUG [m+ set +o xtrace
25329 [37m[1mDEBUG [m+ app=digiwords
25331 [37m[1mDEBUG [m+ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
25331 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_config_dir /etc/php/7.3/fpm
25332 [37m[1mDEBUG [m+ set +o xtrace
25417 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_service --value=php7.3-fpm
25418 [37m[1mDEBUG [m+ local _globalapp=digiwords
25418 [37m[1mDEBUG [m+ local legacy_args=akv
25419 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
25419 [37m[1mDEBUG [m+ local -A args_array
25420 [37m[1mDEBUG [m+ local app
25420 [37m[1mDEBUG [m+ local key
25420 [37m[1mDEBUG [m+ local value
25421 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_service --value=php7.3-fpm
25421 [37m[1mDEBUG [m+ set +o xtrace
25555 [37m[1mDEBUG [m+ app=digiwords
25555 [37m[1mDEBUG [m+ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
25555 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_service php7.3-fpm
25556 [37m[1mDEBUG [m+ set +o xtrace
25631 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_dedicated_service --value=0
25631 [37m[1mDEBUG [m+ local _globalapp=digiwords
25632 [37m[1mDEBUG [m+ local legacy_args=akv
25632 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
25633 [37m[1mDEBUG [m+ local -A args_array
25633 [37m[1mDEBUG [m+ local app
25633 [37m[1mDEBUG [m+ local key
25633 [37m[1mDEBUG [m+ local value
25634 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_dedicated_service --value=0
25634 [37m[1mDEBUG [m+ set +o xtrace
25819 [37m[1mDEBUG [m+ app=digiwords
25820 [37m[1mDEBUG [m+ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
25821 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_dedicated_service 0
25821 [37m[1mDEBUG [m+ set +o xtrace
25919 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
25922 [37m[1mDEBUG [m+ local _globalapp=digiwords
25922 [37m[1mDEBUG [m+ local legacy_args=akv
25923 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
25923 [37m[1mDEBUG [m+ local -A args_array
25923 [37m[1mDEBUG [m+ local app
25924 [37m[1mDEBUG [m+ local key
25924 [37m[1mDEBUG [m+ local value
25924 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
25924 [37m[1mDEBUG [m+ set +o xtrace
26070 [37m[1mDEBUG [m+ app=digiwords
26071 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
26072 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
26072 [37m[1mDEBUG [m+ set +o xtrace
26162 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
26163 [37m[1mDEBUG [m+ '[' 1 -eq 1 ']'
26163 [37m[1mDEBUG [m+ local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/php-fpm.conf
26163 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/php-fpm.conf ']'
26164 [37m[1mDEBUG [m+ local finalphpconf=/etc/php/7.3/fpm/pool.d/digiwords.conf
26164 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords.conf
26165 [37m[1mDEBUG [m+ local legacy_args=tdv
26165 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
26165 [37m[1mDEBUG [m+ local -A args_array
26166 [37m[1mDEBUG [m+ local template
26166 [37m[1mDEBUG [m+ local destination
26166 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords.conf
26166 [37m[1mDEBUG [m+ set +o xtrace
26259 [37m[1mDEBUG [m+ local template_path
26260 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/php-fpm.conf ']'
26261 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/php-fpm.conf ']'
26261 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/php-fpm.conf
26261 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26262 [37m[1mDEBUG [m+ local legacy_args=f
26262 [37m[1mDEBUG [m+ args_array=([f]=file=)
26263 [37m[1mDEBUG [m+ local -A args_array
26263 [37m[1mDEBUG [m+ local file
26264 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26264 [37m[1mDEBUG [m+ set +o xtrace
26286 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
26289 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
26289 [37m[1mDEBUG [m++ local _globalapp=digiwords
26290 [37m[1mDEBUG [m++ local legacy_args=ak
26290 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
26290 [37m[1mDEBUG [m++ local -A args_array
26291 [37m[1mDEBUG [m++ local app
26291 [37m[1mDEBUG [m++ local key
26292 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
26293 [37m[1mDEBUG [m++ set +o xtrace
26362 [37m[1mDEBUG [m++ app=digiwords
26363 [37m[1mDEBUG [m++ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
26364 [37m[1mDEBUG [m++ ynh_app_setting get digiwords checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
26365 [37m[1mDEBUG [m++ set +o xtrace
26481 [37m[1mDEBUG [m+ local checksum_value=
26482 [37m[1mDEBUG [m+ backup_file_checksum=
26483 [37m[1mDEBUG [m+ '[' -n '' ']'
26484 [37m[1mDEBUG [m+ touch /etc/php/7.3/fpm/pool.d/digiwords.conf
26485 [37m[1mDEBUG [m+ chown root:root /etc/php/7.3/fpm/pool.d/digiwords.conf
26489 [37m[1mDEBUG [m+ chmod 640 /etc/php/7.3/fpm/pool.d/digiwords.conf
26493 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/digiwords.conf
26498 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/php/7.3/fpm/pool.d/digiwords.conf
26499 [37m[1mDEBUG [m+ local target=/etc/php/7.3/fpm/pool.d/digiwords.conf
26500 [37m[1mDEBUG [m++ tr -d '>= '
26501 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/manifest.json
26520 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
26522 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
26524 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
26524 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
26530 [37m[1mDEBUG [m+ chmod o-rwx /etc/php/7.3/fpm/pool.d/digiwords.conf
26534 [37m[1mDEBUG [m+ chmod g-w /etc/php/7.3/fpm/pool.d/digiwords.conf
26537 [37m[1mDEBUG [m+ chown -R root:root /etc/php/7.3/fpm/pool.d/digiwords.conf
26542 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
26543 [37m[1mDEBUG [m+ local legacy_args=u
26544 [37m[1mDEBUG [m+ args_array=([u]=username=)
26544 [37m[1mDEBUG [m+ local -A args_array
26545 [37m[1mDEBUG [m+ local username
26546 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
26546 [37m[1mDEBUG [m+ set +o xtrace
26576 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
26577 [37m[1mDEBUG [m+ set +x
26582 [37m[1mDEBUG [m+ getent passwd digiwords
26589 [37m[1mDEBUG [m+ chown digiwords:digiwords /etc/php/7.3/fpm/pool.d/digiwords.conf
26597 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
26607 [37m[1mDEBUG [m+ echo /etc/php/7.3/fpm/pool.d/digiwords.conf
26610 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26611 [37m[1mDEBUG [m+ local legacy_args=f
26612 [37m[1mDEBUG [m+ args_array=([f]=file=)
26613 [37m[1mDEBUG [m+ local -A args_array
26614 [37m[1mDEBUG [m+ local file
26615 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26616 [37m[1mDEBUG [m+ set +o xtrace
26646 [37m[1mDEBUG [m+ test -n /path
26649 [37m[1mDEBUG [m+ local path_url_slash_less=/path
26650 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/path/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26651 [37m[1mDEBUG [m+ local legacy_args=mrf
26651 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
26652 [37m[1mDEBUG [m+ local -A args_array
26652 [37m[1mDEBUG [m+ local match_string
26653 [37m[1mDEBUG [m+ local replace_string
26653 [37m[1mDEBUG [m+ local target_file
26654 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/path/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26654 [37m[1mDEBUG [m+ set +o xtrace
26805 [37m[1mDEBUG [m+ set +o xtrace
26806 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/path/@g /etc/php/7.3/fpm/pool.d/digiwords.conf
26813 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/path --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26815 [37m[1mDEBUG [m+ local legacy_args=mrf
26816 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
26816 [37m[1mDEBUG [m+ local -A args_array
26817 [37m[1mDEBUG [m+ local match_string
26817 [37m[1mDEBUG [m+ local replace_string
26817 [37m[1mDEBUG [m+ local target_file
26818 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/path --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26818 [37m[1mDEBUG [m+ set +o xtrace
26942 [37m[1mDEBUG [m+ set +o xtrace
26943 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/path@g /etc/php/7.3/fpm/pool.d/digiwords.conf
26946 [37m[1mDEBUG [m+ test -n digiwords
26947 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26948 [37m[1mDEBUG [m+ local legacy_args=mrf
26948 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
26949 [37m[1mDEBUG [m+ local -A args_array
26949 [37m[1mDEBUG [m+ local match_string
26950 [37m[1mDEBUG [m+ local replace_string
26950 [37m[1mDEBUG [m+ local target_file
26951 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26952 [37m[1mDEBUG [m+ set +o xtrace
27139 [37m[1mDEBUG [m+ set +o xtrace
27140 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
27145 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27146 [37m[1mDEBUG [m+ local legacy_args=mrf
27146 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
27146 [37m[1mDEBUG [m+ local -A args_array
27147 [37m[1mDEBUG [m+ local match_string
27147 [37m[1mDEBUG [m+ local replace_string
27147 [37m[1mDEBUG [m+ local target_file
27148 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27148 [37m[1mDEBUG [m+ set +o xtrace
27313 [37m[1mDEBUG [m+ set +o xtrace
27314 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
27318 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27319 [37m[1mDEBUG [m+ local legacy_args=mrf
27320 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
27321 [37m[1mDEBUG [m+ local -A args_array
27322 [37m[1mDEBUG [m+ local match_string
27322 [37m[1mDEBUG [m+ local replace_string
27323 [37m[1mDEBUG [m+ local target_file
27324 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27325 [37m[1mDEBUG [m+ set +o xtrace
27478 [37m[1mDEBUG [m+ set +o xtrace
27479 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
27484 [37m[1mDEBUG [m+ test -n /var/www/digiwords
27485 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27487 [37m[1mDEBUG [m+ local legacy_args=mrf
27487 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
27488 [37m[1mDEBUG [m+ local -A args_array
27489 [37m[1mDEBUG [m+ local match_string
27489 [37m[1mDEBUG [m+ local replace_string
27489 [37m[1mDEBUG [m+ local target_file
27490 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27490 [37m[1mDEBUG [m+ set +o xtrace
27647 [37m[1mDEBUG [m+ set +o xtrace
27648 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
27654 [37m[1mDEBUG [m+ test -n 7.3
27655 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27655 [37m[1mDEBUG [m+ local legacy_args=mrf
27656 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
27657 [37m[1mDEBUG [m+ local -A args_array
27657 [37m[1mDEBUG [m+ local match_string
27658 [37m[1mDEBUG [m+ local replace_string
27659 [37m[1mDEBUG [m+ local target_file
27659 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27660 [37m[1mDEBUG [m+ set +o xtrace
27821 [37m[1mDEBUG [m+ set +o xtrace
27822 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/digiwords.conf
27829 [37m[1mDEBUG [m+ test -n ''
27830 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
27833 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/7.3/fpm/pool.d/digiwords.conf
27834 [37m[1mDEBUG [m++ sort --unique
27840 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
27846 [37m[1mDEBUG [m+ local uniques_vars
27847 [37m[1mDEBUG [m+ local delimit=@
27848 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27848 [37m[1mDEBUG [m+ local legacy_args=f
27849 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
27849 [37m[1mDEBUG [m+ local -A args_array
27849 [37m[1mDEBUG [m+ local file
27850 [37m[1mDEBUG [m+ local update_only
27850 [37m[1mDEBUG [m+ update_only=0
27850 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27851 [37m[1mDEBUG [m+ set +o xtrace
27899 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
27900 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
27901 [37m[1mDEBUG [m++ md5sum /etc/php/7.3/fpm/pool.d/digiwords.conf
27905 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
27913 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf --value=79ffd547aca07e585572ccb8bfba1ec1
27913 [37m[1mDEBUG [m+ local _globalapp=digiwords
27914 [37m[1mDEBUG [m+ local legacy_args=akv
27914 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
27914 [37m[1mDEBUG [m+ local -A args_array
27915 [37m[1mDEBUG [m+ local app
27915 [37m[1mDEBUG [m+ local key
27915 [37m[1mDEBUG [m+ local value
27916 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf --value=79ffd547aca07e585572ccb8bfba1ec1
27916 [37m[1mDEBUG [m+ set +o xtrace
28075 [37m[1mDEBUG [m+ app=digiwords
28075 [37m[1mDEBUG [m+ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
28075 [37m[1mDEBUG [m+ ynh_app_setting set digiwords checksum__etc_php_7.3_fpm_pool.d_digiwords.conf 79ffd547aca07e585572ccb8bfba1ec1
28076 [37m[1mDEBUG [m+ set +o xtrace
28165 [37m[1mDEBUG [m+ '[' -n '' ']'
28166 [37m[1mDEBUG [m+ unset backup_file_checksum
28167 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_gqsc4tt4/app_folder/conf/php-fpm.ini ']'
28168 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
28168 [37m[1mDEBUG [m+ php-fpm7.3 --test
28293 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
28293 [37m[1mDEBUG [m+ local legacy_args=nalpte
28294 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
28295 [37m[1mDEBUG [m+ local -A args_array
28295 [37m[1mDEBUG [m+ local service_name
28296 [37m[1mDEBUG [m+ local action
28297 [37m[1mDEBUG [m+ local line_match
28297 [37m[1mDEBUG [m+ local length
28298 [37m[1mDEBUG [m+ local log_path
28303 [37m[1mDEBUG [m+ local timeout
28304 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
28305 [37m[1mDEBUG [m+ set +o xtrace
28499 [37m[1mDEBUG [m+ service_name=php7.3-fpm
28500 [37m[1mDEBUG [m+ action=reload
28500 [37m[1mDEBUG [m+ line_match=
28500 [37m[1mDEBUG [m+ length=20
28501 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
28501 [37m[1mDEBUG [m+ timeout=300
28501 [37m[1mDEBUG [m+ '[' reload == stop ']'
28502 [37m[1mDEBUG [m+ [[ -n '' ]]
28502 [37m[1mDEBUG [m+ '[' reload == reload ']'
28502 [37m[1mDEBUG [m+ action=reload-or-restart
28503 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
28539 [37m[1mDEBUG [m+ [[ -n '' ]]
28544 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring permissions...' --weight=1
28545 [37m[1mDEBUG [m+ set +o xtrace
28710 [37m[1mDEBUG [m+ set +o xtrace
28736 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
28737 [37m[1mDEBUG [m+ set +x
28742 [37m[1mDEBUG [m+ echo '[##############++....] > Configuring permissions...'
28744 [37m[1mDEBUG [m+ set -o xtrace
28745 [37m[1mDEBUG [m+ '[' 1 -eq 1 ']'
28746 [37m[1mDEBUG [m+ ynh_permission_update --permission=main --add=visitors
28747 [37m[1mDEBUG [m+ local legacy_args=parltP
28747 [37m[1mDEBUG [m+ args_array=([p]=permission= [a]=add= [r]=remove= [l]=label= [t]=show_tile= [P]=protected=)
28748 [37m[1mDEBUG [m+ local -A args_array
28751 [37m[1mDEBUG [m+ local permission
28752 [37m[1mDEBUG [m+ local add
28752 [37m[1mDEBUG [m+ local remove
28756 [37m[1mDEBUG [m+ local label
28757 [37m[1mDEBUG [m+ local show_tile
28757 [37m[1mDEBUG [m+ local protected
28758 [37m[1mDEBUG [m+ ynh_handle_getopts_args --permission=main --add=visitors
28758 [37m[1mDEBUG [m+ set +o xtrace
28759 [36m[1mINFO [m[##############++....] > Configuring permissions...
28969 [37m[1mDEBUG [m+ add=visitors
28970 [37m[1mDEBUG [m+ remove=
28973 [37m[1mDEBUG [m+ label=
28973 [37m[1mDEBUG [m+ show_tile=
28974 [37m[1mDEBUG [m+ protected=
28975 [37m[1mDEBUG [m+ [[ -n visitors ]]
28976 [37m[1mDEBUG [m+ add=',add=['\''visitors'\'']'
28976 [37m[1mDEBUG [m+ [[ -n '' ]]
28977 [37m[1mDEBUG [m+ [[ -n '' ]]
28980 [37m[1mDEBUG [m+ [[ -n '' ]]
28981 [37m[1mDEBUG [m+ [[ -n '' ]]
28981 [37m[1mDEBUG [m+ yunohost tools shell -c 'from yunohost.permission import user_permission_update; user_permission_update('\''digiwords.main'\'' ,add=['\''visitors'\''] , force=True)'
29595 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reloading NGINX web server...' --weight=1
29596 [37m[1mDEBUG [m+ set +o xtrace
29727 [37m[1mDEBUG [m+ set +o xtrace
29757 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
29758 [37m[1mDEBUG [m+ set +x
29765 [37m[1mDEBUG [m+ echo '[################++..] > Reloading NGINX web server...'
29768 [37m[1mDEBUG [m+ set -o xtrace
29769 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
29770 [37m[1mDEBUG [m+ local legacy_args=nalpte
29770 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
29772 [37m[1mDEBUG [m+ local -A args_array
29773 [37m[1mDEBUG [m+ local service_name
29774 [37m[1mDEBUG [m+ local action
29775 [37m[1mDEBUG [m+ local line_match
29776 [37m[1mDEBUG [m+ local length
29777 [37m[1mDEBUG [m+ local log_path
29778 [37m[1mDEBUG [m+ local timeout
29779 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
29779 [37m[1mDEBUG [m+ set +o xtrace
29780 [36m[1mINFO [m[################++..] > Reloading NGINX web server...
29974 [37m[1mDEBUG [m+ service_name=nginx
29975 [37m[1mDEBUG [m+ action=reload
29976 [37m[1mDEBUG [m+ line_match=
29977 [37m[1mDEBUG [m+ length=20
29978 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
29979 [37m[1mDEBUG [m+ timeout=300
29980 [37m[1mDEBUG [m+ '[' reload == stop ']'
29981 [37m[1mDEBUG [m+ [[ -n '' ]]
29982 [37m[1mDEBUG [m+ '[' reload == reload ']'
29982 [37m[1mDEBUG [m+ action=reload-or-restart
29983 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
30077 [37m[1mDEBUG [m+ [[ -n '' ]]
30078 [37m[1mDEBUG [m+ ynh_script_progression '--message=Installation of digiwords completed' --last
30079 [37m[1mDEBUG [m+ set +o xtrace
30214 [37m[1mDEBUG [m+ set +o xtrace
30245 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
30247 [37m[1mDEBUG [m+ set +x
30259 [36m[1mINFO [m[####################] > Installation of digiwords completed
30263 [37m[1mDEBUG [m+ echo '[####################] > Installation of digiwords completed'
30264 [37m[1mDEBUG [m+ set -o xtrace
30265 [37m[1mDEBUG [m+ ynh_exit_properly
30267 [37m[1mDEBUG [m+ local exit_code=0
30268 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/download/
30269 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
30271 [37m[1mDEBUG [m+ exit 0
31279 [37m[1mDEBUG [mChecking that required services are up and running...
32153 [32m[1mSUCCESS [mInstallation completed
32155 [37m[1mDEBUG [mTo view the log of the operation 'Install the 'digiwords' app', use the command 'yunohost log show 20220531-093400-app_install-digiwords'
32182 [37m[1mDEBUG [maction [2576.1] executed in 31.909s
32183 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 33 seconds (09:34:31)
Installation successful.
Return code: 1
Working time: 0s (09:34:41)
[1m > Validating that the app digiwords can/can't be accessed with its URL...[0m
Running curl sub.domain.tld/path
Return code: 0
Working time: 0s (09:34:47)
Digiwords by La DigitaleReturn code: 0
Working time: 0s (09:34:50)
HTTP code:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Test URL: sub.domain.tld/path
Real URL:
HTTP code:
Page title:
Page extract:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Running curl sub.domain.tld/path/
Return code: 0
Working time: 0s (09:34:56)
Return code: 0
Working time: 0s (09:34:59)
HTTP code:
Test URL: sub.domain.tld/path/
Real URL:
HTTP code:
Page title:
Page extract:
Test URL: sub.domain.tld/path/
Real URL:
HTTP code:
Page title:
Page extract:
[1m[32m--- SUCCESS ---[0m
Working time for this test: 5 minutes, 10 seconds (09:35:00)
[1m
============================================
[Test 4/9] Installation in private mode
============================================
[0m
Loading snapshot snap0 ...
Running: yunohost app install --force /app_folder -a "domain=sub.domain.tld&path=/ admin=package_checker&language=fr&is_public=0 password=1Strong-Password port=666&admin=&"
Running yunohost app install --force /app_folder -a "domain=sub.domain.tld&path=/ admin=package_checker&language=fr&is_public=0 password=1Strong-Password port=666&admin=&"
185 [37m[1mDEBUG [minitializing base actions map parser for cli
188 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
191 [37m[1mDEBUG [mbuilding parser...
212 [37m[1mDEBUG [mbuilding parser took 0.020s
214 [37m[1mDEBUG [macquiring lock...
234 [37m[1mDEBUG [mlock has been acquired
262 [37m[1mDEBUG [mloading python module yunohost.app took 0.027s
263 [37m[1mDEBUG [mprocessing action [813.1]: yunohost.app.install with args={'app': '/app_folder', 'label': None, 'args': 'domain=sub.domain.tld&path=/ admin=package_checker&language=fr&is_public=0 password=1Strong-Password port=666&admin=&', 'no_remove_on_failure': False, 'force': True}
304 [37m[1mDEBUG [mExtracting...
322 [37m[1mDEBUG [mDone
324 [37m[1mDEBUG [mChecking required packages for digiwords...
335 [37m[1mDEBUG [mChecking that required services are up and running...
1280 [37m[1mDEBUG [minitializing ldap interface
1445 [36m[1mINFO [mInstalling digiwords...
1488 [37m[1mDEBUG [mNothing to update in LDAP
1489 [37m[1mDEBUG [mPermission 'digiwords.main' updated
1498 [37m[1mDEBUG [mTo view the log of the operation 'Update URL related to permission 'digiwords'', use the command 'yunohost log show 20220531-093616-permission_url-digiwords'
1527 [37m[1mDEBUG [mThe permission database has been resynchronized
1544 [37m[1mDEBUG [mSSOwat configuration regenerated
1570 [37m[1mDEBUG [mPermission 'digiwords.main' created
1572 [37m[1mDEBUG [mTo view the log of the operation 'Create permission 'digiwords'', use the command 'yunohost log show 20220531-093616-permission_create-digiwords'
1599 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
1616 [37m[1mDEBUG [m+ source _common.sh
1618 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
1619 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
1620 [37m[1mDEBUG [m+++ grep xtrace
1621 [37m[1mDEBUG [m+++ set +o
1623 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
1624 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
1625 [37m[1mDEBUG [m++ set +x
1662 [37m[1mDEBUG [m+ ynh_abort_if_errors
1664 [37m[1mDEBUG [m+ set -o errexit
1665 [37m[1mDEBUG [m+ set -o nounset
1666 [37m[1mDEBUG [m+ trap ynh_exit_properly EXIT
1668 [37m[1mDEBUG [m+ domain=sub.domain.tld
1668 [37m[1mDEBUG [m+ path_url=/
1669 [37m[1mDEBUG [m+ is_public=0
1670 [37m[1mDEBUG [m+ app=digiwords
1671 [37m[1mDEBUG [m+ ynh_script_progression '--message=Validating installation parameters...' --weight=1
1672 [37m[1mDEBUG [m+ set +o xtrace
1773 [37m[1mDEBUG [m+ set +o xtrace
1818 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1820 [37m[1mDEBUG [m+ set +x
1825 [36m[1mINFO [m[++..................] > Validating installation parameters...
1826 [37m[1mDEBUG [m+ echo '[++..................] > Validating installation parameters...'
1827 [37m[1mDEBUG [m+ set -o xtrace
1828 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
1829 [37m[1mDEBUG [m+ test '!' -e /var/www/digiwords
1830 [37m[1mDEBUG [m+ ynh_webpath_register --app=digiwords --domain=sub.domain.tld --path_url=/
1832 [37m[1mDEBUG [m+ local legacy_args=adp
1832 [37m[1mDEBUG [m+ args_array=([a]=app= [d]=domain= [p]=path_url=)
1833 [37m[1mDEBUG [m+ local -A args_array
1834 [37m[1mDEBUG [m+ local app
1835 [37m[1mDEBUG [m+ local domain
1835 [37m[1mDEBUG [m+ local path_url
1835 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --domain=sub.domain.tld --path_url=/
1836 [37m[1mDEBUG [m+ set +o xtrace
1949 [37m[1mDEBUG [m+ yunohost app register-url digiwords sub.domain.tld /
2640 [37m[1mDEBUG [m+ ynh_script_progression '--message=Storing installation settings...' --weight=1
2640 [37m[1mDEBUG [m+ set +o xtrace
2760 [37m[1mDEBUG [m+ set +o xtrace
2783 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2785 [37m[1mDEBUG [m+ set +x
2791 [36m[1mINFO [m[##++................] > Storing installation settings...
2793 [37m[1mDEBUG [m+ echo '[##++................] > Storing installation settings...'
2795 [37m[1mDEBUG [m+ set -o xtrace
2797 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=domain --value=sub.domain.tld
2799 [37m[1mDEBUG [m+ local _globalapp=digiwords
2800 [37m[1mDEBUG [m+ local legacy_args=akv
2801 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
2802 [37m[1mDEBUG [m+ local -A args_array
2803 [37m[1mDEBUG [m+ local app
2804 [37m[1mDEBUG [m+ local key
2806 [37m[1mDEBUG [m+ local value
2807 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=domain --value=sub.domain.tld
2808 [37m[1mDEBUG [m+ set +o xtrace
2938 [37m[1mDEBUG [m+ app=digiwords
2939 [37m[1mDEBUG [m+ [[ domain =~ (unprotected|protected|skipped)_ ]]
2941 [37m[1mDEBUG [m+ ynh_app_setting set digiwords domain sub.domain.tld
2942 [37m[1mDEBUG [m+ set +o xtrace
3023 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=path --value=/
3025 [37m[1mDEBUG [m+ local _globalapp=digiwords
3026 [37m[1mDEBUG [m+ local legacy_args=akv
3028 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
3029 [37m[1mDEBUG [m+ local -A args_array
3030 [37m[1mDEBUG [m+ local app
3031 [37m[1mDEBUG [m+ local key
3034 [37m[1mDEBUG [m+ local value
3035 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=path --value=/
3036 [37m[1mDEBUG [m+ set +o xtrace
3152 [37m[1mDEBUG [m+ app=digiwords
3153 [37m[1mDEBUG [m+ [[ path =~ (unprotected|protected|skipped)_ ]]
3153 [37m[1mDEBUG [m+ ynh_app_setting set digiwords path /
3154 [37m[1mDEBUG [m+ set +o xtrace
3236 [37m[1mDEBUG [m+ ynh_script_progression '--message=Installing dependencies...' --weight=1
3237 [37m[1mDEBUG [m+ set +o xtrace
3360 [37m[1mDEBUG [m+ set +o xtrace
3387 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3388 [37m[1mDEBUG [m+ set +x
3391 [37m[1mDEBUG [m+ echo '[####++..............] > Installing dependencies...'
3393 [37m[1mDEBUG [m+ set -o xtrace
3394 [37m[1mDEBUG [m+ ynh_install_app_dependencies php-sqlite3
3396 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3397 [36m[1mINFO [m[####++..............] > Installing dependencies...
3397 [37m[1mDEBUG [m++ echo php-sqlite3
3397 [37m[1mDEBUG [m++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
3404 [37m[1mDEBUG [m+ dependencies=php-sqlite3
3405 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3407 [37m[1mDEBUG [m+ local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/manifest.json
3407 [37m[1mDEBUG [m++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/manifest.json
3415 [37m[1mDEBUG [m+ local version=0.3.3~ynh1
3416 [37m[1mDEBUG [m+ '[' -z 0.3.3~ynh1 ']'
3417 [37m[1mDEBUG [m+ '[' 0.3.3~ynh1 == null ']'
3417 [37m[1mDEBUG [m+ local dep_app=digiwords
3418 [37m[1mDEBUG [m+ [[ php-sqlite3 =~ [<=>] ]]
3422 [37m[1mDEBUG [m++ echo php-sqlite3
3423 [37m[1mDEBUG [m++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
3423 [37m[1mDEBUG [m++ sort -u
3430 [37m[1mDEBUG [m+ local specific_php_version=
3431 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
3431 [37m[1mDEBUG [m+ [[ -n '' ]]
3432 [37m[1mDEBUG [m+ [[ true == \t\r\u\e ]]
3433 [37m[1mDEBUG [m+ YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
3433 [37m[1mDEBUG [m+ grep --quiet php
3439 [37m[1mDEBUG [m+ grep php7.0
3440 [37m[1mDEBUG [m+ grep --quiet --invert-match 7.0.33-0+deb9
3443 [37m[1mDEBUG [m+ dpkg --list
3473 [37m[1mDEBUG [m+ cat
3479 [37m[1mDEBUG [m+ ynh_package_install_from_equivs /tmp/digiwords-ynh-deps.control
3480 [37m[1mDEBUG [m+ local controlfile=/tmp/digiwords-ynh-deps.control
3483 [37m[1mDEBUG [m++ grep '^Package: ' /tmp/digiwords-ynh-deps.control
3484 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
3489 [37m[1mDEBUG [m+ local pkgname=digiwords-ynh-deps
3493 [37m[1mDEBUG [m++ grep '^Version: ' /tmp/digiwords-ynh-deps.control
3494 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
3500 [37m[1mDEBUG [m+ local pkgversion=0.3.3~ynh1
3500 [37m[1mDEBUG [m+ [[ -z digiwords-ynh-deps ]]
3501 [37m[1mDEBUG [m+ [[ -z 0.3.3~ynh1 ]]
3501 [37m[1mDEBUG [m+ ynh_package_update
3501 [37m[1mDEBUG [m+ ynh_apt update
3502 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
3502 [37m[1mDEBUG [m+ local try
3502 [37m[1mDEBUG [m+ set +o xtrace
4865 [37m[1mDEBUG [m+ return 0
4866 [37m[1mDEBUG [m+ LC_ALL=C
4867 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
4868 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
4988 [37m[1mDEBUG [mHit:1 http://forge.yunohost.org/debian buster InRelease
4989 [37m[1mDEBUG [mHit:2 http://deb.debian.org/debian buster InRelease
4993 [37m[1mDEBUG [mGet:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
5016 [37m[1mDEBUG [mGet:4 http://deb.debian.org/debian-security buster/updates InRelease [65.4 kB]
5712 [37m[1mDEBUG [mGet:5 http://deb.debian.org/debian buster-updates/main amd64 Packages.diff/Index [11.1 kB]
5728 [37m[1mDEBUG [mGet:6 http://deb.debian.org/debian buster-updates/main amd64 Packages 2022-05-28-1407.13.pdiff [1094 B]
5751 [37m[1mDEBUG [mGet:6 http://deb.debian.org/debian buster-updates/main amd64 Packages 2022-05-28-1407.13.pdiff [1094 B]
5933 [37m[1mDEBUG [mGet:7 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [328 kB]
6029 [37m[1mDEBUG [mGet:8 http://deb.debian.org/debian-security buster/updates/main Translation-en [177 kB]
6164 [37m[1mDEBUG [mFetched 635 kB in 1s (531 kB/s)
7532 [37m[1mDEBUG [mReading package lists...
7576 [37m[1mDEBUG [m++ mktemp --directory
7580 [37m[1mDEBUG [m+ local TMPDIR=/tmp/tmp.WsmsVQwH83
7584 [37m[1mDEBUG [m+ echo 10
7585 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
7587 [37m[1mDEBUG [m+ local try
7589 [37m[1mDEBUG [m+ set +o xtrace
8940 [37m[1mDEBUG [m+ return 0
8941 [37m[1mDEBUG [m+ cp /tmp/digiwords-ynh-deps.control /tmp/tmp.WsmsVQwH83/control
8945 [37m[1mDEBUG [m+ cd /tmp/tmp.WsmsVQwH83
8947 [37m[1mDEBUG [m+ LC_ALL=C
8947 [37m[1mDEBUG [m+ equivs-build ./control
11084 [37m[1mDEBUG [m+ tee ./dpkg_log
11086 [37m[1mDEBUG [m+ LC_ALL=C
11087 [37m[1mDEBUG [m+ dpkg --force-depends --install ./digiwords-ynh-deps_0.3.3~ynh1_all.deb
11163 [37m[1mDEBUG [mSelecting previously unselected package digiwords-ynh-deps.
11206 [37m[1mDEBUG [m(Reading database ... 42385 files and directories currently installed.)
11212 [37m[1mDEBUG [mPreparing to unpack .../digiwords-ynh-deps_0.3.3~ynh1_all.deb ...
11227 [37m[1mDEBUG [mUnpacking digiwords-ynh-deps (0.3.3~ynh1) ...
11296 [37m[1mDEBUG [mdpkg: digiwords-ynh-deps: dependency problems, but configuring anyway as you requested:
11297 [37m[1mDEBUG [m digiwords-ynh-deps depends on php-sqlite3; however:
11298 [37m[1mDEBUG [m Package php-sqlite3 is not installed.
11299 [37m[1mDEBUG [m
11300 [37m[1mDEBUG [mSetting up digiwords-ynh-deps (0.3.3~ynh1) ...
11368 [37m[1mDEBUG [m+ ynh_package_install --fix-broken
11370 [37m[1mDEBUG [m+ ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
11372 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
11374 [37m[1mDEBUG [m+ local try
11376 [37m[1mDEBUG [m+ set +o xtrace
12746 [37m[1mDEBUG [m+ return 0
12747 [37m[1mDEBUG [m+ LC_ALL=C
12748 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
12749 [37m[1mDEBUG [m+ 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
12962 [37m[1mDEBUG [mReading package lists...
13409 [37m[1mDEBUG [mBuilding dependency tree...
13412 [37m[1mDEBUG [mReading state information...
13656 [37m[1mDEBUG [mCorrecting dependencies... Done
14074 [37m[1mDEBUG [mThe following additional packages will be installed:
14075 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
14122 [37m[1mDEBUG [mThe following NEW packages will be installed:
14123 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
14198 [37m[1mDEBUG [m0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
14199 [37m[1mDEBUG [mNeed to get 32.2 kB of archives.
14200 [37m[1mDEBUG [mAfter this operation, 139 kB of additional disk space will be used.
14202 [37m[1mDEBUG [mGet:1 http://deb.debian.org/debian buster/main amd64 php7.3-sqlite3 amd64 7.3.31-1~deb10u1 [26.2 kB]
14216 [37m[1mDEBUG [mGet:2 http://deb.debian.org/debian buster/main amd64 php-sqlite3 all 2:7.3+69 [5996 B]
14792 [37m[1mDEBUG [mFetched 32.2 kB in 0s (584 kB/s)
14985 [37m[1mDEBUG [mSelecting previously unselected package php7.3-sqlite3.
15021 [37m[1mDEBUG [m(Reading database ... 42389 files and directories currently installed.)
15025 [37m[1mDEBUG [mPreparing to unpack .../php7.3-sqlite3_7.3.31-1~deb10u1_amd64.deb ...
15046 [37m[1mDEBUG [mUnpacking php7.3-sqlite3 (7.3.31-1~deb10u1) ...
15145 [37m[1mDEBUG [mSelecting previously unselected package php-sqlite3.
15151 [37m[1mDEBUG [mPreparing to unpack .../php-sqlite3_2%3a7.3+69_all.deb ...
15165 [37m[1mDEBUG [mUnpacking php-sqlite3 (2:7.3+69) ...
15288 [37m[1mDEBUG [mSetting up php7.3-sqlite3 (7.3.31-1~deb10u1) ...
15319 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
15517 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
15601 [37m[1mDEBUG [m
15602 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/sqlite3.ini with new version
15694 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
15936 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16158 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16248 [37m[1mDEBUG [m
16248 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/pdo_sqlite.ini with new version
16353 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16583 [37m[1mDEBUG [mSetting up php-sqlite3 (2:7.3+69) ...
16622 [37m[1mDEBUG [mProcessing triggers for php7.3-fpm (7.3.31-1~deb10u1) ...
17298 [37m[1mDEBUG [m+ [[ -n /tmp/tmp.WsmsVQwH83 ]]
17298 [37m[1mDEBUG [m+ rm --recursive --force /tmp/tmp.WsmsVQwH83
17301 [37m[1mDEBUG [m+ ynh_package_is_installed digiwords-ynh-deps
17303 [37m[1mDEBUG [m+ local legacy_args=p
17303 [37m[1mDEBUG [m+ args_array=([p]=package=)
17304 [37m[1mDEBUG [m+ local -A args_array
17305 [37m[1mDEBUG [m+ local package
17305 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords-ynh-deps
17306 [37m[1mDEBUG [m+ set +o xtrace
17322 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
17324 [37m[1mDEBUG [m+ set +x
17328 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
17329 [37m[1mDEBUG [m+ local try
17331 [37m[1mDEBUG [m+ set +o xtrace
18697 [37m[1mDEBUG [m+ return 0
18699 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
18700 [37m[1mDEBUG [m+ grep --count 'ok installed'
18721 [37m[1mDEBUG [m+ rm /tmp/digiwords-ynh-deps.control
18727 [37m[1mDEBUG [m+ [[ -n '' ]]
18728 [37m[1mDEBUG [m+ grep --quiet php
18737 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
18737 [37m[1mDEBUG [m+ local _globalapp=digiwords
18738 [37m[1mDEBUG [m+ local legacy_args=akv
18739 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
18739 [37m[1mDEBUG [m+ local -A args_array
18740 [37m[1mDEBUG [m+ local app
18740 [37m[1mDEBUG [m+ local key
18740 [37m[1mDEBUG [m+ local value
18741 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
18741 [37m[1mDEBUG [m+ set +o xtrace
18861 [37m[1mDEBUG [m+ app=digiwords
18863 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
18865 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
18867 [37m[1mDEBUG [m+ set +o xtrace
18963 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring system user...' --weight=1
18964 [37m[1mDEBUG [m+ set +o xtrace
19085 [37m[1mDEBUG [m+ set +o xtrace
19118 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
19119 [37m[1mDEBUG [m+ set +x
19124 [37m[1mDEBUG [m+ echo '[######++............] > Configuring system user...'
19126 [37m[1mDEBUG [m+ set -o xtrace
19127 [37m[1mDEBUG [m+ ynh_system_user_create --username=digiwords --home_dir=/var/www/digiwords
19128 [37m[1mDEBUG [m+ local legacy_args=uhs
19128 [37m[1mDEBUG [m+ args_array=([u]=username= [h]=home_dir= [s]=use_shell [g]=groups=)
19128 [37m[1mDEBUG [m+ local -A args_array
19129 [37m[1mDEBUG [m+ local username
19129 [37m[1mDEBUG [m+ local home_dir
19131 [37m[1mDEBUG [m+ local use_shell
19131 [37m[1mDEBUG [m+ local groups
19132 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords --home_dir=/var/www/digiwords
19133 [37m[1mDEBUG [m+ set +o xtrace
19134 [36m[1mINFO [m[######++............] > Configuring system user...
19267 [37m[1mDEBUG [m+ use_shell=0
19270 [37m[1mDEBUG [m+ home_dir=/var/www/digiwords
19274 [37m[1mDEBUG [m+ groups=
19277 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
19279 [37m[1mDEBUG [m+ local legacy_args=u
19280 [37m[1mDEBUG [m+ args_array=([u]=username=)
19281 [37m[1mDEBUG [m+ local -A args_array
19281 [37m[1mDEBUG [m+ local username
19282 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
19283 [37m[1mDEBUG [m+ set +o xtrace
19294 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
19295 [37m[1mDEBUG [m+ set +x
19301 [37m[1mDEBUG [m+ getent passwd digiwords
19317 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
19319 [37m[1mDEBUG [m+ local 'user_home_dir=--home-dir /var/www/digiwords'
19322 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
19324 [37m[1mDEBUG [m+ local 'shell=--shell /usr/sbin/nologin'
19326 [37m[1mDEBUG [m+ useradd --home-dir /var/www/digiwords --system --user-group digiwords --shell /usr/sbin/nologin
19436 [37m[1mDEBUG [m+ local group
19437 [37m[1mDEBUG [m+ ynh_script_progression '--message=Setting up source files...' --weight=1
19439 [37m[1mDEBUG [m+ set +o xtrace
19548 [37m[1mDEBUG [m+ set +o xtrace
19571 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
19573 [37m[1mDEBUG [m+ set +x
19579 [37m[1mDEBUG [m+ echo '[########++..........] > Setting up source files...'
19580 [37m[1mDEBUG [m+ set -o xtrace
19582 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=final_path --value=/var/www/digiwords
19583 [37m[1mDEBUG [m+ local _globalapp=digiwords
19584 [37m[1mDEBUG [m+ local legacy_args=akv
19585 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
19587 [37m[1mDEBUG [m+ local -A args_array
19588 [37m[1mDEBUG [m+ local app
19588 [37m[1mDEBUG [m+ local key
19589 [37m[1mDEBUG [m+ local value
19589 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=final_path --value=/var/www/digiwords
19590 [37m[1mDEBUG [m+ set +o xtrace
19590 [36m[1mINFO [m[########++..........] > Setting up source files...
19724 [37m[1mDEBUG [m+ app=digiwords
19727 [37m[1mDEBUG [m+ [[ final_path =~ (unprotected|protected|skipped)_ ]]
19729 [37m[1mDEBUG [m+ ynh_app_setting set digiwords final_path /var/www/digiwords
19732 [37m[1mDEBUG [m+ set +o xtrace
19805 [37m[1mDEBUG [m+ ynh_setup_source --dest_dir=/var/www/digiwords
19806 [37m[1mDEBUG [m+ local legacy_args=dsk
19807 [37m[1mDEBUG [m+ args_array=([d]=dest_dir= [s]=source_id= [k]=keep=)
19808 [37m[1mDEBUG [m+ local -A args_array
19809 [37m[1mDEBUG [m+ local dest_dir
19811 [37m[1mDEBUG [m+ local source_id
19812 [37m[1mDEBUG [m+ local keep
19813 [37m[1mDEBUG [m+ ynh_handle_getopts_args --dest_dir=/var/www/digiwords
19814 [37m[1mDEBUG [m+ set +o xtrace
19856 [37m[1mDEBUG [m+ source_id=app
19857 [37m[1mDEBUG [m+ keep=
19862 [37m[1mDEBUG [m+ local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/app.src
19864 [37m[1mDEBUG [m++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/app.src
19865 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
19871 [37m[1mDEBUG [m+ local src_url=https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip
19874 [37m[1mDEBUG [m++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/app.src
19875 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
19883 [37m[1mDEBUG [m+ local src_sum=78564c2aa18e0702972994808843587dde876813dfddc06905924a4354a54156
19886 [37m[1mDEBUG [m++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/app.src
19889 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
19896 [37m[1mDEBUG [m+ local src_sumprg=sha256sum
19900 [37m[1mDEBUG [m++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/app.src
19901 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
19912 [37m[1mDEBUG [m+ local src_format=zip
19915 [37m[1mDEBUG [m++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/app.src
19916 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
19925 [37m[1mDEBUG [m+ local src_extract=true
19929 [37m[1mDEBUG [m++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/app.src
19933 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
19937 [37m[1mDEBUG [m+ local src_in_subdir=true
19941 [37m[1mDEBUG [m++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/app.src
19943 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
19948 [37m[1mDEBUG [m+ local src_filename=
19950 [37m[1mDEBUG [m+ src_sumprg=sha256sum
19951 [37m[1mDEBUG [m+ src_in_subdir=true
19951 [37m[1mDEBUG [m+ src_format=zip
19954 [37m[1mDEBUG [m++ echo zip
19956 [37m[1mDEBUG [m++ tr '[:upper:]' '[:lower:]'
19961 [37m[1mDEBUG [m+ src_format=zip
19962 [37m[1mDEBUG [m+ src_extract=true
19963 [37m[1mDEBUG [m+ '[' '' = '' ']'
19964 [37m[1mDEBUG [m+ src_filename=app.zip
19965 [37m[1mDEBUG [m+ local local_src=/opt/yunohost-apps-src/digiwords/app.zip
19966 [37m[1mDEBUG [m+ mkdir -p /var/cache/yunohost/download/digiwords/
19968 [37m[1mDEBUG [m+ src_filename=/var/cache/yunohost/download/digiwords/app.zip
19969 [37m[1mDEBUG [m+ test -e /opt/yunohost-apps-src/digiwords/app.zip
19970 [37m[1mDEBUG [m+ '[' -n https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip ']'
19971 [37m[1mDEBUG [m+ local out
19972 [37m[1mDEBUG [m++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/digiwords/app.zip https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip
20396 [37m[1mDEBUG [m+ out='2022-05-31 09:36:35 URL:https://objects.githubusercontent.com/github-production-release-asset-2e65be/459932950/34f63a52-4624-4bf0-8fd9-bfd6df81b61b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220531%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220531T093635Z&X-Amz-Expires=300&X-Amz-Signature=f2bca964937856669be1999db0bfc537f967bf0793bcb2f4c129615220114d07&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=459932950&response-content-disposition=attachment%3B%20filename%3Ddigiwords-0.3.3.zip&response-content-type=application%2Foctet-stream [3002924/3002924] -> "/var/cache/yunohost/download/digiwords/app.zip" [1]'
20399 [37m[1mDEBUG [m+ echo '78564c2aa18e0702972994808843587dde876813dfddc06905924a4354a54156 /var/cache/yunohost/download/digiwords/app.zip'
20400 [37m[1mDEBUG [m+ sha256sum --check --status
20439 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
20443 [37m[1mDEBUG [m+ '[' -n '' ']'
20443 [37m[1mDEBUG [m+ mkdir --parents /var/www/digiwords
20451 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
20451 [37m[1mDEBUG [m+ '[' /var/www/digiwords == /var/www/digiwords ']'
20452 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /var/www/digiwords
20452 [37m[1mDEBUG [m+ local target=/var/www/digiwords
20452 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/manifest.json
20453 [37m[1mDEBUG [m++ tr -d '>= '
20460 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
20460 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
20461 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
20461 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
20464 [37m[1mDEBUG [m+ chmod o-rwx /var/www/digiwords
20467 [37m[1mDEBUG [m+ chmod g-w /var/www/digiwords
20472 [37m[1mDEBUG [m+ chown -R root:root /var/www/digiwords
20485 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
20486 [37m[1mDEBUG [m+ local legacy_args=u
20486 [37m[1mDEBUG [m+ args_array=([u]=username=)
20491 [37m[1mDEBUG [m+ local -A args_array
20492 [37m[1mDEBUG [m+ local username
20492 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
20492 [37m[1mDEBUG [m+ set +o xtrace
20505 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
20507 [37m[1mDEBUG [m+ set +x
20516 [37m[1mDEBUG [m+ getent passwd digiwords
20523 [37m[1mDEBUG [m+ chown digiwords:digiwords /var/www/digiwords
20541 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
20541 [37m[1mDEBUG [m+ echo /var/www/digiwords
20546 [37m[1mDEBUG [m+ true
20547 [37m[1mDEBUG [m+ '[' zip = zip ']'
20547 [37m[1mDEBUG [m+ true
20547 [37m[1mDEBUG [m++ mktemp --directory
20554 [37m[1mDEBUG [m+ local tmp_dir=/tmp/tmp.XIh1GFNLxQ
20557 [37m[1mDEBUG [m+ unzip -quo /var/cache/yunohost/download/digiwords/app.zip -d /tmp/tmp.XIh1GFNLxQ
20604 [37m[1mDEBUG [m+ cp --archive /tmp/tmp.XIh1GFNLxQ/digiwords/. /var/www/digiwords
20622 [37m[1mDEBUG [m+ ynh_secure_remove --file=/tmp/tmp.XIh1GFNLxQ
20623 [37m[1mDEBUG [m+ local legacy_args=f
20623 [37m[1mDEBUG [m+ args_array=([f]=file=)
20624 [37m[1mDEBUG [m+ local -A args_array
20624 [37m[1mDEBUG [m+ local file
20625 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/tmp/tmp.XIh1GFNLxQ
20625 [37m[1mDEBUG [m+ set +o xtrace
20647 [37m[1mDEBUG [m+ set +o xtrace
20669 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/cache/yunohost/download/digiwords/app.zip
20670 [37m[1mDEBUG [m+ local legacy_args=f
20671 [37m[1mDEBUG [m+ args_array=([f]=file=)
20672 [37m[1mDEBUG [m+ local -A args_array
20673 [37m[1mDEBUG [m+ local file
20673 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/cache/yunohost/download/digiwords/app.zip
20674 [37m[1mDEBUG [m+ set +o xtrace
20699 [37m[1mDEBUG [m+ set +o xtrace
20725 [37m[1mDEBUG [m+ '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/sources/patches/ ']'
20725 [37m[1mDEBUG [m+ test -e /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/sources/extra_files/app
20727 [37m[1mDEBUG [m+ '[' -n '' ']'
20729 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
20732 [37m[1mDEBUG [m+ chmod 750 /var/www/digiwords
20735 [37m[1mDEBUG [m+ chmod -R o-rwx /var/www/digiwords
20739 [37m[1mDEBUG [m+ chown -R digiwords:www-data /var/www/digiwords
20745 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring NGINX web server...' --weight=1
20747 [37m[1mDEBUG [m+ set +o xtrace
20870 [37m[1mDEBUG [m+ set +o xtrace
20896 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
20897 [37m[1mDEBUG [m+ set +x
20903 [36m[1mINFO [m[##########++........] > Configuring NGINX web server...
20904 [37m[1mDEBUG [m+ echo '[##########++........] > Configuring NGINX web server...'
20904 [37m[1mDEBUG [m+ set -o xtrace
20905 [37m[1mDEBUG [m+ ynh_add_nginx_config
20905 [37m[1mDEBUG [m+ local finalnginxconf=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20905 [37m[1mDEBUG [m+ '[' / '!=' / ']'
20906 [37m[1mDEBUG [m+ ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/nginx.conf
20906 [37m[1mDEBUG [m+ local legacy_args=mrf
20907 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
20907 [37m[1mDEBUG [m+ local -A args_array
20907 [37m[1mDEBUG [m+ local match_string
20907 [37m[1mDEBUG [m+ local replace_string
20908 [37m[1mDEBUG [m+ local target_file
20908 [37m[1mDEBUG [m+ ynh_handle_getopts_args '--match_string=^#root_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/nginx.conf
20908 [37m[1mDEBUG [m+ set +o xtrace
21068 [37m[1mDEBUG [m+ set +o xtrace
21069 [37m[1mDEBUG [m+ sed --in-place 's@^#root_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/nginx.conf
21074 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21076 [37m[1mDEBUG [m+ local legacy_args=tdv
21077 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
21078 [37m[1mDEBUG [m+ local -A args_array
21079 [37m[1mDEBUG [m+ local template
21080 [37m[1mDEBUG [m+ local destination
21081 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21082 [37m[1mDEBUG [m+ set +o xtrace
21160 [37m[1mDEBUG [m+ local template_path
21161 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/nginx.conf ']'
21162 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/nginx.conf ']'
21163 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/nginx.conf
21164 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21165 [37m[1mDEBUG [m+ local legacy_args=f
21166 [37m[1mDEBUG [m+ args_array=([f]=file=)
21167 [37m[1mDEBUG [m+ local -A args_array
21168 [37m[1mDEBUG [m+ local file
21169 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21171 [37m[1mDEBUG [m+ set +o xtrace
21191 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
21192 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
21193 [37m[1mDEBUG [m++ local _globalapp=digiwords
21195 [37m[1mDEBUG [m++ local legacy_args=ak
21196 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
21196 [37m[1mDEBUG [m++ local -A args_array
21197 [37m[1mDEBUG [m++ local app
21198 [37m[1mDEBUG [m++ local key
21198 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
21199 [37m[1mDEBUG [m++ set +o xtrace
21261 [37m[1mDEBUG [m++ app=digiwords
21264 [37m[1mDEBUG [m++ [[ checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
21269 [37m[1mDEBUG [m++ ynh_app_setting get digiwords checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
21272 [37m[1mDEBUG [m++ set +o xtrace
21351 [37m[1mDEBUG [m+ local checksum_value=
21355 [37m[1mDEBUG [m+ backup_file_checksum=
21356 [37m[1mDEBUG [m+ '[' -n '' ']'
21357 [37m[1mDEBUG [m+ touch /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21358 [37m[1mDEBUG [m+ chown root:root /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21360 [37m[1mDEBUG [m+ chmod 640 /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21363 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/nginx.conf /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21365 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21366 [37m[1mDEBUG [m+ local target=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21368 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/manifest.json
21369 [37m[1mDEBUG [m++ tr -d '>= '
21374 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
21375 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
21375 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
21376 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
21379 [37m[1mDEBUG [m+ chmod o-rwx /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21387 [37m[1mDEBUG [m+ chmod g-w /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21390 [37m[1mDEBUG [m+ chown -R root:root /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21396 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
21397 [37m[1mDEBUG [m+ local legacy_args=u
21397 [37m[1mDEBUG [m+ args_array=([u]=username=)
21398 [37m[1mDEBUG [m+ local -A args_array
21398 [37m[1mDEBUG [m+ local username
21400 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
21401 [37m[1mDEBUG [m+ set +o xtrace
21416 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
21418 [37m[1mDEBUG [m+ set +x
21429 [37m[1mDEBUG [m+ getent passwd digiwords
21432 [37m[1mDEBUG [m+ chown digiwords:digiwords /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21439 [37m[1mDEBUG [m+ echo /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21441 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
21443 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21443 [37m[1mDEBUG [m+ local legacy_args=f
21444 [37m[1mDEBUG [m+ args_array=([f]=file=)
21444 [37m[1mDEBUG [m+ local -A args_array
21445 [37m[1mDEBUG [m+ local file
21445 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21446 [37m[1mDEBUG [m+ set +o xtrace
21462 [37m[1mDEBUG [m+ test -n /
21463 [37m[1mDEBUG [m+ local path_url_slash_less=
21467 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21469 [37m[1mDEBUG [m+ local legacy_args=mrf
21471 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
21472 [37m[1mDEBUG [m+ local -A args_array
21473 [37m[1mDEBUG [m+ local match_string
21473 [37m[1mDEBUG [m+ local replace_string
21474 [37m[1mDEBUG [m+ local target_file
21475 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21475 [37m[1mDEBUG [m+ set +o xtrace
21594 [37m[1mDEBUG [m+ set +o xtrace
21596 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21601 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21603 [37m[1mDEBUG [m+ local legacy_args=mrf
21605 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
21607 [37m[1mDEBUG [m+ local -A args_array
21609 [37m[1mDEBUG [m+ local match_string
21611 [37m[1mDEBUG [m+ local replace_string
21612 [37m[1mDEBUG [m+ local target_file
21613 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21614 [37m[1mDEBUG [m+ set +o xtrace
21756 [37m[1mDEBUG [m+ set +o xtrace
21757 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21761 [37m[1mDEBUG [m+ test -n digiwords
21762 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21763 [37m[1mDEBUG [m+ local legacy_args=mrf
21764 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
21765 [37m[1mDEBUG [m+ local -A args_array
21765 [37m[1mDEBUG [m+ local match_string
21766 [37m[1mDEBUG [m+ local replace_string
21766 [37m[1mDEBUG [m+ local target_file
21767 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21767 [37m[1mDEBUG [m+ set +o xtrace
21916 [37m[1mDEBUG [m+ set +o xtrace
21917 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21920 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21923 [37m[1mDEBUG [m+ local legacy_args=mrf
21925 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
21928 [37m[1mDEBUG [m+ local -A args_array
21931 [37m[1mDEBUG [m+ local match_string
21933 [37m[1mDEBUG [m+ local replace_string
21935 [37m[1mDEBUG [m+ local target_file
21936 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21937 [37m[1mDEBUG [m+ set +o xtrace
22119 [37m[1mDEBUG [m+ set +o xtrace
22121 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22130 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22132 [37m[1mDEBUG [m+ local legacy_args=mrf
22134 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22136 [37m[1mDEBUG [m+ local -A args_array
22137 [37m[1mDEBUG [m+ local match_string
22138 [37m[1mDEBUG [m+ local replace_string
22139 [37m[1mDEBUG [m+ local target_file
22141 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22143 [37m[1mDEBUG [m+ set +o xtrace
22310 [37m[1mDEBUG [m+ set +o xtrace
22311 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22320 [37m[1mDEBUG [m+ test -n /var/www/digiwords
22322 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22324 [37m[1mDEBUG [m+ local legacy_args=mrf
22325 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22326 [37m[1mDEBUG [m+ local -A args_array
22326 [37m[1mDEBUG [m+ local match_string
22327 [37m[1mDEBUG [m+ local replace_string
22328 [37m[1mDEBUG [m+ local target_file
22328 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22328 [37m[1mDEBUG [m+ set +o xtrace
22449 [37m[1mDEBUG [m+ set +o xtrace
22450 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22456 [37m[1mDEBUG [m+ test -n 7.3
22456 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22457 [37m[1mDEBUG [m+ local legacy_args=mrf
22457 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22458 [37m[1mDEBUG [m+ local -A args_array
22458 [37m[1mDEBUG [m+ local match_string
22458 [37m[1mDEBUG [m+ local replace_string
22459 [37m[1mDEBUG [m+ local target_file
22460 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22460 [37m[1mDEBUG [m+ set +o xtrace
22631 [37m[1mDEBUG [m+ set +o xtrace
22632 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22637 [37m[1mDEBUG [m+ test -n ''
22638 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
22640 [37m[1mDEBUG [m++ sort --unique
22641 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22642 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
22649 [37m[1mDEBUG [m+ local uniques_vars
22649 [37m[1mDEBUG [m+ local delimit=@
22649 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22650 [37m[1mDEBUG [m+ local legacy_args=f
22651 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
22651 [37m[1mDEBUG [m+ local -A args_array
22652 [37m[1mDEBUG [m+ local file
22653 [37m[1mDEBUG [m+ local update_only
22653 [37m[1mDEBUG [m+ update_only=0
22653 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22654 [37m[1mDEBUG [m+ set +o xtrace
22706 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
22708 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
22711 [37m[1mDEBUG [m++ md5sum /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22715 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
22722 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf --value=9c307bf4206b43d766feb3b967a25374
22724 [37m[1mDEBUG [m+ local _globalapp=digiwords
22726 [37m[1mDEBUG [m+ local legacy_args=akv
22726 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
22729 [37m[1mDEBUG [m+ local -A args_array
22732 [37m[1mDEBUG [m+ local app
22736 [37m[1mDEBUG [m+ local key
22739 [37m[1mDEBUG [m+ local value
22740 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf --value=9c307bf4206b43d766feb3b967a25374
22741 [37m[1mDEBUG [m+ set +o xtrace
22900 [37m[1mDEBUG [m+ app=digiwords
22902 [37m[1mDEBUG [m+ [[ checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
22903 [37m[1mDEBUG [m+ ynh_app_setting set digiwords checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf 9c307bf4206b43d766feb3b967a25374
22905 [37m[1mDEBUG [m+ set +o xtrace
23024 [37m[1mDEBUG [m+ '[' -n '' ']'
23025 [37m[1mDEBUG [m+ unset backup_file_checksum
23027 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
23029 [37m[1mDEBUG [m+ local legacy_args=nalpte
23031 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
23037 [37m[1mDEBUG [m+ local -A args_array
23038 [37m[1mDEBUG [m+ local service_name
23039 [37m[1mDEBUG [m+ local action
23040 [37m[1mDEBUG [m+ local line_match
23041 [37m[1mDEBUG [m+ local length
23042 [37m[1mDEBUG [m+ local log_path
23043 [37m[1mDEBUG [m+ local timeout
23044 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
23046 [37m[1mDEBUG [m+ set +o xtrace
23253 [37m[1mDEBUG [m+ service_name=nginx
23255 [37m[1mDEBUG [m+ action=reload
23255 [37m[1mDEBUG [m+ line_match=
23256 [37m[1mDEBUG [m+ length=20
23257 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
23259 [37m[1mDEBUG [m+ timeout=300
23260 [37m[1mDEBUG [m+ '[' reload == stop ']'
23261 [37m[1mDEBUG [m+ [[ -n '' ]]
23262 [37m[1mDEBUG [m+ '[' reload == reload ']'
23263 [37m[1mDEBUG [m+ action=reload-or-restart
23264 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
23339 [37m[1mDEBUG [m+ [[ -n '' ]]
23344 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring PHP-FPM...' --weight=1
23345 [37m[1mDEBUG [m+ set +o xtrace
23528 [37m[1mDEBUG [m+ set +o xtrace
23553 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
23554 [37m[1mDEBUG [m+ set +x
23556 [36m[1mINFO [m[############++......] > Configuring PHP-FPM...
23560 [37m[1mDEBUG [m+ echo '[############++......] > Configuring PHP-FPM...'
23561 [37m[1mDEBUG [m+ set -o xtrace
23562 [37m[1mDEBUG [m+ ynh_add_fpm_config
23563 [37m[1mDEBUG [m+ local legacy_args=vtufpd
23565 [37m[1mDEBUG [m+ args_array=([v]=phpversion= [t]=use_template [u]=usage= [f]=footprint= [p]=package= [d]=dedicated_service)
23566 [37m[1mDEBUG [m+ local -A args_array
23567 [37m[1mDEBUG [m+ local phpversion
23568 [37m[1mDEBUG [m+ local use_template
23569 [37m[1mDEBUG [m+ local usage
23570 [37m[1mDEBUG [m+ local footprint
23571 [37m[1mDEBUG [m+ local package
23572 [37m[1mDEBUG [m+ local dedicated_service
23573 [37m[1mDEBUG [m+ ynh_handle_getopts_args
23574 [37m[1mDEBUG [m+ set +o xtrace
23575 [37m[1mDEBUG [m+ package=
23576 [37m[1mDEBUG [m+ use_template=1
23579 [37m[1mDEBUG [m+ usage=
23580 [37m[1mDEBUG [m+ footprint=
23580 [37m[1mDEBUG [m+ '[' -n '' ']'
23580 [37m[1mDEBUG [m+ '[' -n '' ']'
23581 [37m[1mDEBUG [m+ dedicated_service=0
23583 [37m[1mDEBUG [m+ phpversion=7.3
23583 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
23584 [37m[1mDEBUG [m++ local _globalapp=digiwords
23585 [37m[1mDEBUG [m++ local legacy_args=ak
23585 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
23586 [37m[1mDEBUG [m++ local -A args_array
23587 [37m[1mDEBUG [m++ local app
23588 [37m[1mDEBUG [m++ local key
23588 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
23589 [37m[1mDEBUG [m++ set +o xtrace
23664 [37m[1mDEBUG [m++ app=digiwords
23666 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
23668 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
23668 [37m[1mDEBUG [m++ set +o xtrace
23737 [37m[1mDEBUG [m+ local old_phpversion=7.3
23738 [37m[1mDEBUG [m+ '[' -n 7.3 ']'
23739 [37m[1mDEBUG [m+ '[' 7.3 '!=' 7.3 ']'
23739 [37m[1mDEBUG [m+ '[' -n '' ']'
23739 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
23740 [37m[1mDEBUG [m+ local fpm_service=php7.3-fpm
23741 [37m[1mDEBUG [m+ local fpm_config_dir=/etc/php/7.3/fpm
23741 [37m[1mDEBUG [m+ mkdir --parents /etc/php/7.3/fpm/pool.d
23749 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_config_dir --value=/etc/php/7.3/fpm
23749 [37m[1mDEBUG [m+ local _globalapp=digiwords
23750 [37m[1mDEBUG [m+ local legacy_args=akv
23750 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
23751 [37m[1mDEBUG [m+ local -A args_array
23751 [37m[1mDEBUG [m+ local app
23751 [37m[1mDEBUG [m+ local key
23751 [37m[1mDEBUG [m+ local value
23752 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_config_dir --value=/etc/php/7.3/fpm
23752 [37m[1mDEBUG [m+ set +o xtrace
23885 [37m[1mDEBUG [m+ app=digiwords
23888 [37m[1mDEBUG [m+ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
23890 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_config_dir /etc/php/7.3/fpm
23892 [37m[1mDEBUG [m+ set +o xtrace
24002 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_service --value=php7.3-fpm
24003 [37m[1mDEBUG [m+ local _globalapp=digiwords
24003 [37m[1mDEBUG [m+ local legacy_args=akv
24004 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
24004 [37m[1mDEBUG [m+ local -A args_array
24005 [37m[1mDEBUG [m+ local app
24005 [37m[1mDEBUG [m+ local key
24006 [37m[1mDEBUG [m+ local value
24006 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_service --value=php7.3-fpm
24007 [37m[1mDEBUG [m+ set +o xtrace
24210 [37m[1mDEBUG [m+ app=digiwords
24212 [37m[1mDEBUG [m+ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
24214 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_service php7.3-fpm
24215 [37m[1mDEBUG [m+ set +o xtrace
24291 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_dedicated_service --value=0
24294 [37m[1mDEBUG [m+ local _globalapp=digiwords
24295 [37m[1mDEBUG [m+ local legacy_args=akv
24297 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
24299 [37m[1mDEBUG [m+ local -A args_array
24301 [37m[1mDEBUG [m+ local app
24302 [37m[1mDEBUG [m+ local key
24303 [37m[1mDEBUG [m+ local value
24304 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_dedicated_service --value=0
24305 [37m[1mDEBUG [m+ set +o xtrace
24443 [37m[1mDEBUG [m+ app=digiwords
24447 [37m[1mDEBUG [m+ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
24450 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_dedicated_service 0
24452 [37m[1mDEBUG [m+ set +o xtrace
24528 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
24529 [37m[1mDEBUG [m+ local _globalapp=digiwords
24529 [37m[1mDEBUG [m+ local legacy_args=akv
24531 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
24532 [37m[1mDEBUG [m+ local -A args_array
24534 [37m[1mDEBUG [m+ local app
24541 [37m[1mDEBUG [m+ local key
24543 [37m[1mDEBUG [m+ local value
24544 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
24544 [37m[1mDEBUG [m+ set +o xtrace
24665 [37m[1mDEBUG [m+ app=digiwords
24666 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
24668 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
24670 [37m[1mDEBUG [m+ set +o xtrace
24744 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
24746 [37m[1mDEBUG [m+ '[' 1 -eq 1 ']'
24747 [37m[1mDEBUG [m+ local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/php-fpm.conf
24749 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/php-fpm.conf ']'
24751 [37m[1mDEBUG [m+ local finalphpconf=/etc/php/7.3/fpm/pool.d/digiwords.conf
24754 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords.conf
24755 [37m[1mDEBUG [m+ local legacy_args=tdv
24757 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
24759 [37m[1mDEBUG [m+ local -A args_array
24760 [37m[1mDEBUG [m+ local template
24760 [37m[1mDEBUG [m+ local destination
24761 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords.conf
24762 [37m[1mDEBUG [m+ set +o xtrace
24824 [37m[1mDEBUG [m+ local template_path
24825 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/php-fpm.conf ']'
24826 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/php-fpm.conf ']'
24827 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/php-fpm.conf
24828 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
24829 [37m[1mDEBUG [m+ local legacy_args=f
24830 [37m[1mDEBUG [m+ args_array=([f]=file=)
24831 [37m[1mDEBUG [m+ local -A args_array
24832 [37m[1mDEBUG [m+ local file
24832 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
24834 [37m[1mDEBUG [m+ set +o xtrace
24850 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
24851 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
24852 [37m[1mDEBUG [m++ local _globalapp=digiwords
24852 [37m[1mDEBUG [m++ local legacy_args=ak
24853 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
24853 [37m[1mDEBUG [m++ local -A args_array
24854 [37m[1mDEBUG [m++ local app
24856 [37m[1mDEBUG [m++ local key
24856 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
24857 [37m[1mDEBUG [m++ set +o xtrace
24927 [37m[1mDEBUG [m++ app=digiwords
24928 [37m[1mDEBUG [m++ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
24929 [37m[1mDEBUG [m++ ynh_app_setting get digiwords checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
24930 [37m[1mDEBUG [m++ set +o xtrace
25011 [37m[1mDEBUG [m+ local checksum_value=
25011 [37m[1mDEBUG [m+ backup_file_checksum=
25012 [37m[1mDEBUG [m+ '[' -n '' ']'
25013 [37m[1mDEBUG [m+ touch /etc/php/7.3/fpm/pool.d/digiwords.conf
25013 [37m[1mDEBUG [m+ chown root:root /etc/php/7.3/fpm/pool.d/digiwords.conf
25016 [37m[1mDEBUG [m+ chmod 640 /etc/php/7.3/fpm/pool.d/digiwords.conf
25018 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/digiwords.conf
25021 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/php/7.3/fpm/pool.d/digiwords.conf
25023 [37m[1mDEBUG [m+ local target=/etc/php/7.3/fpm/pool.d/digiwords.conf
25023 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/manifest.json
25024 [37m[1mDEBUG [m++ tr -d '>= '
25031 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
25031 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
25031 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
25032 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
25038 [37m[1mDEBUG [m+ chmod o-rwx /etc/php/7.3/fpm/pool.d/digiwords.conf
25041 [37m[1mDEBUG [m+ chmod g-w /etc/php/7.3/fpm/pool.d/digiwords.conf
25044 [37m[1mDEBUG [m+ chown -R root:root /etc/php/7.3/fpm/pool.d/digiwords.conf
25049 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
25051 [37m[1mDEBUG [m+ local legacy_args=u
25052 [37m[1mDEBUG [m+ args_array=([u]=username=)
25053 [37m[1mDEBUG [m+ local -A args_array
25053 [37m[1mDEBUG [m+ local username
25054 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
25055 [37m[1mDEBUG [m+ set +o xtrace
25068 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
25068 [37m[1mDEBUG [m+ set +x
25072 [37m[1mDEBUG [m+ getent passwd digiwords
25077 [37m[1mDEBUG [m+ chown digiwords:digiwords /etc/php/7.3/fpm/pool.d/digiwords.conf
25083 [37m[1mDEBUG [m+ echo /etc/php/7.3/fpm/pool.d/digiwords.conf
25083 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
25087 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25088 [37m[1mDEBUG [m+ local legacy_args=f
25088 [37m[1mDEBUG [m+ args_array=([f]=file=)
25089 [37m[1mDEBUG [m+ local -A args_array
25089 [37m[1mDEBUG [m+ local file
25090 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25091 [37m[1mDEBUG [m+ set +o xtrace
25116 [37m[1mDEBUG [m+ test -n /
25117 [37m[1mDEBUG [m+ local path_url_slash_less=
25118 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25119 [37m[1mDEBUG [m+ local legacy_args=mrf
25120 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25121 [37m[1mDEBUG [m+ local -A args_array
25122 [37m[1mDEBUG [m+ local match_string
25123 [37m[1mDEBUG [m+ local replace_string
25123 [37m[1mDEBUG [m+ local target_file
25124 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25124 [37m[1mDEBUG [m+ set +o xtrace
25274 [37m[1mDEBUG [m+ set +o xtrace
25276 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/@g /etc/php/7.3/fpm/pool.d/digiwords.conf
25281 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25283 [37m[1mDEBUG [m+ local legacy_args=mrf
25284 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25285 [37m[1mDEBUG [m+ local -A args_array
25286 [37m[1mDEBUG [m+ local match_string
25287 [37m[1mDEBUG [m+ local replace_string
25287 [37m[1mDEBUG [m+ local target_file
25288 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25289 [37m[1mDEBUG [m+ set +o xtrace
25434 [37m[1mDEBUG [m+ set +o xtrace
25435 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/@g /etc/php/7.3/fpm/pool.d/digiwords.conf
25443 [37m[1mDEBUG [m+ test -n digiwords
25444 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25445 [37m[1mDEBUG [m+ local legacy_args=mrf
25446 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25446 [37m[1mDEBUG [m+ local -A args_array
25448 [37m[1mDEBUG [m+ local match_string
25448 [37m[1mDEBUG [m+ local replace_string
25449 [37m[1mDEBUG [m+ local target_file
25449 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25451 [37m[1mDEBUG [m+ set +o xtrace
25577 [37m[1mDEBUG [m+ set +o xtrace
25578 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
25583 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25585 [37m[1mDEBUG [m+ local legacy_args=mrf
25585 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25586 [37m[1mDEBUG [m+ local -A args_array
25587 [37m[1mDEBUG [m+ local match_string
25587 [37m[1mDEBUG [m+ local replace_string
25588 [37m[1mDEBUG [m+ local target_file
25588 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25588 [37m[1mDEBUG [m+ set +o xtrace
25729 [37m[1mDEBUG [m+ set +o xtrace
25731 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
25734 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25736 [37m[1mDEBUG [m+ local legacy_args=mrf
25738 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25739 [37m[1mDEBUG [m+ local -A args_array
25740 [37m[1mDEBUG [m+ local match_string
25740 [37m[1mDEBUG [m+ local replace_string
25741 [37m[1mDEBUG [m+ local target_file
25742 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25742 [37m[1mDEBUG [m+ set +o xtrace
25887 [37m[1mDEBUG [m+ set +o xtrace
25887 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
25888 [37m[1mDEBUG [m+ test -n /var/www/digiwords
25889 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25890 [37m[1mDEBUG [m+ local legacy_args=mrf
25890 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25892 [37m[1mDEBUG [m+ local -A args_array
25893 [37m[1mDEBUG [m+ local match_string
25894 [37m[1mDEBUG [m+ local replace_string
25894 [37m[1mDEBUG [m+ local target_file
25895 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
25895 [37m[1mDEBUG [m+ set +o xtrace
26027 [37m[1mDEBUG [m+ set +o xtrace
26028 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
26034 [37m[1mDEBUG [m+ test -n 7.3
26037 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26038 [37m[1mDEBUG [m+ local legacy_args=mrf
26038 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
26039 [37m[1mDEBUG [m+ local -A args_array
26039 [37m[1mDEBUG [m+ local match_string
26040 [37m[1mDEBUG [m+ local replace_string
26040 [37m[1mDEBUG [m+ local target_file
26041 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26041 [37m[1mDEBUG [m+ set +o xtrace
26175 [37m[1mDEBUG [m+ set +o xtrace
26175 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/digiwords.conf
26180 [37m[1mDEBUG [m+ test -n ''
26181 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
26184 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/7.3/fpm/pool.d/digiwords.conf
26185 [37m[1mDEBUG [m++ sort --unique
26187 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
26195 [37m[1mDEBUG [m+ local uniques_vars
26195 [37m[1mDEBUG [m+ local delimit=@
26196 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26197 [37m[1mDEBUG [m+ local legacy_args=f
26198 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
26199 [37m[1mDEBUG [m+ local -A args_array
26200 [37m[1mDEBUG [m+ local file
26201 [37m[1mDEBUG [m+ local update_only
26202 [37m[1mDEBUG [m+ update_only=0
26203 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26204 [37m[1mDEBUG [m+ set +o xtrace
26235 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
26236 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
26239 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
26242 [37m[1mDEBUG [m++ md5sum /etc/php/7.3/fpm/pool.d/digiwords.conf
26244 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf --value=79ffd547aca07e585572ccb8bfba1ec1
26245 [37m[1mDEBUG [m+ local _globalapp=digiwords
26246 [37m[1mDEBUG [m+ local legacy_args=akv
26247 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
26247 [37m[1mDEBUG [m+ local -A args_array
26248 [37m[1mDEBUG [m+ local app
26248 [37m[1mDEBUG [m+ local key
26249 [37m[1mDEBUG [m+ local value
26250 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf --value=79ffd547aca07e585572ccb8bfba1ec1
26250 [37m[1mDEBUG [m+ set +o xtrace
26379 [37m[1mDEBUG [m+ app=digiwords
26383 [37m[1mDEBUG [m+ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
26385 [37m[1mDEBUG [m+ ynh_app_setting set digiwords checksum__etc_php_7.3_fpm_pool.d_digiwords.conf 79ffd547aca07e585572ccb8bfba1ec1
26386 [37m[1mDEBUG [m+ set +o xtrace
26477 [37m[1mDEBUG [m+ '[' -n '' ']'
26478 [37m[1mDEBUG [m+ unset backup_file_checksum
26479 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_e14gnoul/app_folder/conf/php-fpm.ini ']'
26481 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
26482 [37m[1mDEBUG [m+ php-fpm7.3 --test
26587 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
26589 [37m[1mDEBUG [m+ local legacy_args=nalpte
26593 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
26596 [37m[1mDEBUG [m+ local -A args_array
26597 [37m[1mDEBUG [m+ local service_name
26598 [37m[1mDEBUG [m+ local action
26599 [37m[1mDEBUG [m+ local line_match
26600 [37m[1mDEBUG [m+ local length
26601 [37m[1mDEBUG [m+ local log_path
26602 [37m[1mDEBUG [m+ local timeout
26603 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
26604 [37m[1mDEBUG [m+ set +o xtrace
26762 [37m[1mDEBUG [m+ service_name=php7.3-fpm
26764 [37m[1mDEBUG [m+ action=reload
26766 [37m[1mDEBUG [m+ line_match=
26769 [37m[1mDEBUG [m+ length=20
26771 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
26773 [37m[1mDEBUG [m+ timeout=300
26774 [37m[1mDEBUG [m+ '[' reload == stop ']'
26775 [37m[1mDEBUG [m+ [[ -n '' ]]
26776 [37m[1mDEBUG [m+ '[' reload == reload ']'
26777 [37m[1mDEBUG [m+ action=reload-or-restart
26778 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
26809 [37m[1mDEBUG [m+ [[ -n '' ]]
26812 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring permissions...' --weight=1
26814 [37m[1mDEBUG [m+ set +o xtrace
26956 [37m[1mDEBUG [m+ set +o xtrace
26987 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
26988 [37m[1mDEBUG [m+ set +x
26992 [37m[1mDEBUG [m+ echo '[##############++....] > Configuring permissions...'
26994 [37m[1mDEBUG [m+ set -o xtrace
26996 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
26999 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reloading NGINX web server...' --weight=1
27000 [37m[1mDEBUG [m+ set +o xtrace
27001 [36m[1mINFO [m[##############++....] > Configuring permissions...
27135 [37m[1mDEBUG [m+ set +o xtrace
27167 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
27169 [37m[1mDEBUG [m+ set +x
27173 [37m[1mDEBUG [m+ echo '[################++..] > Reloading NGINX web server...'
27175 [37m[1mDEBUG [m+ set -o xtrace
27184 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
27185 [36m[1mINFO [m[################++..] > Reloading NGINX web server...
27185 [37m[1mDEBUG [m+ local legacy_args=nalpte
27186 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
27186 [37m[1mDEBUG [m+ local -A args_array
27187 [37m[1mDEBUG [m+ local service_name
27187 [37m[1mDEBUG [m+ local action
27187 [37m[1mDEBUG [m+ local line_match
27187 [37m[1mDEBUG [m+ local length
27188 [37m[1mDEBUG [m+ local log_path
27188 [37m[1mDEBUG [m+ local timeout
27194 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
27196 [37m[1mDEBUG [m+ set +o xtrace
27376 [37m[1mDEBUG [m+ service_name=nginx
27377 [37m[1mDEBUG [m+ action=reload
27377 [37m[1mDEBUG [m+ line_match=
27377 [37m[1mDEBUG [m+ length=20
27378 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
27378 [37m[1mDEBUG [m+ timeout=300
27379 [37m[1mDEBUG [m+ '[' reload == stop ']'
27379 [37m[1mDEBUG [m+ [[ -n '' ]]
27379 [37m[1mDEBUG [m+ '[' reload == reload ']'
27380 [37m[1mDEBUG [m+ action=reload-or-restart
27380 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
27465 [37m[1mDEBUG [m+ [[ -n '' ]]
27466 [37m[1mDEBUG [m+ ynh_script_progression '--message=Installation of digiwords completed' --last
27467 [37m[1mDEBUG [m+ set +o xtrace
27593 [37m[1mDEBUG [m+ set +o xtrace
27617 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
27617 [37m[1mDEBUG [m+ set +x
27621 [36m[1mINFO [m[####################] > Installation of digiwords completed
27623 [37m[1mDEBUG [m+ echo '[####################] > Installation of digiwords completed'
27625 [37m[1mDEBUG [m+ set -o xtrace
27630 [37m[1mDEBUG [m+ ynh_exit_properly
27632 [37m[1mDEBUG [m+ local exit_code=0
27634 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/download/
27636 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
27638 [37m[1mDEBUG [m+ exit 0
28641 [37m[1mDEBUG [mChecking that required services are up and running...
29533 [32m[1mSUCCESS [mInstallation completed
29535 [37m[1mDEBUG [mTo view the log of the operation 'Install the 'digiwords' app', use the command 'yunohost log show 20220531-093616-app_install-digiwords'
29550 [37m[1mDEBUG [maction [813.1] executed in 29.286s
29550 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 30 seconds (09:36:44)
Installation successful.
Return code: 1
Working time: 0s (09:36:55)
[1m > Validating that the app digiwords can/can't be accessed with its URL...[0m
Running curl sub.domain.tld
200;https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zdWIuZG9tYWluLnRsZC8=
Return code: 0
Working time: 0s (09:37:00)
YunoHost Portal
Yunohost
Please log in to access to this content
Return code: 0
Working time: 0s (09:37:03)
HTTP code: 200
Yunohost
Please log in to access to this content
Username ____________________
Password ____________________
Log in
The connection attempt fall on the YunoHost portal.
Test URL: sub.domain.tld
Real URL: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zdWIuZG9tYWluLnRsZC8=
HTTP code: 200
Page title: YunoHost Portal
Page extract:
Yunohost
Please log in to access to this content
Username ____________________
Password ____________________
Log in
Running curl sub.domain.tld/
Return code: 0
Working time: 0s (09:37:09)
Return code: 0
Working time: 0s (09:37:11)
HTTP code:
Test URL: sub.domain.tld/
Real URL:
HTTP code:
Page title:
Page extract:
[1m > Removing the app...[0m
Running yunohost app remove digiwords
183 [37m[1mDEBUG [minitializing base actions map parser for cli
186 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
190 [37m[1mDEBUG [mbuilding parser...
215 [37m[1mDEBUG [mbuilding parser took 0.025s
217 [37m[1mDEBUG [macquiring lock...
241 [37m[1mDEBUG [mlock has been acquired
263 [37m[1mDEBUG [mloading python module yunohost.app took 0.021s
263 [37m[1mDEBUG [mprocessing action [5023.1]: yunohost.app.remove with args={'app': 'digiwords', 'purge': False}
294 [36m[1mINFO [mRemoving digiwords...
441 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "./remove" 7>&1']'
453 [37m[1mDEBUG [m+ source _common.sh
455 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
455 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
457 [37m[1mDEBUG [m+++ set +o
458 [37m[1mDEBUG [m+++ grep xtrace
461 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
462 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
462 [37m[1mDEBUG [m++ set +x
509 [37m[1mDEBUG [m+ ynh_script_progression '--message=Loading installation settings...' --weight=1
510 [37m[1mDEBUG [m+ set +o xtrace
618 [37m[1mDEBUG [m+ set +o xtrace
669 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
671 [37m[1mDEBUG [m+ set +x
675 [37m[1mDEBUG [m+ echo '[++..................] > Loading installation settings...'
677 [37m[1mDEBUG [m+ set -o xtrace
680 [36m[1mINFO [m[++..................] > Loading installation settings...
683 [37m[1mDEBUG [m+ app=digiwords
684 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=domain
684 [37m[1mDEBUG [m++ local _globalapp=digiwords
685 [37m[1mDEBUG [m++ local legacy_args=ak
687 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
687 [37m[1mDEBUG [m++ local -A args_array
688 [37m[1mDEBUG [m++ local app
688 [37m[1mDEBUG [m++ local key
689 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=domain
690 [37m[1mDEBUG [m++ set +o xtrace
743 [37m[1mDEBUG [m++ app=digiwords
743 [37m[1mDEBUG [m++ [[ domain =~ (unprotected|protected|skipped)_ ]]
745 [37m[1mDEBUG [m++ ynh_app_setting get digiwords domain
748 [37m[1mDEBUG [m++ set +o xtrace
814 [37m[1mDEBUG [m+ domain=sub.domain.tld
816 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=port
821 [37m[1mDEBUG [m++ local _globalapp=digiwords
825 [37m[1mDEBUG [m++ local legacy_args=ak
827 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
828 [37m[1mDEBUG [m++ local -A args_array
830 [37m[1mDEBUG [m++ local app
832 [37m[1mDEBUG [m++ local key
833 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=port
833 [37m[1mDEBUG [m++ set +o xtrace
876 [37m[1mDEBUG [m++ app=digiwords
877 [37m[1mDEBUG [m++ [[ port =~ (unprotected|protected|skipped)_ ]]
881 [37m[1mDEBUG [m++ ynh_app_setting get digiwords port
883 [37m[1mDEBUG [m++ set +o xtrace
954 [37m[1mDEBUG [m+ port=
955 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=db_name
956 [37m[1mDEBUG [m++ local _globalapp=digiwords
957 [37m[1mDEBUG [m++ local legacy_args=ak
959 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
960 [37m[1mDEBUG [m++ local -A args_array
963 [37m[1mDEBUG [m++ local app
964 [37m[1mDEBUG [m++ local key
968 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=db_name
969 [37m[1mDEBUG [m++ set +o xtrace
1021 [37m[1mDEBUG [m++ app=digiwords
1023 [37m[1mDEBUG [m++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
1024 [37m[1mDEBUG [m++ ynh_app_setting get digiwords db_name
1027 [37m[1mDEBUG [m++ set +o xtrace
1112 [37m[1mDEBUG [m+ db_name=
1114 [37m[1mDEBUG [m+ db_user=
1117 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=final_path
1120 [37m[1mDEBUG [m++ local _globalapp=digiwords
1122 [37m[1mDEBUG [m++ local legacy_args=ak
1125 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1126 [37m[1mDEBUG [m++ local -A args_array
1127 [37m[1mDEBUG [m++ local app
1127 [37m[1mDEBUG [m++ local key
1128 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=final_path
1128 [37m[1mDEBUG [m++ set +o xtrace
1179 [37m[1mDEBUG [m++ app=digiwords
1180 [37m[1mDEBUG [m++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
1182 [37m[1mDEBUG [m++ ynh_app_setting get digiwords final_path
1185 [37m[1mDEBUG [m++ set +o xtrace
1261 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
1262 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=datadir
1264 [37m[1mDEBUG [m++ local _globalapp=digiwords
1265 [37m[1mDEBUG [m++ local legacy_args=ak
1266 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1268 [37m[1mDEBUG [m++ local -A args_array
1269 [37m[1mDEBUG [m++ local app
1269 [37m[1mDEBUG [m++ local key
1270 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=datadir
1270 [37m[1mDEBUG [m++ set +o xtrace
1325 [37m[1mDEBUG [m++ app=digiwords
1326 [37m[1mDEBUG [m++ [[ datadir =~ (unprotected|protected|skipped)_ ]]
1327 [37m[1mDEBUG [m++ ynh_app_setting get digiwords datadir
1329 [37m[1mDEBUG [m++ set +o xtrace
1401 [37m[1mDEBUG [m+ datadir=
1404 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing app main directory...' --weight=1
1407 [37m[1mDEBUG [m+ set +o xtrace
1518 [37m[1mDEBUG [m+ set +o xtrace
1546 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1548 [37m[1mDEBUG [m+ set +x
1553 [37m[1mDEBUG [m+ echo '[##+++...............] > Removing app main directory...'
1554 [36m[1mINFO [m[##+++...............] > Removing app main directory...
1555 [37m[1mDEBUG [m+ set -o xtrace
1556 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/www/digiwords
1556 [37m[1mDEBUG [m+ local legacy_args=f
1557 [37m[1mDEBUG [m+ args_array=([f]=file=)
1557 [37m[1mDEBUG [m+ local -A args_array
1560 [37m[1mDEBUG [m+ local file
1561 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/www/digiwords
1561 [37m[1mDEBUG [m+ set +o xtrace
1577 [37m[1mDEBUG [m+ set +o xtrace
1605 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing NGINX web server configuration...' --weight=1
1606 [37m[1mDEBUG [m+ set +o xtrace
1742 [37m[1mDEBUG [m+ set +o xtrace
1772 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1772 [37m[1mDEBUG [m+ set +x
1778 [36m[1mINFO [m[#####++.............] > Removing NGINX web server configuration...
1780 [37m[1mDEBUG [m+ echo '[#####++.............] > Removing NGINX web server configuration...'
1781 [37m[1mDEBUG [m+ set -o xtrace
1782 [37m[1mDEBUG [m+ ynh_remove_nginx_config
1782 [37m[1mDEBUG [m+ ynh_secure_remove --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1785 [37m[1mDEBUG [m+ local legacy_args=f
1786 [37m[1mDEBUG [m+ args_array=([f]=file=)
1786 [37m[1mDEBUG [m+ local -A args_array
1787 [37m[1mDEBUG [m+ local file
1787 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1788 [37m[1mDEBUG [m+ set +o xtrace
1803 [37m[1mDEBUG [m+ set +o xtrace
1826 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
1828 [37m[1mDEBUG [m+ local legacy_args=nalpte
1828 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
1829 [37m[1mDEBUG [m+ local -A args_array
1829 [37m[1mDEBUG [m+ local service_name
1830 [37m[1mDEBUG [m+ local action
1830 [37m[1mDEBUG [m+ local line_match
1831 [37m[1mDEBUG [m+ local length
1831 [37m[1mDEBUG [m+ local log_path
1831 [37m[1mDEBUG [m+ local timeout
1832 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
1832 [37m[1mDEBUG [m+ set +o xtrace
1991 [37m[1mDEBUG [m+ service_name=nginx
1992 [37m[1mDEBUG [m+ action=reload
1994 [37m[1mDEBUG [m+ line_match=
1995 [37m[1mDEBUG [m+ length=20
1997 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
1998 [37m[1mDEBUG [m+ timeout=300
1999 [37m[1mDEBUG [m+ '[' reload == stop ']'
2001 [37m[1mDEBUG [m+ [[ -n '' ]]
2001 [37m[1mDEBUG [m+ '[' reload == reload ']'
2002 [37m[1mDEBUG [m+ action=reload-or-restart
2003 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
2075 [37m[1mDEBUG [m+ [[ -n '' ]]
2076 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing PHP-FPM configuration...' --weight=1
2079 [37m[1mDEBUG [m+ set +o xtrace
2210 [37m[1mDEBUG [m+ set +o xtrace
2234 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2236 [37m[1mDEBUG [m+ set +x
2238 [37m[1mDEBUG [m+ echo '[#######+++..........] > Removing PHP-FPM configuration...'
2240 [37m[1mDEBUG [m+ set -o xtrace
2253 [37m[1mDEBUG [m+ ynh_remove_fpm_config
2254 [36m[1mINFO [m[#######+++..........] > Removing PHP-FPM configuration...
2254 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_config_dir
2255 [37m[1mDEBUG [m++ local _globalapp=digiwords
2255 [37m[1mDEBUG [m++ local legacy_args=ak
2256 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2256 [37m[1mDEBUG [m++ local -A args_array
2257 [37m[1mDEBUG [m++ local app
2257 [37m[1mDEBUG [m++ local key
2258 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_config_dir
2259 [37m[1mDEBUG [m++ set +o xtrace
2317 [37m[1mDEBUG [m++ app=digiwords
2318 [37m[1mDEBUG [m++ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2320 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_config_dir
2323 [37m[1mDEBUG [m++ set +o xtrace
2404 [37m[1mDEBUG [m+ local fpm_config_dir=/etc/php/7.3/fpm
2406 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_service
2407 [37m[1mDEBUG [m++ local _globalapp=digiwords
2409 [37m[1mDEBUG [m++ local legacy_args=ak
2410 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2411 [37m[1mDEBUG [m++ local -A args_array
2411 [37m[1mDEBUG [m++ local app
2412 [37m[1mDEBUG [m++ local key
2413 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_service
2414 [37m[1mDEBUG [m++ set +o xtrace
2476 [37m[1mDEBUG [m++ app=digiwords
2477 [37m[1mDEBUG [m++ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2479 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_service
2480 [37m[1mDEBUG [m++ set +o xtrace
2550 [37m[1mDEBUG [m+ local fpm_service=php7.3-fpm
2553 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_dedicated_service
2555 [37m[1mDEBUG [m++ local _globalapp=digiwords
2557 [37m[1mDEBUG [m++ local legacy_args=ak
2559 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2560 [37m[1mDEBUG [m++ local -A args_array
2560 [37m[1mDEBUG [m++ local app
2561 [37m[1mDEBUG [m++ local key
2561 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_dedicated_service
2563 [37m[1mDEBUG [m++ set +o xtrace
2618 [37m[1mDEBUG [m++ app=digiwords
2620 [37m[1mDEBUG [m++ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2621 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_dedicated_service
2622 [37m[1mDEBUG [m++ set +o xtrace
2702 [37m[1mDEBUG [m+ local dedicated_service=0
2703 [37m[1mDEBUG [m+ dedicated_service=0
2705 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
2706 [37m[1mDEBUG [m++ local _globalapp=digiwords
2708 [37m[1mDEBUG [m++ local legacy_args=ak
2709 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2710 [37m[1mDEBUG [m++ local -A args_array
2710 [37m[1mDEBUG [m++ local app
2710 [37m[1mDEBUG [m++ local key
2711 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
2711 [37m[1mDEBUG [m++ set +o xtrace
2765 [37m[1mDEBUG [m++ app=digiwords
2766 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2768 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
2770 [37m[1mDEBUG [m++ set +o xtrace
2848 [37m[1mDEBUG [m+ local phpversion=7.3
2849 [37m[1mDEBUG [m+ phpversion=7.3
2850 [37m[1mDEBUG [m+ '[' -z /etc/php/7.3/fpm ']'
2851 [37m[1mDEBUG [m+ ynh_secure_remove --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
2852 [37m[1mDEBUG [m+ local legacy_args=f
2853 [37m[1mDEBUG [m+ args_array=([f]=file=)
2853 [37m[1mDEBUG [m+ local -A args_array
2854 [37m[1mDEBUG [m+ local file
2854 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
2854 [37m[1mDEBUG [m+ set +o xtrace
2874 [37m[1mDEBUG [m+ set +o xtrace
2902 [37m[1mDEBUG [m+ '[' -e /etc/php/7.3/fpm/conf.d/20-digiwords.ini ']'
2904 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
2905 [37m[1mDEBUG [m+ ynh_package_is_installed --package=php7.3-fpm
2906 [37m[1mDEBUG [m+ local legacy_args=p
2906 [37m[1mDEBUG [m+ args_array=([p]=package=)
2907 [37m[1mDEBUG [m+ local -A args_array
2908 [37m[1mDEBUG [m+ local package
2908 [37m[1mDEBUG [m+ ynh_handle_getopts_args --package=php7.3-fpm
2910 [37m[1mDEBUG [m+ set +o xtrace
2927 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
2928 [37m[1mDEBUG [m+ local try
2929 [37m[1mDEBUG [m+ set +o xtrace
4304 [37m[1mDEBUG [m+ return 0
4304 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' php7.3-fpm
4305 [37m[1mDEBUG [m+ grep --count 'ok installed'
4329 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
4329 [37m[1mDEBUG [m+ local legacy_args=nalpte
4330 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
4330 [37m[1mDEBUG [m+ local -A args_array
4330 [37m[1mDEBUG [m+ local service_name
4331 [37m[1mDEBUG [m+ local action
4331 [37m[1mDEBUG [m+ local line_match
4331 [37m[1mDEBUG [m+ local length
4332 [37m[1mDEBUG [m+ local log_path
4332 [37m[1mDEBUG [m+ local timeout
4332 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
4333 [37m[1mDEBUG [m+ set +o xtrace
4482 [37m[1mDEBUG [m+ service_name=php7.3-fpm
4483 [37m[1mDEBUG [m+ action=reload
4484 [37m[1mDEBUG [m+ line_match=
4484 [37m[1mDEBUG [m+ length=20
4484 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
4485 [37m[1mDEBUG [m+ timeout=300
4485 [37m[1mDEBUG [m+ '[' reload == stop ']'
4485 [37m[1mDEBUG [m+ [[ -n '' ]]
4486 [37m[1mDEBUG [m+ '[' reload == reload ']'
4486 [37m[1mDEBUG [m+ action=reload-or-restart
4486 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
4509 [37m[1mDEBUG [m+ [[ -n '' ]]
4509 [37m[1mDEBUG [m+ '[' 7.3 '!=' 7.3 ']'
4510 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing dependencies...' --weight=1
4511 [37m[1mDEBUG [m+ set +o xtrace
4641 [37m[1mDEBUG [m+ set +o xtrace
4666 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
4667 [37m[1mDEBUG [m+ set +x
4669 [37m[1mDEBUG [m+ echo '[##########++........] > Removing dependencies...'
4670 [37m[1mDEBUG [m+ set -o xtrace
4672 [37m[1mDEBUG [m+ ynh_remove_app_dependencies
4673 [37m[1mDEBUG [m+ local dep_app=digiwords
4673 [37m[1mDEBUG [m+ local current_dependencies=
4673 [37m[1mDEBUG [m+ ynh_package_is_installed --package=digiwords-ynh-deps
4674 [36m[1mINFO [m[##########++........] > Removing dependencies...
4676 [37m[1mDEBUG [m+ local legacy_args=p
4677 [37m[1mDEBUG [m+ args_array=([p]=package=)
4677 [37m[1mDEBUG [m+ local -A args_array
4678 [37m[1mDEBUG [m+ local package
4685 [37m[1mDEBUG [m+ ynh_handle_getopts_args --package=digiwords-ynh-deps
4685 [37m[1mDEBUG [m+ set +o xtrace
4699 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
4702 [37m[1mDEBUG [m+ local try
4702 [37m[1mDEBUG [m+ set +o xtrace
6058 [37m[1mDEBUG [m+ return 0
6059 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
6060 [37m[1mDEBUG [m+ grep --count 'ok installed'
6079 [37m[1mDEBUG [m++ dpkg-query --show '--showformat=${Depends}' digiwords-ynh-deps
6097 [37m[1mDEBUG [m+ current_dependencies='php-sqlite3 '
6098 [37m[1mDEBUG [m+ current_dependencies='php-sqlite3 '
6100 [37m[1mDEBUG [m+ ynh_package_autopurge digiwords-ynh-deps
6101 [37m[1mDEBUG [m+ ynh_apt autoremove --purge digiwords-ynh-deps
6102 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
6104 [37m[1mDEBUG [m+ local try
6105 [37m[1mDEBUG [m+ set +o xtrace
7449 [37m[1mDEBUG [m+ return 0
7450 [37m[1mDEBUG [m+ LC_ALL=C
7452 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
7452 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 autoremove --purge digiwords-ynh-deps
7494 [37m[1mDEBUG [mReading package lists...
7840 [37m[1mDEBUG [mBuilding dependency tree...
7841 [37m[1mDEBUG [mReading state information...
8270 [37m[1mDEBUG [mThe following packages will be REMOVED:
8273 [37m[1mDEBUG [m digiwords-ynh-deps* php-sqlite3* php7.3-sqlite3*
8756 [37m[1mDEBUG [m0 upgraded, 0 newly installed, 3 to remove and 9 not upgraded.
8757 [37m[1mDEBUG [mAfter this operation, 148 kB disk space will be freed.
8827 [37m[1mDEBUG [m(Reading database ... 42402 files and directories currently installed.)
8833 [37m[1mDEBUG [mRemoving digiwords-ynh-deps (0.3.3~ynh1) ...
8967 [37m[1mDEBUG [mRemoving php-sqlite3 (2:7.3+69) ...
9088 [37m[1mDEBUG [mRemoving php7.3-sqlite3 (7.3.31-1~deb10u1) ...
9489 [37m[1mDEBUG [mProcessing triggers for php7.3-fpm (7.3.31-1~deb10u1) ...
10043 [37m[1mDEBUG [m(Reading database ... 42384 files and directories currently installed.)
10050 [37m[1mDEBUG [mPurging configuration files for php7.3-sqlite3 (7.3.31-1~deb10u1) ...
10126 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
10207 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
10399 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
10483 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
10968 [37m[1mDEBUG [m++ echo php-sqlite3
10969 [37m[1mDEBUG [m++ sed s/php//g
10970 [37m[1mDEBUG [m++ sort
10971 [37m[1mDEBUG [m++ tr - ' '
10972 [37m[1mDEBUG [m++ grep -o -E '\'
10973 [37m[1mDEBUG [m++ uniq
10982 [37m[1mDEBUG [m+ local specific_php_version=
10983 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
10984 [37m[1mDEBUG [m+ [[ -n '' ]]
10985 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing various files...' --weight=1
10985 [37m[1mDEBUG [m+ set +o xtrace
11111 [37m[1mDEBUG [m+ set +o xtrace
11142 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
11143 [37m[1mDEBUG [m+ set +x
11148 [37m[1mDEBUG [m+ echo '[############+++.....] > Removing various files...'
11149 [37m[1mDEBUG [m+ set -o xtrace
11151 [36m[1mINFO [m[############+++.....] > Removing various files...
11153 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/log/digiwords
11155 [37m[1mDEBUG [m+ local legacy_args=f
11156 [37m[1mDEBUG [m+ args_array=([f]=file=)
11157 [37m[1mDEBUG [m+ local -A args_array
11157 [37m[1mDEBUG [m+ local file
11158 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/log/digiwords
11159 [37m[1mDEBUG [m+ set +o xtrace
11177 [37m[1mDEBUG [m+ set +o xtrace
11202 [37m[1mDEBUG [m+ echo ''\''/var/log/digiwords'\'' wasn'\''t deleted because it doesn'\''t exist.'
11205 [37m[1mDEBUG [m+ set -o xtrace
11206 [36m[1mINFO [m'/var/log/digiwords' wasn't deleted because it doesn't exist.
11207 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing the dedicated system user...' --weight=1
11209 [37m[1mDEBUG [m+ set +o xtrace
11326 [37m[1mDEBUG [m+ set +o xtrace
11352 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
11355 [37m[1mDEBUG [m+ set +x
11359 [36m[1mINFO [m[###############++...] > Removing the dedicated system user...
11361 [37m[1mDEBUG [m+ echo '[###############++...] > Removing the dedicated system user...'
11361 [37m[1mDEBUG [m+ set -o xtrace
11363 [37m[1mDEBUG [m+ ynh_system_user_delete --username=digiwords
11365 [37m[1mDEBUG [m+ local legacy_args=u
11367 [37m[1mDEBUG [m+ args_array=([u]=username=)
11367 [37m[1mDEBUG [m+ local -A args_array
11368 [37m[1mDEBUG [m+ local username
11369 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords
11369 [37m[1mDEBUG [m+ set +o xtrace
11386 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
11388 [37m[1mDEBUG [m+ local legacy_args=u
11390 [37m[1mDEBUG [m+ args_array=([u]=username=)
11391 [37m[1mDEBUG [m+ local -A args_array
11392 [37m[1mDEBUG [m+ local username
11393 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
11394 [37m[1mDEBUG [m+ set +o xtrace
11406 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
11406 [37m[1mDEBUG [m+ set +x
11411 [37m[1mDEBUG [m+ getent passwd digiwords
11414 [37m[1mDEBUG [m+ deluser digiwords
11559 [37m[1mDEBUG [mRemoving user `digiwords' ...
11559 [37m[1mDEBUG [mWarning: group `digiwords' has no more members.
11674 [37m[1mDEBUG [mDone.
11677 [37m[1mDEBUG [m+ ynh_system_group_exists digiwords
11679 [37m[1mDEBUG [m+ local legacy_args=g
11680 [37m[1mDEBUG [m+ args_array=([g]=group=)
11680 [37m[1mDEBUG [m+ local -A args_array
11681 [37m[1mDEBUG [m+ local group
11681 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
11681 [37m[1mDEBUG [m+ set +o xtrace
11690 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
11691 [37m[1mDEBUG [m+ set +x
11693 [37m[1mDEBUG [m+ getent group digiwords
11701 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removal of digiwords completed' --last
11702 [37m[1mDEBUG [m+ set +o xtrace
11827 [37m[1mDEBUG [m+ set +o xtrace
11858 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
11859 [37m[1mDEBUG [m+ set +x
11863 [37m[1mDEBUG [m+ echo '[####################] > Removal of digiwords completed'
11865 [37m[1mDEBUG [m+ set -o xtrace
11867 [36m[1mINFO [m[####################] > Removal of digiwords completed
12872 [32m[1mSUCCESS [mdigiwords uninstalled
12959 [37m[1mDEBUG [minitializing ldap interface
13005 [37m[1mDEBUG [mPermission 'digiwords.main' deleted
13010 [37m[1mDEBUG [mTo view the log of the operation 'Delete permission 'digiwords'', use the command 'yunohost log show 20220531-093731-permission_delete-digiwords'
13028 [37m[1mDEBUG [mThe permission database has been resynchronized
13047 [37m[1mDEBUG [mSSOwat configuration regenerated
13070 [37m[1mDEBUG [mChecking that required services are up and running...
13872 [37m[1mDEBUG [mTo view the log of the operation 'Remove the 'digiwords' app', use the command 'yunohost log show 20220531-093718-app_remove-digiwords'
13887 [37m[1mDEBUG [maction [5023.1] executed in 13.623s
13887 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 15 seconds (09:37:32)
Remove successful.
[1m > Reinstalling after removal.[0m
Running: yunohost app install --force /app_folder -a "domain=sub.domain.tld&path=/ admin=package_checker&language=fr&is_public=0 password=1Strong-Password port=666&admin=&"
Running yunohost app install --force /app_folder -a "domain=sub.domain.tld&path=/ admin=package_checker&language=fr&is_public=0 password=1Strong-Password port=666&admin=&"
206 [37m[1mDEBUG [minitializing base actions map parser for cli
208 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
212 [37m[1mDEBUG [mbuilding parser...
231 [37m[1mDEBUG [mbuilding parser took 0.019s
233 [37m[1mDEBUG [macquiring lock...
252 [37m[1mDEBUG [mlock has been acquired
270 [37m[1mDEBUG [mloading python module yunohost.app took 0.017s
270 [37m[1mDEBUG [mprocessing action [6770.1]: yunohost.app.install with args={'app': '/app_folder', 'label': None, 'args': 'domain=sub.domain.tld&path=/ admin=package_checker&language=fr&is_public=0 password=1Strong-Password port=666&admin=&', 'no_remove_on_failure': False, 'force': True}
308 [37m[1mDEBUG [mExtracting...
329 [37m[1mDEBUG [mDone
333 [37m[1mDEBUG [mChecking required packages for digiwords...
345 [37m[1mDEBUG [mChecking that required services are up and running...
1170 [37m[1mDEBUG [minitializing ldap interface
1326 [36m[1mINFO [mInstalling digiwords...
1381 [37m[1mDEBUG [mNothing to update in LDAP
1382 [37m[1mDEBUG [mPermission 'digiwords.main' updated
1393 [37m[1mDEBUG [mTo view the log of the operation 'Update URL related to permission 'digiwords'', use the command 'yunohost log show 20220531-093746-permission_url-digiwords'
1416 [37m[1mDEBUG [mThe permission database has been resynchronized
1437 [37m[1mDEBUG [mSSOwat configuration regenerated
1455 [37m[1mDEBUG [mPermission 'digiwords.main' created
1456 [37m[1mDEBUG [mTo view the log of the operation 'Create permission 'digiwords'', use the command 'yunohost log show 20220531-093746-permission_create-digiwords'
1488 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
1504 [37m[1mDEBUG [m+ source _common.sh
1506 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
1506 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
1510 [37m[1mDEBUG [m+++ grep xtrace
1510 [37m[1mDEBUG [m+++ set +o
1512 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
1512 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
1513 [37m[1mDEBUG [m++ set +x
1556 [37m[1mDEBUG [m+ ynh_abort_if_errors
1556 [37m[1mDEBUG [m+ set -o errexit
1557 [37m[1mDEBUG [m+ set -o nounset
1558 [37m[1mDEBUG [m+ trap ynh_exit_properly EXIT
1558 [37m[1mDEBUG [m+ domain=sub.domain.tld
1558 [37m[1mDEBUG [m+ path_url=/
1559 [37m[1mDEBUG [m+ is_public=0
1560 [37m[1mDEBUG [m+ app=digiwords
1561 [37m[1mDEBUG [m+ ynh_script_progression '--message=Validating installation parameters...' --weight=1
1562 [37m[1mDEBUG [m+ set +o xtrace
1672 [37m[1mDEBUG [m+ set +o xtrace
1727 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1728 [37m[1mDEBUG [m+ set +x
1739 [37m[1mDEBUG [m+ echo '[++..................] > Validating installation parameters...'
1742 [37m[1mDEBUG [m+ set -o xtrace
1743 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
1744 [37m[1mDEBUG [m+ test '!' -e /var/www/digiwords
1746 [37m[1mDEBUG [m+ ynh_webpath_register --app=digiwords --domain=sub.domain.tld --path_url=/
1747 [37m[1mDEBUG [m+ local legacy_args=adp
1747 [37m[1mDEBUG [m+ args_array=([a]=app= [d]=domain= [p]=path_url=)
1749 [37m[1mDEBUG [m+ local -A args_array
1750 [37m[1mDEBUG [m+ local app
1751 [37m[1mDEBUG [m+ local domain
1752 [37m[1mDEBUG [m+ local path_url
1753 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --domain=sub.domain.tld --path_url=/
1753 [37m[1mDEBUG [m+ set +o xtrace
1754 [36m[1mINFO [m[++..................] > Validating installation parameters...
1878 [37m[1mDEBUG [m+ yunohost app register-url digiwords sub.domain.tld /
2595 [37m[1mDEBUG [m+ ynh_script_progression '--message=Storing installation settings...' --weight=1
2595 [37m[1mDEBUG [m+ set +o xtrace
2722 [37m[1mDEBUG [m+ set +o xtrace
2751 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2752 [37m[1mDEBUG [m+ set +x
2756 [36m[1mINFO [m[##++................] > Storing installation settings...
2758 [37m[1mDEBUG [m+ echo '[##++................] > Storing installation settings...'
2762 [37m[1mDEBUG [m+ set -o xtrace
2763 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=domain --value=sub.domain.tld
2765 [37m[1mDEBUG [m+ local _globalapp=digiwords
2766 [37m[1mDEBUG [m+ local legacy_args=akv
2766 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
2767 [37m[1mDEBUG [m+ local -A args_array
2769 [37m[1mDEBUG [m+ local app
2770 [37m[1mDEBUG [m+ local key
2771 [37m[1mDEBUG [m+ local value
2773 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=domain --value=sub.domain.tld
2775 [37m[1mDEBUG [m+ set +o xtrace
2894 [37m[1mDEBUG [m+ app=digiwords
2894 [37m[1mDEBUG [m+ [[ domain =~ (unprotected|protected|skipped)_ ]]
2895 [37m[1mDEBUG [m+ ynh_app_setting set digiwords domain sub.domain.tld
2895 [37m[1mDEBUG [m+ set +o xtrace
2985 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=path --value=/
2985 [37m[1mDEBUG [m+ local _globalapp=digiwords
2985 [37m[1mDEBUG [m+ local legacy_args=akv
2986 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
2986 [37m[1mDEBUG [m+ local -A args_array
2986 [37m[1mDEBUG [m+ local app
2986 [37m[1mDEBUG [m+ local key
2986 [37m[1mDEBUG [m+ local value
2986 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=path --value=/
2986 [37m[1mDEBUG [m+ set +o xtrace
3145 [37m[1mDEBUG [m+ app=digiwords
3145 [37m[1mDEBUG [m+ [[ path =~ (unprotected|protected|skipped)_ ]]
3146 [37m[1mDEBUG [m+ ynh_app_setting set digiwords path /
3146 [37m[1mDEBUG [m+ set +o xtrace
3239 [37m[1mDEBUG [m+ ynh_script_progression '--message=Installing dependencies...' --weight=1
3240 [37m[1mDEBUG [m+ set +o xtrace
3364 [37m[1mDEBUG [m+ set +o xtrace
3385 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3387 [37m[1mDEBUG [m+ set +x
3390 [37m[1mDEBUG [m+ echo '[####++..............] > Installing dependencies...'
3390 [37m[1mDEBUG [m+ set -o xtrace
3391 [37m[1mDEBUG [m+ ynh_install_app_dependencies php-sqlite3
3391 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3391 [36m[1mINFO [m[####++..............] > Installing dependencies...
3394 [37m[1mDEBUG [m++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
3394 [37m[1mDEBUG [m++ echo php-sqlite3
3399 [37m[1mDEBUG [m+ dependencies=php-sqlite3
3400 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3401 [37m[1mDEBUG [m+ local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/manifest.json
3401 [37m[1mDEBUG [m++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/manifest.json
3413 [37m[1mDEBUG [m+ local version=0.3.3~ynh1
3414 [37m[1mDEBUG [m+ '[' -z 0.3.3~ynh1 ']'
3414 [37m[1mDEBUG [m+ '[' 0.3.3~ynh1 == null ']'
3415 [37m[1mDEBUG [m+ local dep_app=digiwords
3416 [37m[1mDEBUG [m+ [[ php-sqlite3 =~ [<=>] ]]
3417 [37m[1mDEBUG [m++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
3418 [37m[1mDEBUG [m++ sort -u
3419 [37m[1mDEBUG [m++ echo php-sqlite3
3422 [37m[1mDEBUG [m+ local specific_php_version=
3423 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
3424 [37m[1mDEBUG [m+ [[ -n '' ]]
3425 [37m[1mDEBUG [m+ [[ true == \t\r\u\e ]]
3426 [37m[1mDEBUG [m+ YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
3428 [37m[1mDEBUG [m+ grep --quiet php
3430 [37m[1mDEBUG [m+ grep php7.0
3435 [37m[1mDEBUG [m+ grep --quiet --invert-match 7.0.33-0+deb9
3435 [37m[1mDEBUG [m+ dpkg --list
3459 [37m[1mDEBUG [m+ cat
3463 [37m[1mDEBUG [m+ ynh_package_install_from_equivs /tmp/digiwords-ynh-deps.control
3466 [37m[1mDEBUG [m+ local controlfile=/tmp/digiwords-ynh-deps.control
3467 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
3469 [37m[1mDEBUG [m++ grep '^Package: ' /tmp/digiwords-ynh-deps.control
3473 [37m[1mDEBUG [m+ local pkgname=digiwords-ynh-deps
3476 [37m[1mDEBUG [m++ grep '^Version: ' /tmp/digiwords-ynh-deps.control
3476 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
3481 [37m[1mDEBUG [m+ local pkgversion=0.3.3~ynh1
3483 [37m[1mDEBUG [m+ [[ -z digiwords-ynh-deps ]]
3483 [37m[1mDEBUG [m+ [[ -z 0.3.3~ynh1 ]]
3483 [37m[1mDEBUG [m+ ynh_package_update
3483 [37m[1mDEBUG [m+ ynh_apt update
3483 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
3484 [37m[1mDEBUG [m+ local try
3484 [37m[1mDEBUG [m+ set +o xtrace
4925 [37m[1mDEBUG [m+ return 0
4925 [37m[1mDEBUG [m+ LC_ALL=C
4926 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
4926 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
5035 [37m[1mDEBUG [mHit:1 http://deb.debian.org/debian buster InRelease
5036 [37m[1mDEBUG [mHit:2 http://deb.debian.org/debian buster-updates InRelease
5041 [37m[1mDEBUG [mHit:3 http://deb.debian.org/debian-security buster/updates InRelease
10015 [37m[1mDEBUG [mHit:4 http://forge.yunohost.org/debian buster InRelease
11706 [37m[1mDEBUG [mReading package lists...
11750 [37m[1mDEBUG [m++ mktemp --directory
11757 [37m[1mDEBUG [m+ local TMPDIR=/tmp/tmp.VITCe2rYVj
11757 [37m[1mDEBUG [m+ echo 10
11758 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
11758 [37m[1mDEBUG [m+ local try
11759 [37m[1mDEBUG [m+ set +o xtrace
13162 [37m[1mDEBUG [m+ return 0
13162 [37m[1mDEBUG [m+ cp /tmp/digiwords-ynh-deps.control /tmp/tmp.VITCe2rYVj/control
13168 [37m[1mDEBUG [m+ cd /tmp/tmp.VITCe2rYVj
13169 [37m[1mDEBUG [m+ LC_ALL=C
13170 [37m[1mDEBUG [m+ equivs-build ./control
15293 [37m[1mDEBUG [m+ tee ./dpkg_log
15294 [37m[1mDEBUG [m+ LC_ALL=C
15295 [37m[1mDEBUG [m+ dpkg --force-depends --install ./digiwords-ynh-deps_0.3.3~ynh1_all.deb
15364 [37m[1mDEBUG [mSelecting previously unselected package digiwords-ynh-deps.
15406 [37m[1mDEBUG [m(Reading database ... 42385 files and directories currently installed.)
15413 [37m[1mDEBUG [mPreparing to unpack .../digiwords-ynh-deps_0.3.3~ynh1_all.deb ...
15430 [37m[1mDEBUG [mUnpacking digiwords-ynh-deps (0.3.3~ynh1) ...
15507 [37m[1mDEBUG [mdpkg: digiwords-ynh-deps: dependency problems, but configuring anyway as you requested:
15507 [37m[1mDEBUG [m digiwords-ynh-deps depends on php-sqlite3; however:
15508 [37m[1mDEBUG [m Package php-sqlite3 is not installed.
15509 [37m[1mDEBUG [m
15510 [37m[1mDEBUG [mSetting up digiwords-ynh-deps (0.3.3~ynh1) ...
15586 [37m[1mDEBUG [m+ ynh_package_install --fix-broken
15587 [37m[1mDEBUG [m+ ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
15588 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
15589 [37m[1mDEBUG [m+ local try
15590 [37m[1mDEBUG [m+ set +o xtrace
17087 [37m[1mDEBUG [m+ return 0
17087 [37m[1mDEBUG [m+ LC_ALL=C
17090 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
17091 [37m[1mDEBUG [m+ 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
17262 [37m[1mDEBUG [mReading package lists...
17634 [37m[1mDEBUG [mBuilding dependency tree...
17636 [37m[1mDEBUG [mReading state information...
17876 [37m[1mDEBUG [mCorrecting dependencies... Done
18294 [37m[1mDEBUG [mThe following additional packages will be installed:
18294 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
18323 [37m[1mDEBUG [mThe following NEW packages will be installed:
18324 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
18836 [37m[1mDEBUG [m0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
18837 [37m[1mDEBUG [mNeed to get 0 B/32.2 kB of archives.
18838 [37m[1mDEBUG [mAfter this operation, 139 kB of additional disk space will be used.
19007 [37m[1mDEBUG [mSelecting previously unselected package php7.3-sqlite3.
19040 [37m[1mDEBUG [m(Reading database ... 42389 files and directories currently installed.)
19044 [37m[1mDEBUG [mPreparing to unpack .../php7.3-sqlite3_7.3.31-1~deb10u1_amd64.deb ...
19067 [37m[1mDEBUG [mUnpacking php7.3-sqlite3 (7.3.31-1~deb10u1) ...
19175 [37m[1mDEBUG [mSelecting previously unselected package php-sqlite3.
19176 [37m[1mDEBUG [mPreparing to unpack .../php-sqlite3_2%3a7.3+69_all.deb ...
19188 [37m[1mDEBUG [mUnpacking php-sqlite3 (2:7.3+69) ...
19318 [37m[1mDEBUG [mSetting up php7.3-sqlite3 (7.3.31-1~deb10u1) ...
19357 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
19595 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
19699 [37m[1mDEBUG [m
19700 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/sqlite3.ini with new version
19797 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
20062 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
20252 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
20332 [37m[1mDEBUG [m
20332 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/pdo_sqlite.ini with new version
20421 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
20648 [37m[1mDEBUG [mSetting up php-sqlite3 (2:7.3+69) ...
20687 [37m[1mDEBUG [mProcessing triggers for php7.3-fpm (7.3.31-1~deb10u1) ...
21294 [37m[1mDEBUG [m+ [[ -n /tmp/tmp.VITCe2rYVj ]]
21295 [37m[1mDEBUG [m+ rm --recursive --force /tmp/tmp.VITCe2rYVj
21300 [37m[1mDEBUG [m+ ynh_package_is_installed digiwords-ynh-deps
21300 [37m[1mDEBUG [m+ local legacy_args=p
21301 [37m[1mDEBUG [m+ args_array=([p]=package=)
21301 [37m[1mDEBUG [m+ local -A args_array
21302 [37m[1mDEBUG [m+ local package
21302 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords-ynh-deps
21303 [37m[1mDEBUG [m+ set +o xtrace
21314 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
21315 [37m[1mDEBUG [m+ set +x
21319 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
21320 [37m[1mDEBUG [m+ local try
21320 [37m[1mDEBUG [m+ set +o xtrace
22698 [37m[1mDEBUG [m+ return 0
22698 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
22699 [37m[1mDEBUG [m+ grep --count 'ok installed'
22718 [37m[1mDEBUG [m+ rm /tmp/digiwords-ynh-deps.control
22721 [37m[1mDEBUG [m+ [[ -n '' ]]
22722 [37m[1mDEBUG [m+ grep --quiet php
22725 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
22726 [37m[1mDEBUG [m+ local _globalapp=digiwords
22726 [37m[1mDEBUG [m+ local legacy_args=akv
22726 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
22727 [37m[1mDEBUG [m+ local -A args_array
22727 [37m[1mDEBUG [m+ local app
22727 [37m[1mDEBUG [m+ local key
22728 [37m[1mDEBUG [m+ local value
22728 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
22728 [37m[1mDEBUG [m+ set +o xtrace
22884 [37m[1mDEBUG [m+ app=digiwords
22885 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
22886 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
22887 [37m[1mDEBUG [m+ set +o xtrace
22993 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring system user...' --weight=1
22993 [37m[1mDEBUG [m+ set +o xtrace
23098 [37m[1mDEBUG [m+ set +o xtrace
23120 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
23120 [37m[1mDEBUG [m+ set +x
23126 [37m[1mDEBUG [m+ echo '[######++............] > Configuring system user...'
23127 [36m[1mINFO [m[######++............] > Configuring system user...
23127 [37m[1mDEBUG [m+ set -o xtrace
23128 [37m[1mDEBUG [m+ ynh_system_user_create --username=digiwords --home_dir=/var/www/digiwords
23136 [37m[1mDEBUG [m+ local legacy_args=uhs
23136 [37m[1mDEBUG [m+ args_array=([u]=username= [h]=home_dir= [s]=use_shell [g]=groups=)
23137 [37m[1mDEBUG [m+ local -A args_array
23137 [37m[1mDEBUG [m+ local username
23137 [37m[1mDEBUG [m+ local home_dir
23137 [37m[1mDEBUG [m+ local use_shell
23138 [37m[1mDEBUG [m+ local groups
23138 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords --home_dir=/var/www/digiwords
23138 [37m[1mDEBUG [m+ set +o xtrace
23263 [37m[1mDEBUG [m+ use_shell=0
23266 [37m[1mDEBUG [m+ home_dir=/var/www/digiwords
23269 [37m[1mDEBUG [m+ groups=
23270 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
23271 [37m[1mDEBUG [m+ local legacy_args=u
23272 [37m[1mDEBUG [m+ args_array=([u]=username=)
23277 [37m[1mDEBUG [m+ local -A args_array
23278 [37m[1mDEBUG [m+ local username
23278 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
23279 [37m[1mDEBUG [m+ set +o xtrace
23285 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
23287 [37m[1mDEBUG [m+ set +x
23289 [37m[1mDEBUG [m+ getent passwd digiwords
23299 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
23299 [37m[1mDEBUG [m+ local 'user_home_dir=--home-dir /var/www/digiwords'
23301 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
23302 [37m[1mDEBUG [m+ local 'shell=--shell /usr/sbin/nologin'
23303 [37m[1mDEBUG [m+ useradd --home-dir /var/www/digiwords --system --user-group digiwords --shell /usr/sbin/nologin
23438 [37m[1mDEBUG [m+ local group
23439 [37m[1mDEBUG [m+ ynh_script_progression '--message=Setting up source files...' --weight=1
23439 [37m[1mDEBUG [m+ set +o xtrace
23563 [37m[1mDEBUG [m+ set +o xtrace
23592 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
23592 [37m[1mDEBUG [m+ set +x
23598 [36m[1mINFO [m[########++..........] > Setting up source files...
23599 [37m[1mDEBUG [m+ echo '[########++..........] > Setting up source files...'
23603 [37m[1mDEBUG [m+ set -o xtrace
23604 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=final_path --value=/var/www/digiwords
23605 [37m[1mDEBUG [m+ local _globalapp=digiwords
23605 [37m[1mDEBUG [m+ local legacy_args=akv
23606 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
23608 [37m[1mDEBUG [m+ local -A args_array
23608 [37m[1mDEBUG [m+ local app
23609 [37m[1mDEBUG [m+ local key
23610 [37m[1mDEBUG [m+ local value
23610 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=final_path --value=/var/www/digiwords
23611 [37m[1mDEBUG [m+ set +o xtrace
23745 [37m[1mDEBUG [m+ app=digiwords
23746 [37m[1mDEBUG [m+ [[ final_path =~ (unprotected|protected|skipped)_ ]]
23747 [37m[1mDEBUG [m+ ynh_app_setting set digiwords final_path /var/www/digiwords
23747 [37m[1mDEBUG [m+ set +o xtrace
23825 [37m[1mDEBUG [m+ ynh_setup_source --dest_dir=/var/www/digiwords
23826 [37m[1mDEBUG [m+ local legacy_args=dsk
23827 [37m[1mDEBUG [m+ args_array=([d]=dest_dir= [s]=source_id= [k]=keep=)
23828 [37m[1mDEBUG [m+ local -A args_array
23828 [37m[1mDEBUG [m+ local dest_dir
23829 [37m[1mDEBUG [m+ local source_id
23829 [37m[1mDEBUG [m+ local keep
23840 [37m[1mDEBUG [m+ ynh_handle_getopts_args --dest_dir=/var/www/digiwords
23840 [37m[1mDEBUG [m+ set +o xtrace
23916 [37m[1mDEBUG [m+ source_id=app
23917 [37m[1mDEBUG [m+ keep=
23918 [37m[1mDEBUG [m+ local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/app.src
23918 [37m[1mDEBUG [m++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/app.src
23920 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
23925 [37m[1mDEBUG [m+ local src_url=https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip
23925 [37m[1mDEBUG [m++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/app.src
23926 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
23931 [37m[1mDEBUG [m+ local src_sum=78564c2aa18e0702972994808843587dde876813dfddc06905924a4354a54156
23932 [37m[1mDEBUG [m++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/app.src
23933 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
23937 [37m[1mDEBUG [m+ local src_sumprg=sha256sum
23939 [37m[1mDEBUG [m++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/app.src
23940 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
23945 [37m[1mDEBUG [m+ local src_format=zip
23946 [37m[1mDEBUG [m++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/app.src
23947 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
23953 [37m[1mDEBUG [m+ local src_extract=true
23954 [37m[1mDEBUG [m++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/app.src
23955 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
23961 [37m[1mDEBUG [m+ local src_in_subdir=true
23963 [37m[1mDEBUG [m++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/app.src
23964 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
23970 [37m[1mDEBUG [m+ local src_filename=
23971 [37m[1mDEBUG [m+ src_sumprg=sha256sum
23972 [37m[1mDEBUG [m+ src_in_subdir=true
23972 [37m[1mDEBUG [m+ src_format=zip
23974 [37m[1mDEBUG [m++ echo zip
23976 [37m[1mDEBUG [m++ tr '[:upper:]' '[:lower:]'
23981 [37m[1mDEBUG [m+ src_format=zip
23982 [37m[1mDEBUG [m+ src_extract=true
23982 [37m[1mDEBUG [m+ '[' '' = '' ']'
23983 [37m[1mDEBUG [m+ src_filename=app.zip
23984 [37m[1mDEBUG [m+ local local_src=/opt/yunohost-apps-src/digiwords/app.zip
23985 [37m[1mDEBUG [m+ mkdir -p /var/cache/yunohost/download/digiwords/
23987 [37m[1mDEBUG [m+ src_filename=/var/cache/yunohost/download/digiwords/app.zip
23988 [37m[1mDEBUG [m+ test -e /opt/yunohost-apps-src/digiwords/app.zip
23989 [37m[1mDEBUG [m+ '[' -n https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip ']'
23989 [37m[1mDEBUG [m+ local out
23990 [37m[1mDEBUG [m++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/digiwords/app.zip https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip
24261 [37m[1mDEBUG [m+ out='2022-05-31 09:38:09 URL:https://objects.githubusercontent.com/github-production-release-asset-2e65be/459932950/34f63a52-4624-4bf0-8fd9-bfd6df81b61b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220531%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220531T093635Z&X-Amz-Expires=300&X-Amz-Signature=f2bca964937856669be1999db0bfc537f967bf0793bcb2f4c129615220114d07&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=459932950&response-content-disposition=attachment%3B%20filename%3Ddigiwords-0.3.3.zip&response-content-type=application%2Foctet-stream [3002924/3002924] -> "/var/cache/yunohost/download/digiwords/app.zip" [1]'
24262 [37m[1mDEBUG [m+ echo '78564c2aa18e0702972994808843587dde876813dfddc06905924a4354a54156 /var/cache/yunohost/download/digiwords/app.zip'
24263 [37m[1mDEBUG [m+ sha256sum --check --status
24290 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
24295 [37m[1mDEBUG [m+ '[' -n '' ']'
24296 [37m[1mDEBUG [m+ mkdir --parents /var/www/digiwords
24298 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
24299 [37m[1mDEBUG [m+ '[' /var/www/digiwords == /var/www/digiwords ']'
24300 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /var/www/digiwords
24301 [37m[1mDEBUG [m+ local target=/var/www/digiwords
24302 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/manifest.json
24302 [37m[1mDEBUG [m++ tr -d '>= '
24305 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
24306 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
24307 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
24308 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
24308 [37m[1mDEBUG [m+ chmod o-rwx /var/www/digiwords
24310 [37m[1mDEBUG [m+ chmod g-w /var/www/digiwords
24313 [37m[1mDEBUG [m+ chown -R root:root /var/www/digiwords
24320 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
24322 [37m[1mDEBUG [m+ local legacy_args=u
24323 [37m[1mDEBUG [m+ args_array=([u]=username=)
24324 [37m[1mDEBUG [m+ local -A args_array
24325 [37m[1mDEBUG [m+ local username
24326 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
24327 [37m[1mDEBUG [m+ set +o xtrace
24338 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
24338 [37m[1mDEBUG [m+ set +x
24342 [37m[1mDEBUG [m+ getent passwd digiwords
24348 [37m[1mDEBUG [m+ chown digiwords:digiwords /var/www/digiwords
24357 [37m[1mDEBUG [m+ echo /var/www/digiwords
24359 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
24363 [37m[1mDEBUG [m+ true
24364 [37m[1mDEBUG [m+ '[' zip = zip ']'
24365 [37m[1mDEBUG [m+ true
24366 [37m[1mDEBUG [m++ mktemp --directory
24368 [37m[1mDEBUG [m+ local tmp_dir=/tmp/tmp.4ieoSvtdli
24369 [37m[1mDEBUG [m+ unzip -quo /var/cache/yunohost/download/digiwords/app.zip -d /tmp/tmp.4ieoSvtdli
24412 [37m[1mDEBUG [m+ cp --archive /tmp/tmp.4ieoSvtdli/digiwords/. /var/www/digiwords
24427 [37m[1mDEBUG [m+ ynh_secure_remove --file=/tmp/tmp.4ieoSvtdli
24428 [37m[1mDEBUG [m+ local legacy_args=f
24429 [37m[1mDEBUG [m+ args_array=([f]=file=)
24429 [37m[1mDEBUG [m+ local -A args_array
24430 [37m[1mDEBUG [m+ local file
24431 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/tmp/tmp.4ieoSvtdli
24431 [37m[1mDEBUG [m+ set +o xtrace
24446 [37m[1mDEBUG [m+ set +o xtrace
24477 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/cache/yunohost/download/digiwords/app.zip
24478 [37m[1mDEBUG [m+ local legacy_args=f
24478 [37m[1mDEBUG [m+ args_array=([f]=file=)
24479 [37m[1mDEBUG [m+ local -A args_array
24480 [37m[1mDEBUG [m+ local file
24481 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/cache/yunohost/download/digiwords/app.zip
24482 [37m[1mDEBUG [m+ set +o xtrace
24498 [37m[1mDEBUG [m+ set +o xtrace
24522 [37m[1mDEBUG [m+ '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/sources/patches/ ']'
24523 [37m[1mDEBUG [m+ test -e /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/sources/extra_files/app
24523 [37m[1mDEBUG [m+ '[' -n '' ']'
24524 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
24527 [37m[1mDEBUG [m+ chmod 750 /var/www/digiwords
24532 [37m[1mDEBUG [m+ chmod -R o-rwx /var/www/digiwords
24536 [37m[1mDEBUG [m+ chown -R digiwords:www-data /var/www/digiwords
24544 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring NGINX web server...' --weight=1
24545 [37m[1mDEBUG [m+ set +o xtrace
24676 [37m[1mDEBUG [m+ set +o xtrace
24707 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
24708 [37m[1mDEBUG [m+ set +x
24715 [36m[1mINFO [m[##########++........] > Configuring NGINX web server...
24716 [37m[1mDEBUG [m+ echo '[##########++........] > Configuring NGINX web server...'
24717 [37m[1mDEBUG [m+ set -o xtrace
24717 [37m[1mDEBUG [m+ ynh_add_nginx_config
24718 [37m[1mDEBUG [m+ local finalnginxconf=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24718 [37m[1mDEBUG [m+ '[' / '!=' / ']'
24720 [37m[1mDEBUG [m+ ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/nginx.conf
24722 [37m[1mDEBUG [m+ local legacy_args=mrf
24723 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
24724 [37m[1mDEBUG [m+ local -A args_array
24726 [37m[1mDEBUG [m+ local match_string
24728 [37m[1mDEBUG [m+ local replace_string
24730 [37m[1mDEBUG [m+ local target_file
24731 [37m[1mDEBUG [m+ ynh_handle_getopts_args '--match_string=^#root_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/nginx.conf
24734 [37m[1mDEBUG [m+ set +o xtrace
24883 [37m[1mDEBUG [m+ set +o xtrace
24884 [37m[1mDEBUG [m+ sed --in-place 's@^#root_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/nginx.conf
24891 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24895 [37m[1mDEBUG [m+ local legacy_args=tdv
24896 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
24897 [37m[1mDEBUG [m+ local -A args_array
24898 [37m[1mDEBUG [m+ local template
24898 [37m[1mDEBUG [m+ local destination
24899 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24899 [37m[1mDEBUG [m+ set +o xtrace
24961 [37m[1mDEBUG [m+ local template_path
24962 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/nginx.conf ']'
24963 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/nginx.conf ']'
24963 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/nginx.conf
24963 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24964 [37m[1mDEBUG [m+ local legacy_args=f
24964 [37m[1mDEBUG [m+ args_array=([f]=file=)
24965 [37m[1mDEBUG [m+ local -A args_array
24966 [37m[1mDEBUG [m+ local file
24966 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24966 [37m[1mDEBUG [m+ set +o xtrace
24990 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
24997 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
24998 [37m[1mDEBUG [m++ local _globalapp=digiwords
24999 [37m[1mDEBUG [m++ local legacy_args=ak
25003 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
25004 [37m[1mDEBUG [m++ local -A args_array
25005 [37m[1mDEBUG [m++ local app
25007 [37m[1mDEBUG [m++ local key
25008 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
25009 [37m[1mDEBUG [m++ set +o xtrace
25068 [37m[1mDEBUG [m++ app=digiwords
25070 [37m[1mDEBUG [m++ [[ checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
25070 [37m[1mDEBUG [m++ ynh_app_setting get digiwords checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
25071 [37m[1mDEBUG [m++ set +o xtrace
25163 [37m[1mDEBUG [m+ local checksum_value=
25163 [37m[1mDEBUG [m+ backup_file_checksum=
25164 [37m[1mDEBUG [m+ '[' -n '' ']'
25164 [37m[1mDEBUG [m+ touch /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25168 [37m[1mDEBUG [m+ chown root:root /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25172 [37m[1mDEBUG [m+ chmod 640 /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25176 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/nginx.conf /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25180 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25180 [37m[1mDEBUG [m+ local target=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25182 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/manifest.json
25183 [37m[1mDEBUG [m++ tr -d '>= '
25191 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
25192 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
25192 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
25194 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
25200 [37m[1mDEBUG [m+ chmod o-rwx /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25204 [37m[1mDEBUG [m+ chmod g-w /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25207 [37m[1mDEBUG [m+ chown -R root:root /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25212 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
25212 [37m[1mDEBUG [m+ local legacy_args=u
25217 [37m[1mDEBUG [m+ args_array=([u]=username=)
25219 [37m[1mDEBUG [m+ local -A args_array
25223 [37m[1mDEBUG [m+ local username
25223 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
25223 [37m[1mDEBUG [m+ set +o xtrace
25238 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
25238 [37m[1mDEBUG [m+ set +x
25244 [37m[1mDEBUG [m+ getent passwd digiwords
25247 [37m[1mDEBUG [m+ chown digiwords:digiwords /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25251 [37m[1mDEBUG [m+ echo /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25252 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
25258 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25258 [37m[1mDEBUG [m+ local legacy_args=f
25258 [37m[1mDEBUG [m+ args_array=([f]=file=)
25259 [37m[1mDEBUG [m+ local -A args_array
25259 [37m[1mDEBUG [m+ local file
25259 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25260 [37m[1mDEBUG [m+ set +o xtrace
25281 [37m[1mDEBUG [m+ test -n /
25283 [37m[1mDEBUG [m+ local path_url_slash_less=
25284 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25285 [37m[1mDEBUG [m+ local legacy_args=mrf
25286 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25287 [37m[1mDEBUG [m+ local -A args_array
25287 [37m[1mDEBUG [m+ local match_string
25288 [37m[1mDEBUG [m+ local replace_string
25288 [37m[1mDEBUG [m+ local target_file
25289 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25290 [37m[1mDEBUG [m+ set +o xtrace
25478 [37m[1mDEBUG [m+ set +o xtrace
25480 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25487 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25488 [37m[1mDEBUG [m+ local legacy_args=mrf
25489 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25490 [37m[1mDEBUG [m+ local -A args_array
25490 [37m[1mDEBUG [m+ local match_string
25491 [37m[1mDEBUG [m+ local replace_string
25491 [37m[1mDEBUG [m+ local target_file
25492 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25492 [37m[1mDEBUG [m+ set +o xtrace
25639 [37m[1mDEBUG [m+ set +o xtrace
25641 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25646 [37m[1mDEBUG [m+ test -n digiwords
25647 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25648 [37m[1mDEBUG [m+ local legacy_args=mrf
25649 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25651 [37m[1mDEBUG [m+ local -A args_array
25651 [37m[1mDEBUG [m+ local match_string
25653 [37m[1mDEBUG [m+ local replace_string
25654 [37m[1mDEBUG [m+ local target_file
25654 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25655 [37m[1mDEBUG [m+ set +o xtrace
25807 [37m[1mDEBUG [m+ set +o xtrace
25808 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25811 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25812 [37m[1mDEBUG [m+ local legacy_args=mrf
25813 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25814 [37m[1mDEBUG [m+ local -A args_array
25814 [37m[1mDEBUG [m+ local match_string
25815 [37m[1mDEBUG [m+ local replace_string
25815 [37m[1mDEBUG [m+ local target_file
25816 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25816 [37m[1mDEBUG [m+ set +o xtrace
25945 [37m[1mDEBUG [m+ set +o xtrace
25946 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25949 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25950 [37m[1mDEBUG [m+ local legacy_args=mrf
25950 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
25951 [37m[1mDEBUG [m+ local -A args_array
25951 [37m[1mDEBUG [m+ local match_string
25952 [37m[1mDEBUG [m+ local replace_string
25952 [37m[1mDEBUG [m+ local target_file
25953 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
25954 [37m[1mDEBUG [m+ set +o xtrace
26097 [37m[1mDEBUG [m+ set +o xtrace
26098 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
26103 [37m[1mDEBUG [m+ test -n /var/www/digiwords
26103 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
26104 [37m[1mDEBUG [m+ local legacy_args=mrf
26106 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
26107 [37m[1mDEBUG [m+ local -A args_array
26109 [37m[1mDEBUG [m+ local match_string
26109 [37m[1mDEBUG [m+ local replace_string
26110 [37m[1mDEBUG [m+ local target_file
26110 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
26111 [37m[1mDEBUG [m+ set +o xtrace
26240 [37m[1mDEBUG [m+ set +o xtrace
26242 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
26246 [37m[1mDEBUG [m+ test -n 7.3
26247 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
26247 [37m[1mDEBUG [m+ local legacy_args=mrf
26247 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
26247 [37m[1mDEBUG [m+ local -A args_array
26248 [37m[1mDEBUG [m+ local match_string
26248 [37m[1mDEBUG [m+ local replace_string
26249 [37m[1mDEBUG [m+ local target_file
26249 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
26250 [37m[1mDEBUG [m+ set +o xtrace
26403 [37m[1mDEBUG [m+ set +o xtrace
26405 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
26409 [37m[1mDEBUG [m+ test -n ''
26410 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
26413 [37m[1mDEBUG [m++ sort --unique
26414 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
26416 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
26424 [37m[1mDEBUG [m+ local uniques_vars
26426 [37m[1mDEBUG [m+ local delimit=@
26427 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
26428 [37m[1mDEBUG [m+ local legacy_args=f
26430 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
26431 [37m[1mDEBUG [m+ local -A args_array
26432 [37m[1mDEBUG [m+ local file
26433 [37m[1mDEBUG [m+ local update_only
26434 [37m[1mDEBUG [m+ update_only=0
26434 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
26435 [37m[1mDEBUG [m+ set +o xtrace
26474 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
26474 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
26477 [37m[1mDEBUG [m++ md5sum /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
26479 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
26486 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf --value=9c307bf4206b43d766feb3b967a25374
26486 [37m[1mDEBUG [m+ local _globalapp=digiwords
26486 [37m[1mDEBUG [m+ local legacy_args=akv
26487 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
26487 [37m[1mDEBUG [m+ local -A args_array
26487 [37m[1mDEBUG [m+ local app
26487 [37m[1mDEBUG [m+ local key
26487 [37m[1mDEBUG [m+ local value
26489 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf --value=9c307bf4206b43d766feb3b967a25374
26489 [37m[1mDEBUG [m+ set +o xtrace
26615 [37m[1mDEBUG [m+ app=digiwords
26616 [37m[1mDEBUG [m+ [[ checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
26616 [37m[1mDEBUG [m+ ynh_app_setting set digiwords checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf 9c307bf4206b43d766feb3b967a25374
26617 [37m[1mDEBUG [m+ set +o xtrace
26695 [37m[1mDEBUG [m+ '[' -n '' ']'
26695 [37m[1mDEBUG [m+ unset backup_file_checksum
26696 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
26696 [37m[1mDEBUG [m+ local legacy_args=nalpte
26698 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
26699 [37m[1mDEBUG [m+ local -A args_array
26699 [37m[1mDEBUG [m+ local service_name
26700 [37m[1mDEBUG [m+ local action
26700 [37m[1mDEBUG [m+ local line_match
26700 [37m[1mDEBUG [m+ local length
26700 [37m[1mDEBUG [m+ local log_path
26701 [37m[1mDEBUG [m+ local timeout
26701 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
26701 [37m[1mDEBUG [m+ set +o xtrace
26879 [37m[1mDEBUG [m+ service_name=nginx
26880 [37m[1mDEBUG [m+ action=reload
26881 [37m[1mDEBUG [m+ line_match=
26881 [37m[1mDEBUG [m+ length=20
26882 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
26883 [37m[1mDEBUG [m+ timeout=300
26884 [37m[1mDEBUG [m+ '[' reload == stop ']'
26884 [37m[1mDEBUG [m+ [[ -n '' ]]
26886 [37m[1mDEBUG [m+ '[' reload == reload ']'
26886 [37m[1mDEBUG [m+ action=reload-or-restart
26887 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
26963 [37m[1mDEBUG [m+ [[ -n '' ]]
26964 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring PHP-FPM...' --weight=1
26964 [37m[1mDEBUG [m+ set +o xtrace
27103 [37m[1mDEBUG [m+ set +o xtrace
27136 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
27138 [37m[1mDEBUG [m+ set +x
27142 [36m[1mINFO [m[############++......] > Configuring PHP-FPM...
27146 [37m[1mDEBUG [m+ echo '[############++......] > Configuring PHP-FPM...'
27147 [37m[1mDEBUG [m+ set -o xtrace
27148 [37m[1mDEBUG [m+ ynh_add_fpm_config
27149 [37m[1mDEBUG [m+ local legacy_args=vtufpd
27149 [37m[1mDEBUG [m+ args_array=([v]=phpversion= [t]=use_template [u]=usage= [f]=footprint= [p]=package= [d]=dedicated_service)
27150 [37m[1mDEBUG [m+ local -A args_array
27151 [37m[1mDEBUG [m+ local phpversion
27151 [37m[1mDEBUG [m+ local use_template
27152 [37m[1mDEBUG [m+ local usage
27152 [37m[1mDEBUG [m+ local footprint
27153 [37m[1mDEBUG [m+ local package
27153 [37m[1mDEBUG [m+ local dedicated_service
27154 [37m[1mDEBUG [m+ ynh_handle_getopts_args
27154 [37m[1mDEBUG [m+ set +o xtrace
27155 [37m[1mDEBUG [m+ package=
27155 [37m[1mDEBUG [m+ use_template=1
27156 [37m[1mDEBUG [m+ usage=
27156 [37m[1mDEBUG [m+ footprint=
27157 [37m[1mDEBUG [m+ '[' -n '' ']'
27158 [37m[1mDEBUG [m+ '[' -n '' ']'
27158 [37m[1mDEBUG [m+ dedicated_service=0
27159 [37m[1mDEBUG [m+ phpversion=7.3
27159 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
27159 [37m[1mDEBUG [m++ local _globalapp=digiwords
27159 [37m[1mDEBUG [m++ local legacy_args=ak
27160 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
27160 [37m[1mDEBUG [m++ local -A args_array
27161 [37m[1mDEBUG [m++ local app
27161 [37m[1mDEBUG [m++ local key
27162 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
27162 [37m[1mDEBUG [m++ set +o xtrace
27214 [37m[1mDEBUG [m++ app=digiwords
27215 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
27215 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
27216 [37m[1mDEBUG [m++ set +o xtrace
27288 [37m[1mDEBUG [m+ local old_phpversion=7.3
27290 [37m[1mDEBUG [m+ '[' -n 7.3 ']'
27291 [37m[1mDEBUG [m+ '[' 7.3 '!=' 7.3 ']'
27292 [37m[1mDEBUG [m+ '[' -n '' ']'
27294 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
27295 [37m[1mDEBUG [m+ local fpm_service=php7.3-fpm
27296 [37m[1mDEBUG [m+ local fpm_config_dir=/etc/php/7.3/fpm
27296 [37m[1mDEBUG [m+ mkdir --parents /etc/php/7.3/fpm/pool.d
27297 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_config_dir --value=/etc/php/7.3/fpm
27298 [37m[1mDEBUG [m+ local _globalapp=digiwords
27299 [37m[1mDEBUG [m+ local legacy_args=akv
27300 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
27301 [37m[1mDEBUG [m+ local -A args_array
27302 [37m[1mDEBUG [m+ local app
27302 [37m[1mDEBUG [m+ local key
27303 [37m[1mDEBUG [m+ local value
27304 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_config_dir --value=/etc/php/7.3/fpm
27305 [37m[1mDEBUG [m+ set +o xtrace
27427 [37m[1mDEBUG [m+ app=digiwords
27429 [37m[1mDEBUG [m+ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
27432 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_config_dir /etc/php/7.3/fpm
27435 [37m[1mDEBUG [m+ set +o xtrace
27508 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_service --value=php7.3-fpm
27510 [37m[1mDEBUG [m+ local _globalapp=digiwords
27512 [37m[1mDEBUG [m+ local legacy_args=akv
27513 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
27514 [37m[1mDEBUG [m+ local -A args_array
27516 [37m[1mDEBUG [m+ local app
27517 [37m[1mDEBUG [m+ local key
27518 [37m[1mDEBUG [m+ local value
27519 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_service --value=php7.3-fpm
27520 [37m[1mDEBUG [m+ set +o xtrace
27637 [37m[1mDEBUG [m+ app=digiwords
27638 [37m[1mDEBUG [m+ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
27639 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_service php7.3-fpm
27640 [37m[1mDEBUG [m+ set +o xtrace
27717 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_dedicated_service --value=0
27718 [37m[1mDEBUG [m+ local _globalapp=digiwords
27718 [37m[1mDEBUG [m+ local legacy_args=akv
27718 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
27719 [37m[1mDEBUG [m+ local -A args_array
27719 [37m[1mDEBUG [m+ local app
27719 [37m[1mDEBUG [m+ local key
27719 [37m[1mDEBUG [m+ local value
27719 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_dedicated_service --value=0
27720 [37m[1mDEBUG [m+ set +o xtrace
27847 [37m[1mDEBUG [m+ app=digiwords
27854 [37m[1mDEBUG [m+ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
27856 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_dedicated_service 0
27857 [37m[1mDEBUG [m+ set +o xtrace
27938 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
27939 [37m[1mDEBUG [m+ local _globalapp=digiwords
27940 [37m[1mDEBUG [m+ local legacy_args=akv
27940 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
27941 [37m[1mDEBUG [m+ local -A args_array
27942 [37m[1mDEBUG [m+ local app
27942 [37m[1mDEBUG [m+ local key
27943 [37m[1mDEBUG [m+ local value
27943 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
27943 [37m[1mDEBUG [m+ set +o xtrace
28067 [37m[1mDEBUG [m+ app=digiwords
28067 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
28068 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
28069 [37m[1mDEBUG [m+ set +o xtrace
28148 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
28150 [37m[1mDEBUG [m+ '[' 1 -eq 1 ']'
28154 [37m[1mDEBUG [m+ local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/php-fpm.conf
28157 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/php-fpm.conf ']'
28158 [37m[1mDEBUG [m+ local finalphpconf=/etc/php/7.3/fpm/pool.d/digiwords.conf
28158 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords.conf
28159 [37m[1mDEBUG [m+ local legacy_args=tdv
28160 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
28161 [37m[1mDEBUG [m+ local -A args_array
28161 [37m[1mDEBUG [m+ local template
28162 [37m[1mDEBUG [m+ local destination
28163 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords.conf
28164 [37m[1mDEBUG [m+ set +o xtrace
28224 [37m[1mDEBUG [m+ local template_path
28226 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/php-fpm.conf ']'
28229 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/php-fpm.conf ']'
28231 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/php-fpm.conf
28233 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28235 [37m[1mDEBUG [m+ local legacy_args=f
28236 [37m[1mDEBUG [m+ args_array=([f]=file=)
28237 [37m[1mDEBUG [m+ local -A args_array
28238 [37m[1mDEBUG [m+ local file
28239 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28241 [37m[1mDEBUG [m+ set +o xtrace
28260 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
28262 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
28264 [37m[1mDEBUG [m++ local _globalapp=digiwords
28266 [37m[1mDEBUG [m++ local legacy_args=ak
28267 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
28267 [37m[1mDEBUG [m++ local -A args_array
28268 [37m[1mDEBUG [m++ local app
28269 [37m[1mDEBUG [m++ local key
28269 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
28270 [37m[1mDEBUG [m++ set +o xtrace
28332 [37m[1mDEBUG [m++ app=digiwords
28334 [37m[1mDEBUG [m++ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
28336 [37m[1mDEBUG [m++ ynh_app_setting get digiwords checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
28340 [37m[1mDEBUG [m++ set +o xtrace
28408 [37m[1mDEBUG [m+ local checksum_value=
28409 [37m[1mDEBUG [m+ backup_file_checksum=
28410 [37m[1mDEBUG [m+ '[' -n '' ']'
28411 [37m[1mDEBUG [m+ touch /etc/php/7.3/fpm/pool.d/digiwords.conf
28414 [37m[1mDEBUG [m+ chown root:root /etc/php/7.3/fpm/pool.d/digiwords.conf
28416 [37m[1mDEBUG [m+ chmod 640 /etc/php/7.3/fpm/pool.d/digiwords.conf
28419 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/digiwords.conf
28422 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/php/7.3/fpm/pool.d/digiwords.conf
28422 [37m[1mDEBUG [m+ local target=/etc/php/7.3/fpm/pool.d/digiwords.conf
28423 [37m[1mDEBUG [m++ tr -d '>= '
28423 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/manifest.json
28430 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
28430 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
28431 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
28431 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
28437 [37m[1mDEBUG [m+ chmod o-rwx /etc/php/7.3/fpm/pool.d/digiwords.conf
28442 [37m[1mDEBUG [m+ chmod g-w /etc/php/7.3/fpm/pool.d/digiwords.conf
28446 [37m[1mDEBUG [m+ chown -R root:root /etc/php/7.3/fpm/pool.d/digiwords.conf
28452 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
28452 [37m[1mDEBUG [m+ local legacy_args=u
28453 [37m[1mDEBUG [m+ args_array=([u]=username=)
28454 [37m[1mDEBUG [m+ local -A args_array
28455 [37m[1mDEBUG [m+ local username
28459 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
28462 [37m[1mDEBUG [m+ set +o xtrace
28478 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
28480 [37m[1mDEBUG [m+ set +x
28483 [37m[1mDEBUG [m+ getent passwd digiwords
28486 [37m[1mDEBUG [m+ chown digiwords:digiwords /etc/php/7.3/fpm/pool.d/digiwords.conf
28492 [37m[1mDEBUG [m+ echo /etc/php/7.3/fpm/pool.d/digiwords.conf
28492 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
28499 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28499 [37m[1mDEBUG [m+ local legacy_args=f
28500 [37m[1mDEBUG [m+ args_array=([f]=file=)
28501 [37m[1mDEBUG [m+ local -A args_array
28503 [37m[1mDEBUG [m+ local file
28505 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28508 [37m[1mDEBUG [m+ set +o xtrace
28525 [37m[1mDEBUG [m+ test -n /
28525 [37m[1mDEBUG [m+ local path_url_slash_less=
28527 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28531 [37m[1mDEBUG [m+ local legacy_args=mrf
28533 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
28535 [37m[1mDEBUG [m+ local -A args_array
28536 [37m[1mDEBUG [m+ local match_string
28536 [37m[1mDEBUG [m+ local replace_string
28537 [37m[1mDEBUG [m+ local target_file
28538 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28538 [37m[1mDEBUG [m+ set +o xtrace
28676 [37m[1mDEBUG [m+ set +o xtrace
28679 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/@g /etc/php/7.3/fpm/pool.d/digiwords.conf
28684 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28686 [37m[1mDEBUG [m+ local legacy_args=mrf
28689 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
28691 [37m[1mDEBUG [m+ local -A args_array
28694 [37m[1mDEBUG [m+ local match_string
28695 [37m[1mDEBUG [m+ local replace_string
28696 [37m[1mDEBUG [m+ local target_file
28697 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28698 [37m[1mDEBUG [m+ set +o xtrace
28831 [37m[1mDEBUG [m+ set +o xtrace
28832 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/@g /etc/php/7.3/fpm/pool.d/digiwords.conf
28838 [37m[1mDEBUG [m+ test -n digiwords
28839 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28839 [37m[1mDEBUG [m+ local legacy_args=mrf
28840 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
28841 [37m[1mDEBUG [m+ local -A args_array
28842 [37m[1mDEBUG [m+ local match_string
28842 [37m[1mDEBUG [m+ local replace_string
28843 [37m[1mDEBUG [m+ local target_file
28843 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
28845 [37m[1mDEBUG [m+ set +o xtrace
29023 [37m[1mDEBUG [m+ set +o xtrace
29025 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
29031 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
29032 [37m[1mDEBUG [m+ local legacy_args=mrf
29034 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
29035 [37m[1mDEBUG [m+ local -A args_array
29035 [37m[1mDEBUG [m+ local match_string
29035 [37m[1mDEBUG [m+ local replace_string
29036 [37m[1mDEBUG [m+ local target_file
29036 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
29036 [37m[1mDEBUG [m+ set +o xtrace
29189 [37m[1mDEBUG [m+ set +o xtrace
29192 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
29195 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
29198 [37m[1mDEBUG [m+ local legacy_args=mrf
29199 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
29200 [37m[1mDEBUG [m+ local -A args_array
29201 [37m[1mDEBUG [m+ local match_string
29202 [37m[1mDEBUG [m+ local replace_string
29202 [37m[1mDEBUG [m+ local target_file
29203 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
29204 [37m[1mDEBUG [m+ set +o xtrace
29330 [37m[1mDEBUG [m+ set +o xtrace
29331 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
29338 [37m[1mDEBUG [m+ test -n /var/www/digiwords
29339 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
29341 [37m[1mDEBUG [m+ local legacy_args=mrf
29342 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
29343 [37m[1mDEBUG [m+ local -A args_array
29343 [37m[1mDEBUG [m+ local match_string
29344 [37m[1mDEBUG [m+ local replace_string
29345 [37m[1mDEBUG [m+ local target_file
29346 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
29346 [37m[1mDEBUG [m+ set +o xtrace
29461 [37m[1mDEBUG [m+ set +o xtrace
29462 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
29466 [37m[1mDEBUG [m+ test -n 7.3
29467 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
29469 [37m[1mDEBUG [m+ local legacy_args=mrf
29471 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
29471 [37m[1mDEBUG [m+ local -A args_array
29472 [37m[1mDEBUG [m+ local match_string
29473 [37m[1mDEBUG [m+ local replace_string
29474 [37m[1mDEBUG [m+ local target_file
29475 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
29476 [37m[1mDEBUG [m+ set +o xtrace
29593 [37m[1mDEBUG [m+ set +o xtrace
29594 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/digiwords.conf
29602 [37m[1mDEBUG [m+ test -n ''
29602 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
29606 [37m[1mDEBUG [m++ sort --unique
29607 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/7.3/fpm/pool.d/digiwords.conf
29609 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
29617 [37m[1mDEBUG [m+ local uniques_vars
29618 [37m[1mDEBUG [m+ local delimit=@
29618 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
29620 [37m[1mDEBUG [m+ local legacy_args=f
29620 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
29620 [37m[1mDEBUG [m+ local -A args_array
29621 [37m[1mDEBUG [m+ local file
29621 [37m[1mDEBUG [m+ local update_only
29621 [37m[1mDEBUG [m+ update_only=0
29621 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
29623 [37m[1mDEBUG [m+ set +o xtrace
29657 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
29657 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
29661 [37m[1mDEBUG [m++ md5sum /etc/php/7.3/fpm/pool.d/digiwords.conf
29664 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
29668 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf --value=79ffd547aca07e585572ccb8bfba1ec1
29669 [37m[1mDEBUG [m+ local _globalapp=digiwords
29670 [37m[1mDEBUG [m+ local legacy_args=akv
29670 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
29671 [37m[1mDEBUG [m+ local -A args_array
29671 [37m[1mDEBUG [m+ local app
29672 [37m[1mDEBUG [m+ local key
29673 [37m[1mDEBUG [m+ local value
29674 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf --value=79ffd547aca07e585572ccb8bfba1ec1
29674 [37m[1mDEBUG [m+ set +o xtrace
29796 [37m[1mDEBUG [m+ app=digiwords
29796 [37m[1mDEBUG [m+ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
29796 [37m[1mDEBUG [m+ ynh_app_setting set digiwords checksum__etc_php_7.3_fpm_pool.d_digiwords.conf 79ffd547aca07e585572ccb8bfba1ec1
29797 [37m[1mDEBUG [m+ set +o xtrace
29872 [37m[1mDEBUG [m+ '[' -n '' ']'
29872 [37m[1mDEBUG [m+ unset backup_file_checksum
29873 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_df2pbgf8/app_folder/conf/php-fpm.ini ']'
29873 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
29874 [37m[1mDEBUG [m+ php-fpm7.3 --test
29968 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
29969 [37m[1mDEBUG [m+ local legacy_args=nalpte
29969 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
29970 [37m[1mDEBUG [m+ local -A args_array
29970 [37m[1mDEBUG [m+ local service_name
29971 [37m[1mDEBUG [m+ local action
29971 [37m[1mDEBUG [m+ local line_match
29971 [37m[1mDEBUG [m+ local length
29972 [37m[1mDEBUG [m+ local log_path
29972 [37m[1mDEBUG [m+ local timeout
29972 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
29972 [37m[1mDEBUG [m+ set +o xtrace
30135 [37m[1mDEBUG [m+ service_name=php7.3-fpm
30135 [37m[1mDEBUG [m+ action=reload
30136 [37m[1mDEBUG [m+ line_match=
30136 [37m[1mDEBUG [m+ length=20
30136 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
30136 [37m[1mDEBUG [m+ timeout=300
30137 [37m[1mDEBUG [m+ '[' reload == stop ']'
30138 [37m[1mDEBUG [m+ [[ -n '' ]]
30138 [37m[1mDEBUG [m+ '[' reload == reload ']'
30139 [37m[1mDEBUG [m+ action=reload-or-restart
30139 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
30183 [37m[1mDEBUG [m+ [[ -n '' ]]
30186 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring permissions...' --weight=1
30187 [37m[1mDEBUG [m+ set +o xtrace
30329 [37m[1mDEBUG [m+ set +o xtrace
30365 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
30367 [37m[1mDEBUG [m+ set +x
30371 [36m[1mINFO [m[##############++....] > Configuring permissions...
30372 [37m[1mDEBUG [m+ echo '[##############++....] > Configuring permissions...'
30375 [37m[1mDEBUG [m+ set -o xtrace
30376 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
30377 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reloading NGINX web server...' --weight=1
30378 [37m[1mDEBUG [m+ set +o xtrace
30533 [37m[1mDEBUG [m+ set +o xtrace
30559 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
30561 [37m[1mDEBUG [m+ set +x
30567 [37m[1mDEBUG [m+ echo '[################++..] > Reloading NGINX web server...'
30569 [37m[1mDEBUG [m+ set -o xtrace
30569 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
30570 [37m[1mDEBUG [m+ local legacy_args=nalpte
30571 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
30572 [37m[1mDEBUG [m+ local -A args_array
30573 [37m[1mDEBUG [m+ local service_name
30574 [37m[1mDEBUG [m+ local action
30574 [37m[1mDEBUG [m+ local line_match
30576 [37m[1mDEBUG [m+ local length
30576 [37m[1mDEBUG [m+ local log_path
30576 [37m[1mDEBUG [m+ local timeout
30577 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
30577 [37m[1mDEBUG [m+ set +o xtrace
30578 [36m[1mINFO [m[################++..] > Reloading NGINX web server...
30758 [37m[1mDEBUG [m+ service_name=nginx
30759 [37m[1mDEBUG [m+ action=reload
30759 [37m[1mDEBUG [m+ line_match=
30760 [37m[1mDEBUG [m+ length=20
30760 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
30760 [37m[1mDEBUG [m+ timeout=300
30760 [37m[1mDEBUG [m+ '[' reload == stop ']'
30761 [37m[1mDEBUG [m+ [[ -n '' ]]
30761 [37m[1mDEBUG [m+ '[' reload == reload ']'
30762 [37m[1mDEBUG [m+ action=reload-or-restart
30762 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
30847 [37m[1mDEBUG [m+ [[ -n '' ]]
30849 [37m[1mDEBUG [m+ ynh_script_progression '--message=Installation of digiwords completed' --last
30849 [37m[1mDEBUG [m+ set +o xtrace
30966 [37m[1mDEBUG [m+ set +o xtrace
30995 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
30996 [37m[1mDEBUG [m+ set +x
31003 [37m[1mDEBUG [m+ echo '[####################] > Installation of digiwords completed'
31004 [36m[1mINFO [m[####################] > Installation of digiwords completed
31004 [37m[1mDEBUG [m+ set -o xtrace
31005 [37m[1mDEBUG [m+ ynh_exit_properly
31014 [37m[1mDEBUG [m+ local exit_code=0
31015 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/download/
31016 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
31016 [37m[1mDEBUG [m+ exit 0
32020 [37m[1mDEBUG [mChecking that required services are up and running...
32849 [32m[1mSUCCESS [mInstallation completed
32851 [37m[1mDEBUG [mTo view the log of the operation 'Install the 'digiwords' app', use the command 'yunohost log show 20220531-093746-app_install-digiwords'
32863 [37m[1mDEBUG [maction [6770.1] executed in 32.593s
32864 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 34 seconds (09:38:18)
Installation successful.
Return code: 1
Working time: 0s (09:38:28)
[1m > Validating that the app digiwords can/can't be accessed with its URL...[0m
Running curl sub.domain.tld
Return code: 0
Working time: 0s (09:38:33)
Return code: 0
Working time: 0s (09:38:36)
HTTP code:
Test URL: sub.domain.tld
Real URL:
HTTP code:
Page title:
Page extract:
Running curl sub.domain.tld/
Return code: 0
Working time: 0s (09:38:42)
YunoHost Portal
Yunohost
Please log in to access to this content
Return code: 0
Working time: 0s (09:38:45)
HTTP code:
Yunohost
Please log in to access to this content
Username ____________________
Password ____________________
Log in
The connection attempt fall on the YunoHost portal.
Test URL: sub.domain.tld/
Real URL:
HTTP code:
Page title: YunoHost Portal
Page extract:
Yunohost
Please log in to access to this content
Username ____________________
Password ____________________
Log in
[1m[32m--- SUCCESS ---[0m
Working time for this test: 3 minutes, 40 seconds (09:38:45)
[1m
============================================
[Test 5/9] Multi-instance installations
============================================
[0m
Loading snapshot snap0 ...
[1m > First installation: path=sub.domain.tld/[0m
(Reusing existing snapshot snap_rootinstall)
Loading snapshot snap_rootinstall ...
[1m > Second installation: path=domain.tld/[0m
Running: yunohost app install --force /app_folder -a "domain=domain.tld&path=/ admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&"
Running yunohost app install --force /app_folder -a "domain=domain.tld&path=/ admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&"
171 [37m[1mDEBUG [minitializing base actions map parser for cli
173 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
176 [37m[1mDEBUG [mbuilding parser...
195 [37m[1mDEBUG [mbuilding parser took 0.018s
197 [37m[1mDEBUG [macquiring lock...
219 [37m[1mDEBUG [mlock has been acquired
254 [37m[1mDEBUG [mloading python module yunohost.app took 0.035s
255 [37m[1mDEBUG [mprocessing action [861.1]: yunohost.app.install with args={'app': '/app_folder', 'label': None, 'args': 'domain=domain.tld&path=/ admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&', 'no_remove_on_failure': False, 'force': True}
310 [37m[1mDEBUG [mExtracting...
333 [37m[1mDEBUG [mDone
336 [37m[1mDEBUG [mChecking required packages for digiwords...
350 [37m[1mDEBUG [mChecking that required services are up and running...
1312 [37m[1mDEBUG [minitializing ldap interface
1495 [36m[1mINFO [mInstalling digiwords...
1566 [37m[1mDEBUG [mNothing to update in LDAP
1567 [37m[1mDEBUG [mPermission 'digiwords__2.main' updated
1591 [37m[1mDEBUG [mTo view the log of the operation 'Update URL related to permission 'digiwords__2'', use the command 'yunohost log show 20220531-094059-permission_url-digiwords__2'
1647 [37m[1mDEBUG [mThe permission database has been resynchronized
1687 [37m[1mDEBUG [mSSOwat configuration regenerated
1722 [37m[1mDEBUG [mPermission 'digiwords__2.main' created
1723 [37m[1mDEBUG [mTo view the log of the operation 'Create permission 'digiwords__2'', use the command 'yunohost log show 20220531-094059-permission_create-digiwords__2'
1750 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
1765 [37m[1mDEBUG [m+ source _common.sh
1766 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
1766 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
1768 [37m[1mDEBUG [m+++ set +o
1769 [37m[1mDEBUG [m+++ grep xtrace
1778 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
1778 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
1779 [37m[1mDEBUG [m++ set +x
1821 [37m[1mDEBUG [m+ ynh_abort_if_errors
1822 [37m[1mDEBUG [m+ set -o errexit
1823 [37m[1mDEBUG [m+ set -o nounset
1824 [37m[1mDEBUG [m+ trap ynh_exit_properly EXIT
1824 [37m[1mDEBUG [m+ domain=domain.tld
1826 [37m[1mDEBUG [m+ path_url=/
1826 [37m[1mDEBUG [m+ is_public=1
1827 [37m[1mDEBUG [m+ app=digiwords__2
1828 [37m[1mDEBUG [m+ ynh_script_progression '--message=Validating installation parameters...' --weight=1
1829 [37m[1mDEBUG [m+ set +o xtrace
1960 [37m[1mDEBUG [m+ set +o xtrace
2019 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2023 [37m[1mDEBUG [m+ set +x
2026 [36m[1mINFO [m[++..................] > Validating installation parameters...
2032 [37m[1mDEBUG [m+ echo '[++..................] > Validating installation parameters...'
2036 [37m[1mDEBUG [m+ set -o xtrace
2037 [37m[1mDEBUG [m+ final_path=/var/www/digiwords__2
2038 [37m[1mDEBUG [m+ test '!' -e /var/www/digiwords__2
2038 [37m[1mDEBUG [m+ ynh_webpath_register --app=digiwords__2 --domain=domain.tld --path_url=/
2039 [37m[1mDEBUG [m+ local legacy_args=adp
2040 [37m[1mDEBUG [m+ args_array=([a]=app= [d]=domain= [p]=path_url=)
2040 [37m[1mDEBUG [m+ local -A args_array
2042 [37m[1mDEBUG [m+ local app
2043 [37m[1mDEBUG [m+ local domain
2044 [37m[1mDEBUG [m+ local path_url
2046 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords__2 --domain=domain.tld --path_url=/
2047 [37m[1mDEBUG [m+ set +o xtrace
2188 [37m[1mDEBUG [m+ yunohost app register-url digiwords__2 domain.tld /
3100 [37m[1mDEBUG [m+ ynh_script_progression '--message=Storing installation settings...' --weight=1
3102 [37m[1mDEBUG [m+ set +o xtrace
3229 [37m[1mDEBUG [m+ set +o xtrace
3258 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3260 [37m[1mDEBUG [m+ set +x
3267 [36m[1mINFO [m[##++................] > Storing installation settings...
3268 [37m[1mDEBUG [m+ echo '[##++................] > Storing installation settings...'
3270 [37m[1mDEBUG [m+ set -o xtrace
3271 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords__2 --key=domain --value=domain.tld
3272 [37m[1mDEBUG [m+ local _globalapp=digiwords__2
3272 [37m[1mDEBUG [m+ local legacy_args=akv
3273 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
3273 [37m[1mDEBUG [m+ local -A args_array
3274 [37m[1mDEBUG [m+ local app
3274 [37m[1mDEBUG [m+ local key
3275 [37m[1mDEBUG [m+ local value
3275 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords__2 --key=domain --value=domain.tld
3276 [37m[1mDEBUG [m+ set +o xtrace
3419 [37m[1mDEBUG [m+ app=digiwords__2
3420 [37m[1mDEBUG [m+ [[ domain =~ (unprotected|protected|skipped)_ ]]
3421 [37m[1mDEBUG [m+ ynh_app_setting set digiwords__2 domain domain.tld
3421 [37m[1mDEBUG [m+ set +o xtrace
3501 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords__2 --key=path --value=/
3503 [37m[1mDEBUG [m+ local _globalapp=digiwords__2
3507 [37m[1mDEBUG [m+ local legacy_args=akv
3510 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
3511 [37m[1mDEBUG [m+ local -A args_array
3512 [37m[1mDEBUG [m+ local app
3512 [37m[1mDEBUG [m+ local key
3513 [37m[1mDEBUG [m+ local value
3514 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords__2 --key=path --value=/
3515 [37m[1mDEBUG [m+ set +o xtrace
3637 [37m[1mDEBUG [m+ app=digiwords__2
3638 [37m[1mDEBUG [m+ [[ path =~ (unprotected|protected|skipped)_ ]]
3639 [37m[1mDEBUG [m+ ynh_app_setting set digiwords__2 path /
3640 [37m[1mDEBUG [m+ set +o xtrace
3723 [37m[1mDEBUG [m+ ynh_script_progression '--message=Installing dependencies...' --weight=1
3725 [37m[1mDEBUG [m+ set +o xtrace
3869 [37m[1mDEBUG [m+ set +o xtrace
3892 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3894 [37m[1mDEBUG [m+ set +x
3902 [37m[1mDEBUG [m+ echo '[####++..............] > Installing dependencies...'
3903 [37m[1mDEBUG [m+ set -o xtrace
3903 [37m[1mDEBUG [m+ ynh_install_app_dependencies php-sqlite3
3904 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3904 [36m[1mINFO [m[####++..............] > Installing dependencies...
3906 [37m[1mDEBUG [m++ echo php-sqlite3
3906 [37m[1mDEBUG [m++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
3913 [37m[1mDEBUG [m+ dependencies=php-sqlite3
3914 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3915 [37m[1mDEBUG [m+ local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/manifest.json
3916 [37m[1mDEBUG [m++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/manifest.json
3925 [37m[1mDEBUG [m+ local version=0.3.3~ynh1
3932 [37m[1mDEBUG [m+ '[' -z 0.3.3~ynh1 ']'
3934 [37m[1mDEBUG [m+ '[' 0.3.3~ynh1 == null ']'
3935 [37m[1mDEBUG [m+ local dep_app=digiwords--2
3936 [37m[1mDEBUG [m+ [[ php-sqlite3 =~ [<=>] ]]
3937 [37m[1mDEBUG [m++ echo php-sqlite3
3939 [37m[1mDEBUG [m++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
3939 [37m[1mDEBUG [m++ sort -u
3943 [37m[1mDEBUG [m+ local specific_php_version=
3944 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
3957 [37m[1mDEBUG [m+ [[ -n '' ]]
3960 [37m[1mDEBUG [m+ [[ true == \t\r\u\e ]]
3962 [37m[1mDEBUG [m+ YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
3965 [37m[1mDEBUG [m+ grep --quiet php
3968 [37m[1mDEBUG [m+ dpkg --list
3970 [37m[1mDEBUG [m+ grep php7.0
3971 [37m[1mDEBUG [m+ grep --quiet --invert-match 7.0.33-0+deb9
3986 [37m[1mDEBUG [m+ cat
3992 [37m[1mDEBUG [m+ ynh_package_install_from_equivs /tmp/digiwords--2-ynh-deps.control
3993 [37m[1mDEBUG [m+ local controlfile=/tmp/digiwords--2-ynh-deps.control
3997 [37m[1mDEBUG [m++ grep '^Package: ' /tmp/digiwords--2-ynh-deps.control
4002 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
4009 [37m[1mDEBUG [m+ local pkgname=digiwords--2-ynh-deps
4011 [37m[1mDEBUG [m++ grep '^Version: ' /tmp/digiwords--2-ynh-deps.control
4016 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
4019 [37m[1mDEBUG [m+ local pkgversion=0.3.3~ynh1
4020 [37m[1mDEBUG [m+ [[ -z digiwords--2-ynh-deps ]]
4021 [37m[1mDEBUG [m+ [[ -z 0.3.3~ynh1 ]]
4022 [37m[1mDEBUG [m+ ynh_package_update
4023 [37m[1mDEBUG [m+ ynh_apt update
4025 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
4027 [37m[1mDEBUG [m+ local try
4028 [37m[1mDEBUG [m+ set +o xtrace
5534 [37m[1mDEBUG [m+ return 0
5536 [37m[1mDEBUG [m+ LC_ALL=C
5537 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
5538 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
5696 [37m[1mDEBUG [mHit:1 http://forge.yunohost.org/debian buster InRelease
5699 [37m[1mDEBUG [mHit:2 http://deb.debian.org/debian buster InRelease
5712 [37m[1mDEBUG [mHit:3 http://deb.debian.org/debian buster-updates InRelease
5723 [37m[1mDEBUG [mHit:4 http://deb.debian.org/debian-security buster/updates InRelease
8418 [37m[1mDEBUG [mReading package lists...
8479 [37m[1mDEBUG [m++ mktemp --directory
8482 [37m[1mDEBUG [m+ local TMPDIR=/tmp/tmp.rcG3bUbi2s
8483 [37m[1mDEBUG [m+ echo 10
8486 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
8487 [37m[1mDEBUG [m+ local try
8487 [37m[1mDEBUG [m+ set +o xtrace
9892 [37m[1mDEBUG [m+ return 0
9893 [37m[1mDEBUG [m+ cp /tmp/digiwords--2-ynh-deps.control /tmp/tmp.rcG3bUbi2s/control
9902 [37m[1mDEBUG [m+ cd /tmp/tmp.rcG3bUbi2s
9903 [37m[1mDEBUG [m+ LC_ALL=C
9903 [37m[1mDEBUG [m+ equivs-build ./control
12026 [37m[1mDEBUG [m+ LC_ALL=C
12027 [37m[1mDEBUG [m+ tee ./dpkg_log
12027 [37m[1mDEBUG [m+ dpkg --force-depends --install ./digiwords--2-ynh-deps_0.3.3~ynh1_all.deb
12111 [37m[1mDEBUG [mSelecting previously unselected package digiwords--2-ynh-deps.
12158 [37m[1mDEBUG [m(Reading database ... 42403 files and directories currently installed.)
12165 [37m[1mDEBUG [mPreparing to unpack .../digiwords--2-ynh-deps_0.3.3~ynh1_all.deb ...
12178 [37m[1mDEBUG [mUnpacking digiwords--2-ynh-deps (0.3.3~ynh1) ...
12244 [37m[1mDEBUG [mSetting up digiwords--2-ynh-deps (0.3.3~ynh1) ...
12321 [37m[1mDEBUG [m+ ynh_package_install --fix-broken
12322 [37m[1mDEBUG [m+ ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
12324 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
12325 [37m[1mDEBUG [m+ local try
12327 [37m[1mDEBUG [m+ set +o xtrace
13681 [37m[1mDEBUG [m+ return 0
13684 [37m[1mDEBUG [m+ LC_ALL=C
13685 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
13686 [37m[1mDEBUG [m+ 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
13870 [37m[1mDEBUG [mReading package lists...
14260 [37m[1mDEBUG [mBuilding dependency tree...
14262 [37m[1mDEBUG [mReading state information...
14742 [37m[1mDEBUG [m0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
14743 [37m[1mDEBUG [m+ [[ -n /tmp/tmp.rcG3bUbi2s ]]
14744 [37m[1mDEBUG [m+ rm --recursive --force /tmp/tmp.rcG3bUbi2s
14746 [37m[1mDEBUG [m+ ynh_package_is_installed digiwords--2-ynh-deps
14747 [37m[1mDEBUG [m+ local legacy_args=p
14748 [37m[1mDEBUG [m+ args_array=([p]=package=)
14750 [37m[1mDEBUG [m+ local -A args_array
14752 [37m[1mDEBUG [m+ local package
14754 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords--2-ynh-deps
14755 [37m[1mDEBUG [m+ set +o xtrace
14764 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
14766 [37m[1mDEBUG [m+ set +x
14768 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
14770 [37m[1mDEBUG [m+ local try
14774 [37m[1mDEBUG [m+ set +o xtrace
16132 [37m[1mDEBUG [m+ return 0
16136 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords--2-ynh-deps
16142 [37m[1mDEBUG [m+ grep --count 'ok installed'
16157 [37m[1mDEBUG [m+ rm /tmp/digiwords--2-ynh-deps.control
16164 [37m[1mDEBUG [m+ [[ -n '' ]]
16167 [37m[1mDEBUG [m+ grep --quiet php
16168 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords__2 --key=phpversion --value=7.3
16169 [37m[1mDEBUG [m+ local _globalapp=digiwords__2
16170 [37m[1mDEBUG [m+ local legacy_args=akv
16170 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
16170 [37m[1mDEBUG [m+ local -A args_array
16170 [37m[1mDEBUG [m+ local app
16171 [37m[1mDEBUG [m+ local key
16171 [37m[1mDEBUG [m+ local value
16171 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords__2 --key=phpversion --value=7.3
16172 [37m[1mDEBUG [m+ set +o xtrace
16297 [37m[1mDEBUG [m+ app=digiwords__2
16298 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
16299 [37m[1mDEBUG [m+ ynh_app_setting set digiwords__2 phpversion 7.3
16299 [37m[1mDEBUG [m+ set +o xtrace
16383 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring system user...' --weight=1
16384 [37m[1mDEBUG [m+ set +o xtrace
16493 [37m[1mDEBUG [m+ set +o xtrace
16522 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
16523 [37m[1mDEBUG [m+ set +x
16533 [37m[1mDEBUG [m+ echo '[######++............] > Configuring system user...'
16534 [37m[1mDEBUG [m+ set -o xtrace
16535 [37m[1mDEBUG [m+ ynh_system_user_create --username=digiwords__2 --home_dir=/var/www/digiwords__2
16535 [37m[1mDEBUG [m+ local legacy_args=uhs
16535 [37m[1mDEBUG [m+ args_array=([u]=username= [h]=home_dir= [s]=use_shell [g]=groups=)
16536 [37m[1mDEBUG [m+ local -A args_array
16536 [37m[1mDEBUG [m+ local username
16540 [37m[1mDEBUG [m+ local home_dir
16541 [37m[1mDEBUG [m+ local use_shell
16541 [37m[1mDEBUG [m+ local groups
16544 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords__2 --home_dir=/var/www/digiwords__2
16545 [37m[1mDEBUG [m+ set +o xtrace
16546 [36m[1mINFO [m[######++............] > Configuring system user...
16666 [37m[1mDEBUG [m+ use_shell=0
16667 [37m[1mDEBUG [m+ home_dir=/var/www/digiwords__2
16670 [37m[1mDEBUG [m+ groups=
16673 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords__2
16674 [37m[1mDEBUG [m+ local legacy_args=u
16675 [37m[1mDEBUG [m+ args_array=([u]=username=)
16676 [37m[1mDEBUG [m+ local -A args_array
16677 [37m[1mDEBUG [m+ local username
16678 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords__2
16679 [37m[1mDEBUG [m+ set +o xtrace
16690 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
16691 [37m[1mDEBUG [m+ set +x
16691 [37m[1mDEBUG [m+ getent passwd digiwords__2
16700 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords__2 ']'
16701 [37m[1mDEBUG [m+ local 'user_home_dir=--home-dir /var/www/digiwords__2'
16703 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
16707 [37m[1mDEBUG [m+ local 'shell=--shell /usr/sbin/nologin'
16713 [37m[1mDEBUG [m+ useradd --home-dir /var/www/digiwords__2 --system --user-group digiwords__2 --shell /usr/sbin/nologin
16824 [37m[1mDEBUG [m+ local group
16825 [37m[1mDEBUG [m+ ynh_script_progression '--message=Setting up source files...' --weight=1
16826 [37m[1mDEBUG [m+ set +o xtrace
16978 [37m[1mDEBUG [m+ set +o xtrace
17008 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
17010 [37m[1mDEBUG [m+ set +x
17015 [37m[1mDEBUG [m+ echo '[########++..........] > Setting up source files...'
17016 [37m[1mDEBUG [m+ set -o xtrace
17017 [36m[1mINFO [m[########++..........] > Setting up source files...
17019 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords__2 --key=final_path --value=/var/www/digiwords__2
17019 [37m[1mDEBUG [m+ local _globalapp=digiwords__2
17020 [37m[1mDEBUG [m+ local legacy_args=akv
17021 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
17021 [37m[1mDEBUG [m+ local -A args_array
17022 [37m[1mDEBUG [m+ local app
17023 [37m[1mDEBUG [m+ local key
17023 [37m[1mDEBUG [m+ local value
17023 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords__2 --key=final_path --value=/var/www/digiwords__2
17024 [37m[1mDEBUG [m+ set +o xtrace
17186 [37m[1mDEBUG [m+ app=digiwords__2
17188 [37m[1mDEBUG [m+ [[ final_path =~ (unprotected|protected|skipped)_ ]]
17188 [37m[1mDEBUG [m+ ynh_app_setting set digiwords__2 final_path /var/www/digiwords__2
17190 [37m[1mDEBUG [m+ set +o xtrace
17276 [37m[1mDEBUG [m+ ynh_setup_source --dest_dir=/var/www/digiwords__2
17278 [37m[1mDEBUG [m+ local legacy_args=dsk
17279 [37m[1mDEBUG [m+ args_array=([d]=dest_dir= [s]=source_id= [k]=keep=)
17280 [37m[1mDEBUG [m+ local -A args_array
17281 [37m[1mDEBUG [m+ local dest_dir
17282 [37m[1mDEBUG [m+ local source_id
17283 [37m[1mDEBUG [m+ local keep
17284 [37m[1mDEBUG [m+ ynh_handle_getopts_args --dest_dir=/var/www/digiwords__2
17285 [37m[1mDEBUG [m+ set +o xtrace
17331 [37m[1mDEBUG [m+ source_id=app
17332 [37m[1mDEBUG [m+ keep=
17332 [37m[1mDEBUG [m+ local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/app.src
17335 [37m[1mDEBUG [m++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/app.src
17337 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
17341 [37m[1mDEBUG [m+ local src_url=https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip
17344 [37m[1mDEBUG [m++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/app.src
17345 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
17350 [37m[1mDEBUG [m+ local src_sum=78564c2aa18e0702972994808843587dde876813dfddc06905924a4354a54156
17353 [37m[1mDEBUG [m++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/app.src
17354 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
17359 [37m[1mDEBUG [m+ local src_sumprg=sha256sum
17362 [37m[1mDEBUG [m++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/app.src
17364 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
17372 [37m[1mDEBUG [m+ local src_format=zip
17375 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
17375 [37m[1mDEBUG [m++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/app.src
17380 [37m[1mDEBUG [m+ local src_extract=true
17383 [37m[1mDEBUG [m++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/app.src
17383 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
17391 [37m[1mDEBUG [m+ local src_in_subdir=true
17394 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
17395 [37m[1mDEBUG [m++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/app.src
17401 [37m[1mDEBUG [m+ local src_filename=
17401 [37m[1mDEBUG [m+ src_sumprg=sha256sum
17402 [37m[1mDEBUG [m+ src_in_subdir=true
17402 [37m[1mDEBUG [m+ src_format=zip
17403 [37m[1mDEBUG [m++ tr '[:upper:]' '[:lower:]'
17403 [37m[1mDEBUG [m++ echo zip
17407 [37m[1mDEBUG [m+ src_format=zip
17409 [37m[1mDEBUG [m+ src_extract=true
17410 [37m[1mDEBUG [m+ '[' '' = '' ']'
17411 [37m[1mDEBUG [m+ src_filename=app.zip
17411 [37m[1mDEBUG [m+ local local_src=/opt/yunohost-apps-src/digiwords/app.zip
17412 [37m[1mDEBUG [m+ mkdir -p /var/cache/yunohost/download/digiwords/
17412 [37m[1mDEBUG [m+ src_filename=/var/cache/yunohost/download/digiwords/app.zip
17413 [37m[1mDEBUG [m+ test -e /opt/yunohost-apps-src/digiwords/app.zip
17414 [37m[1mDEBUG [m+ '[' -n https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip ']'
17414 [37m[1mDEBUG [m+ local out
17420 [37m[1mDEBUG [m++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/digiwords/app.zip https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip
17874 [37m[1mDEBUG [m+ out='2022-05-31 09:41:16 URL:https://objects.githubusercontent.com/github-production-release-asset-2e65be/459932950/34f63a52-4624-4bf0-8fd9-bfd6df81b61b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220531%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220531T094116Z&X-Amz-Expires=300&X-Amz-Signature=8935b2cac997c621fc2d773d47ae198c9712ae97bd8b512d40b2d47cb36643fc&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=459932950&response-content-disposition=attachment%3B%20filename%3Ddigiwords-0.3.3.zip&response-content-type=application%2Foctet-stream [3002924/3002924] -> "/var/cache/yunohost/download/digiwords/app.zip" [1]'
17876 [37m[1mDEBUG [m+ sha256sum --check --status
17877 [37m[1mDEBUG [m+ echo '78564c2aa18e0702972994808843587dde876813dfddc06905924a4354a54156 /var/cache/yunohost/download/digiwords/app.zip'
17906 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
17918 [37m[1mDEBUG [m+ '[' -n '' ']'
17920 [37m[1mDEBUG [m+ mkdir --parents /var/www/digiwords__2
17921 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords__2 ']'
17923 [37m[1mDEBUG [m+ '[' /var/www/digiwords__2 == /var/www/digiwords__2 ']'
17924 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /var/www/digiwords__2
17925 [37m[1mDEBUG [m+ local target=/var/www/digiwords__2
17927 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/manifest.json
17928 [37m[1mDEBUG [m++ tr -d '>= '
17934 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
17936 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
17937 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
17939 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
17940 [37m[1mDEBUG [m+ chmod o-rwx /var/www/digiwords__2
17942 [37m[1mDEBUG [m+ chmod g-w /var/www/digiwords__2
17944 [37m[1mDEBUG [m+ chown -R root:root /var/www/digiwords__2
17957 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords__2
17958 [37m[1mDEBUG [m+ local legacy_args=u
17959 [37m[1mDEBUG [m+ args_array=([u]=username=)
17964 [37m[1mDEBUG [m+ local -A args_array
17965 [37m[1mDEBUG [m+ local username
17966 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords__2
17967 [37m[1mDEBUG [m+ set +o xtrace
17992 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
17994 [37m[1mDEBUG [m+ set +x
18002 [37m[1mDEBUG [m+ getent passwd digiwords__2
18010 [37m[1mDEBUG [m+ chown digiwords__2:digiwords__2 /var/www/digiwords__2
18020 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
18026 [37m[1mDEBUG [m+ echo /var/www/digiwords__2
18029 [37m[1mDEBUG [m+ true
18030 [37m[1mDEBUG [m+ '[' zip = zip ']'
18031 [37m[1mDEBUG [m+ true
18032 [37m[1mDEBUG [m++ mktemp --directory
18033 [37m[1mDEBUG [m+ local tmp_dir=/tmp/tmp.aH2THrJjPI
18034 [37m[1mDEBUG [m+ unzip -quo /var/cache/yunohost/download/digiwords/app.zip -d /tmp/tmp.aH2THrJjPI
18084 [37m[1mDEBUG [m+ cp --archive /tmp/tmp.aH2THrJjPI/digiwords/. /var/www/digiwords__2
18099 [37m[1mDEBUG [m+ ynh_secure_remove --file=/tmp/tmp.aH2THrJjPI
18100 [37m[1mDEBUG [m+ local legacy_args=f
18101 [37m[1mDEBUG [m+ args_array=([f]=file=)
18103 [37m[1mDEBUG [m+ local -A args_array
18104 [37m[1mDEBUG [m+ local file
18104 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/tmp/tmp.aH2THrJjPI
18104 [37m[1mDEBUG [m+ set +o xtrace
18120 [37m[1mDEBUG [m+ set +o xtrace
18146 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/cache/yunohost/download/digiwords/app.zip
18148 [37m[1mDEBUG [m+ local legacy_args=f
18149 [37m[1mDEBUG [m+ args_array=([f]=file=)
18151 [37m[1mDEBUG [m+ local -A args_array
18152 [37m[1mDEBUG [m+ local file
18153 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/cache/yunohost/download/digiwords/app.zip
18154 [37m[1mDEBUG [m+ set +o xtrace
18168 [37m[1mDEBUG [m+ set +o xtrace
18189 [37m[1mDEBUG [m+ '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/sources/patches/ ']'
18194 [37m[1mDEBUG [m+ test -e /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/sources/extra_files/app
18195 [37m[1mDEBUG [m+ '[' -n '' ']'
18196 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
18198 [37m[1mDEBUG [m+ chmod 750 /var/www/digiwords__2
18201 [37m[1mDEBUG [m+ chmod -R o-rwx /var/www/digiwords__2
18207 [37m[1mDEBUG [m+ chown -R digiwords__2:www-data /var/www/digiwords__2
18213 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring NGINX web server...' --weight=1
18214 [37m[1mDEBUG [m+ set +o xtrace
18351 [37m[1mDEBUG [m+ set +o xtrace
18378 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
18379 [37m[1mDEBUG [m+ set +x
18385 [36m[1mINFO [m[##########++........] > Configuring NGINX web server...
18389 [37m[1mDEBUG [m+ echo '[##########++........] > Configuring NGINX web server...'
18390 [37m[1mDEBUG [m+ set -o xtrace
18391 [37m[1mDEBUG [m+ ynh_add_nginx_config
18392 [37m[1mDEBUG [m+ local finalnginxconf=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18393 [37m[1mDEBUG [m+ '[' / '!=' / ']'
18394 [37m[1mDEBUG [m+ ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/nginx.conf
18394 [37m[1mDEBUG [m+ local legacy_args=mrf
18395 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
18396 [37m[1mDEBUG [m+ local -A args_array
18398 [37m[1mDEBUG [m+ local match_string
18399 [37m[1mDEBUG [m+ local replace_string
18399 [37m[1mDEBUG [m+ local target_file
18400 [37m[1mDEBUG [m+ ynh_handle_getopts_args '--match_string=^#root_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/nginx.conf
18401 [37m[1mDEBUG [m+ set +o xtrace
18540 [37m[1mDEBUG [m+ set +o xtrace
18541 [37m[1mDEBUG [m+ sed --in-place 's@^#root_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/nginx.conf
18543 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18545 [37m[1mDEBUG [m+ local legacy_args=tdv
18546 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
18547 [37m[1mDEBUG [m+ local -A args_array
18547 [37m[1mDEBUG [m+ local template
18548 [37m[1mDEBUG [m+ local destination
18548 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18548 [37m[1mDEBUG [m+ set +o xtrace
18611 [37m[1mDEBUG [m+ local template_path
18613 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/nginx.conf ']'
18614 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/nginx.conf ']'
18618 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/nginx.conf
18619 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18620 [37m[1mDEBUG [m+ local legacy_args=f
18621 [37m[1mDEBUG [m+ args_array=([f]=file=)
18622 [37m[1mDEBUG [m+ local -A args_array
18623 [37m[1mDEBUG [m+ local file
18623 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18624 [37m[1mDEBUG [m+ set +o xtrace
18635 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_domain.tld.d_digiwords__2.conf
18640 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords__2 --key=checksum__etc_nginx_conf.d_domain.tld.d_digiwords__2.conf
18641 [37m[1mDEBUG [m++ local _globalapp=digiwords__2
18642 [37m[1mDEBUG [m++ local legacy_args=ak
18643 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
18646 [37m[1mDEBUG [m++ local -A args_array
18647 [37m[1mDEBUG [m++ local app
18649 [37m[1mDEBUG [m++ local key
18650 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords__2 --key=checksum__etc_nginx_conf.d_domain.tld.d_digiwords__2.conf
18651 [37m[1mDEBUG [m++ set +o xtrace
18714 [37m[1mDEBUG [m++ app=digiwords__2
18715 [37m[1mDEBUG [m++ [[ checksum__etc_nginx_conf.d_domain.tld.d_digiwords__2.conf =~ (unprotected|protected|skipped)_ ]]
18716 [37m[1mDEBUG [m++ ynh_app_setting get digiwords__2 checksum__etc_nginx_conf.d_domain.tld.d_digiwords__2.conf
18718 [37m[1mDEBUG [m++ set +o xtrace
18791 [37m[1mDEBUG [m+ local checksum_value=
18792 [37m[1mDEBUG [m+ backup_file_checksum=
18795 [37m[1mDEBUG [m+ '[' -n '' ']'
18796 [37m[1mDEBUG [m+ touch /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18798 [37m[1mDEBUG [m+ chown root:root /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18799 [37m[1mDEBUG [m+ chmod 640 /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18802 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/nginx.conf /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18805 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18807 [37m[1mDEBUG [m+ local target=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18809 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/manifest.json
18811 [37m[1mDEBUG [m++ tr -d '>= '
18817 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
18819 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
18819 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
18820 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
18825 [37m[1mDEBUG [m+ chmod o-rwx /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18828 [37m[1mDEBUG [m+ chmod g-w /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18832 [37m[1mDEBUG [m+ chown -R root:root /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18835 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords__2
18838 [37m[1mDEBUG [m+ local legacy_args=u
18839 [37m[1mDEBUG [m+ args_array=([u]=username=)
18840 [37m[1mDEBUG [m+ local -A args_array
18841 [37m[1mDEBUG [m+ local username
18841 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords__2
18842 [37m[1mDEBUG [m+ set +o xtrace
18850 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
18852 [37m[1mDEBUG [m+ set +x
18855 [37m[1mDEBUG [m+ getent passwd digiwords__2
18861 [37m[1mDEBUG [m+ chown digiwords__2:digiwords__2 /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18868 [37m[1mDEBUG [m+ echo /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18872 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
18872 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18874 [37m[1mDEBUG [m+ local legacy_args=f
18875 [37m[1mDEBUG [m+ args_array=([f]=file=)
18876 [37m[1mDEBUG [m+ local -A args_array
18877 [37m[1mDEBUG [m+ local file
18879 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18880 [37m[1mDEBUG [m+ set +o xtrace
18894 [37m[1mDEBUG [m+ test -n /
18895 [37m[1mDEBUG [m+ local path_url_slash_less=
18896 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18899 [37m[1mDEBUG [m+ local legacy_args=mrf
18901 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
18903 [37m[1mDEBUG [m+ local -A args_array
18905 [37m[1mDEBUG [m+ local match_string
18906 [37m[1mDEBUG [m+ local replace_string
18907 [37m[1mDEBUG [m+ local target_file
18907 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
18908 [37m[1mDEBUG [m+ set +o xtrace
19059 [37m[1mDEBUG [m+ set +o xtrace
19061 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/@g /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19066 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19067 [37m[1mDEBUG [m+ local legacy_args=mrf
19069 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
19072 [37m[1mDEBUG [m+ local -A args_array
19076 [37m[1mDEBUG [m+ local match_string
19078 [37m[1mDEBUG [m+ local replace_string
19080 [37m[1mDEBUG [m+ local target_file
19081 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19082 [37m[1mDEBUG [m+ set +o xtrace
19228 [37m[1mDEBUG [m+ set +o xtrace
19230 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/@g /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19238 [37m[1mDEBUG [m+ test -n digiwords__2
19240 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords__2 --target_file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19241 [37m[1mDEBUG [m+ local legacy_args=mrf
19242 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
19243 [37m[1mDEBUG [m+ local -A args_array
19245 [37m[1mDEBUG [m+ local match_string
19246 [37m[1mDEBUG [m+ local replace_string
19247 [37m[1mDEBUG [m+ local target_file
19248 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords__2 --target_file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19249 [37m[1mDEBUG [m+ set +o xtrace
19391 [37m[1mDEBUG [m+ set +o xtrace
19393 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords__2@g /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19397 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords__2 --target_file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19400 [37m[1mDEBUG [m+ local legacy_args=mrf
19402 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
19403 [37m[1mDEBUG [m+ local -A args_array
19404 [37m[1mDEBUG [m+ local match_string
19404 [37m[1mDEBUG [m+ local replace_string
19405 [37m[1mDEBUG [m+ local target_file
19406 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords__2 --target_file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19407 [37m[1mDEBUG [m+ set +o xtrace
19548 [37m[1mDEBUG [m+ set +o xtrace
19550 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords__2@g /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19556 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords__2 --target_file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19557 [37m[1mDEBUG [m+ local legacy_args=mrf
19558 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
19559 [37m[1mDEBUG [m+ local -A args_array
19563 [37m[1mDEBUG [m+ local match_string
19564 [37m[1mDEBUG [m+ local replace_string
19565 [37m[1mDEBUG [m+ local target_file
19566 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords__2 --target_file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19566 [37m[1mDEBUG [m+ set +o xtrace
19702 [37m[1mDEBUG [m+ set +o xtrace
19704 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords__2@g /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19709 [37m[1mDEBUG [m+ test -n /var/www/digiwords__2
19710 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords__2 --target_file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19711 [37m[1mDEBUG [m+ local legacy_args=mrf
19712 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
19713 [37m[1mDEBUG [m+ local -A args_array
19714 [37m[1mDEBUG [m+ local match_string
19715 [37m[1mDEBUG [m+ local replace_string
19716 [37m[1mDEBUG [m+ local target_file
19716 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords__2 --target_file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19716 [37m[1mDEBUG [m+ set +o xtrace
19858 [37m[1mDEBUG [m+ set +o xtrace
19859 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords__2@g /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19866 [37m[1mDEBUG [m+ test -n 7.3
19867 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19867 [37m[1mDEBUG [m+ local legacy_args=mrf
19868 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
19869 [37m[1mDEBUG [m+ local -A args_array
19871 [37m[1mDEBUG [m+ local match_string
19871 [37m[1mDEBUG [m+ local replace_string
19871 [37m[1mDEBUG [m+ local target_file
19872 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19872 [37m[1mDEBUG [m+ set +o xtrace
19989 [37m[1mDEBUG [m+ set +o xtrace
19991 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19996 [37m[1mDEBUG [m+ test -n ''
19997 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
19998 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
19999 [37m[1mDEBUG [m++ sort --unique
20000 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
20005 [37m[1mDEBUG [m+ local uniques_vars
20008 [37m[1mDEBUG [m+ local delimit=@
20009 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
20010 [37m[1mDEBUG [m+ local legacy_args=f
20011 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
20012 [37m[1mDEBUG [m+ local -A args_array
20013 [37m[1mDEBUG [m+ local file
20014 [37m[1mDEBUG [m+ local update_only
20015 [37m[1mDEBUG [m+ update_only=0
20015 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
20016 [37m[1mDEBUG [m+ set +o xtrace
20043 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_domain.tld.d_digiwords__2.conf
20044 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
20047 [37m[1mDEBUG [m++ md5sum /etc/nginx/conf.d/domain.tld.d/digiwords__2.conf
20049 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
20055 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords__2 --key=checksum__etc_nginx_conf.d_domain.tld.d_digiwords__2.conf --value=471a0d69f6de9177f324730c5515f9cf
20057 [37m[1mDEBUG [m+ local _globalapp=digiwords__2
20058 [37m[1mDEBUG [m+ local legacy_args=akv
20060 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
20061 [37m[1mDEBUG [m+ local -A args_array
20063 [37m[1mDEBUG [m+ local app
20065 [37m[1mDEBUG [m+ local key
20066 [37m[1mDEBUG [m+ local value
20068 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords__2 --key=checksum__etc_nginx_conf.d_domain.tld.d_digiwords__2.conf --value=471a0d69f6de9177f324730c5515f9cf
20070 [37m[1mDEBUG [m+ set +o xtrace
20191 [37m[1mDEBUG [m+ app=digiwords__2
20194 [37m[1mDEBUG [m+ [[ checksum__etc_nginx_conf.d_domain.tld.d_digiwords__2.conf =~ (unprotected|protected|skipped)_ ]]
20197 [37m[1mDEBUG [m+ ynh_app_setting set digiwords__2 checksum__etc_nginx_conf.d_domain.tld.d_digiwords__2.conf 471a0d69f6de9177f324730c5515f9cf
20199 [37m[1mDEBUG [m+ set +o xtrace
20291 [37m[1mDEBUG [m+ '[' -n '' ']'
20293 [37m[1mDEBUG [m+ unset backup_file_checksum
20295 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
20296 [37m[1mDEBUG [m+ local legacy_args=nalpte
20297 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
20299 [37m[1mDEBUG [m+ local -A args_array
20301 [37m[1mDEBUG [m+ local service_name
20303 [37m[1mDEBUG [m+ local action
20306 [37m[1mDEBUG [m+ local line_match
20306 [37m[1mDEBUG [m+ local length
20307 [37m[1mDEBUG [m+ local log_path
20307 [37m[1mDEBUG [m+ local timeout
20308 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
20308 [37m[1mDEBUG [m+ set +o xtrace
20470 [37m[1mDEBUG [m+ service_name=nginx
20471 [37m[1mDEBUG [m+ action=reload
20471 [37m[1mDEBUG [m+ line_match=
20472 [37m[1mDEBUG [m+ length=20
20472 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
20473 [37m[1mDEBUG [m+ timeout=300
20473 [37m[1mDEBUG [m+ '[' reload == stop ']'
20474 [37m[1mDEBUG [m+ [[ -n '' ]]
20474 [37m[1mDEBUG [m+ '[' reload == reload ']'
20475 [37m[1mDEBUG [m+ action=reload-or-restart
20475 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
20562 [37m[1mDEBUG [m+ [[ -n '' ]]
20563 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring PHP-FPM...' --weight=1
20564 [37m[1mDEBUG [m+ set +o xtrace
20692 [37m[1mDEBUG [m+ set +o xtrace
20714 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
20714 [37m[1mDEBUG [m+ set +x
20719 [36m[1mINFO [m[############++......] > Configuring PHP-FPM...
20720 [37m[1mDEBUG [m+ echo '[############++......] > Configuring PHP-FPM...'
20736 [37m[1mDEBUG [m+ set -o xtrace
20738 [37m[1mDEBUG [m+ ynh_add_fpm_config
20739 [37m[1mDEBUG [m+ local legacy_args=vtufpd
20742 [37m[1mDEBUG [m+ args_array=([v]=phpversion= [t]=use_template [u]=usage= [f]=footprint= [p]=package= [d]=dedicated_service)
20743 [37m[1mDEBUG [m+ local -A args_array
20744 [37m[1mDEBUG [m+ local phpversion
20744 [37m[1mDEBUG [m+ local use_template
20744 [37m[1mDEBUG [m+ local usage
20745 [37m[1mDEBUG [m+ local footprint
20746 [37m[1mDEBUG [m+ local package
20750 [37m[1mDEBUG [m+ local dedicated_service
20757 [37m[1mDEBUG [m+ ynh_handle_getopts_args
20757 [37m[1mDEBUG [m+ set +o xtrace
20758 [37m[1mDEBUG [m+ package=
20759 [37m[1mDEBUG [m+ use_template=1
20760 [37m[1mDEBUG [m+ usage=
20763 [37m[1mDEBUG [m+ footprint=
20764 [37m[1mDEBUG [m+ '[' -n '' ']'
20765 [37m[1mDEBUG [m+ '[' -n '' ']'
20766 [37m[1mDEBUG [m+ dedicated_service=0
20767 [37m[1mDEBUG [m+ phpversion=7.3
20767 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords__2 --key=phpversion
20769 [37m[1mDEBUG [m++ local _globalapp=digiwords__2
20770 [37m[1mDEBUG [m++ local legacy_args=ak
20772 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
20773 [37m[1mDEBUG [m++ local -A args_array
20773 [37m[1mDEBUG [m++ local app
20774 [37m[1mDEBUG [m++ local key
20775 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords__2 --key=phpversion
20775 [37m[1mDEBUG [m++ set +o xtrace
20811 [37m[1mDEBUG [m++ app=digiwords__2
20813 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
20815 [37m[1mDEBUG [m++ ynh_app_setting get digiwords__2 phpversion
20816 [37m[1mDEBUG [m++ set +o xtrace
20894 [37m[1mDEBUG [m+ local old_phpversion=7.3
20894 [37m[1mDEBUG [m+ '[' -n 7.3 ']'
20895 [37m[1mDEBUG [m+ '[' 7.3 '!=' 7.3 ']'
20895 [37m[1mDEBUG [m+ '[' -n '' ']'
20895 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
20896 [37m[1mDEBUG [m+ local fpm_service=php7.3-fpm
20896 [37m[1mDEBUG [m+ local fpm_config_dir=/etc/php/7.3/fpm
20896 [37m[1mDEBUG [m+ mkdir --parents /etc/php/7.3/fpm/pool.d
20896 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords__2 --key=fpm_config_dir --value=/etc/php/7.3/fpm
20897 [37m[1mDEBUG [m+ local _globalapp=digiwords__2
20897 [37m[1mDEBUG [m+ local legacy_args=akv
20898 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
20898 [37m[1mDEBUG [m+ local -A args_array
20899 [37m[1mDEBUG [m+ local app
20899 [37m[1mDEBUG [m+ local key
20900 [37m[1mDEBUG [m+ local value
20900 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords__2 --key=fpm_config_dir --value=/etc/php/7.3/fpm
20901 [37m[1mDEBUG [m+ set +o xtrace
21021 [37m[1mDEBUG [m+ app=digiwords__2
21022 [37m[1mDEBUG [m+ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
21022 [37m[1mDEBUG [m+ ynh_app_setting set digiwords__2 fpm_config_dir /etc/php/7.3/fpm
21023 [37m[1mDEBUG [m+ set +o xtrace
21099 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords__2 --key=fpm_service --value=php7.3-fpm
21100 [37m[1mDEBUG [m+ local _globalapp=digiwords__2
21101 [37m[1mDEBUG [m+ local legacy_args=akv
21101 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
21102 [37m[1mDEBUG [m+ local -A args_array
21103 [37m[1mDEBUG [m+ local app
21103 [37m[1mDEBUG [m+ local key
21104 [37m[1mDEBUG [m+ local value
21104 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords__2 --key=fpm_service --value=php7.3-fpm
21105 [37m[1mDEBUG [m+ set +o xtrace
21232 [37m[1mDEBUG [m+ app=digiwords__2
21234 [37m[1mDEBUG [m+ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
21235 [37m[1mDEBUG [m+ ynh_app_setting set digiwords__2 fpm_service php7.3-fpm
21236 [37m[1mDEBUG [m+ set +o xtrace
21318 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords__2 --key=fpm_dedicated_service --value=0
21320 [37m[1mDEBUG [m+ local _globalapp=digiwords__2
21322 [37m[1mDEBUG [m+ local legacy_args=akv
21323 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
21323 [37m[1mDEBUG [m+ local -A args_array
21324 [37m[1mDEBUG [m+ local app
21324 [37m[1mDEBUG [m+ local key
21325 [37m[1mDEBUG [m+ local value
21326 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords__2 --key=fpm_dedicated_service --value=0
21327 [37m[1mDEBUG [m+ set +o xtrace
21461 [37m[1mDEBUG [m+ app=digiwords__2
21462 [37m[1mDEBUG [m+ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
21464 [37m[1mDEBUG [m+ ynh_app_setting set digiwords__2 fpm_dedicated_service 0
21465 [37m[1mDEBUG [m+ set +o xtrace
21554 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords__2 --key=phpversion --value=7.3
21555 [37m[1mDEBUG [m+ local _globalapp=digiwords__2
21556 [37m[1mDEBUG [m+ local legacy_args=akv
21557 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
21558 [37m[1mDEBUG [m+ local -A args_array
21558 [37m[1mDEBUG [m+ local app
21559 [37m[1mDEBUG [m+ local key
21560 [37m[1mDEBUG [m+ local value
21561 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords__2 --key=phpversion --value=7.3
21562 [37m[1mDEBUG [m+ set +o xtrace
21695 [37m[1mDEBUG [m+ app=digiwords__2
21696 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
21698 [37m[1mDEBUG [m+ ynh_app_setting set digiwords__2 phpversion 7.3
21698 [37m[1mDEBUG [m+ set +o xtrace
21767 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
21767 [37m[1mDEBUG [m+ '[' 1 -eq 1 ']'
21767 [37m[1mDEBUG [m+ local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/php-fpm.conf
21768 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/php-fpm.conf ']'
21768 [37m[1mDEBUG [m+ local finalphpconf=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
21768 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
21768 [37m[1mDEBUG [m+ local legacy_args=tdv
21768 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
21769 [37m[1mDEBUG [m+ local -A args_array
21769 [37m[1mDEBUG [m+ local template
21769 [37m[1mDEBUG [m+ local destination
21770 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
21771 [37m[1mDEBUG [m+ set +o xtrace
21829 [37m[1mDEBUG [m+ local template_path
21830 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/php-fpm.conf ']'
21831 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/php-fpm.conf ']'
21834 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/php-fpm.conf
21835 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
21836 [37m[1mDEBUG [m+ local legacy_args=f
21836 [37m[1mDEBUG [m+ args_array=([f]=file=)
21837 [37m[1mDEBUG [m+ local -A args_array
21837 [37m[1mDEBUG [m+ local file
21838 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
21838 [37m[1mDEBUG [m+ set +o xtrace
21861 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords__2.conf
21864 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords__2 --key=checksum__etc_php_7.3_fpm_pool.d_digiwords__2.conf
21865 [37m[1mDEBUG [m++ local _globalapp=digiwords__2
21866 [37m[1mDEBUG [m++ local legacy_args=ak
21867 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
21869 [37m[1mDEBUG [m++ local -A args_array
21870 [37m[1mDEBUG [m++ local app
21875 [37m[1mDEBUG [m++ local key
21876 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords__2 --key=checksum__etc_php_7.3_fpm_pool.d_digiwords__2.conf
21877 [37m[1mDEBUG [m++ set +o xtrace
21952 [37m[1mDEBUG [m++ app=digiwords__2
21954 [37m[1mDEBUG [m++ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords__2.conf =~ (unprotected|protected|skipped)_ ]]
21955 [37m[1mDEBUG [m++ ynh_app_setting get digiwords__2 checksum__etc_php_7.3_fpm_pool.d_digiwords__2.conf
21957 [37m[1mDEBUG [m++ set +o xtrace
22054 [37m[1mDEBUG [m+ local checksum_value=
22056 [37m[1mDEBUG [m+ backup_file_checksum=
22057 [37m[1mDEBUG [m+ '[' -n '' ']'
22058 [37m[1mDEBUG [m+ touch /etc/php/7.3/fpm/pool.d/digiwords__2.conf
22060 [37m[1mDEBUG [m+ chown root:root /etc/php/7.3/fpm/pool.d/digiwords__2.conf
22062 [37m[1mDEBUG [m+ chmod 640 /etc/php/7.3/fpm/pool.d/digiwords__2.conf
22066 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/digiwords__2.conf
22069 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/php/7.3/fpm/pool.d/digiwords__2.conf
22071 [37m[1mDEBUG [m+ local target=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
22072 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/manifest.json
22074 [37m[1mDEBUG [m++ tr -d '>= '
22082 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
22084 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
22086 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
22088 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
22089 [37m[1mDEBUG [m+ chmod o-rwx /etc/php/7.3/fpm/pool.d/digiwords__2.conf
22091 [37m[1mDEBUG [m+ chmod g-w /etc/php/7.3/fpm/pool.d/digiwords__2.conf
22092 [37m[1mDEBUG [m+ chown -R root:root /etc/php/7.3/fpm/pool.d/digiwords__2.conf
22096 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords__2
22097 [37m[1mDEBUG [m+ local legacy_args=u
22097 [37m[1mDEBUG [m+ args_array=([u]=username=)
22098 [37m[1mDEBUG [m+ local -A args_array
22098 [37m[1mDEBUG [m+ local username
22099 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords__2
22099 [37m[1mDEBUG [m+ set +o xtrace
22124 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
22127 [37m[1mDEBUG [m+ set +x
22130 [37m[1mDEBUG [m+ getent passwd digiwords__2
22136 [37m[1mDEBUG [m+ chown digiwords__2:digiwords__2 /etc/php/7.3/fpm/pool.d/digiwords__2.conf
22142 [37m[1mDEBUG [m+ echo /etc/php/7.3/fpm/pool.d/digiwords__2.conf
22144 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
22147 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
22149 [37m[1mDEBUG [m+ local legacy_args=f
22150 [37m[1mDEBUG [m+ args_array=([f]=file=)
22151 [37m[1mDEBUG [m+ local -A args_array
22151 [37m[1mDEBUG [m+ local file
22152 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
22153 [37m[1mDEBUG [m+ set +o xtrace
22170 [37m[1mDEBUG [m+ test -n /
22175 [37m[1mDEBUG [m+ local path_url_slash_less=
22176 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
22177 [37m[1mDEBUG [m+ local legacy_args=mrf
22178 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22178 [37m[1mDEBUG [m+ local -A args_array
22179 [37m[1mDEBUG [m+ local match_string
22180 [37m[1mDEBUG [m+ local replace_string
22180 [37m[1mDEBUG [m+ local target_file
22181 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
22181 [37m[1mDEBUG [m+ set +o xtrace
22300 [37m[1mDEBUG [m+ set +o xtrace
22302 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/@g /etc/php/7.3/fpm/pool.d/digiwords__2.conf
22305 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
22307 [37m[1mDEBUG [m+ local legacy_args=mrf
22309 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22310 [37m[1mDEBUG [m+ local -A args_array
22311 [37m[1mDEBUG [m+ local match_string
22313 [37m[1mDEBUG [m+ local replace_string
22314 [37m[1mDEBUG [m+ local target_file
22315 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
22316 [37m[1mDEBUG [m+ set +o xtrace
22444 [37m[1mDEBUG [m+ set +o xtrace
22447 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/@g /etc/php/7.3/fpm/pool.d/digiwords__2.conf
22449 [37m[1mDEBUG [m+ test -n digiwords__2
22452 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords__2 --target_file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
22455 [37m[1mDEBUG [m+ local legacy_args=mrf
22456 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22457 [37m[1mDEBUG [m+ local -A args_array
22459 [37m[1mDEBUG [m+ local match_string
22460 [37m[1mDEBUG [m+ local replace_string
22461 [37m[1mDEBUG [m+ local target_file
22462 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords__2 --target_file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
22463 [37m[1mDEBUG [m+ set +o xtrace
22592 [37m[1mDEBUG [m+ set +o xtrace
22594 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords__2@g /etc/php/7.3/fpm/pool.d/digiwords__2.conf
22600 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords__2 --target_file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
22602 [37m[1mDEBUG [m+ local legacy_args=mrf
22602 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22603 [37m[1mDEBUG [m+ local -A args_array
22604 [37m[1mDEBUG [m+ local match_string
22605 [37m[1mDEBUG [m+ local replace_string
22605 [37m[1mDEBUG [m+ local target_file
22607 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords__2 --target_file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
22607 [37m[1mDEBUG [m+ set +o xtrace
22723 [37m[1mDEBUG [m+ set +o xtrace
22723 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords__2@g /etc/php/7.3/fpm/pool.d/digiwords__2.conf
22728 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords__2 --target_file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
22731 [37m[1mDEBUG [m+ local legacy_args=mrf
22732 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22733 [37m[1mDEBUG [m+ local -A args_array
22734 [37m[1mDEBUG [m+ local match_string
22734 [37m[1mDEBUG [m+ local replace_string
22735 [37m[1mDEBUG [m+ local target_file
22735 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords__2 --target_file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
22736 [37m[1mDEBUG [m+ set +o xtrace
22863 [37m[1mDEBUG [m+ set +o xtrace
22865 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords__2@g /etc/php/7.3/fpm/pool.d/digiwords__2.conf
22875 [37m[1mDEBUG [m+ test -n /var/www/digiwords__2
22876 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords__2 --target_file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
22877 [37m[1mDEBUG [m+ local legacy_args=mrf
22878 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22878 [37m[1mDEBUG [m+ local -A args_array
22879 [37m[1mDEBUG [m+ local match_string
22879 [37m[1mDEBUG [m+ local replace_string
22880 [37m[1mDEBUG [m+ local target_file
22880 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords__2 --target_file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
22881 [37m[1mDEBUG [m+ set +o xtrace
22997 [37m[1mDEBUG [m+ set +o xtrace
22999 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords__2@g /etc/php/7.3/fpm/pool.d/digiwords__2.conf
23003 [37m[1mDEBUG [m+ test -n 7.3
23006 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
23008 [37m[1mDEBUG [m+ local legacy_args=mrf
23009 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
23011 [37m[1mDEBUG [m+ local -A args_array
23012 [37m[1mDEBUG [m+ local match_string
23013 [37m[1mDEBUG [m+ local replace_string
23014 [37m[1mDEBUG [m+ local target_file
23015 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
23016 [37m[1mDEBUG [m+ set +o xtrace
23135 [37m[1mDEBUG [m+ set +o xtrace
23135 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/digiwords__2.conf
23144 [37m[1mDEBUG [m+ test -n ''
23145 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
23150 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/7.3/fpm/pool.d/digiwords__2.conf
23152 [37m[1mDEBUG [m++ sort --unique
23153 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
23158 [37m[1mDEBUG [m+ local uniques_vars
23159 [37m[1mDEBUG [m+ local delimit=@
23159 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
23159 [37m[1mDEBUG [m+ local legacy_args=f
23160 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
23160 [37m[1mDEBUG [m+ local -A args_array
23160 [37m[1mDEBUG [m+ local file
23161 [37m[1mDEBUG [m+ local update_only
23162 [37m[1mDEBUG [m+ update_only=0
23162 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords__2.conf
23162 [37m[1mDEBUG [m+ set +o xtrace
23194 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords__2.conf
23195 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
23199 [37m[1mDEBUG [m++ md5sum /etc/php/7.3/fpm/pool.d/digiwords__2.conf
23200 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
23206 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords__2 --key=checksum__etc_php_7.3_fpm_pool.d_digiwords__2.conf --value=d2c0698fe517c4e1d64b7ba9e772308d
23207 [37m[1mDEBUG [m+ local _globalapp=digiwords__2
23207 [37m[1mDEBUG [m+ local legacy_args=akv
23208 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
23208 [37m[1mDEBUG [m+ local -A args_array
23209 [37m[1mDEBUG [m+ local app
23209 [37m[1mDEBUG [m+ local key
23210 [37m[1mDEBUG [m+ local value
23210 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords__2 --key=checksum__etc_php_7.3_fpm_pool.d_digiwords__2.conf --value=d2c0698fe517c4e1d64b7ba9e772308d
23211 [37m[1mDEBUG [m+ set +o xtrace
23338 [37m[1mDEBUG [m+ app=digiwords__2
23338 [37m[1mDEBUG [m+ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords__2.conf =~ (unprotected|protected|skipped)_ ]]
23339 [37m[1mDEBUG [m+ ynh_app_setting set digiwords__2 checksum__etc_php_7.3_fpm_pool.d_digiwords__2.conf d2c0698fe517c4e1d64b7ba9e772308d
23340 [37m[1mDEBUG [m+ set +o xtrace
23429 [37m[1mDEBUG [m+ '[' -n '' ']'
23430 [37m[1mDEBUG [m+ unset backup_file_checksum
23431 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_c03z5fu1/app_folder/conf/php-fpm.ini ']'
23432 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
23433 [37m[1mDEBUG [m+ php-fpm7.3 --test
23581 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
23581 [37m[1mDEBUG [m+ local legacy_args=nalpte
23582 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
23583 [37m[1mDEBUG [m+ local -A args_array
23584 [37m[1mDEBUG [m+ local service_name
23586 [37m[1mDEBUG [m+ local action
23587 [37m[1mDEBUG [m+ local line_match
23588 [37m[1mDEBUG [m+ local length
23590 [37m[1mDEBUG [m+ local log_path
23591 [37m[1mDEBUG [m+ local timeout
23591 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
23592 [37m[1mDEBUG [m+ set +o xtrace
23766 [37m[1mDEBUG [m+ service_name=php7.3-fpm
23768 [37m[1mDEBUG [m+ action=reload
23769 [37m[1mDEBUG [m+ line_match=
23770 [37m[1mDEBUG [m+ length=20
23771 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
23772 [37m[1mDEBUG [m+ timeout=300
23773 [37m[1mDEBUG [m+ '[' reload == stop ']'
23773 [37m[1mDEBUG [m+ [[ -n '' ]]
23775 [37m[1mDEBUG [m+ '[' reload == reload ']'
23777 [37m[1mDEBUG [m+ action=reload-or-restart
23778 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
23797 [37m[1mDEBUG [m+ [[ -n '' ]]
23801 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring permissions...' --weight=1
23802 [37m[1mDEBUG [m+ set +o xtrace
23962 [37m[1mDEBUG [m+ set +o xtrace
23987 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
23989 [37m[1mDEBUG [m+ set +x
23995 [37m[1mDEBUG [m+ echo '[##############++....] > Configuring permissions...'
23997 [37m[1mDEBUG [m+ set -o xtrace
23997 [37m[1mDEBUG [m+ '[' 1 -eq 1 ']'
23998 [37m[1mDEBUG [m+ ynh_permission_update --permission=main --add=visitors
23999 [37m[1mDEBUG [m+ local legacy_args=parltP
24001 [37m[1mDEBUG [m+ args_array=([p]=permission= [a]=add= [r]=remove= [l]=label= [t]=show_tile= [P]=protected=)
24002 [37m[1mDEBUG [m+ local -A args_array
24003 [37m[1mDEBUG [m+ local permission
24005 [37m[1mDEBUG [m+ local add
24006 [37m[1mDEBUG [m+ local remove
24007 [37m[1mDEBUG [m+ local label
24007 [37m[1mDEBUG [m+ local show_tile
24008 [37m[1mDEBUG [m+ local protected
24008 [37m[1mDEBUG [m+ ynh_handle_getopts_args --permission=main --add=visitors
24009 [37m[1mDEBUG [m+ set +o xtrace
24009 [36m[1mINFO [m[##############++....] > Configuring permissions...
24197 [37m[1mDEBUG [m+ add=visitors
24201 [37m[1mDEBUG [m+ remove=
24203 [37m[1mDEBUG [m+ label=
24206 [37m[1mDEBUG [m+ show_tile=
24207 [37m[1mDEBUG [m+ protected=
24210 [37m[1mDEBUG [m+ [[ -n visitors ]]
24211 [37m[1mDEBUG [m+ add=',add=['\''visitors'\'']'
24213 [37m[1mDEBUG [m+ [[ -n '' ]]
24215 [37m[1mDEBUG [m+ [[ -n '' ]]
24217 [37m[1mDEBUG [m+ [[ -n '' ]]
24219 [37m[1mDEBUG [m+ [[ -n '' ]]
24220 [37m[1mDEBUG [m+ yunohost tools shell -c 'from yunohost.permission import user_permission_update; user_permission_update('\''digiwords__2.main'\'' ,add=['\''visitors'\''] , force=True)'
24964 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reloading NGINX web server...' --weight=1
24965 [37m[1mDEBUG [m+ set +o xtrace
25106 [37m[1mDEBUG [m+ set +o xtrace
25130 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
25131 [37m[1mDEBUG [m+ set +x
25134 [37m[1mDEBUG [m+ echo '[################++..] > Reloading NGINX web server...'
25135 [37m[1mDEBUG [m+ set -o xtrace
25137 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
25140 [37m[1mDEBUG [m+ local legacy_args=nalpte
25142 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
25144 [37m[1mDEBUG [m+ local -A args_array
25145 [37m[1mDEBUG [m+ local service_name
25147 [37m[1mDEBUG [m+ local action
25147 [37m[1mDEBUG [m+ local line_match
25148 [37m[1mDEBUG [m+ local length
25149 [37m[1mDEBUG [m+ local log_path
25150 [37m[1mDEBUG [m+ local timeout
25151 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
25152 [37m[1mDEBUG [m+ set +o xtrace
25154 [36m[1mINFO [m[################++..] > Reloading NGINX web server...
25349 [37m[1mDEBUG [m+ service_name=nginx
25350 [37m[1mDEBUG [m+ action=reload
25352 [37m[1mDEBUG [m+ line_match=
25354 [37m[1mDEBUG [m+ length=20
25355 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
25357 [37m[1mDEBUG [m+ timeout=300
25358 [37m[1mDEBUG [m+ '[' reload == stop ']'
25359 [37m[1mDEBUG [m+ [[ -n '' ]]
25360 [37m[1mDEBUG [m+ '[' reload == reload ']'
25361 [37m[1mDEBUG [m+ action=reload-or-restart
25362 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
25439 [37m[1mDEBUG [m+ [[ -n '' ]]
25439 [37m[1mDEBUG [m+ ynh_script_progression '--message=Installation of digiwords__2 completed' --last
25440 [37m[1mDEBUG [m+ set +o xtrace
25584 [37m[1mDEBUG [m+ set +o xtrace
25624 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
25625 [37m[1mDEBUG [m+ set +x
25631 [36m[1mINFO [m[####################] > Installation of digiwords__2 completed
25632 [37m[1mDEBUG [m+ echo '[####################] > Installation of digiwords__2 completed'
25632 [37m[1mDEBUG [m+ set -o xtrace
25632 [37m[1mDEBUG [m+ ynh_exit_properly
25633 [37m[1mDEBUG [m+ local exit_code=0
25633 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/download/
25637 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
25638 [37m[1mDEBUG [m+ exit 0
26641 [37m[1mDEBUG [mChecking that required services are up and running...
27485 [32m[1mSUCCESS [mInstallation completed
27487 [37m[1mDEBUG [mTo view the log of the operation 'Install the 'digiwords' app', use the command 'yunohost log show 20220531-094059-app_install-digiwords'
27505 [37m[1mDEBUG [maction [861.1] executed in 27.250s
27506 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 29 seconds (09:41:26)
Installation successful.
Return code: 1
Working time: 0s (09:41:36)
[1m > Validating that the app digiwords can/can't be accessed with its URL...[0m
Running curl sub.domain.tld
200;https://sub.domain.tld/
Return code: 0
Working time: 0s (09:41:42)
Return code: 0
Working time: 0s (09:41:45)
HTTP code: 200
Test URL: sub.domain.tld
Real URL: https://sub.domain.tld/
HTTP code: 200
Page title:
Page extract:
Running curl sub.domain.tld/
200;https://sub.domain.tld/
Return code: 0
Working time: 0s (09:41:51)
Return code: 0
Working time: 0s (09:41:54)
HTTP code: 200
Test URL: sub.domain.tld/
Real URL: https://sub.domain.tld/
HTTP code: 200
Page title:
Page extract:
[1m > Validating that the app digiwords__2 can/can't be accessed with its URL...[0m
Running curl domain.tld
200;https://domain.tld/
Return code: 0
Working time: 0s (09:42:00)
Return code: 0
Working time: 0s (09:42:03)
HTTP code: 200
Test URL: domain.tld
Real URL: https://domain.tld/
HTTP code: 200
Page title:
Page extract:
Running curl domain.tld/
Return code: 0
Working time: 0s (09:42:09)
Digiwords by La DigitaleReturn code: 0
Working time: 0s (09:42:12)
HTTP code:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Test URL: domain.tld/
Real URL:
HTTP code:
Page title:
Page extract:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
[1m > Removing the app...[0m
Running yunohost app remove digiwords
178 [37m[1mDEBUG [minitializing base actions map parser for cli
180 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
183 [37m[1mDEBUG [mbuilding parser...
204 [37m[1mDEBUG [mbuilding parser took 0.020s
205 [37m[1mDEBUG [macquiring lock...
226 [37m[1mDEBUG [mlock has been acquired
243 [37m[1mDEBUG [mloading python module yunohost.app took 0.017s
244 [37m[1mDEBUG [mprocessing action [4658.1]: yunohost.app.remove with args={'app': 'digiwords', 'purge': False}
271 [36m[1mINFO [mRemoving digiwords...
410 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "./remove" 7>&1']'
421 [37m[1mDEBUG [m+ source _common.sh
421 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
422 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
423 [37m[1mDEBUG [m+++ set +o
424 [37m[1mDEBUG [m+++ grep xtrace
428 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
429 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
429 [37m[1mDEBUG [m++ set +x
476 [37m[1mDEBUG [m+ ynh_script_progression '--message=Loading installation settings...' --weight=1
477 [37m[1mDEBUG [m+ set +o xtrace
586 [37m[1mDEBUG [m+ set +o xtrace
641 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
642 [37m[1mDEBUG [m+ set +x
647 [37m[1mDEBUG [m+ echo '[++..................] > Loading installation settings...'
647 [36m[1mINFO [m[++..................] > Loading installation settings...
653 [37m[1mDEBUG [m+ set -o xtrace
654 [37m[1mDEBUG [m+ app=digiwords
654 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=domain
655 [37m[1mDEBUG [m++ local _globalapp=digiwords
655 [37m[1mDEBUG [m++ local legacy_args=ak
656 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
656 [37m[1mDEBUG [m++ local -A args_array
659 [37m[1mDEBUG [m++ local app
659 [37m[1mDEBUG [m++ local key
660 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=domain
660 [37m[1mDEBUG [m++ set +o xtrace
731 [37m[1mDEBUG [m++ app=digiwords
731 [37m[1mDEBUG [m++ [[ domain =~ (unprotected|protected|skipped)_ ]]
732 [37m[1mDEBUG [m++ ynh_app_setting get digiwords domain
732 [37m[1mDEBUG [m++ set +o xtrace
807 [37m[1mDEBUG [m+ domain=sub.domain.tld
808 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=port
809 [37m[1mDEBUG [m++ local _globalapp=digiwords
809 [37m[1mDEBUG [m++ local legacy_args=ak
810 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
811 [37m[1mDEBUG [m++ local -A args_array
812 [37m[1mDEBUG [m++ local app
812 [37m[1mDEBUG [m++ local key
812 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=port
812 [37m[1mDEBUG [m++ set +o xtrace
870 [37m[1mDEBUG [m++ app=digiwords
871 [37m[1mDEBUG [m++ [[ port =~ (unprotected|protected|skipped)_ ]]
872 [37m[1mDEBUG [m++ ynh_app_setting get digiwords port
872 [37m[1mDEBUG [m++ set +o xtrace
945 [37m[1mDEBUG [m+ port=
945 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=db_name
946 [37m[1mDEBUG [m++ local _globalapp=digiwords
946 [37m[1mDEBUG [m++ local legacy_args=ak
947 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
948 [37m[1mDEBUG [m++ local -A args_array
948 [37m[1mDEBUG [m++ local app
948 [37m[1mDEBUG [m++ local key
949 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=db_name
949 [37m[1mDEBUG [m++ set +o xtrace
1012 [37m[1mDEBUG [m++ app=digiwords
1013 [37m[1mDEBUG [m++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
1013 [37m[1mDEBUG [m++ ynh_app_setting get digiwords db_name
1013 [37m[1mDEBUG [m++ set +o xtrace
1087 [37m[1mDEBUG [m+ db_name=
1088 [37m[1mDEBUG [m+ db_user=
1089 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=final_path
1090 [37m[1mDEBUG [m++ local _globalapp=digiwords
1090 [37m[1mDEBUG [m++ local legacy_args=ak
1091 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1091 [37m[1mDEBUG [m++ local -A args_array
1091 [37m[1mDEBUG [m++ local app
1092 [37m[1mDEBUG [m++ local key
1092 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=final_path
1092 [37m[1mDEBUG [m++ set +o xtrace
1161 [37m[1mDEBUG [m++ app=digiwords
1162 [37m[1mDEBUG [m++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
1163 [37m[1mDEBUG [m++ ynh_app_setting get digiwords final_path
1163 [37m[1mDEBUG [m++ set +o xtrace
1249 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
1250 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=datadir
1251 [37m[1mDEBUG [m++ local _globalapp=digiwords
1251 [37m[1mDEBUG [m++ local legacy_args=ak
1252 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1252 [37m[1mDEBUG [m++ local -A args_array
1252 [37m[1mDEBUG [m++ local app
1252 [37m[1mDEBUG [m++ local key
1253 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=datadir
1253 [37m[1mDEBUG [m++ set +o xtrace
1315 [37m[1mDEBUG [m++ app=digiwords
1315 [37m[1mDEBUG [m++ [[ datadir =~ (unprotected|protected|skipped)_ ]]
1316 [37m[1mDEBUG [m++ ynh_app_setting get digiwords datadir
1319 [37m[1mDEBUG [m++ set +o xtrace
1406 [37m[1mDEBUG [m+ datadir=
1407 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing app main directory...' --weight=1
1407 [37m[1mDEBUG [m+ set +o xtrace
1525 [37m[1mDEBUG [m+ set +o xtrace
1551 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1552 [37m[1mDEBUG [m+ set +x
1557 [37m[1mDEBUG [m+ echo '[##+++...............] > Removing app main directory...'
1558 [37m[1mDEBUG [m+ set -o xtrace
1559 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/www/digiwords
1559 [37m[1mDEBUG [m+ local legacy_args=f
1559 [37m[1mDEBUG [m+ args_array=([f]=file=)
1560 [37m[1mDEBUG [m+ local -A args_array
1560 [37m[1mDEBUG [m+ local file
1561 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/www/digiwords
1561 [37m[1mDEBUG [m+ set +o xtrace
1561 [36m[1mINFO [m[##+++...............] > Removing app main directory...
1582 [37m[1mDEBUG [m+ set +o xtrace
1615 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing NGINX web server configuration...' --weight=1
1616 [37m[1mDEBUG [m+ set +o xtrace
1743 [37m[1mDEBUG [m+ set +o xtrace
1766 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1766 [37m[1mDEBUG [m+ set +x
1771 [37m[1mDEBUG [m+ echo '[#####++.............] > Removing NGINX web server configuration...'
1771 [37m[1mDEBUG [m+ set -o xtrace
1772 [37m[1mDEBUG [m+ ynh_remove_nginx_config
1772 [37m[1mDEBUG [m+ ynh_secure_remove --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1773 [37m[1mDEBUG [m+ local legacy_args=f
1774 [37m[1mDEBUG [m+ args_array=([f]=file=)
1774 [37m[1mDEBUG [m+ local -A args_array
1775 [37m[1mDEBUG [m+ local file
1775 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1776 [37m[1mDEBUG [m+ set +o xtrace
1776 [36m[1mINFO [m[#####++.............] > Removing NGINX web server configuration...
1792 [37m[1mDEBUG [m+ set +o xtrace
1817 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
1818 [37m[1mDEBUG [m+ local legacy_args=nalpte
1818 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
1819 [37m[1mDEBUG [m+ local -A args_array
1819 [37m[1mDEBUG [m+ local service_name
1819 [37m[1mDEBUG [m+ local action
1820 [37m[1mDEBUG [m+ local line_match
1820 [37m[1mDEBUG [m+ local length
1821 [37m[1mDEBUG [m+ local log_path
1821 [37m[1mDEBUG [m+ local timeout
1822 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
1822 [37m[1mDEBUG [m+ set +o xtrace
1990 [37m[1mDEBUG [m+ service_name=nginx
1991 [37m[1mDEBUG [m+ action=reload
1991 [37m[1mDEBUG [m+ line_match=
1991 [37m[1mDEBUG [m+ length=20
1992 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
1992 [37m[1mDEBUG [m+ timeout=300
1993 [37m[1mDEBUG [m+ '[' reload == stop ']'
1993 [37m[1mDEBUG [m+ [[ -n '' ]]
1993 [37m[1mDEBUG [m+ '[' reload == reload ']'
1994 [37m[1mDEBUG [m+ action=reload-or-restart
1994 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
2076 [37m[1mDEBUG [m+ [[ -n '' ]]
2076 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing PHP-FPM configuration...' --weight=1
2077 [37m[1mDEBUG [m+ set +o xtrace
2201 [37m[1mDEBUG [m+ set +o xtrace
2229 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2231 [37m[1mDEBUG [m+ set +x
2235 [37m[1mDEBUG [m+ echo '[#######+++..........] > Removing PHP-FPM configuration...'
2235 [37m[1mDEBUG [m+ set -o xtrace
2236 [37m[1mDEBUG [m+ ynh_remove_fpm_config
2236 [36m[1mINFO [m[#######+++..........] > Removing PHP-FPM configuration...
2240 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_config_dir
2241 [37m[1mDEBUG [m++ local _globalapp=digiwords
2242 [37m[1mDEBUG [m++ local legacy_args=ak
2243 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2243 [37m[1mDEBUG [m++ local -A args_array
2244 [37m[1mDEBUG [m++ local app
2244 [37m[1mDEBUG [m++ local key
2244 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_config_dir
2245 [37m[1mDEBUG [m++ set +o xtrace
2324 [37m[1mDEBUG [m++ app=digiwords
2325 [37m[1mDEBUG [m++ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2325 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_config_dir
2326 [37m[1mDEBUG [m++ set +o xtrace
2405 [37m[1mDEBUG [m+ local fpm_config_dir=/etc/php/7.3/fpm
2406 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_service
2407 [37m[1mDEBUG [m++ local _globalapp=digiwords
2407 [37m[1mDEBUG [m++ local legacy_args=ak
2407 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2408 [37m[1mDEBUG [m++ local -A args_array
2408 [37m[1mDEBUG [m++ local app
2408 [37m[1mDEBUG [m++ local key
2409 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_service
2409 [37m[1mDEBUG [m++ set +o xtrace
2467 [37m[1mDEBUG [m++ app=digiwords
2468 [37m[1mDEBUG [m++ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2469 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_service
2469 [37m[1mDEBUG [m++ set +o xtrace
2562 [37m[1mDEBUG [m+ local fpm_service=php7.3-fpm
2564 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_dedicated_service
2564 [37m[1mDEBUG [m++ local _globalapp=digiwords
2565 [37m[1mDEBUG [m++ local legacy_args=ak
2565 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2566 [37m[1mDEBUG [m++ local -A args_array
2567 [37m[1mDEBUG [m++ local app
2567 [37m[1mDEBUG [m++ local key
2568 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_dedicated_service
2568 [37m[1mDEBUG [m++ set +o xtrace
2645 [37m[1mDEBUG [m++ app=digiwords
2647 [37m[1mDEBUG [m++ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2648 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_dedicated_service
2648 [37m[1mDEBUG [m++ set +o xtrace
2735 [37m[1mDEBUG [m+ local dedicated_service=0
2737 [37m[1mDEBUG [m+ dedicated_service=0
2738 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
2739 [37m[1mDEBUG [m++ local _globalapp=digiwords
2740 [37m[1mDEBUG [m++ local legacy_args=ak
2741 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2742 [37m[1mDEBUG [m++ local -A args_array
2743 [37m[1mDEBUG [m++ local app
2744 [37m[1mDEBUG [m++ local key
2744 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
2745 [37m[1mDEBUG [m++ set +o xtrace
2816 [37m[1mDEBUG [m++ app=digiwords
2818 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2820 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
2822 [37m[1mDEBUG [m++ set +o xtrace
2901 [37m[1mDEBUG [m+ local phpversion=7.3
2902 [37m[1mDEBUG [m+ phpversion=7.3
2902 [37m[1mDEBUG [m+ '[' -z /etc/php/7.3/fpm ']'
2903 [37m[1mDEBUG [m+ ynh_secure_remove --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
2903 [37m[1mDEBUG [m+ local legacy_args=f
2904 [37m[1mDEBUG [m+ args_array=([f]=file=)
2905 [37m[1mDEBUG [m+ local -A args_array
2905 [37m[1mDEBUG [m+ local file
2906 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
2907 [37m[1mDEBUG [m+ set +o xtrace
2935 [37m[1mDEBUG [m+ set +o xtrace
2966 [37m[1mDEBUG [m+ '[' -e /etc/php/7.3/fpm/conf.d/20-digiwords.ini ']'
2967 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
2968 [37m[1mDEBUG [m+ ynh_package_is_installed --package=php7.3-fpm
2970 [37m[1mDEBUG [m+ local legacy_args=p
2971 [37m[1mDEBUG [m+ args_array=([p]=package=)
2972 [37m[1mDEBUG [m+ local -A args_array
2973 [37m[1mDEBUG [m+ local package
2973 [37m[1mDEBUG [m+ ynh_handle_getopts_args --package=php7.3-fpm
2974 [37m[1mDEBUG [m+ set +o xtrace
2999 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
3000 [37m[1mDEBUG [m+ local try
3002 [37m[1mDEBUG [m+ set +o xtrace
4424 [37m[1mDEBUG [m+ return 0
4426 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' php7.3-fpm
4428 [37m[1mDEBUG [m+ grep --count 'ok installed'
4443 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
4445 [37m[1mDEBUG [m+ local legacy_args=nalpte
4445 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
4446 [37m[1mDEBUG [m+ local -A args_array
4447 [37m[1mDEBUG [m+ local service_name
4447 [37m[1mDEBUG [m+ local action
4448 [37m[1mDEBUG [m+ local line_match
4448 [37m[1mDEBUG [m+ local length
4449 [37m[1mDEBUG [m+ local log_path
4449 [37m[1mDEBUG [m+ local timeout
4450 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
4451 [37m[1mDEBUG [m+ set +o xtrace
4607 [37m[1mDEBUG [m+ service_name=php7.3-fpm
4608 [37m[1mDEBUG [m+ action=reload
4608 [37m[1mDEBUG [m+ line_match=
4610 [37m[1mDEBUG [m+ length=20
4611 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
4613 [37m[1mDEBUG [m+ timeout=300
4614 [37m[1mDEBUG [m+ '[' reload == stop ']'
4615 [37m[1mDEBUG [m+ [[ -n '' ]]
4616 [37m[1mDEBUG [m+ '[' reload == reload ']'
4617 [37m[1mDEBUG [m+ action=reload-or-restart
4618 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
4638 [37m[1mDEBUG [m+ [[ -n '' ]]
4639 [37m[1mDEBUG [m+ '[' 7.3 '!=' 7.3 ']'
4641 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing dependencies...' --weight=1
4642 [37m[1mDEBUG [m+ set +o xtrace
4800 [37m[1mDEBUG [m+ set +o xtrace
4828 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
4829 [37m[1mDEBUG [m+ set +x
4834 [37m[1mDEBUG [m+ echo '[##########++........] > Removing dependencies...'
4834 [37m[1mDEBUG [m+ set -o xtrace
4835 [37m[1mDEBUG [m+ ynh_remove_app_dependencies
4835 [37m[1mDEBUG [m+ local dep_app=digiwords
4836 [37m[1mDEBUG [m+ local current_dependencies=
4836 [37m[1mDEBUG [m+ ynh_package_is_installed --package=digiwords-ynh-deps
4837 [37m[1mDEBUG [m+ local legacy_args=p
4837 [37m[1mDEBUG [m+ args_array=([p]=package=)
4838 [37m[1mDEBUG [m+ local -A args_array
4838 [37m[1mDEBUG [m+ local package
4839 [37m[1mDEBUG [m+ ynh_handle_getopts_args --package=digiwords-ynh-deps
4840 [37m[1mDEBUG [m+ set +o xtrace
4840 [36m[1mINFO [m[##########++........] > Removing dependencies...
4871 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
4872 [37m[1mDEBUG [m+ local try
4873 [37m[1mDEBUG [m+ set +o xtrace
6308 [37m[1mDEBUG [m+ return 0
6308 [37m[1mDEBUG [m+ grep --count 'ok installed'
6311 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
6335 [37m[1mDEBUG [m++ dpkg-query --show '--showformat=${Depends}' digiwords-ynh-deps
6356 [37m[1mDEBUG [m+ current_dependencies='php-sqlite3 '
6356 [37m[1mDEBUG [m+ current_dependencies='php-sqlite3 '
6357 [37m[1mDEBUG [m+ ynh_package_autopurge digiwords-ynh-deps
6357 [37m[1mDEBUG [m+ ynh_apt autoremove --purge digiwords-ynh-deps
6358 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
6358 [37m[1mDEBUG [m+ local try
6358 [37m[1mDEBUG [m+ set +o xtrace
7799 [37m[1mDEBUG [m+ return 0
7799 [37m[1mDEBUG [m+ LC_ALL=C
7800 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
7800 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 autoremove --purge digiwords-ynh-deps
7848 [37m[1mDEBUG [mReading package lists...
8290 [37m[1mDEBUG [mBuilding dependency tree...
8292 [37m[1mDEBUG [mReading state information...
8841 [37m[1mDEBUG [mThe following packages will be REMOVED:
8844 [37m[1mDEBUG [m digiwords-ynh-deps*
9416 [37m[1mDEBUG [m0 upgraded, 0 newly installed, 1 to remove and 9 not upgraded.
9417 [37m[1mDEBUG [mAfter this operation, 9216 B disk space will be freed.
9491 [37m[1mDEBUG [m(Reading database ... 42406 files and directories currently installed.)
9495 [37m[1mDEBUG [mRemoving digiwords-ynh-deps (0.3.3~ynh1) ...
9920 [37m[1mDEBUG [m++ echo php-sqlite3
9921 [37m[1mDEBUG [m++ tr - ' '
9923 [37m[1mDEBUG [m++ grep -o -E '\'
9925 [37m[1mDEBUG [m++ sed s/php//g
9929 [37m[1mDEBUG [m++ sort
9930 [37m[1mDEBUG [m++ uniq
9943 [37m[1mDEBUG [m+ local specific_php_version=
9944 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
9945 [37m[1mDEBUG [m+ [[ -n '' ]]
9946 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing various files...' --weight=1
9948 [37m[1mDEBUG [m+ set +o xtrace
10091 [37m[1mDEBUG [m+ set +o xtrace
10124 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
10125 [37m[1mDEBUG [m+ set +x
10135 [36m[1mINFO [m[############+++.....] > Removing various files...
10139 [37m[1mDEBUG [m+ echo '[############+++.....] > Removing various files...'
10140 [37m[1mDEBUG [m+ set -o xtrace
10140 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/log/digiwords
10141 [37m[1mDEBUG [m+ local legacy_args=f
10141 [37m[1mDEBUG [m+ args_array=([f]=file=)
10142 [37m[1mDEBUG [m+ local -A args_array
10142 [37m[1mDEBUG [m+ local file
10142 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/log/digiwords
10153 [37m[1mDEBUG [m+ set +o xtrace
10173 [37m[1mDEBUG [m+ set +o xtrace
10196 [37m[1mDEBUG [m+ echo ''\''/var/log/digiwords'\'' wasn'\''t deleted because it doesn'\''t exist.'
10197 [37m[1mDEBUG [m+ set -o xtrace
10200 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing the dedicated system user...' --weight=1
10205 [37m[1mDEBUG [m+ set +o xtrace
10209 [36m[1mINFO [m'/var/log/digiwords' wasn't deleted because it doesn't exist.
10336 [37m[1mDEBUG [m+ set +o xtrace
10361 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
10362 [37m[1mDEBUG [m+ set +x
10367 [37m[1mDEBUG [m+ echo '[###############++...] > Removing the dedicated system user...'
10368 [36m[1mINFO [m[###############++...] > Removing the dedicated system user...
10373 [37m[1mDEBUG [m+ set -o xtrace
10375 [37m[1mDEBUG [m+ ynh_system_user_delete --username=digiwords
10375 [37m[1mDEBUG [m+ local legacy_args=u
10376 [37m[1mDEBUG [m+ args_array=([u]=username=)
10376 [37m[1mDEBUG [m+ local -A args_array
10377 [37m[1mDEBUG [m+ local username
10378 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords
10379 [37m[1mDEBUG [m+ set +o xtrace
10395 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
10396 [37m[1mDEBUG [m+ local legacy_args=u
10396 [37m[1mDEBUG [m+ args_array=([u]=username=)
10396 [37m[1mDEBUG [m+ local -A args_array
10397 [37m[1mDEBUG [m+ local username
10397 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
10398 [37m[1mDEBUG [m+ set +o xtrace
10413 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
10414 [37m[1mDEBUG [m+ set +x
10419 [37m[1mDEBUG [m+ getent passwd digiwords
10429 [37m[1mDEBUG [m+ deluser digiwords
10589 [37m[1mDEBUG [mRemoving user `digiwords' ...
10590 [37m[1mDEBUG [mWarning: group `digiwords' has no more members.
10733 [37m[1mDEBUG [mDone.
10738 [37m[1mDEBUG [m+ ynh_system_group_exists digiwords
10742 [37m[1mDEBUG [m+ local legacy_args=g
10744 [37m[1mDEBUG [m+ args_array=([g]=group=)
10744 [37m[1mDEBUG [m+ local -A args_array
10746 [37m[1mDEBUG [m+ local group
10748 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
10748 [37m[1mDEBUG [m+ set +o xtrace
10765 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
10765 [37m[1mDEBUG [m+ set +x
10775 [37m[1mDEBUG [m+ getent group digiwords
10790 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removal of digiwords completed' --last
10791 [37m[1mDEBUG [m+ set +o xtrace
10935 [37m[1mDEBUG [m+ set +o xtrace
10966 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
10967 [37m[1mDEBUG [m+ set +x
10972 [36m[1mINFO [m[####################] > Removal of digiwords completed
10974 [37m[1mDEBUG [m+ echo '[####################] > Removal of digiwords completed'
10975 [37m[1mDEBUG [m+ set -o xtrace
11980 [32m[1mSUCCESS [mdigiwords uninstalled
12068 [37m[1mDEBUG [minitializing ldap interface
12129 [37m[1mDEBUG [mPermission 'digiwords.main' deleted
12137 [37m[1mDEBUG [mTo view the log of the operation 'Delete permission 'digiwords'', use the command 'yunohost log show 20220531-094231-permission_delete-digiwords'
12171 [37m[1mDEBUG [mThe permission database has been resynchronized
12202 [37m[1mDEBUG [mSSOwat configuration regenerated
12227 [37m[1mDEBUG [mChecking that required services are up and running...
13144 [37m[1mDEBUG [mTo view the log of the operation 'Remove the 'digiwords' app', use the command 'yunohost log show 20220531-094219-app_remove-digiwords'
13161 [37m[1mDEBUG [maction [4658.1] executed in 12.917s
13162 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 14 seconds (09:42:32)
Remove successful.
[1m > Validating that the app digiwords__2 can/can't be accessed with its URL...[0m
Running curl domain.tld
200;https://domain.tld/
Return code: 0
Working time: 0s (09:42:45)
Return code: 0
Working time: 0s (09:42:49)
HTTP code: 200
Test URL: domain.tld
Real URL: https://domain.tld/
HTTP code: 200
Page title:
Page extract:
Running curl domain.tld/
Return code: 0
Working time: 0s (09:42:56)
Return code: 0
Working time: 0s (09:42:59)
HTTP code:
Test URL: domain.tld/
Real URL:
HTTP code:
Page title:
Page extract:
[1m[32m--- SUCCESS ---[0m
Working time for this test: 4 minutes, 10 seconds (09:43:00)
[1m
============================================
[Test 6/9] Backup/Restore
============================================
[0m
(Reusing existing snapshot snap_rootinstall)
Loading snapshot snap_rootinstall ...
[1m > Backup of the application...[0m
Running yunohost backup create -n Backup_test --apps digiwords
222 [37m[1mDEBUG [minitializing base actions map parser for cli
225 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
228 [37m[1mDEBUG [mbuilding parser...
235 [37m[1mDEBUG [mbuilding parser took 0.007s
237 [37m[1mDEBUG [macquiring lock...
263 [37m[1mDEBUG [mlock has been acquired
353 [37m[1mDEBUG [mloading python module yunohost.backup took 0.090s
354 [37m[1mDEBUG [mprocessing action [862.1]: yunohost.backup.create with args={'name': 'Backup_test', 'description': None, 'output_directory': None, 'methods': None, 'system': None, 'apps': ['digiwords'], 'dry_run': False}
402 [36m[1mINFO [mCollecting files to be backed up for digiwords...
438 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "/var/cache/yunohost/app_tmp_work_dirs/app_zmwhgvj6/scripts/backup" 7>&1']'
452 [37m[1mDEBUG [m+ source ../settings/scripts/_common.sh
453 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
453 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
455 [37m[1mDEBUG [m+++ set +o
457 [37m[1mDEBUG [m+++ grep xtrace
464 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
465 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
467 [37m[1mDEBUG [m++ set +x
524 [37m[1mDEBUG [m+ ynh_abort_if_errors
526 [37m[1mDEBUG [m+ set -o errexit
526 [37m[1mDEBUG [m+ set -o nounset
528 [37m[1mDEBUG [m+ trap ynh_exit_properly EXIT
529 [37m[1mDEBUG [m+ ynh_print_info '--message=Loading installation settings...'
530 [37m[1mDEBUG [m+ local legacy_args=m
531 [37m[1mDEBUG [m+ args_array=([m]=message=)
533 [37m[1mDEBUG [m+ local -A args_array
533 [37m[1mDEBUG [m+ local message
534 [37m[1mDEBUG [m+ ynh_handle_getopts_args '--message=Loading installation settings...'
535 [37m[1mDEBUG [m+ set +o xtrace
554 [37m[1mDEBUG [m+ echo 'Loading installation settings...'
555 [36m[1mINFO [mLoading installation settings...
556 [37m[1mDEBUG [m+ app=digiwords
558 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=final_path
559 [37m[1mDEBUG [m++ local _globalapp=digiwords
560 [37m[1mDEBUG [m++ local legacy_args=ak
561 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
561 [37m[1mDEBUG [m++ local -A args_array
561 [37m[1mDEBUG [m++ local app
562 [37m[1mDEBUG [m++ local key
562 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=final_path
564 [37m[1mDEBUG [m++ set +o xtrace
628 [37m[1mDEBUG [m++ app=digiwords
629 [37m[1mDEBUG [m++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
629 [37m[1mDEBUG [m++ ynh_app_setting get digiwords final_path
630 [37m[1mDEBUG [m++ set +o xtrace
718 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
719 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=domain
721 [37m[1mDEBUG [m++ local _globalapp=digiwords
722 [37m[1mDEBUG [m++ local legacy_args=ak
723 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
724 [37m[1mDEBUG [m++ local -A args_array
725 [37m[1mDEBUG [m++ local app
727 [37m[1mDEBUG [m++ local key
728 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=domain
728 [37m[1mDEBUG [m++ set +o xtrace
782 [37m[1mDEBUG [m++ app=digiwords
782 [37m[1mDEBUG [m++ [[ domain =~ (unprotected|protected|skipped)_ ]]
783 [37m[1mDEBUG [m++ ynh_app_setting get digiwords domain
784 [37m[1mDEBUG [m++ set +o xtrace
860 [37m[1mDEBUG [m+ domain=sub.domain.tld
862 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=db_name
863 [37m[1mDEBUG [m++ local _globalapp=digiwords
864 [37m[1mDEBUG [m++ local legacy_args=ak
865 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
867 [37m[1mDEBUG [m++ local -A args_array
868 [37m[1mDEBUG [m++ local app
868 [37m[1mDEBUG [m++ local key
869 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=db_name
869 [37m[1mDEBUG [m++ set +o xtrace
927 [37m[1mDEBUG [m++ app=digiwords
929 [37m[1mDEBUG [m++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
931 [37m[1mDEBUG [m++ ynh_app_setting get digiwords db_name
933 [37m[1mDEBUG [m++ set +o xtrace
1002 [37m[1mDEBUG [m+ db_name=
1005 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
1009 [37m[1mDEBUG [m++ local _globalapp=digiwords
1012 [37m[1mDEBUG [m++ local legacy_args=ak
1014 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1016 [37m[1mDEBUG [m++ local -A args_array
1018 [37m[1mDEBUG [m++ local app
1020 [37m[1mDEBUG [m++ local key
1021 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
1022 [37m[1mDEBUG [m++ set +o xtrace
1086 [37m[1mDEBUG [m++ app=digiwords
1088 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
1090 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
1092 [37m[1mDEBUG [m++ set +o xtrace
1182 [37m[1mDEBUG [m+ phpversion=7.3
1185 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=datadir
1186 [37m[1mDEBUG [m++ local _globalapp=digiwords
1187 [37m[1mDEBUG [m++ local legacy_args=ak
1188 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1189 [37m[1mDEBUG [m++ local -A args_array
1190 [37m[1mDEBUG [m++ local app
1190 [37m[1mDEBUG [m++ local key
1191 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=datadir
1191 [37m[1mDEBUG [m++ set +o xtrace
1253 [37m[1mDEBUG [m++ app=digiwords
1255 [37m[1mDEBUG [m++ [[ datadir =~ (unprotected|protected|skipped)_ ]]
1257 [37m[1mDEBUG [m++ ynh_app_setting get digiwords datadir
1259 [37m[1mDEBUG [m++ set +o xtrace
1356 [37m[1mDEBUG [m+ datadir=
1357 [37m[1mDEBUG [m+ ynh_print_info '--message=Declaring files to be backed up...'
1357 [37m[1mDEBUG [m+ local legacy_args=m
1357 [37m[1mDEBUG [m+ args_array=([m]=message=)
1360 [37m[1mDEBUG [m+ local -A args_array
1361 [37m[1mDEBUG [m+ local message
1369 [37m[1mDEBUG [m+ ynh_handle_getopts_args '--message=Declaring files to be backed up...'
1370 [37m[1mDEBUG [m+ set +o xtrace
1430 [36m[1mINFO [mDeclaring files to be backed up...
1434 [37m[1mDEBUG [m+ echo 'Declaring files to be backed up...'
1435 [37m[1mDEBUG [m+ ynh_backup --src_path=/var/www/digiwords
1443 [37m[1mDEBUG [m+ local legacy_args=sdbm
1444 [37m[1mDEBUG [m+ args_array=([s]=src_path= [d]=dest_path= [b]=is_big [m]=not_mandatory)
1445 [37m[1mDEBUG [m+ local -A args_array
1445 [37m[1mDEBUG [m+ local src_path
1445 [37m[1mDEBUG [m+ local dest_path
1445 [37m[1mDEBUG [m+ local is_big
1446 [37m[1mDEBUG [m+ local not_mandatory
1446 [37m[1mDEBUG [m+ ynh_handle_getopts_args --src_path=/var/www/digiwords
1446 [37m[1mDEBUG [m+ set +o xtrace
1551 [37m[1mDEBUG [m+ dest_path=
1552 [37m[1mDEBUG [m+ is_big=0
1553 [37m[1mDEBUG [m+ not_mandatory=0
1553 [37m[1mDEBUG [m+ BACKUP_CORE_ONLY=0
1554 [37m[1mDEBUG [m+ test -n digiwords
1556 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=do_not_backup_data
1557 [37m[1mDEBUG [m++ local _globalapp=digiwords
1560 [37m[1mDEBUG [m++ local legacy_args=ak
1561 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1562 [37m[1mDEBUG [m++ local -A args_array
1562 [37m[1mDEBUG [m++ local app
1563 [37m[1mDEBUG [m++ local key
1563 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=do_not_backup_data
1563 [37m[1mDEBUG [m++ set +o xtrace
1625 [37m[1mDEBUG [m++ app=digiwords
1627 [37m[1mDEBUG [m++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
1628 [37m[1mDEBUG [m++ ynh_app_setting get digiwords do_not_backup_data
1629 [37m[1mDEBUG [m++ set +o xtrace
1705 [37m[1mDEBUG [m+ do_not_backup_data=
1706 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
1706 [37m[1mDEBUG [m+ '[' '!' -e /var/www/digiwords ']'
1707 [37m[1mDEBUG [m++ realpath /var/www/digiwords
1709 [37m[1mDEBUG [m+ src_path=/var/www/digiwords
1710 [37m[1mDEBUG [m+ [[ -z '' ]]
1711 [37m[1mDEBUG [m+ dest_path=var/www/digiwords
1712 [37m[1mDEBUG [m+ [[ -e var/www/digiwords ]]
1713 [37m[1mDEBUG [m+ local rel_dir=/apps/digiwords/backup
1713 [37m[1mDEBUG [m+ rel_dir=/apps/digiwords/backup/
1714 [37m[1mDEBUG [m+ dest_path=/apps/digiwords/backup/var/www/digiwords
1715 [37m[1mDEBUG [m+ dest_path=apps/digiwords/backup/var/www/digiwords
1715 [37m[1mDEBUG [m++ echo /var/www/digiwords
1721 [37m[1mDEBUG [m++ sed --regexp-extended 's/"/\"\"/g'
1722 [37m[1mDEBUG [m+ local src=/var/www/digiwords
1728 [37m[1mDEBUG [m++ sed --regexp-extended 's/"/\"\"/g'
1730 [37m[1mDEBUG [m++ echo apps/digiwords/backup/var/www/digiwords
1732 [37m[1mDEBUG [m+ local dest=apps/digiwords/backup/var/www/digiwords
1732 [37m[1mDEBUG [m+ echo '"/var/www/digiwords","apps/digiwords/backup/var/www/digiwords"'
1733 [37m[1mDEBUG [m++ dirname /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/var/www/digiwords
1736 [37m[1mDEBUG [m+ mkdir --parents /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/var/www
1740 [37m[1mDEBUG [m+ ynh_backup --src_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1741 [37m[1mDEBUG [m+ local legacy_args=sdbm
1742 [37m[1mDEBUG [m+ args_array=([s]=src_path= [d]=dest_path= [b]=is_big [m]=not_mandatory)
1742 [37m[1mDEBUG [m+ local -A args_array
1743 [37m[1mDEBUG [m+ local src_path
1744 [37m[1mDEBUG [m+ local dest_path
1745 [37m[1mDEBUG [m+ local is_big
1746 [37m[1mDEBUG [m+ local not_mandatory
1746 [37m[1mDEBUG [m+ ynh_handle_getopts_args --src_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1747 [37m[1mDEBUG [m+ set +o xtrace
1820 [37m[1mDEBUG [m+ dest_path=
1821 [37m[1mDEBUG [m+ is_big=0
1822 [37m[1mDEBUG [m+ not_mandatory=0
1823 [37m[1mDEBUG [m+ BACKUP_CORE_ONLY=0
1823 [37m[1mDEBUG [m+ test -n digiwords
1824 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=do_not_backup_data
1826 [37m[1mDEBUG [m++ local _globalapp=digiwords
1827 [37m[1mDEBUG [m++ local legacy_args=ak
1829 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1830 [37m[1mDEBUG [m++ local -A args_array
1831 [37m[1mDEBUG [m++ local app
1832 [37m[1mDEBUG [m++ local key
1833 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=do_not_backup_data
1834 [37m[1mDEBUG [m++ set +o xtrace
1896 [37m[1mDEBUG [m++ app=digiwords
1897 [37m[1mDEBUG [m++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
1899 [37m[1mDEBUG [m++ ynh_app_setting get digiwords do_not_backup_data
1900 [37m[1mDEBUG [m++ set +o xtrace
1982 [37m[1mDEBUG [m+ do_not_backup_data=
1983 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
1983 [37m[1mDEBUG [m+ '[' '!' -e /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ']'
1983 [37m[1mDEBUG [m++ realpath /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1986 [37m[1mDEBUG [m+ src_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1986 [37m[1mDEBUG [m+ [[ -z '' ]]
1986 [37m[1mDEBUG [m+ dest_path=etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1987 [37m[1mDEBUG [m+ [[ -e etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ]]
1987 [37m[1mDEBUG [m+ local rel_dir=/apps/digiwords/backup
1988 [37m[1mDEBUG [m+ rel_dir=/apps/digiwords/backup/
1989 [37m[1mDEBUG [m+ dest_path=/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1989 [37m[1mDEBUG [m+ dest_path=apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1989 [37m[1mDEBUG [m++ echo /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1990 [37m[1mDEBUG [m++ sed --regexp-extended 's/"/\"\"/g'
1999 [37m[1mDEBUG [m+ local src=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2002 [37m[1mDEBUG [m++ echo apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2005 [37m[1mDEBUG [m++ sed --regexp-extended 's/"/\"\"/g'
2010 [37m[1mDEBUG [m+ local dest=apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2015 [37m[1mDEBUG [m+ echo '"/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf","apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf"'
2015 [37m[1mDEBUG [m++ dirname /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2016 [37m[1mDEBUG [m+ mkdir --parents /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d
2021 [37m[1mDEBUG [m+ ynh_backup --src_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
2023 [37m[1mDEBUG [m+ local legacy_args=sdbm
2024 [37m[1mDEBUG [m+ args_array=([s]=src_path= [d]=dest_path= [b]=is_big [m]=not_mandatory)
2024 [37m[1mDEBUG [m+ local -A args_array
2025 [37m[1mDEBUG [m+ local src_path
2026 [37m[1mDEBUG [m+ local dest_path
2026 [37m[1mDEBUG [m+ local is_big
2027 [37m[1mDEBUG [m+ local not_mandatory
2028 [37m[1mDEBUG [m+ ynh_handle_getopts_args --src_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
2029 [37m[1mDEBUG [m+ set +o xtrace
2095 [37m[1mDEBUG [m+ dest_path=
2096 [37m[1mDEBUG [m+ is_big=0
2098 [37m[1mDEBUG [m+ not_mandatory=0
2099 [37m[1mDEBUG [m+ BACKUP_CORE_ONLY=0
2100 [37m[1mDEBUG [m+ test -n digiwords
2102 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=do_not_backup_data
2104 [37m[1mDEBUG [m++ local _globalapp=digiwords
2105 [37m[1mDEBUG [m++ local legacy_args=ak
2106 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2106 [37m[1mDEBUG [m++ local -A args_array
2107 [37m[1mDEBUG [m++ local app
2108 [37m[1mDEBUG [m++ local key
2109 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=do_not_backup_data
2109 [37m[1mDEBUG [m++ set +o xtrace
2171 [37m[1mDEBUG [m++ app=digiwords
2171 [37m[1mDEBUG [m++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
2172 [37m[1mDEBUG [m++ ynh_app_setting get digiwords do_not_backup_data
2173 [37m[1mDEBUG [m++ set +o xtrace
2260 [37m[1mDEBUG [m+ do_not_backup_data=
2261 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
2261 [37m[1mDEBUG [m+ '[' '!' -e /etc/php/7.3/fpm/pool.d/digiwords.conf ']'
2263 [37m[1mDEBUG [m++ realpath /etc/php/7.3/fpm/pool.d/digiwords.conf
2269 [37m[1mDEBUG [m+ src_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
2271 [37m[1mDEBUG [m+ [[ -z '' ]]
2272 [37m[1mDEBUG [m+ dest_path=etc/php/7.3/fpm/pool.d/digiwords.conf
2273 [37m[1mDEBUG [m+ [[ -e etc/php/7.3/fpm/pool.d/digiwords.conf ]]
2274 [37m[1mDEBUG [m+ local rel_dir=/apps/digiwords/backup
2274 [37m[1mDEBUG [m+ rel_dir=/apps/digiwords/backup/
2275 [37m[1mDEBUG [m+ dest_path=/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
2275 [37m[1mDEBUG [m+ dest_path=apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
2276 [37m[1mDEBUG [m++ sed --regexp-extended 's/"/\"\"/g'
2277 [37m[1mDEBUG [m++ echo /etc/php/7.3/fpm/pool.d/digiwords.conf
2281 [37m[1mDEBUG [m+ local src=/etc/php/7.3/fpm/pool.d/digiwords.conf
2285 [37m[1mDEBUG [m++ echo apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
2286 [37m[1mDEBUG [m++ sed --regexp-extended 's/"/\"\"/g'
2292 [37m[1mDEBUG [m+ local dest=apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
2292 [37m[1mDEBUG [m+ echo '"/etc/php/7.3/fpm/pool.d/digiwords.conf","apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf"'
2296 [37m[1mDEBUG [m++ dirname /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
2297 [37m[1mDEBUG [m+ mkdir --parents /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d
2303 [37m[1mDEBUG [m+ ynh_print_info '--message=Backup script completed for digiwords. (YunoHost will then actually copy those files to the archive).'
2306 [37m[1mDEBUG [m+ local legacy_args=m
2307 [37m[1mDEBUG [m+ args_array=([m]=message=)
2308 [37m[1mDEBUG [m+ local -A args_array
2309 [37m[1mDEBUG [m+ local message
2310 [37m[1mDEBUG [m+ ynh_handle_getopts_args '--message=Backup script completed for digiwords. (YunoHost will then actually copy those files to the archive).'
2311 [37m[1mDEBUG [m+ set +o xtrace
2327 [36m[1mINFO [mBackup script completed for digiwords. (YunoHost will then actually copy those files to the archive).
2335 [37m[1mDEBUG [m+ echo 'Backup script completed for digiwords. (YunoHost will then actually copy those files to the archive).'
2338 [37m[1mDEBUG [m+ ynh_exit_properly
2339 [37m[1mDEBUG [m+ local exit_code=0
2339 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/download/
2340 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
2341 [37m[1mDEBUG [m+ exit 0
3346 [37m[1mDEBUG [mBackup permission for digiwords
3457 [37m[1mDEBUG [minitializing ldap interface
3567 [36m[1mINFO [mCreating a backup archive from the collected files...
3569 [36m[1mINFO [mThe archive will contain about 3.4MiB of data.
3569 [37m[1mDEBUG [mCreating the backup TAR archive...
3693 [37m[1mDEBUG [mTAR backup archive created
3694 [32m[1mSUCCESS [mBackup created
3699 [37m[1mDEBUG [mTo view the log of the operation 'Create a backup archive', use the command 'yunohost log show 20220531-094418-backup_create'
3713 [37m[1mDEBUG [maction [862.1] executed in 3.358s
3714 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 4 seconds (09:44:22)
[1m > Removing the app...[0m
Running yunohost app remove digiwords
167 [37m[1mDEBUG [minitializing base actions map parser for cli
169 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
177 [37m[1mDEBUG [mbuilding parser...
205 [37m[1mDEBUG [mbuilding parser took 0.028s
207 [37m[1mDEBUG [macquiring lock...
232 [37m[1mDEBUG [mlock has been acquired
254 [37m[1mDEBUG [mloading python module yunohost.app took 0.022s
254 [37m[1mDEBUG [mprocessing action [1304.1]: yunohost.app.remove with args={'app': 'digiwords', 'purge': False}
290 [36m[1mINFO [mRemoving digiwords...
449 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "./remove" 7>&1']'
461 [37m[1mDEBUG [m+ source _common.sh
462 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
464 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
465 [37m[1mDEBUG [m+++ set +o
466 [37m[1mDEBUG [m+++ grep xtrace
468 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
469 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
471 [37m[1mDEBUG [m++ set +x
518 [37m[1mDEBUG [m+ ynh_script_progression '--message=Loading installation settings...' --weight=1
519 [37m[1mDEBUG [m+ set +o xtrace
617 [37m[1mDEBUG [m+ set +o xtrace
673 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
673 [37m[1mDEBUG [m+ set +x
677 [37m[1mDEBUG [m+ echo '[++..................] > Loading installation settings...'
679 [36m[1mINFO [m[++..................] > Loading installation settings...
682 [37m[1mDEBUG [m+ set -o xtrace
682 [37m[1mDEBUG [m+ app=digiwords
685 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=domain
687 [37m[1mDEBUG [m++ local _globalapp=digiwords
688 [37m[1mDEBUG [m++ local legacy_args=ak
689 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
690 [37m[1mDEBUG [m++ local -A args_array
692 [37m[1mDEBUG [m++ local app
693 [37m[1mDEBUG [m++ local key
694 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=domain
695 [37m[1mDEBUG [m++ set +o xtrace
780 [37m[1mDEBUG [m++ app=digiwords
781 [37m[1mDEBUG [m++ [[ domain =~ (unprotected|protected|skipped)_ ]]
782 [37m[1mDEBUG [m++ ynh_app_setting get digiwords domain
782 [37m[1mDEBUG [m++ set +o xtrace
882 [37m[1mDEBUG [m+ domain=sub.domain.tld
885 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=port
885 [37m[1mDEBUG [m++ local _globalapp=digiwords
886 [37m[1mDEBUG [m++ local legacy_args=ak
887 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
887 [37m[1mDEBUG [m++ local -A args_array
888 [37m[1mDEBUG [m++ local app
888 [37m[1mDEBUG [m++ local key
890 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=port
891 [37m[1mDEBUG [m++ set +o xtrace
951 [37m[1mDEBUG [m++ app=digiwords
951 [37m[1mDEBUG [m++ [[ port =~ (unprotected|protected|skipped)_ ]]
952 [37m[1mDEBUG [m++ ynh_app_setting get digiwords port
953 [37m[1mDEBUG [m++ set +o xtrace
1054 [37m[1mDEBUG [m+ port=
1055 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=db_name
1056 [37m[1mDEBUG [m++ local _globalapp=digiwords
1057 [37m[1mDEBUG [m++ local legacy_args=ak
1057 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1057 [37m[1mDEBUG [m++ local -A args_array
1058 [37m[1mDEBUG [m++ local app
1059 [37m[1mDEBUG [m++ local key
1059 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=db_name
1060 [37m[1mDEBUG [m++ set +o xtrace
1134 [37m[1mDEBUG [m++ app=digiwords
1137 [37m[1mDEBUG [m++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
1140 [37m[1mDEBUG [m++ ynh_app_setting get digiwords db_name
1141 [37m[1mDEBUG [m++ set +o xtrace
1234 [37m[1mDEBUG [m+ db_name=
1234 [37m[1mDEBUG [m+ db_user=
1236 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=final_path
1237 [37m[1mDEBUG [m++ local _globalapp=digiwords
1238 [37m[1mDEBUG [m++ local legacy_args=ak
1239 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1240 [37m[1mDEBUG [m++ local -A args_array
1240 [37m[1mDEBUG [m++ local app
1241 [37m[1mDEBUG [m++ local key
1244 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=final_path
1245 [37m[1mDEBUG [m++ set +o xtrace
1291 [37m[1mDEBUG [m++ app=digiwords
1291 [37m[1mDEBUG [m++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
1292 [37m[1mDEBUG [m++ ynh_app_setting get digiwords final_path
1292 [37m[1mDEBUG [m++ set +o xtrace
1393 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
1395 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=datadir
1395 [37m[1mDEBUG [m++ local _globalapp=digiwords
1396 [37m[1mDEBUG [m++ local legacy_args=ak
1397 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1398 [37m[1mDEBUG [m++ local -A args_array
1398 [37m[1mDEBUG [m++ local app
1398 [37m[1mDEBUG [m++ local key
1399 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=datadir
1399 [37m[1mDEBUG [m++ set +o xtrace
1447 [37m[1mDEBUG [m++ app=digiwords
1448 [37m[1mDEBUG [m++ [[ datadir =~ (unprotected|protected|skipped)_ ]]
1449 [37m[1mDEBUG [m++ ynh_app_setting get digiwords datadir
1450 [37m[1mDEBUG [m++ set +o xtrace
1533 [37m[1mDEBUG [m+ datadir=
1533 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing app main directory...' --weight=1
1534 [37m[1mDEBUG [m+ set +o xtrace
1672 [37m[1mDEBUG [m+ set +o xtrace
1698 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1698 [37m[1mDEBUG [m+ set +x
1703 [37m[1mDEBUG [m+ echo '[##+++...............] > Removing app main directory...'
1704 [37m[1mDEBUG [m+ set -o xtrace
1705 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/www/digiwords
1705 [37m[1mDEBUG [m+ local legacy_args=f
1705 [37m[1mDEBUG [m+ args_array=([f]=file=)
1706 [37m[1mDEBUG [m+ local -A args_array
1706 [37m[1mDEBUG [m+ local file
1707 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/www/digiwords
1708 [37m[1mDEBUG [m+ set +o xtrace
1708 [36m[1mINFO [m[##+++...............] > Removing app main directory...
1734 [37m[1mDEBUG [m+ set +o xtrace
1765 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing NGINX web server configuration...' --weight=1
1765 [37m[1mDEBUG [m+ set +o xtrace
1890 [37m[1mDEBUG [m+ set +o xtrace
1919 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1921 [37m[1mDEBUG [m+ set +x
1924 [37m[1mDEBUG [m+ echo '[#####++.............] > Removing NGINX web server configuration...'
1925 [37m[1mDEBUG [m+ set -o xtrace
1926 [37m[1mDEBUG [m+ ynh_remove_nginx_config
1926 [37m[1mDEBUG [m+ ynh_secure_remove --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1927 [37m[1mDEBUG [m+ local legacy_args=f
1927 [37m[1mDEBUG [m+ args_array=([f]=file=)
1927 [37m[1mDEBUG [m+ local -A args_array
1930 [37m[1mDEBUG [m+ local file
1930 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1932 [37m[1mDEBUG [m+ set +o xtrace
1933 [36m[1mINFO [m[#####++.............] > Removing NGINX web server configuration...
1956 [37m[1mDEBUG [m+ set +o xtrace
1977 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
1978 [37m[1mDEBUG [m+ local legacy_args=nalpte
1979 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
1980 [37m[1mDEBUG [m+ local -A args_array
1980 [37m[1mDEBUG [m+ local service_name
1981 [37m[1mDEBUG [m+ local action
1981 [37m[1mDEBUG [m+ local line_match
1981 [37m[1mDEBUG [m+ local length
1982 [37m[1mDEBUG [m+ local log_path
1982 [37m[1mDEBUG [m+ local timeout
1983 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
1984 [37m[1mDEBUG [m+ set +o xtrace
2187 [37m[1mDEBUG [m+ service_name=nginx
2187 [37m[1mDEBUG [m+ action=reload
2188 [37m[1mDEBUG [m+ line_match=
2189 [37m[1mDEBUG [m+ length=20
2189 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
2190 [37m[1mDEBUG [m+ timeout=300
2190 [37m[1mDEBUG [m+ '[' reload == stop ']'
2190 [37m[1mDEBUG [m+ [[ -n '' ]]
2190 [37m[1mDEBUG [m+ '[' reload == reload ']'
2191 [37m[1mDEBUG [m+ action=reload-or-restart
2191 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
2271 [37m[1mDEBUG [m+ [[ -n '' ]]
2276 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing PHP-FPM configuration...' --weight=1
2277 [37m[1mDEBUG [m+ set +o xtrace
2424 [37m[1mDEBUG [m+ set +o xtrace
2475 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2484 [37m[1mDEBUG [m+ set +x
2487 [37m[1mDEBUG [m+ echo '[#######+++..........] > Removing PHP-FPM configuration...'
2489 [37m[1mDEBUG [m+ set -o xtrace
2489 [36m[1mINFO [m[#######+++..........] > Removing PHP-FPM configuration...
2489 [37m[1mDEBUG [m+ ynh_remove_fpm_config
2490 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_config_dir
2490 [37m[1mDEBUG [m++ local _globalapp=digiwords
2490 [37m[1mDEBUG [m++ local legacy_args=ak
2490 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2490 [37m[1mDEBUG [m++ local -A args_array
2500 [37m[1mDEBUG [m++ local app
2502 [37m[1mDEBUG [m++ local key
2503 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_config_dir
2503 [37m[1mDEBUG [m++ set +o xtrace
2584 [37m[1mDEBUG [m++ app=digiwords
2585 [37m[1mDEBUG [m++ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2586 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_config_dir
2589 [37m[1mDEBUG [m++ set +o xtrace
2681 [37m[1mDEBUG [m+ local fpm_config_dir=/etc/php/7.3/fpm
2682 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_service
2683 [37m[1mDEBUG [m++ local _globalapp=digiwords
2683 [37m[1mDEBUG [m++ local legacy_args=ak
2684 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2684 [37m[1mDEBUG [m++ local -A args_array
2685 [37m[1mDEBUG [m++ local app
2685 [37m[1mDEBUG [m++ local key
2686 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_service
2693 [37m[1mDEBUG [m++ set +o xtrace
2762 [37m[1mDEBUG [m++ app=digiwords
2762 [37m[1mDEBUG [m++ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2764 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_service
2765 [37m[1mDEBUG [m++ set +o xtrace
2860 [37m[1mDEBUG [m+ local fpm_service=php7.3-fpm
2872 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_dedicated_service
2873 [37m[1mDEBUG [m++ local _globalapp=digiwords
2874 [37m[1mDEBUG [m++ local legacy_args=ak
2880 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2880 [37m[1mDEBUG [m++ local -A args_array
2881 [37m[1mDEBUG [m++ local app
2881 [37m[1mDEBUG [m++ local key
2881 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_dedicated_service
2882 [37m[1mDEBUG [m++ set +o xtrace
2971 [37m[1mDEBUG [m++ app=digiwords
2972 [37m[1mDEBUG [m++ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2974 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_dedicated_service
2974 [37m[1mDEBUG [m++ set +o xtrace
3070 [37m[1mDEBUG [m+ local dedicated_service=0
3070 [37m[1mDEBUG [m+ dedicated_service=0
3070 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
3074 [37m[1mDEBUG [m++ local _globalapp=digiwords
3074 [37m[1mDEBUG [m++ local legacy_args=ak
3074 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
3078 [37m[1mDEBUG [m++ local -A args_array
3083 [37m[1mDEBUG [m++ local app
3084 [37m[1mDEBUG [m++ local key
3084 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
3085 [37m[1mDEBUG [m++ set +o xtrace
3161 [37m[1mDEBUG [m++ app=digiwords
3162 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
3162 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
3163 [37m[1mDEBUG [m++ set +o xtrace
3242 [37m[1mDEBUG [m+ local phpversion=7.3
3244 [37m[1mDEBUG [m+ phpversion=7.3
3245 [37m[1mDEBUG [m+ '[' -z /etc/php/7.3/fpm ']'
3246 [37m[1mDEBUG [m+ ynh_secure_remove --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
3247 [37m[1mDEBUG [m+ local legacy_args=f
3248 [37m[1mDEBUG [m+ args_array=([f]=file=)
3250 [37m[1mDEBUG [m+ local -A args_array
3250 [37m[1mDEBUG [m+ local file
3251 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
3251 [37m[1mDEBUG [m+ set +o xtrace
3272 [37m[1mDEBUG [m+ set +o xtrace
3294 [37m[1mDEBUG [m+ '[' -e /etc/php/7.3/fpm/conf.d/20-digiwords.ini ']'
3295 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
3295 [37m[1mDEBUG [m+ ynh_package_is_installed --package=php7.3-fpm
3296 [37m[1mDEBUG [m+ local legacy_args=p
3297 [37m[1mDEBUG [m+ args_array=([p]=package=)
3301 [37m[1mDEBUG [m+ local -A args_array
3301 [37m[1mDEBUG [m+ local package
3302 [37m[1mDEBUG [m+ ynh_handle_getopts_args --package=php7.3-fpm
3302 [37m[1mDEBUG [m+ set +o xtrace
3322 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
3322 [37m[1mDEBUG [m+ local try
3322 [37m[1mDEBUG [m+ set +o xtrace
4719 [37m[1mDEBUG [m+ return 0
4722 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' php7.3-fpm
4724 [37m[1mDEBUG [m+ grep --count 'ok installed'
4748 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
4749 [37m[1mDEBUG [m+ local legacy_args=nalpte
4751 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
4752 [37m[1mDEBUG [m+ local -A args_array
4753 [37m[1mDEBUG [m+ local service_name
4755 [37m[1mDEBUG [m+ local action
4756 [37m[1mDEBUG [m+ local line_match
4756 [37m[1mDEBUG [m+ local length
4757 [37m[1mDEBUG [m+ local log_path
4758 [37m[1mDEBUG [m+ local timeout
4758 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
4759 [37m[1mDEBUG [m+ set +o xtrace
4936 [37m[1mDEBUG [m+ service_name=php7.3-fpm
4937 [37m[1mDEBUG [m+ action=reload
4938 [37m[1mDEBUG [m+ line_match=
4939 [37m[1mDEBUG [m+ length=20
4940 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
4941 [37m[1mDEBUG [m+ timeout=300
4942 [37m[1mDEBUG [m+ '[' reload == stop ']'
4943 [37m[1mDEBUG [m+ [[ -n '' ]]
4943 [37m[1mDEBUG [m+ '[' reload == reload ']'
4945 [37m[1mDEBUG [m+ action=reload-or-restart
4949 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
4971 [37m[1mDEBUG [m+ [[ -n '' ]]
4972 [37m[1mDEBUG [m+ '[' 7.3 '!=' 7.3 ']'
4973 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing dependencies...' --weight=1
4974 [37m[1mDEBUG [m+ set +o xtrace
5152 [37m[1mDEBUG [m+ set +o xtrace
5189 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
5189 [37m[1mDEBUG [m+ set +x
5197 [37m[1mDEBUG [m+ echo '[##########++........] > Removing dependencies...'
5198 [37m[1mDEBUG [m+ set -o xtrace
5199 [37m[1mDEBUG [m+ ynh_remove_app_dependencies
5200 [37m[1mDEBUG [m+ local dep_app=digiwords
5201 [37m[1mDEBUG [m+ local current_dependencies=
5202 [37m[1mDEBUG [m+ ynh_package_is_installed --package=digiwords-ynh-deps
5203 [37m[1mDEBUG [m+ local legacy_args=p
5204 [37m[1mDEBUG [m+ args_array=([p]=package=)
5206 [37m[1mDEBUG [m+ local -A args_array
5206 [37m[1mDEBUG [m+ local package
5207 [37m[1mDEBUG [m+ ynh_handle_getopts_args --package=digiwords-ynh-deps
5208 [37m[1mDEBUG [m+ set +o xtrace
5208 [36m[1mINFO [m[##########++........] > Removing dependencies...
5233 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
5233 [37m[1mDEBUG [m+ local try
5234 [37m[1mDEBUG [m+ set +o xtrace
6838 [37m[1mDEBUG [m+ return 0
6840 [37m[1mDEBUG [m+ grep --count 'ok installed'
6841 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
6867 [37m[1mDEBUG [m++ dpkg-query --show '--showformat=${Depends}' digiwords-ynh-deps
6901 [37m[1mDEBUG [m+ current_dependencies='php-sqlite3 '
6901 [37m[1mDEBUG [m+ current_dependencies='php-sqlite3 '
6902 [37m[1mDEBUG [m+ ynh_package_autopurge digiwords-ynh-deps
6903 [37m[1mDEBUG [m+ ynh_apt autoremove --purge digiwords-ynh-deps
6904 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
6904 [37m[1mDEBUG [m+ local try
6905 [37m[1mDEBUG [m+ set +o xtrace
8346 [37m[1mDEBUG [m+ return 0
8346 [37m[1mDEBUG [m+ LC_ALL=C
8346 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
8347 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 autoremove --purge digiwords-ynh-deps
8393 [37m[1mDEBUG [mReading package lists...
8790 [37m[1mDEBUG [mBuilding dependency tree...
8792 [37m[1mDEBUG [mReading state information...
9276 [37m[1mDEBUG [mThe following packages will be REMOVED:
9279 [37m[1mDEBUG [m digiwords-ynh-deps* php-sqlite3* php7.3-sqlite3*
9829 [37m[1mDEBUG [m0 upgraded, 0 newly installed, 3 to remove and 9 not upgraded.
9831 [37m[1mDEBUG [mAfter this operation, 148 kB disk space will be freed.
9904 [37m[1mDEBUG [m(Reading database ... 42402 files and directories currently installed.)
9909 [37m[1mDEBUG [mRemoving digiwords-ynh-deps (0.3.3~ynh1) ...
10026 [37m[1mDEBUG [mRemoving php-sqlite3 (2:7.3+69) ...
10163 [37m[1mDEBUG [mRemoving php7.3-sqlite3 (7.3.31-1~deb10u1) ...
10573 [37m[1mDEBUG [mProcessing triggers for php7.3-fpm (7.3.31-1~deb10u1) ...
11216 [37m[1mDEBUG [m(Reading database ... 42384 files and directories currently installed.)
11222 [37m[1mDEBUG [mPurging configuration files for php7.3-sqlite3 (7.3.31-1~deb10u1) ...
11303 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
11381 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
11594 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
11679 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
12210 [37m[1mDEBUG [m++ echo php-sqlite3
12212 [37m[1mDEBUG [m++ uniq
12213 [37m[1mDEBUG [m++ sort
12213 [37m[1mDEBUG [m++ sed s/php//g
12214 [37m[1mDEBUG [m++ grep -o -E '\'
12224 [37m[1mDEBUG [m++ tr - ' '
12231 [37m[1mDEBUG [m+ local specific_php_version=
12232 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
12233 [37m[1mDEBUG [m+ [[ -n '' ]]
12234 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing various files...' --weight=1
12236 [37m[1mDEBUG [m+ set +o xtrace
12396 [37m[1mDEBUG [m+ set +o xtrace
12430 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
12431 [37m[1mDEBUG [m+ set +x
12434 [37m[1mDEBUG [m+ echo '[############+++.....] > Removing various files...'
12436 [37m[1mDEBUG [m+ set -o xtrace
12437 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/log/digiwords
12439 [36m[1mINFO [m[############+++.....] > Removing various files...
12440 [37m[1mDEBUG [m+ local legacy_args=f
12444 [37m[1mDEBUG [m+ args_array=([f]=file=)
12444 [37m[1mDEBUG [m+ local -A args_array
12444 [37m[1mDEBUG [m+ local file
12445 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/log/digiwords
12446 [37m[1mDEBUG [m+ set +o xtrace
12469 [37m[1mDEBUG [m+ set +o xtrace
12502 [36m[1mINFO [m'/var/log/digiwords' wasn't deleted because it doesn't exist.
12508 [37m[1mDEBUG [m+ echo ''\''/var/log/digiwords'\'' wasn'\''t deleted because it doesn'\''t exist.'
12510 [37m[1mDEBUG [m+ set -o xtrace
12511 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing the dedicated system user...' --weight=1
12512 [37m[1mDEBUG [m+ set +o xtrace
12637 [37m[1mDEBUG [m+ set +o xtrace
12664 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
12664 [37m[1mDEBUG [m+ set +x
12670 [36m[1mINFO [m[###############++...] > Removing the dedicated system user...
12672 [37m[1mDEBUG [m+ echo '[###############++...] > Removing the dedicated system user...'
12672 [37m[1mDEBUG [m+ set -o xtrace
12673 [37m[1mDEBUG [m+ ynh_system_user_delete --username=digiwords
12673 [37m[1mDEBUG [m+ local legacy_args=u
12673 [37m[1mDEBUG [m+ args_array=([u]=username=)
12674 [37m[1mDEBUG [m+ local -A args_array
12675 [37m[1mDEBUG [m+ local username
12675 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords
12676 [37m[1mDEBUG [m+ set +o xtrace
12699 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
12700 [37m[1mDEBUG [m+ local legacy_args=u
12700 [37m[1mDEBUG [m+ args_array=([u]=username=)
12701 [37m[1mDEBUG [m+ local -A args_array
12703 [37m[1mDEBUG [m+ local username
12704 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
12704 [37m[1mDEBUG [m+ set +o xtrace
12723 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
12724 [37m[1mDEBUG [m+ set +x
12730 [37m[1mDEBUG [m+ getent passwd digiwords
12735 [37m[1mDEBUG [m+ deluser digiwords
12871 [37m[1mDEBUG [mRemoving user `digiwords' ...
12873 [37m[1mDEBUG [mWarning: group `digiwords' has no more members.
12994 [37m[1mDEBUG [mDone.
12998 [37m[1mDEBUG [m+ ynh_system_group_exists digiwords
13000 [37m[1mDEBUG [m+ local legacy_args=g
13001 [37m[1mDEBUG [m+ args_array=([g]=group=)
13001 [37m[1mDEBUG [m+ local -A args_array
13002 [37m[1mDEBUG [m+ local group
13002 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
13002 [37m[1mDEBUG [m+ set +o xtrace
13018 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
13019 [37m[1mDEBUG [m+ set +x
13025 [37m[1mDEBUG [m+ getent group digiwords
13039 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removal of digiwords completed' --last
13040 [37m[1mDEBUG [m+ set +o xtrace
13161 [37m[1mDEBUG [m+ set +o xtrace
13202 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
13203 [37m[1mDEBUG [m+ set +x
13212 [37m[1mDEBUG [m+ echo '[####################] > Removal of digiwords completed'
13214 [36m[1mINFO [m[####################] > Removal of digiwords completed
13216 [37m[1mDEBUG [m+ set -o xtrace
14222 [32m[1mSUCCESS [mdigiwords uninstalled
14317 [37m[1mDEBUG [minitializing ldap interface
14374 [37m[1mDEBUG [mPermission 'digiwords.main' deleted
14379 [37m[1mDEBUG [mTo view the log of the operation 'Delete permission 'digiwords'', use the command 'yunohost log show 20220531-094452-permission_delete-digiwords'
14396 [37m[1mDEBUG [mThe permission database has been resynchronized
14418 [37m[1mDEBUG [mSSOwat configuration regenerated
14443 [37m[1mDEBUG [mChecking that required services are up and running...
15439 [37m[1mDEBUG [mTo view the log of the operation 'Remove the 'digiwords' app', use the command 'yunohost log show 20220531-094438-app_remove-digiwords'
15453 [37m[1mDEBUG [maction [1304.1] executed in 15.199s
15454 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 16 seconds (09:44:53)
Remove successful.
[1m > Restore after removing the application...[0m
Running yunohost backup restore Backup_test --force --apps digiwords
178 [37m[1mDEBUG [minitializing base actions map parser for cli
181 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
184 [37m[1mDEBUG [mbuilding parser...
189 [37m[1mDEBUG [mbuilding parser took 0.005s
191 [37m[1mDEBUG [macquiring lock...
212 [37m[1mDEBUG [mlock has been acquired
248 [37m[1mDEBUG [mloading python module yunohost.backup took 0.036s
248 [37m[1mDEBUG [mprocessing action [3049.1]: yunohost.backup.restore with args={'name': 'Backup_test', 'system': None, 'apps': ['digiwords'], 'force': True}
249 [36m[1mINFO [mPreparing archive for restoration...
250 [37m[1mDEBUG [mExtracting needed files from the archive...
330 [37m[1mDEBUG [mrestoring from backup 'Backup_test' created on 2022-05-31 09:44:18
358 [36m[1mINFO [mRestoring digiwords...
587 [37m[1mDEBUG [minitializing ldap interface
679 [37m[1mDEBUG [mPermission 'digiwords.main' updated
701 [37m[1mDEBUG [mTo view the log of the operation 'Update URL related to permission 'digiwords'', use the command 'yunohost log show 20220531-094510-permission_url-digiwords'
745 [37m[1mDEBUG [mPermission 'digiwords.main' created
747 [37m[1mDEBUG [mTo view the log of the operation 'Create permission 'digiwords'', use the command 'yunohost log show 20220531-094510-permission_create-digiwords'
785 [37m[1mDEBUG [mThe permission database has been resynchronized
817 [37m[1mDEBUG [mSSOwat configuration regenerated
841 [37m[1mDEBUG [mLoading migration 0016_php70_to_php73_pools...
844 [37m[1mDEBUG [mLoading migration 0020_ssh_sftp_permissions...
847 [37m[1mDEBUG [mLoading migration 0018_xtable_to_nftable...
849 [37m[1mDEBUG [mLoading migration 0015_migrate_to_buster...
851 [37m[1mDEBUG [mLoading migration 0019_extend_permissions_features...
852 [37m[1mDEBUG [mLoading migration 0017_postgresql_9p6_to_11...
893 [37m[1mDEBUG [mRestoring the app 'digiwords'...
929 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "/var/cache/yunohost/app_tmp_work_dirs/app_wboj44nh/restore" 7>&1']'
945 [37m[1mDEBUG [m+ source ../settings/scripts/_common.sh
948 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
950 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
951 [37m[1mDEBUG [m+++ set +o
952 [37m[1mDEBUG [m+++ grep xtrace
955 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
957 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
958 [37m[1mDEBUG [m++ set +x
991 [37m[1mDEBUG [m+ ynh_abort_if_errors
993 [37m[1mDEBUG [m+ set -o errexit
994 [37m[1mDEBUG [m+ set -o nounset
995 [37m[1mDEBUG [m+ trap ynh_exit_properly EXIT
996 [37m[1mDEBUG [m+ ynh_script_progression '--message=Loading installation settings...' --weight=1
998 [37m[1mDEBUG [m+ set +o xtrace
1115 [37m[1mDEBUG [m+ set +o xtrace
1184 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1189 [37m[1mDEBUG [m+ set +x
1190 [37m[1mDEBUG [m+ echo '[++..................] > Loading installation settings...'
1191 [37m[1mDEBUG [m+ set -o xtrace
1193 [37m[1mDEBUG [m+ app=digiwords
1194 [36m[1mINFO [m[++..................] > Loading installation settings...
1198 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=domain
1200 [37m[1mDEBUG [m++ local _globalapp=digiwords
1201 [37m[1mDEBUG [m++ local legacy_args=ak
1205 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1207 [37m[1mDEBUG [m++ local -A args_array
1211 [37m[1mDEBUG [m++ local app
1211 [37m[1mDEBUG [m++ local key
1212 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=domain
1213 [37m[1mDEBUG [m++ set +o xtrace
1289 [37m[1mDEBUG [m++ app=digiwords
1290 [37m[1mDEBUG [m++ [[ domain =~ (unprotected|protected|skipped)_ ]]
1291 [37m[1mDEBUG [m++ ynh_app_setting get digiwords domain
1293 [37m[1mDEBUG [m++ set +o xtrace
1374 [37m[1mDEBUG [m+ domain=sub.domain.tld
1377 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=path
1378 [37m[1mDEBUG [m++ local _globalapp=digiwords
1380 [37m[1mDEBUG [m++ local legacy_args=ak
1381 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1382 [37m[1mDEBUG [m++ local -A args_array
1382 [37m[1mDEBUG [m++ local app
1383 [37m[1mDEBUG [m++ local key
1385 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=path
1389 [37m[1mDEBUG [m++ set +o xtrace
1454 [37m[1mDEBUG [m++ app=digiwords
1456 [37m[1mDEBUG [m++ [[ path =~ (unprotected|protected|skipped)_ ]]
1457 [37m[1mDEBUG [m++ ynh_app_setting get digiwords path
1458 [37m[1mDEBUG [m++ set +o xtrace
1542 [37m[1mDEBUG [m+ path_url=/
1545 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=final_path
1546 [37m[1mDEBUG [m++ local _globalapp=digiwords
1547 [37m[1mDEBUG [m++ local legacy_args=ak
1548 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1550 [37m[1mDEBUG [m++ local -A args_array
1551 [37m[1mDEBUG [m++ local app
1552 [37m[1mDEBUG [m++ local key
1554 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=final_path
1556 [37m[1mDEBUG [m++ set +o xtrace
1632 [37m[1mDEBUG [m++ app=digiwords
1633 [37m[1mDEBUG [m++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
1635 [37m[1mDEBUG [m++ ynh_app_setting get digiwords final_path
1637 [37m[1mDEBUG [m++ set +o xtrace
1783 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
1783 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=db_name
1784 [37m[1mDEBUG [m++ local _globalapp=digiwords
1784 [37m[1mDEBUG [m++ local legacy_args=ak
1785 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1787 [37m[1mDEBUG [m++ local -A args_array
1788 [37m[1mDEBUG [m++ local app
1794 [37m[1mDEBUG [m++ local key
1796 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=db_name
1800 [37m[1mDEBUG [m++ set +o xtrace
1870 [37m[1mDEBUG [m++ app=digiwords
1871 [37m[1mDEBUG [m++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
1874 [37m[1mDEBUG [m++ ynh_app_setting get digiwords db_name
1878 [37m[1mDEBUG [m++ set +o xtrace
1990 [37m[1mDEBUG [m+ db_name=
1991 [37m[1mDEBUG [m+ db_user=
1992 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
1993 [37m[1mDEBUG [m++ local _globalapp=digiwords
1995 [37m[1mDEBUG [m++ local legacy_args=ak
1996 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1996 [37m[1mDEBUG [m++ local -A args_array
1997 [37m[1mDEBUG [m++ local app
1998 [37m[1mDEBUG [m++ local key
1998 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
1999 [37m[1mDEBUG [m++ set +o xtrace
2088 [37m[1mDEBUG [m++ app=digiwords
2088 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2089 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
2089 [37m[1mDEBUG [m++ set +o xtrace
2161 [37m[1mDEBUG [m+ phpversion=7.3
2162 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=datadir
2163 [37m[1mDEBUG [m++ local _globalapp=digiwords
2165 [37m[1mDEBUG [m++ local legacy_args=ak
2166 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2166 [37m[1mDEBUG [m++ local -A args_array
2166 [37m[1mDEBUG [m++ local app
2166 [37m[1mDEBUG [m++ local key
2167 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=datadir
2168 [37m[1mDEBUG [m++ set +o xtrace
2256 [37m[1mDEBUG [m++ app=digiwords
2257 [37m[1mDEBUG [m++ [[ datadir =~ (unprotected|protected|skipped)_ ]]
2257 [37m[1mDEBUG [m++ ynh_app_setting get digiwords datadir
2258 [37m[1mDEBUG [m++ set +o xtrace
2361 [37m[1mDEBUG [m+ datadir=
2362 [37m[1mDEBUG [m+ ynh_script_progression '--message=Validating restoration parameters...' --weight=1
2363 [37m[1mDEBUG [m+ set +o xtrace
2515 [37m[1mDEBUG [m+ set +o xtrace
2560 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2561 [37m[1mDEBUG [m+ set +x
2565 [37m[1mDEBUG [m+ echo '[##++................] > Validating restoration parameters...'
2567 [36m[1mINFO [m[##++................] > Validating restoration parameters...
2567 [37m[1mDEBUG [m+ set -o xtrace
2568 [37m[1mDEBUG [m+ test '!' -d /var/www/digiwords
2568 [37m[1mDEBUG [m+ ynh_script_progression '--message=Restoring the NGINX web server configuration...' --weight=1
2569 [37m[1mDEBUG [m+ set +o xtrace
2714 [37m[1mDEBUG [m+ set +o xtrace
2737 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2739 [37m[1mDEBUG [m+ set +x
2743 [37m[1mDEBUG [m+ echo '[####++..............] > Restoring the NGINX web server configuration...'
2744 [36m[1mINFO [m[####++..............] > Restoring the NGINX web server configuration...
2746 [37m[1mDEBUG [m+ set -o xtrace
2747 [37m[1mDEBUG [m+ ynh_restore_file --origin_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2748 [37m[1mDEBUG [m+ local legacy_args=odm
2749 [37m[1mDEBUG [m+ args_array=([o]=origin_path= [d]=dest_path= [m]=not_mandatory)
2750 [37m[1mDEBUG [m+ local -A args_array
2751 [37m[1mDEBUG [m+ local origin_path
2751 [37m[1mDEBUG [m+ local dest_path
2752 [37m[1mDEBUG [m+ local not_mandatory
2752 [37m[1mDEBUG [m+ ynh_handle_getopts_args --origin_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2753 [37m[1mDEBUG [m+ set +o xtrace
2827 [37m[1mDEBUG [m+ origin_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2828 [37m[1mDEBUG [m+ dest_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2829 [37m[1mDEBUG [m+ not_mandatory=0
2829 [37m[1mDEBUG [m+ local archive_path=/home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2830 [37m[1mDEBUG [m+ '[' '!' -d /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ']'
2830 [37m[1mDEBUG [m+ '[' '!' -f /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ']'
2831 [37m[1mDEBUG [m+ [[ -e /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ]]
2831 [37m[1mDEBUG [m++ dirname /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2835 [37m[1mDEBUG [m+ mkdir --parents /etc/nginx/conf.d/sub.domain.tld.d
2838 [37m[1mDEBUG [m+ mountpoint --quiet /home/yunohost.backup/tmp/Backup_test
2850 [37m[1mDEBUG [m+ mv /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2858 [37m[1mDEBUG [m+ ynh_script_progression '--message=Recreating the dedicated system user...' --weight=1
2859 [37m[1mDEBUG [m+ set +o xtrace
2998 [37m[1mDEBUG [m+ set +o xtrace
3026 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3027 [37m[1mDEBUG [m+ set +x
3031 [36m[1mINFO [m[######++............] > Recreating the dedicated system user...
3031 [37m[1mDEBUG [m+ echo '[######++............] > Recreating the dedicated system user...'
3031 [37m[1mDEBUG [m+ set -o xtrace
3032 [37m[1mDEBUG [m+ ynh_system_user_create --username=digiwords --home_dir=/var/www/digiwords
3032 [37m[1mDEBUG [m+ local legacy_args=uhs
3032 [37m[1mDEBUG [m+ args_array=([u]=username= [h]=home_dir= [s]=use_shell [g]=groups=)
3032 [37m[1mDEBUG [m+ local -A args_array
3032 [37m[1mDEBUG [m+ local username
3032 [37m[1mDEBUG [m+ local home_dir
3033 [37m[1mDEBUG [m+ local use_shell
3033 [37m[1mDEBUG [m+ local groups
3033 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords --home_dir=/var/www/digiwords
3033 [37m[1mDEBUG [m+ set +o xtrace
3182 [37m[1mDEBUG [m+ use_shell=0
3183 [37m[1mDEBUG [m+ home_dir=/var/www/digiwords
3184 [37m[1mDEBUG [m+ groups=
3185 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
3186 [37m[1mDEBUG [m+ local legacy_args=u
3187 [37m[1mDEBUG [m+ args_array=([u]=username=)
3188 [37m[1mDEBUG [m+ local -A args_array
3188 [37m[1mDEBUG [m+ local username
3188 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
3190 [37m[1mDEBUG [m+ set +o xtrace
3207 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3207 [37m[1mDEBUG [m+ set +x
3210 [37m[1mDEBUG [m+ getent passwd digiwords
3225 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
3225 [37m[1mDEBUG [m+ local 'user_home_dir=--home-dir /var/www/digiwords'
3225 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
3226 [37m[1mDEBUG [m+ local 'shell=--shell /usr/sbin/nologin'
3226 [37m[1mDEBUG [m+ useradd --home-dir /var/www/digiwords --system --user-group digiwords --shell /usr/sbin/nologin
3337 [37m[1mDEBUG [m+ local group
3338 [37m[1mDEBUG [m+ ynh_script_progression '--message=Restoring the app main directory...' --weight=1
3340 [37m[1mDEBUG [m+ set +o xtrace
3466 [37m[1mDEBUG [m+ set +o xtrace
3497 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3498 [37m[1mDEBUG [m+ set +x
3503 [37m[1mDEBUG [m+ echo '[########+++.........] > Restoring the app main directory...'
3504 [37m[1mDEBUG [m+ set -o xtrace
3504 [37m[1mDEBUG [m+ ynh_restore_file --origin_path=/var/www/digiwords
3505 [37m[1mDEBUG [m+ local legacy_args=odm
3507 [37m[1mDEBUG [m+ args_array=([o]=origin_path= [d]=dest_path= [m]=not_mandatory)
3507 [36m[1mINFO [m[########+++.........] > Restoring the app main directory...
3508 [37m[1mDEBUG [m+ local -A args_array
3509 [37m[1mDEBUG [m+ local origin_path
3509 [37m[1mDEBUG [m+ local dest_path
3509 [37m[1mDEBUG [m+ local not_mandatory
3510 [37m[1mDEBUG [m+ ynh_handle_getopts_args --origin_path=/var/www/digiwords
3510 [37m[1mDEBUG [m+ set +o xtrace
3579 [37m[1mDEBUG [m+ origin_path=/var/www/digiwords
3580 [37m[1mDEBUG [m+ dest_path=/var/www/digiwords
3588 [37m[1mDEBUG [m+ not_mandatory=0
3592 [37m[1mDEBUG [m+ local archive_path=/home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/var/www/digiwords
3595 [37m[1mDEBUG [m+ '[' '!' -d /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/var/www/digiwords ']'
3596 [37m[1mDEBUG [m+ [[ -e /var/www/digiwords ]]
3596 [37m[1mDEBUG [m++ dirname /var/www/digiwords
3598 [37m[1mDEBUG [m+ mkdir --parents /var/www
3599 [37m[1mDEBUG [m+ mountpoint --quiet /home/yunohost.backup/tmp/Backup_test
3600 [37m[1mDEBUG [m+ mv /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/var/www/digiwords /var/www/digiwords
3604 [37m[1mDEBUG [m+ chmod 750 /var/www/digiwords
3609 [37m[1mDEBUG [m+ chmod -R o-rwx /var/www/digiwords
3616 [37m[1mDEBUG [m+ chown -R digiwords:www-data /var/www/digiwords
3629 [37m[1mDEBUG [m+ ynh_script_progression '--message=Restoring the PHP-FPM configuration...' --weight=1
3630 [37m[1mDEBUG [m+ set +o xtrace
3805 [37m[1mDEBUG [m+ set +o xtrace
3842 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3843 [37m[1mDEBUG [m+ set +x
3847 [36m[1mINFO [m[###########++.......] > Restoring the PHP-FPM configuration...
3847 [37m[1mDEBUG [m+ echo '[###########++.......] > Restoring the PHP-FPM configuration...'
3848 [37m[1mDEBUG [m+ set -o xtrace
3849 [37m[1mDEBUG [m+ ynh_restore_file --origin_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
3849 [37m[1mDEBUG [m+ local legacy_args=odm
3849 [37m[1mDEBUG [m+ args_array=([o]=origin_path= [d]=dest_path= [m]=not_mandatory)
3849 [37m[1mDEBUG [m+ local -A args_array
3850 [37m[1mDEBUG [m+ local origin_path
3850 [37m[1mDEBUG [m+ local dest_path
3850 [37m[1mDEBUG [m+ local not_mandatory
3850 [37m[1mDEBUG [m+ ynh_handle_getopts_args --origin_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
3850 [37m[1mDEBUG [m+ set +o xtrace
3913 [37m[1mDEBUG [m+ origin_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
3915 [37m[1mDEBUG [m+ dest_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
3916 [37m[1mDEBUG [m+ not_mandatory=0
3917 [37m[1mDEBUG [m+ local archive_path=/home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
3918 [37m[1mDEBUG [m+ '[' '!' -d /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf ']'
3919 [37m[1mDEBUG [m+ '[' '!' -f /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf ']'
3919 [37m[1mDEBUG [m+ [[ -e /etc/php/7.3/fpm/pool.d/digiwords.conf ]]
3920 [37m[1mDEBUG [m++ dirname /etc/php/7.3/fpm/pool.d/digiwords.conf
3924 [37m[1mDEBUG [m+ mkdir --parents /etc/php/7.3/fpm/pool.d
3926 [37m[1mDEBUG [m+ mountpoint --quiet /home/yunohost.backup/tmp/Backup_test
3930 [37m[1mDEBUG [m+ mv /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf /etc/php/7.3/fpm/pool.d/digiwords.conf
3934 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reinstalling dependencies...' --weight=1
3934 [37m[1mDEBUG [m+ set +o xtrace
4055 [37m[1mDEBUG [m+ set +o xtrace
4086 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
4087 [37m[1mDEBUG [m+ set +x
4093 [36m[1mINFO [m[#############++.....] > Reinstalling dependencies...
4094 [37m[1mDEBUG [m+ echo '[#############++.....] > Reinstalling dependencies...'
4095 [37m[1mDEBUG [m+ set -o xtrace
4096 [37m[1mDEBUG [m+ ynh_install_app_dependencies php-sqlite3
4096 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
4098 [37m[1mDEBUG [m++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
4099 [37m[1mDEBUG [m++ echo php-sqlite3
4103 [37m[1mDEBUG [m+ dependencies=php-sqlite3
4104 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
4105 [37m[1mDEBUG [m+ local manifest_path=/home/yunohost.backup/tmp/Backup_test/apps/digiwords/settings/manifest.json
4106 [37m[1mDEBUG [m++ jq -r .version /home/yunohost.backup/tmp/Backup_test/apps/digiwords/settings/manifest.json
4118 [37m[1mDEBUG [m+ local version=0.3.3~ynh1
4119 [37m[1mDEBUG [m+ '[' -z 0.3.3~ynh1 ']'
4120 [37m[1mDEBUG [m+ '[' 0.3.3~ynh1 == null ']'
4121 [37m[1mDEBUG [m+ local dep_app=digiwords
4122 [37m[1mDEBUG [m+ [[ php-sqlite3 =~ [<=>] ]]
4122 [37m[1mDEBUG [m++ echo php-sqlite3
4127 [37m[1mDEBUG [m++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
4128 [37m[1mDEBUG [m++ sort -u
4133 [37m[1mDEBUG [m+ local specific_php_version=
4133 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
4134 [37m[1mDEBUG [m+ [[ -n '' ]]
4134 [37m[1mDEBUG [m+ [[ true == \t\r\u\e ]]
4135 [37m[1mDEBUG [m+ YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
4135 [37m[1mDEBUG [m+ grep --quiet php
4149 [37m[1mDEBUG [m+ dpkg --list
4150 [37m[1mDEBUG [m+ grep --quiet --invert-match 7.0.33-0+deb9
4151 [37m[1mDEBUG [m+ grep php7.0
4184 [37m[1mDEBUG [m+ cat
4188 [37m[1mDEBUG [m+ ynh_package_install_from_equivs /tmp/digiwords-ynh-deps.control
4188 [37m[1mDEBUG [m+ local controlfile=/tmp/digiwords-ynh-deps.control
4195 [37m[1mDEBUG [m++ grep '^Package: ' /tmp/digiwords-ynh-deps.control
4196 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
4204 [37m[1mDEBUG [m+ local pkgname=digiwords-ynh-deps
4208 [37m[1mDEBUG [m++ grep '^Version: ' /tmp/digiwords-ynh-deps.control
4209 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
4218 [37m[1mDEBUG [m+ local pkgversion=0.3.3~ynh1
4219 [37m[1mDEBUG [m+ [[ -z digiwords-ynh-deps ]]
4221 [37m[1mDEBUG [m+ [[ -z 0.3.3~ynh1 ]]
4222 [37m[1mDEBUG [m+ ynh_package_update
4223 [37m[1mDEBUG [m+ ynh_apt update
4224 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
4224 [37m[1mDEBUG [m+ local try
4226 [37m[1mDEBUG [m+ set +o xtrace
5706 [37m[1mDEBUG [m+ return 0
5707 [37m[1mDEBUG [m+ LC_ALL=C
5707 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
5707 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
5835 [37m[1mDEBUG [mHit:1 http://forge.yunohost.org/debian buster InRelease
5835 [37m[1mDEBUG [mHit:2 http://deb.debian.org/debian buster InRelease
5837 [37m[1mDEBUG [mHit:3 http://deb.debian.org/debian buster-updates InRelease
5845 [37m[1mDEBUG [mHit:4 http://deb.debian.org/debian-security buster/updates InRelease
8407 [37m[1mDEBUG [mReading package lists...
8450 [37m[1mDEBUG [m++ mktemp --directory
8454 [37m[1mDEBUG [m+ local TMPDIR=/tmp/tmp.nXQCEeLO0r
8455 [37m[1mDEBUG [m+ echo 10
8457 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
8458 [37m[1mDEBUG [m+ local try
8458 [37m[1mDEBUG [m+ set +o xtrace
9927 [37m[1mDEBUG [m+ return 0
9928 [37m[1mDEBUG [m+ cp /tmp/digiwords-ynh-deps.control /tmp/tmp.nXQCEeLO0r/control
9935 [37m[1mDEBUG [m+ cd /tmp/tmp.nXQCEeLO0r
9936 [37m[1mDEBUG [m+ LC_ALL=C
9937 [37m[1mDEBUG [m+ equivs-build ./control
12016 [37m[1mDEBUG [m+ LC_ALL=C
12016 [37m[1mDEBUG [m+ dpkg --force-depends --install ./digiwords-ynh-deps_0.3.3~ynh1_all.deb
12017 [37m[1mDEBUG [m+ tee ./dpkg_log
12086 [37m[1mDEBUG [mSelecting previously unselected package digiwords-ynh-deps.
12128 [37m[1mDEBUG [m(Reading database ... 42385 files and directories currently installed.)
12135 [37m[1mDEBUG [mPreparing to unpack .../digiwords-ynh-deps_0.3.3~ynh1_all.deb ...
12154 [37m[1mDEBUG [mUnpacking digiwords-ynh-deps (0.3.3~ynh1) ...
12227 [37m[1mDEBUG [mdpkg: digiwords-ynh-deps: dependency problems, but configuring anyway as you requested:
12229 [37m[1mDEBUG [m digiwords-ynh-deps depends on php-sqlite3; however:
12230 [37m[1mDEBUG [m Package php-sqlite3 is not installed.
12230 [37m[1mDEBUG [m
12231 [37m[1mDEBUG [mSetting up digiwords-ynh-deps (0.3.3~ynh1) ...
12302 [37m[1mDEBUG [m+ ynh_package_install --fix-broken
12304 [37m[1mDEBUG [m+ ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
12305 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
12306 [37m[1mDEBUG [m+ local try
12307 [37m[1mDEBUG [m+ set +o xtrace
13738 [37m[1mDEBUG [m+ return 0
13740 [37m[1mDEBUG [m+ LC_ALL=C
13741 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
13742 [37m[1mDEBUG [m+ 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
13943 [37m[1mDEBUG [mReading package lists...
14390 [37m[1mDEBUG [mBuilding dependency tree...
14391 [37m[1mDEBUG [mReading state information...
14647 [37m[1mDEBUG [mCorrecting dependencies... Done
15102 [37m[1mDEBUG [mThe following additional packages will be installed:
15110 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
15142 [37m[1mDEBUG [mThe following NEW packages will be installed:
15143 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
15748 [37m[1mDEBUG [m0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
15749 [37m[1mDEBUG [mNeed to get 0 B/32.2 kB of archives.
15750 [37m[1mDEBUG [mAfter this operation, 139 kB of additional disk space will be used.
15916 [37m[1mDEBUG [mSelecting previously unselected package php7.3-sqlite3.
15964 [37m[1mDEBUG [m(Reading database ... 42389 files and directories currently installed.)
15969 [37m[1mDEBUG [mPreparing to unpack .../php7.3-sqlite3_7.3.31-1~deb10u1_amd64.deb ...
16001 [37m[1mDEBUG [mUnpacking php7.3-sqlite3 (7.3.31-1~deb10u1) ...
16135 [37m[1mDEBUG [mSelecting previously unselected package php-sqlite3.
16148 [37m[1mDEBUG [mPreparing to unpack .../php-sqlite3_2%3a7.3+69_all.deb ...
16167 [37m[1mDEBUG [mUnpacking php-sqlite3 (2:7.3+69) ...
16294 [37m[1mDEBUG [mSetting up php7.3-sqlite3 (7.3.31-1~deb10u1) ...
16329 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16582 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16695 [37m[1mDEBUG [m
16698 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/sqlite3.ini with new version
16824 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
17115 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
17373 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
17474 [37m[1mDEBUG [m
17479 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/pdo_sqlite.ini with new version
17587 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
17857 [37m[1mDEBUG [mSetting up php-sqlite3 (2:7.3+69) ...
17917 [37m[1mDEBUG [mProcessing triggers for php7.3-fpm (7.3.31-1~deb10u1) ...
18690 [37m[1mDEBUG [m+ [[ -n /tmp/tmp.nXQCEeLO0r ]]
18691 [37m[1mDEBUG [m+ rm --recursive --force /tmp/tmp.nXQCEeLO0r
18695 [37m[1mDEBUG [m+ ynh_package_is_installed digiwords-ynh-deps
18696 [37m[1mDEBUG [m+ local legacy_args=p
18697 [37m[1mDEBUG [m+ args_array=([p]=package=)
18697 [37m[1mDEBUG [m+ local -A args_array
18698 [37m[1mDEBUG [m+ local package
18698 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords-ynh-deps
18698 [37m[1mDEBUG [m+ set +o xtrace
18709 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
18709 [37m[1mDEBUG [m+ set +x
18711 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
18712 [37m[1mDEBUG [m+ local try
18713 [37m[1mDEBUG [m+ set +o xtrace
20197 [37m[1mDEBUG [m+ return 0
20198 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
20200 [37m[1mDEBUG [m+ grep --count 'ok installed'
20227 [37m[1mDEBUG [m+ rm /tmp/digiwords-ynh-deps.control
20230 [37m[1mDEBUG [m+ [[ -n '' ]]
20232 [37m[1mDEBUG [m+ grep --quiet php
20238 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
20239 [37m[1mDEBUG [m+ local _globalapp=digiwords
20240 [37m[1mDEBUG [m+ local legacy_args=akv
20241 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
20242 [37m[1mDEBUG [m+ local -A args_array
20243 [37m[1mDEBUG [m+ local app
20243 [37m[1mDEBUG [m+ local key
20244 [37m[1mDEBUG [m+ local value
20245 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
20246 [37m[1mDEBUG [m+ set +o xtrace
20354 [37m[1mDEBUG [m+ app=digiwords
20355 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
20357 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
20358 [37m[1mDEBUG [m+ set +o xtrace
20445 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reloading NGINX web server and PHP-FPM...' --weight=1
20446 [37m[1mDEBUG [m+ set +o xtrace
20605 [37m[1mDEBUG [m+ set +o xtrace
20633 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
20635 [37m[1mDEBUG [m+ set +x
20640 [36m[1mINFO [m[###############++...] > Reloading NGINX web server and PHP-FPM...
20643 [37m[1mDEBUG [m+ echo '[###############++...] > Reloading NGINX web server and PHP-FPM...'
20647 [37m[1mDEBUG [m+ set -o xtrace
20651 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
20651 [37m[1mDEBUG [m+ local legacy_args=nalpte
20652 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
20652 [37m[1mDEBUG [m+ local -A args_array
20652 [37m[1mDEBUG [m+ local service_name
20654 [37m[1mDEBUG [m+ local action
20654 [37m[1mDEBUG [m+ local line_match
20655 [37m[1mDEBUG [m+ local length
20656 [37m[1mDEBUG [m+ local log_path
20657 [37m[1mDEBUG [m+ local timeout
20659 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
20660 [37m[1mDEBUG [m+ set +o xtrace
20858 [37m[1mDEBUG [m+ service_name=php7.3-fpm
20859 [37m[1mDEBUG [m+ action=reload
20861 [37m[1mDEBUG [m+ line_match=
20862 [37m[1mDEBUG [m+ length=20
20864 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
20864 [37m[1mDEBUG [m+ timeout=300
20866 [37m[1mDEBUG [m+ '[' reload == stop ']'
20866 [37m[1mDEBUG [m+ [[ -n '' ]]
20867 [37m[1mDEBUG [m+ '[' reload == reload ']'
20868 [37m[1mDEBUG [m+ action=reload-or-restart
20868 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
20890 [37m[1mDEBUG [m+ [[ -n '' ]]
20891 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
20893 [37m[1mDEBUG [m+ local legacy_args=nalpte
20894 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
20895 [37m[1mDEBUG [m+ local -A args_array
20897 [37m[1mDEBUG [m+ local service_name
20898 [37m[1mDEBUG [m+ local action
20899 [37m[1mDEBUG [m+ local line_match
20900 [37m[1mDEBUG [m+ local length
20901 [37m[1mDEBUG [m+ local log_path
20902 [37m[1mDEBUG [m+ local timeout
20903 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
20904 [37m[1mDEBUG [m+ set +o xtrace
21097 [37m[1mDEBUG [m+ service_name=nginx
21099 [37m[1mDEBUG [m+ action=reload
21100 [37m[1mDEBUG [m+ line_match=
21102 [37m[1mDEBUG [m+ length=20
21104 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
21105 [37m[1mDEBUG [m+ timeout=300
21107 [37m[1mDEBUG [m+ '[' reload == stop ']'
21109 [37m[1mDEBUG [m+ [[ -n '' ]]
21110 [37m[1mDEBUG [m+ '[' reload == reload ']'
21112 [37m[1mDEBUG [m+ action=reload-or-restart
21115 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
21189 [37m[1mDEBUG [m+ [[ -n '' ]]
21191 [37m[1mDEBUG [m+ ynh_script_progression '--message=Restoration completed for digiwords' --last
21194 [37m[1mDEBUG [m+ set +o xtrace
21330 [37m[1mDEBUG [m+ set +o xtrace
21354 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
21355 [37m[1mDEBUG [m+ set +x
21359 [37m[1mDEBUG [m+ echo '[####################] > Restoration completed for digiwords'
21360 [37m[1mDEBUG [m+ set -o xtrace
21361 [37m[1mDEBUG [m+ ynh_exit_properly
21362 [37m[1mDEBUG [m+ local exit_code=0
21363 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/download/
21365 [36m[1mINFO [m[####################] > Restoration completed for digiwords
21369 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
21370 [37m[1mDEBUG [m+ exit 0
22376 [37m[1mDEBUG [mTo view the log of the operation 'Restore 'digiwords' from a backup archive', use the command 'yunohost log show 20220531-094509-backup_restore_app-digiwords'
22413 [37m[1mDEBUG [mThe permission database has been resynchronized
22445 [37m[1mDEBUG [mSSOwat configuration regenerated
22467 [32m[1mSUCCESS [mRestoration completed
22467 [37m[1mDEBUG [maction [3049.1] executed in 22.219s
22468 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 23 seconds (09:45:32)
[1m > Validating that the app digiwords can/can't be accessed with its URL...[0m
Running curl sub.domain.tld
200;https://sub.domain.tld/
Return code: 0
Working time: 0s (09:45:46)
Return code: 0
Working time: 0s (09:45:49)
HTTP code: 200
Test URL: sub.domain.tld
Real URL: https://sub.domain.tld/
HTTP code: 200
Page title:
Page extract:
Running curl sub.domain.tld/
Return code: 0
Working time: 0s (09:45:56)
Digiwords by La DigitaleReturn code: 0
Working time: 0s (09:45:59)
HTTP code:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Test URL: sub.domain.tld/
Real URL:
HTTP code:
Page title:
Page extract:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Loading snapshot snap0 ...
[1m > Restore on a fresh YunoHost system...[0m
Running yunohost backup restore Backup_test --force --apps digiwords
175 [37m[1mDEBUG [minitializing base actions map parser for cli
179 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
183 [37m[1mDEBUG [mbuilding parser...
191 [37m[1mDEBUG [mbuilding parser took 0.008s
194 [37m[1mDEBUG [macquiring lock...
222 [37m[1mDEBUG [mlock has been acquired
296 [37m[1mDEBUG [mloading python module yunohost.backup took 0.074s
297 [37m[1mDEBUG [mprocessing action [861.1]: yunohost.backup.restore with args={'name': 'Backup_test', 'system': None, 'apps': ['digiwords'], 'force': True}
300 [36m[1mINFO [mPreparing archive for restoration...
301 [37m[1mDEBUG [mExtracting needed files from the archive...
400 [37m[1mDEBUG [mrestoring from backup 'Backup_test' created on 2022-05-31 09:44:18
437 [36m[1mINFO [mRestoring digiwords...
652 [37m[1mDEBUG [minitializing ldap interface
743 [37m[1mDEBUG [mPermission 'digiwords.main' updated
769 [37m[1mDEBUG [mTo view the log of the operation 'Update URL related to permission 'digiwords'', use the command 'yunohost log show 20220531-094712-permission_url-digiwords'
817 [37m[1mDEBUG [mPermission 'digiwords.main' created
820 [37m[1mDEBUG [mTo view the log of the operation 'Create permission 'digiwords'', use the command 'yunohost log show 20220531-094712-permission_create-digiwords'
854 [37m[1mDEBUG [mThe permission database has been resynchronized
888 [37m[1mDEBUG [mSSOwat configuration regenerated
910 [37m[1mDEBUG [mLoading migration 0016_php70_to_php73_pools...
916 [37m[1mDEBUG [mLoading migration 0020_ssh_sftp_permissions...
919 [37m[1mDEBUG [mLoading migration 0018_xtable_to_nftable...
922 [37m[1mDEBUG [mLoading migration 0015_migrate_to_buster...
924 [37m[1mDEBUG [mLoading migration 0019_extend_permissions_features...
926 [37m[1mDEBUG [mLoading migration 0017_postgresql_9p6_to_11...
966 [37m[1mDEBUG [mRestoring the app 'digiwords'...
1005 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "/var/cache/yunohost/app_tmp_work_dirs/app_5072egzg/restore" 7>&1']'
1026 [37m[1mDEBUG [m+ source ../settings/scripts/_common.sh
1028 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
1029 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
1030 [37m[1mDEBUG [m+++ set +o
1031 [37m[1mDEBUG [m+++ grep xtrace
1034 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
1038 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
1040 [37m[1mDEBUG [m++ set +x
1092 [37m[1mDEBUG [m+ ynh_abort_if_errors
1094 [37m[1mDEBUG [m+ set -o errexit
1096 [37m[1mDEBUG [m+ set -o nounset
1098 [37m[1mDEBUG [m+ trap ynh_exit_properly EXIT
1100 [37m[1mDEBUG [m+ ynh_script_progression '--message=Loading installation settings...' --weight=1
1101 [37m[1mDEBUG [m+ set +o xtrace
1196 [37m[1mDEBUG [m+ set +o xtrace
1246 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1250 [37m[1mDEBUG [m+ set +x
1253 [36m[1mINFO [m[++..................] > Loading installation settings...
1258 [37m[1mDEBUG [m+ echo '[++..................] > Loading installation settings...'
1259 [37m[1mDEBUG [m+ set -o xtrace
1261 [37m[1mDEBUG [m+ app=digiwords
1262 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=domain
1262 [37m[1mDEBUG [m++ local _globalapp=digiwords
1263 [37m[1mDEBUG [m++ local legacy_args=ak
1264 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1264 [37m[1mDEBUG [m++ local -A args_array
1265 [37m[1mDEBUG [m++ local app
1266 [37m[1mDEBUG [m++ local key
1266 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=domain
1267 [37m[1mDEBUG [m++ set +o xtrace
1322 [37m[1mDEBUG [m++ app=digiwords
1323 [37m[1mDEBUG [m++ [[ domain =~ (unprotected|protected|skipped)_ ]]
1325 [37m[1mDEBUG [m++ ynh_app_setting get digiwords domain
1327 [37m[1mDEBUG [m++ set +o xtrace
1414 [37m[1mDEBUG [m+ domain=sub.domain.tld
1415 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=path
1416 [37m[1mDEBUG [m++ local _globalapp=digiwords
1417 [37m[1mDEBUG [m++ local legacy_args=ak
1418 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1418 [37m[1mDEBUG [m++ local -A args_array
1420 [37m[1mDEBUG [m++ local app
1421 [37m[1mDEBUG [m++ local key
1422 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=path
1422 [37m[1mDEBUG [m++ set +o xtrace
1485 [37m[1mDEBUG [m++ app=digiwords
1487 [37m[1mDEBUG [m++ [[ path =~ (unprotected|protected|skipped)_ ]]
1494 [37m[1mDEBUG [m++ ynh_app_setting get digiwords path
1495 [37m[1mDEBUG [m++ set +o xtrace
1571 [37m[1mDEBUG [m+ path_url=/
1573 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=final_path
1575 [37m[1mDEBUG [m++ local _globalapp=digiwords
1576 [37m[1mDEBUG [m++ local legacy_args=ak
1577 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1579 [37m[1mDEBUG [m++ local -A args_array
1580 [37m[1mDEBUG [m++ local app
1581 [37m[1mDEBUG [m++ local key
1582 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=final_path
1583 [37m[1mDEBUG [m++ set +o xtrace
1636 [37m[1mDEBUG [m++ app=digiwords
1637 [37m[1mDEBUG [m++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
1639 [37m[1mDEBUG [m++ ynh_app_setting get digiwords final_path
1641 [37m[1mDEBUG [m++ set +o xtrace
1727 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
1729 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=db_name
1730 [37m[1mDEBUG [m++ local _globalapp=digiwords
1733 [37m[1mDEBUG [m++ local legacy_args=ak
1735 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1737 [37m[1mDEBUG [m++ local -A args_array
1738 [37m[1mDEBUG [m++ local app
1739 [37m[1mDEBUG [m++ local key
1740 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=db_name
1741 [37m[1mDEBUG [m++ set +o xtrace
1799 [37m[1mDEBUG [m++ app=digiwords
1802 [37m[1mDEBUG [m++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
1805 [37m[1mDEBUG [m++ ynh_app_setting get digiwords db_name
1806 [37m[1mDEBUG [m++ set +o xtrace
1886 [37m[1mDEBUG [m+ db_name=
1889 [37m[1mDEBUG [m+ db_user=
1893 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
1895 [37m[1mDEBUG [m++ local _globalapp=digiwords
1898 [37m[1mDEBUG [m++ local legacy_args=ak
1899 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1900 [37m[1mDEBUG [m++ local -A args_array
1901 [37m[1mDEBUG [m++ local app
1902 [37m[1mDEBUG [m++ local key
1902 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
1903 [37m[1mDEBUG [m++ set +o xtrace
1960 [37m[1mDEBUG [m++ app=digiwords
1963 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
1965 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
1966 [37m[1mDEBUG [m++ set +o xtrace
2038 [37m[1mDEBUG [m+ phpversion=7.3
2040 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=datadir
2043 [37m[1mDEBUG [m++ local _globalapp=digiwords
2047 [37m[1mDEBUG [m++ local legacy_args=ak
2049 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2050 [37m[1mDEBUG [m++ local -A args_array
2051 [37m[1mDEBUG [m++ local app
2051 [37m[1mDEBUG [m++ local key
2053 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=datadir
2053 [37m[1mDEBUG [m++ set +o xtrace
2107 [37m[1mDEBUG [m++ app=digiwords
2109 [37m[1mDEBUG [m++ [[ datadir =~ (unprotected|protected|skipped)_ ]]
2111 [37m[1mDEBUG [m++ ynh_app_setting get digiwords datadir
2117 [37m[1mDEBUG [m++ set +o xtrace
2186 [37m[1mDEBUG [m+ datadir=
2188 [37m[1mDEBUG [m+ ynh_script_progression '--message=Validating restoration parameters...' --weight=1
2189 [37m[1mDEBUG [m+ set +o xtrace
2308 [37m[1mDEBUG [m+ set +o xtrace
2333 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2334 [37m[1mDEBUG [m+ set +x
2338 [37m[1mDEBUG [m+ echo '[##++................] > Validating restoration parameters...'
2340 [37m[1mDEBUG [m+ set -o xtrace
2343 [37m[1mDEBUG [m+ test '!' -d /var/www/digiwords
2346 [37m[1mDEBUG [m+ ynh_script_progression '--message=Restoring the NGINX web server configuration...' --weight=1
2349 [37m[1mDEBUG [m+ set +o xtrace
2353 [36m[1mINFO [m[##++................] > Validating restoration parameters...
2486 [37m[1mDEBUG [m+ set +o xtrace
2512 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2513 [37m[1mDEBUG [m+ set +x
2517 [37m[1mDEBUG [m+ echo '[####++..............] > Restoring the NGINX web server configuration...'
2518 [36m[1mINFO [m[####++..............] > Restoring the NGINX web server configuration...
2518 [37m[1mDEBUG [m+ set -o xtrace
2522 [37m[1mDEBUG [m+ ynh_restore_file --origin_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2523 [37m[1mDEBUG [m+ local legacy_args=odm
2523 [37m[1mDEBUG [m+ args_array=([o]=origin_path= [d]=dest_path= [m]=not_mandatory)
2524 [37m[1mDEBUG [m+ local -A args_array
2525 [37m[1mDEBUG [m+ local origin_path
2525 [37m[1mDEBUG [m+ local dest_path
2526 [37m[1mDEBUG [m+ local not_mandatory
2527 [37m[1mDEBUG [m+ ynh_handle_getopts_args --origin_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2528 [37m[1mDEBUG [m+ set +o xtrace
2591 [37m[1mDEBUG [m+ origin_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2592 [37m[1mDEBUG [m+ dest_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2593 [37m[1mDEBUG [m+ not_mandatory=0
2594 [37m[1mDEBUG [m+ local archive_path=/home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2594 [37m[1mDEBUG [m+ '[' '!' -d /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ']'
2595 [37m[1mDEBUG [m+ '[' '!' -f /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ']'
2595 [37m[1mDEBUG [m+ [[ -e /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ]]
2595 [37m[1mDEBUG [m++ dirname /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2599 [37m[1mDEBUG [m+ mkdir --parents /etc/nginx/conf.d/sub.domain.tld.d
2608 [37m[1mDEBUG [m+ mountpoint --quiet /home/yunohost.backup/tmp/Backup_test
2614 [37m[1mDEBUG [m+ mv /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2622 [37m[1mDEBUG [m+ ynh_script_progression '--message=Recreating the dedicated system user...' --weight=1
2623 [37m[1mDEBUG [m+ set +o xtrace
2756 [37m[1mDEBUG [m+ set +o xtrace
2782 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2784 [37m[1mDEBUG [m+ set +x
2786 [37m[1mDEBUG [m+ echo '[######++............] > Recreating the dedicated system user...'
2787 [37m[1mDEBUG [m+ set -o xtrace
2788 [37m[1mDEBUG [m+ ynh_system_user_create --username=digiwords --home_dir=/var/www/digiwords
2788 [36m[1mINFO [m[######++............] > Recreating the dedicated system user...
2789 [37m[1mDEBUG [m+ local legacy_args=uhs
2789 [37m[1mDEBUG [m+ args_array=([u]=username= [h]=home_dir= [s]=use_shell [g]=groups=)
2795 [37m[1mDEBUG [m+ local -A args_array
2796 [37m[1mDEBUG [m+ local username
2797 [37m[1mDEBUG [m+ local home_dir
2798 [37m[1mDEBUG [m+ local use_shell
2800 [37m[1mDEBUG [m+ local groups
2801 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords --home_dir=/var/www/digiwords
2801 [37m[1mDEBUG [m+ set +o xtrace
2943 [37m[1mDEBUG [m+ use_shell=0
2944 [37m[1mDEBUG [m+ home_dir=/var/www/digiwords
2945 [37m[1mDEBUG [m+ groups=
2946 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
2946 [37m[1mDEBUG [m+ local legacy_args=u
2947 [37m[1mDEBUG [m+ args_array=([u]=username=)
2948 [37m[1mDEBUG [m+ local -A args_array
2948 [37m[1mDEBUG [m+ local username
2949 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
2950 [37m[1mDEBUG [m+ set +o xtrace
2980 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2983 [37m[1mDEBUG [m+ set +x
2986 [37m[1mDEBUG [m+ getent passwd digiwords
3000 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
3001 [37m[1mDEBUG [m+ local 'user_home_dir=--home-dir /var/www/digiwords'
3003 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
3004 [37m[1mDEBUG [m+ local 'shell=--shell /usr/sbin/nologin'
3005 [37m[1mDEBUG [m+ useradd --home-dir /var/www/digiwords --system --user-group digiwords --shell /usr/sbin/nologin
3105 [37m[1mDEBUG [m+ local group
3106 [37m[1mDEBUG [m+ ynh_script_progression '--message=Restoring the app main directory...' --weight=1
3107 [37m[1mDEBUG [m+ set +o xtrace
3230 [37m[1mDEBUG [m+ set +o xtrace
3251 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3252 [37m[1mDEBUG [m+ set +x
3258 [37m[1mDEBUG [m+ echo '[########+++.........] > Restoring the app main directory...'
3260 [37m[1mDEBUG [m+ set -o xtrace
3262 [36m[1mINFO [m[########+++.........] > Restoring the app main directory...
3263 [37m[1mDEBUG [m+ ynh_restore_file --origin_path=/var/www/digiwords
3264 [37m[1mDEBUG [m+ local legacy_args=odm
3268 [37m[1mDEBUG [m+ args_array=([o]=origin_path= [d]=dest_path= [m]=not_mandatory)
3269 [37m[1mDEBUG [m+ local -A args_array
3271 [37m[1mDEBUG [m+ local origin_path
3271 [37m[1mDEBUG [m+ local dest_path
3273 [37m[1mDEBUG [m+ local not_mandatory
3274 [37m[1mDEBUG [m+ ynh_handle_getopts_args --origin_path=/var/www/digiwords
3275 [37m[1mDEBUG [m+ set +o xtrace
3331 [37m[1mDEBUG [m+ origin_path=/var/www/digiwords
3332 [37m[1mDEBUG [m+ dest_path=/var/www/digiwords
3333 [37m[1mDEBUG [m+ not_mandatory=0
3334 [37m[1mDEBUG [m+ local archive_path=/home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/var/www/digiwords
3334 [37m[1mDEBUG [m+ '[' '!' -d /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/var/www/digiwords ']'
3335 [37m[1mDEBUG [m+ [[ -e /var/www/digiwords ]]
3336 [37m[1mDEBUG [m++ dirname /var/www/digiwords
3340 [37m[1mDEBUG [m+ mkdir --parents /var/www
3343 [37m[1mDEBUG [m+ mountpoint --quiet /home/yunohost.backup/tmp/Backup_test
3348 [37m[1mDEBUG [m+ mv /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/var/www/digiwords /var/www/digiwords
3354 [37m[1mDEBUG [m+ chmod 750 /var/www/digiwords
3357 [37m[1mDEBUG [m+ chmod -R o-rwx /var/www/digiwords
3360 [37m[1mDEBUG [m+ chown -R digiwords:www-data /var/www/digiwords
3370 [37m[1mDEBUG [m+ ynh_script_progression '--message=Restoring the PHP-FPM configuration...' --weight=1
3371 [37m[1mDEBUG [m+ set +o xtrace
3509 [37m[1mDEBUG [m+ set +o xtrace
3534 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3535 [37m[1mDEBUG [m+ set +x
3538 [36m[1mINFO [m[###########++.......] > Restoring the PHP-FPM configuration...
3546 [37m[1mDEBUG [m+ echo '[###########++.......] > Restoring the PHP-FPM configuration...'
3546 [37m[1mDEBUG [m+ set -o xtrace
3546 [37m[1mDEBUG [m+ ynh_restore_file --origin_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
3546 [37m[1mDEBUG [m+ local legacy_args=odm
3546 [37m[1mDEBUG [m+ args_array=([o]=origin_path= [d]=dest_path= [m]=not_mandatory)
3547 [37m[1mDEBUG [m+ local -A args_array
3547 [37m[1mDEBUG [m+ local origin_path
3547 [37m[1mDEBUG [m+ local dest_path
3547 [37m[1mDEBUG [m+ local not_mandatory
3547 [37m[1mDEBUG [m+ ynh_handle_getopts_args --origin_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
3548 [37m[1mDEBUG [m+ set +o xtrace
3593 [37m[1mDEBUG [m+ origin_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
3594 [37m[1mDEBUG [m+ dest_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
3596 [37m[1mDEBUG [m+ not_mandatory=0
3599 [37m[1mDEBUG [m+ local archive_path=/home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
3603 [37m[1mDEBUG [m+ '[' '!' -d /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf ']'
3605 [37m[1mDEBUG [m+ '[' '!' -f /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf ']'
3606 [37m[1mDEBUG [m+ [[ -e /etc/php/7.3/fpm/pool.d/digiwords.conf ]]
3606 [37m[1mDEBUG [m++ dirname /etc/php/7.3/fpm/pool.d/digiwords.conf
3606 [37m[1mDEBUG [m+ mkdir --parents /etc/php/7.3/fpm/pool.d
3607 [37m[1mDEBUG [m+ mountpoint --quiet /home/yunohost.backup/tmp/Backup_test
3609 [37m[1mDEBUG [m+ mv /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf /etc/php/7.3/fpm/pool.d/digiwords.conf
3614 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reinstalling dependencies...' --weight=1
3615 [37m[1mDEBUG [m+ set +o xtrace
3724 [37m[1mDEBUG [m+ set +o xtrace
3746 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3749 [37m[1mDEBUG [m+ set +x
3750 [36m[1mINFO [m[#############++.....] > Reinstalling dependencies...
3754 [37m[1mDEBUG [m+ echo '[#############++.....] > Reinstalling dependencies...'
3755 [37m[1mDEBUG [m+ set -o xtrace
3757 [37m[1mDEBUG [m+ ynh_install_app_dependencies php-sqlite3
3757 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3758 [37m[1mDEBUG [m++ echo php-sqlite3
3759 [37m[1mDEBUG [m++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
3764 [37m[1mDEBUG [m+ dependencies=php-sqlite3
3765 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3766 [37m[1mDEBUG [m+ local manifest_path=/home/yunohost.backup/tmp/Backup_test/apps/digiwords/settings/manifest.json
3766 [37m[1mDEBUG [m++ jq -r .version /home/yunohost.backup/tmp/Backup_test/apps/digiwords/settings/manifest.json
3776 [37m[1mDEBUG [m+ local version=0.3.3~ynh1
3777 [37m[1mDEBUG [m+ '[' -z 0.3.3~ynh1 ']'
3777 [37m[1mDEBUG [m+ '[' 0.3.3~ynh1 == null ']'
3778 [37m[1mDEBUG [m+ local dep_app=digiwords
3779 [37m[1mDEBUG [m+ [[ php-sqlite3 =~ [<=>] ]]
3782 [37m[1mDEBUG [m++ echo php-sqlite3
3784 [37m[1mDEBUG [m++ sort -u
3785 [37m[1mDEBUG [m++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
3790 [37m[1mDEBUG [m+ local specific_php_version=
3791 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
3792 [37m[1mDEBUG [m+ [[ -n '' ]]
3793 [37m[1mDEBUG [m+ [[ true == \t\r\u\e ]]
3793 [37m[1mDEBUG [m+ YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
3796 [37m[1mDEBUG [m+ grep --quiet php
3797 [37m[1mDEBUG [m+ dpkg --list
3798 [37m[1mDEBUG [m+ grep php7.0
3800 [37m[1mDEBUG [m+ grep --quiet --invert-match 7.0.33-0+deb9
3823 [37m[1mDEBUG [m+ cat
3826 [37m[1mDEBUG [m+ ynh_package_install_from_equivs /tmp/digiwords-ynh-deps.control
3828 [37m[1mDEBUG [m+ local controlfile=/tmp/digiwords-ynh-deps.control
3833 [37m[1mDEBUG [m++ grep '^Package: ' /tmp/digiwords-ynh-deps.control
3833 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
3837 [37m[1mDEBUG [m+ local pkgname=digiwords-ynh-deps
3838 [37m[1mDEBUG [m++ grep '^Version: ' /tmp/digiwords-ynh-deps.control
3841 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
3844 [37m[1mDEBUG [m+ local pkgversion=0.3.3~ynh1
3845 [37m[1mDEBUG [m+ [[ -z digiwords-ynh-deps ]]
3845 [37m[1mDEBUG [m+ [[ -z 0.3.3~ynh1 ]]
3846 [37m[1mDEBUG [m+ ynh_package_update
3847 [37m[1mDEBUG [m+ ynh_apt update
3847 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
3847 [37m[1mDEBUG [m+ local try
3848 [37m[1mDEBUG [m+ set +o xtrace
5197 [37m[1mDEBUG [m+ return 0
5198 [37m[1mDEBUG [m+ LC_ALL=C
5199 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
5199 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
5308 [37m[1mDEBUG [mHit:1 http://forge.yunohost.org/debian buster InRelease
5309 [37m[1mDEBUG [mHit:2 http://deb.debian.org/debian buster InRelease
5314 [37m[1mDEBUG [mGet:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
5341 [37m[1mDEBUG [mGet:4 http://deb.debian.org/debian-security buster/updates InRelease [65.4 kB]
6046 [37m[1mDEBUG [mGet:5 http://deb.debian.org/debian buster-updates/main amd64 Packages.diff/Index [11.1 kB]
6062 [37m[1mDEBUG [mGet:6 http://deb.debian.org/debian buster-updates/main amd64 Packages 2022-05-28-1407.13.pdiff [1094 B]
6091 [37m[1mDEBUG [mGet:6 http://deb.debian.org/debian buster-updates/main amd64 Packages 2022-05-28-1407.13.pdiff [1094 B]
6297 [37m[1mDEBUG [mGet:7 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [328 kB]
6342 [37m[1mDEBUG [mGet:8 http://deb.debian.org/debian-security buster/updates/main Translation-en [177 kB]
6478 [37m[1mDEBUG [mFetched 635 kB in 1s (534 kB/s)
7751 [37m[1mDEBUG [mReading package lists...
7795 [37m[1mDEBUG [m++ mktemp --directory
7800 [37m[1mDEBUG [m+ local TMPDIR=/tmp/tmp.u5FZNjoPaz
7801 [37m[1mDEBUG [m+ echo 10
7801 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
7801 [37m[1mDEBUG [m+ local try
7802 [37m[1mDEBUG [m+ set +o xtrace
9166 [37m[1mDEBUG [m+ return 0
9167 [37m[1mDEBUG [m+ cp /tmp/digiwords-ynh-deps.control /tmp/tmp.u5FZNjoPaz/control
9171 [37m[1mDEBUG [m+ cd /tmp/tmp.u5FZNjoPaz
9172 [37m[1mDEBUG [m+ LC_ALL=C
9173 [37m[1mDEBUG [m+ equivs-build ./control
11372 [37m[1mDEBUG [m+ LC_ALL=C
11373 [37m[1mDEBUG [m+ tee ./dpkg_log
11374 [37m[1mDEBUG [m+ dpkg --force-depends --install ./digiwords-ynh-deps_0.3.3~ynh1_all.deb
11449 [37m[1mDEBUG [mSelecting previously unselected package digiwords-ynh-deps.
11498 [37m[1mDEBUG [m(Reading database ... 42385 files and directories currently installed.)
11504 [37m[1mDEBUG [mPreparing to unpack .../digiwords-ynh-deps_0.3.3~ynh1_all.deb ...
11518 [37m[1mDEBUG [mUnpacking digiwords-ynh-deps (0.3.3~ynh1) ...
11585 [37m[1mDEBUG [mdpkg: digiwords-ynh-deps: dependency problems, but configuring anyway as you requested:
11586 [37m[1mDEBUG [m digiwords-ynh-deps depends on php-sqlite3; however:
11587 [37m[1mDEBUG [m Package php-sqlite3 is not installed.
11588 [37m[1mDEBUG [m
11589 [37m[1mDEBUG [mSetting up digiwords-ynh-deps (0.3.3~ynh1) ...
11666 [37m[1mDEBUG [m+ ynh_package_install --fix-broken
11667 [37m[1mDEBUG [m+ ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
11668 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
11668 [37m[1mDEBUG [m+ local try
11669 [37m[1mDEBUG [m+ set +o xtrace
13030 [37m[1mDEBUG [m+ return 0
13030 [37m[1mDEBUG [m+ LC_ALL=C
13031 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
13031 [37m[1mDEBUG [m+ 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
13240 [37m[1mDEBUG [mReading package lists...
13588 [37m[1mDEBUG [mBuilding dependency tree...
13589 [37m[1mDEBUG [mReading state information...
13804 [37m[1mDEBUG [mCorrecting dependencies... Done
14236 [37m[1mDEBUG [mThe following additional packages will be installed:
14237 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
14287 [37m[1mDEBUG [mThe following NEW packages will be installed:
14289 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
14361 [37m[1mDEBUG [m0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
14362 [37m[1mDEBUG [mNeed to get 32.2 kB of archives.
14363 [37m[1mDEBUG [mAfter this operation, 139 kB of additional disk space will be used.
14365 [37m[1mDEBUG [mGet:1 http://deb.debian.org/debian buster/main amd64 php7.3-sqlite3 amd64 7.3.31-1~deb10u1 [26.2 kB]
14378 [37m[1mDEBUG [mGet:2 http://deb.debian.org/debian buster/main amd64 php-sqlite3 all 2:7.3+69 [5996 B]
14904 [37m[1mDEBUG [mFetched 32.2 kB in 0s (695 kB/s)
15197 [37m[1mDEBUG [mSelecting previously unselected package php7.3-sqlite3.
15242 [37m[1mDEBUG [m(Reading database ... 42389 files and directories currently installed.)
15249 [37m[1mDEBUG [mPreparing to unpack .../php7.3-sqlite3_7.3.31-1~deb10u1_amd64.deb ...
15279 [37m[1mDEBUG [mUnpacking php7.3-sqlite3 (7.3.31-1~deb10u1) ...
15389 [37m[1mDEBUG [mSelecting previously unselected package php-sqlite3.
15396 [37m[1mDEBUG [mPreparing to unpack .../php-sqlite3_2%3a7.3+69_all.deb ...
15410 [37m[1mDEBUG [mUnpacking php-sqlite3 (2:7.3+69) ...
15517 [37m[1mDEBUG [mSetting up php7.3-sqlite3 (7.3.31-1~deb10u1) ...
15545 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
15757 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
15861 [37m[1mDEBUG [m
15863 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/sqlite3.ini with new version
15973 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16223 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16454 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16560 [37m[1mDEBUG [m
16561 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/pdo_sqlite.ini with new version
16654 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16890 [37m[1mDEBUG [mSetting up php-sqlite3 (2:7.3+69) ...
16935 [37m[1mDEBUG [mProcessing triggers for php7.3-fpm (7.3.31-1~deb10u1) ...
17633 [37m[1mDEBUG [m+ [[ -n /tmp/tmp.u5FZNjoPaz ]]
17633 [37m[1mDEBUG [m+ rm --recursive --force /tmp/tmp.u5FZNjoPaz
17638 [37m[1mDEBUG [m+ ynh_package_is_installed digiwords-ynh-deps
17639 [37m[1mDEBUG [m+ local legacy_args=p
17639 [37m[1mDEBUG [m+ args_array=([p]=package=)
17640 [37m[1mDEBUG [m+ local -A args_array
17640 [37m[1mDEBUG [m+ local package
17640 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords-ynh-deps
17641 [37m[1mDEBUG [m+ set +o xtrace
17655 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
17656 [37m[1mDEBUG [m+ set +x
17660 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
17661 [37m[1mDEBUG [m+ local try
17661 [37m[1mDEBUG [m+ set +o xtrace
19018 [37m[1mDEBUG [m+ return 0
19020 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
19022 [37m[1mDEBUG [m+ grep --count 'ok installed'
19038 [37m[1mDEBUG [m+ rm /tmp/digiwords-ynh-deps.control
19042 [37m[1mDEBUG [m+ [[ -n '' ]]
19045 [37m[1mDEBUG [m+ grep --quiet php
19045 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
19046 [37m[1mDEBUG [m+ local _globalapp=digiwords
19046 [37m[1mDEBUG [m+ local legacy_args=akv
19046 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
19046 [37m[1mDEBUG [m+ local -A args_array
19047 [37m[1mDEBUG [m+ local app
19047 [37m[1mDEBUG [m+ local key
19047 [37m[1mDEBUG [m+ local value
19048 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
19048 [37m[1mDEBUG [m+ set +o xtrace
19184 [37m[1mDEBUG [m+ app=digiwords
19185 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
19187 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
19190 [37m[1mDEBUG [m+ set +o xtrace
19286 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reloading NGINX web server and PHP-FPM...' --weight=1
19287 [37m[1mDEBUG [m+ set +o xtrace
19424 [37m[1mDEBUG [m+ set +o xtrace
19446 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
19447 [37m[1mDEBUG [m+ set +x
19454 [37m[1mDEBUG [m+ echo '[###############++...] > Reloading NGINX web server and PHP-FPM...'
19457 [37m[1mDEBUG [m+ set -o xtrace
19457 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
19459 [37m[1mDEBUG [m+ local legacy_args=nalpte
19460 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
19461 [37m[1mDEBUG [m+ local -A args_array
19462 [37m[1mDEBUG [m+ local service_name
19463 [37m[1mDEBUG [m+ local action
19463 [37m[1mDEBUG [m+ local line_match
19464 [37m[1mDEBUG [m+ local length
19464 [37m[1mDEBUG [m+ local log_path
19464 [37m[1mDEBUG [m+ local timeout
19464 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
19464 [37m[1mDEBUG [m+ set +o xtrace
19465 [36m[1mINFO [m[###############++...] > Reloading NGINX web server and PHP-FPM...
19674 [37m[1mDEBUG [m+ service_name=php7.3-fpm
19675 [37m[1mDEBUG [m+ action=reload
19676 [37m[1mDEBUG [m+ line_match=
19676 [37m[1mDEBUG [m+ length=20
19677 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
19677 [37m[1mDEBUG [m+ timeout=300
19678 [37m[1mDEBUG [m+ '[' reload == stop ']'
19679 [37m[1mDEBUG [m+ [[ -n '' ]]
19680 [37m[1mDEBUG [m+ '[' reload == reload ']'
19680 [37m[1mDEBUG [m+ action=reload-or-restart
19681 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
19705 [37m[1mDEBUG [m+ [[ -n '' ]]
19706 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
19706 [37m[1mDEBUG [m+ local legacy_args=nalpte
19706 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
19706 [37m[1mDEBUG [m+ local -A args_array
19707 [37m[1mDEBUG [m+ local service_name
19707 [37m[1mDEBUG [m+ local action
19707 [37m[1mDEBUG [m+ local line_match
19707 [37m[1mDEBUG [m+ local length
19710 [37m[1mDEBUG [m+ local log_path
19711 [37m[1mDEBUG [m+ local timeout
19712 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
19712 [37m[1mDEBUG [m+ set +o xtrace
19931 [37m[1mDEBUG [m+ service_name=nginx
19932 [37m[1mDEBUG [m+ action=reload
19932 [37m[1mDEBUG [m+ line_match=
19932 [37m[1mDEBUG [m+ length=20
19933 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
19933 [37m[1mDEBUG [m+ timeout=300
19934 [37m[1mDEBUG [m+ '[' reload == stop ']'
19935 [37m[1mDEBUG [m+ [[ -n '' ]]
19935 [37m[1mDEBUG [m+ '[' reload == reload ']'
19935 [37m[1mDEBUG [m+ action=reload-or-restart
19936 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
20021 [37m[1mDEBUG [m+ [[ -n '' ]]
20021 [37m[1mDEBUG [m+ ynh_script_progression '--message=Restoration completed for digiwords' --last
20022 [37m[1mDEBUG [m+ set +o xtrace
20171 [37m[1mDEBUG [m+ set +o xtrace
20205 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
20206 [37m[1mDEBUG [m+ set +x
20208 [36m[1mINFO [m[####################] > Restoration completed for digiwords
20208 [37m[1mDEBUG [m+ echo '[####################] > Restoration completed for digiwords'
20209 [37m[1mDEBUG [m+ set -o xtrace
20212 [37m[1mDEBUG [m+ ynh_exit_properly
20213 [37m[1mDEBUG [m+ local exit_code=0
20214 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/download/
20215 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
20216 [37m[1mDEBUG [m+ exit 0
21219 [37m[1mDEBUG [mTo view the log of the operation 'Restore 'digiwords' from a backup archive', use the command 'yunohost log show 20220531-094711-backup_restore_app-digiwords'
21244 [37m[1mDEBUG [mThe permission database has been resynchronized
21268 [37m[1mDEBUG [mSSOwat configuration regenerated
21289 [32m[1mSUCCESS [mRestoration completed
21289 [37m[1mDEBUG [maction [861.1] executed in 20.992s
21290 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 23 seconds (09:47:33)
[1m > Validating that the app digiwords can/can't be accessed with its URL...[0m
Running curl sub.domain.tld
200;https://sub.domain.tld/
Return code: 0
Working time: 0s (09:47:46)
Return code: 0
Working time: 0s (09:47:49)
HTTP code: 200
Test URL: sub.domain.tld
Real URL: https://sub.domain.tld/
HTTP code: 200
Page title:
Page extract:
Running curl sub.domain.tld/
200;https://sub.domain.tld/
Return code: 0
Working time: 0s (09:47:56)
Return code: 0
Working time: 0s (09:48:00)
HTTP code: 200
Test URL: sub.domain.tld/
Real URL: https://sub.domain.tld/
HTTP code: 200
Page title:
Page extract:
(Reusing existing snapshot snap_subdirinstall)
Loading snapshot snap_subdirinstall ...
[1m > Backup of the application...[0m
Running yunohost backup create -n Backup_test --apps digiwords
187 [37m[1mDEBUG [minitializing base actions map parser for cli
189 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
193 [37m[1mDEBUG [mbuilding parser...
199 [37m[1mDEBUG [mbuilding parser took 0.005s
201 [37m[1mDEBUG [macquiring lock...
228 [37m[1mDEBUG [mlock has been acquired
317 [37m[1mDEBUG [mloading python module yunohost.backup took 0.089s
318 [37m[1mDEBUG [mprocessing action [864.1]: yunohost.backup.create with args={'name': 'Backup_test', 'description': None, 'output_directory': None, 'methods': None, 'system': None, 'apps': ['digiwords'], 'dry_run': False}
384 [36m[1mINFO [mCollecting files to be backed up for digiwords...
418 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "/var/cache/yunohost/app_tmp_work_dirs/app_31hojt1q/scripts/backup" 7>&1']'
428 [37m[1mDEBUG [m+ source ../settings/scripts/_common.sh
429 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
429 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
430 [37m[1mDEBUG [m+++ grep xtrace
430 [37m[1mDEBUG [m+++ set +o
433 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
434 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
435 [37m[1mDEBUG [m++ set +x
482 [37m[1mDEBUG [m+ ynh_abort_if_errors
483 [37m[1mDEBUG [m+ set -o errexit
484 [37m[1mDEBUG [m+ set -o nounset
485 [37m[1mDEBUG [m+ trap ynh_exit_properly EXIT
486 [37m[1mDEBUG [m+ ynh_print_info '--message=Loading installation settings...'
487 [37m[1mDEBUG [m+ local legacy_args=m
490 [37m[1mDEBUG [m+ args_array=([m]=message=)
491 [37m[1mDEBUG [m+ local -A args_array
492 [37m[1mDEBUG [m+ local message
493 [37m[1mDEBUG [m+ ynh_handle_getopts_args '--message=Loading installation settings...'
495 [37m[1mDEBUG [m+ set +o xtrace
511 [37m[1mDEBUG [m+ echo 'Loading installation settings...'
513 [37m[1mDEBUG [m+ app=digiwords
514 [36m[1mINFO [mLoading installation settings...
519 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=final_path
522 [37m[1mDEBUG [m++ local _globalapp=digiwords
524 [37m[1mDEBUG [m++ local legacy_args=ak
525 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
526 [37m[1mDEBUG [m++ local -A args_array
527 [37m[1mDEBUG [m++ local app
530 [37m[1mDEBUG [m++ local key
530 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=final_path
531 [37m[1mDEBUG [m++ set +o xtrace
588 [37m[1mDEBUG [m++ app=digiwords
589 [37m[1mDEBUG [m++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
591 [37m[1mDEBUG [m++ ynh_app_setting get digiwords final_path
591 [37m[1mDEBUG [m++ set +o xtrace
675 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
676 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=domain
677 [37m[1mDEBUG [m++ local _globalapp=digiwords
678 [37m[1mDEBUG [m++ local legacy_args=ak
678 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
678 [37m[1mDEBUG [m++ local -A args_array
679 [37m[1mDEBUG [m++ local app
679 [37m[1mDEBUG [m++ local key
680 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=domain
680 [37m[1mDEBUG [m++ set +o xtrace
731 [37m[1mDEBUG [m++ app=digiwords
731 [37m[1mDEBUG [m++ [[ domain =~ (unprotected|protected|skipped)_ ]]
732 [37m[1mDEBUG [m++ ynh_app_setting get digiwords domain
733 [37m[1mDEBUG [m++ set +o xtrace
811 [37m[1mDEBUG [m+ domain=sub.domain.tld
812 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=db_name
812 [37m[1mDEBUG [m++ local _globalapp=digiwords
813 [37m[1mDEBUG [m++ local legacy_args=ak
813 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
814 [37m[1mDEBUG [m++ local -A args_array
814 [37m[1mDEBUG [m++ local app
815 [37m[1mDEBUG [m++ local key
815 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=db_name
816 [37m[1mDEBUG [m++ set +o xtrace
879 [37m[1mDEBUG [m++ app=digiwords
880 [37m[1mDEBUG [m++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
881 [37m[1mDEBUG [m++ ynh_app_setting get digiwords db_name
881 [37m[1mDEBUG [m++ set +o xtrace
971 [37m[1mDEBUG [m+ db_name=
973 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
974 [37m[1mDEBUG [m++ local _globalapp=digiwords
975 [37m[1mDEBUG [m++ local legacy_args=ak
976 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
976 [37m[1mDEBUG [m++ local -A args_array
977 [37m[1mDEBUG [m++ local app
978 [37m[1mDEBUG [m++ local key
979 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
979 [37m[1mDEBUG [m++ set +o xtrace
1034 [37m[1mDEBUG [m++ app=digiwords
1036 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
1037 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
1038 [37m[1mDEBUG [m++ set +o xtrace
1123 [37m[1mDEBUG [m+ phpversion=7.3
1124 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=datadir
1124 [37m[1mDEBUG [m++ local _globalapp=digiwords
1125 [37m[1mDEBUG [m++ local legacy_args=ak
1126 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1126 [37m[1mDEBUG [m++ local -A args_array
1127 [37m[1mDEBUG [m++ local app
1128 [37m[1mDEBUG [m++ local key
1129 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=datadir
1129 [37m[1mDEBUG [m++ set +o xtrace
1181 [37m[1mDEBUG [m++ app=digiwords
1182 [37m[1mDEBUG [m++ [[ datadir =~ (unprotected|protected|skipped)_ ]]
1183 [37m[1mDEBUG [m++ ynh_app_setting get digiwords datadir
1184 [37m[1mDEBUG [m++ set +o xtrace
1272 [37m[1mDEBUG [m+ datadir=
1273 [37m[1mDEBUG [m+ ynh_print_info '--message=Declaring files to be backed up...'
1274 [37m[1mDEBUG [m+ local legacy_args=m
1274 [37m[1mDEBUG [m+ args_array=([m]=message=)
1274 [37m[1mDEBUG [m+ local -A args_array
1275 [37m[1mDEBUG [m+ local message
1275 [37m[1mDEBUG [m+ ynh_handle_getopts_args '--message=Declaring files to be backed up...'
1275 [37m[1mDEBUG [m+ set +o xtrace
1291 [37m[1mDEBUG [m+ echo 'Declaring files to be backed up...'
1293 [37m[1mDEBUG [m+ ynh_backup --src_path=/var/www/digiwords
1294 [37m[1mDEBUG [m+ local legacy_args=sdbm
1295 [37m[1mDEBUG [m+ args_array=([s]=src_path= [d]=dest_path= [b]=is_big [m]=not_mandatory)
1295 [37m[1mDEBUG [m+ local -A args_array
1296 [37m[1mDEBUG [m+ local src_path
1298 [37m[1mDEBUG [m+ local dest_path
1299 [37m[1mDEBUG [m+ local is_big
1300 [37m[1mDEBUG [m+ local not_mandatory
1301 [37m[1mDEBUG [m+ ynh_handle_getopts_args --src_path=/var/www/digiwords
1302 [36m[1mINFO [mDeclaring files to be backed up...
1302 [37m[1mDEBUG [m+ set +o xtrace
1363 [37m[1mDEBUG [m+ dest_path=
1364 [37m[1mDEBUG [m+ is_big=0
1366 [37m[1mDEBUG [m+ not_mandatory=0
1367 [37m[1mDEBUG [m+ BACKUP_CORE_ONLY=0
1369 [37m[1mDEBUG [m+ test -n digiwords
1372 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=do_not_backup_data
1375 [37m[1mDEBUG [m++ local _globalapp=digiwords
1376 [37m[1mDEBUG [m++ local legacy_args=ak
1380 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1381 [37m[1mDEBUG [m++ local -A args_array
1382 [37m[1mDEBUG [m++ local app
1383 [37m[1mDEBUG [m++ local key
1387 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=do_not_backup_data
1389 [37m[1mDEBUG [m++ set +o xtrace
1458 [37m[1mDEBUG [m++ app=digiwords
1459 [37m[1mDEBUG [m++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
1459 [37m[1mDEBUG [m++ ynh_app_setting get digiwords do_not_backup_data
1461 [37m[1mDEBUG [m++ set +o xtrace
1538 [37m[1mDEBUG [m+ do_not_backup_data=
1539 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
1540 [37m[1mDEBUG [m+ '[' '!' -e /var/www/digiwords ']'
1540 [37m[1mDEBUG [m++ realpath /var/www/digiwords
1542 [37m[1mDEBUG [m+ src_path=/var/www/digiwords
1544 [37m[1mDEBUG [m+ [[ -z '' ]]
1544 [37m[1mDEBUG [m+ dest_path=var/www/digiwords
1545 [37m[1mDEBUG [m+ [[ -e var/www/digiwords ]]
1546 [37m[1mDEBUG [m+ local rel_dir=/apps/digiwords/backup
1546 [37m[1mDEBUG [m+ rel_dir=/apps/digiwords/backup/
1547 [37m[1mDEBUG [m+ dest_path=/apps/digiwords/backup/var/www/digiwords
1548 [37m[1mDEBUG [m+ dest_path=apps/digiwords/backup/var/www/digiwords
1548 [37m[1mDEBUG [m++ echo /var/www/digiwords
1549 [37m[1mDEBUG [m++ sed --regexp-extended 's/"/\"\"/g'
1555 [37m[1mDEBUG [m+ local src=/var/www/digiwords
1556 [37m[1mDEBUG [m++ echo apps/digiwords/backup/var/www/digiwords
1557 [37m[1mDEBUG [m++ sed --regexp-extended 's/"/\"\"/g'
1561 [37m[1mDEBUG [m+ local dest=apps/digiwords/backup/var/www/digiwords
1562 [37m[1mDEBUG [m+ echo '"/var/www/digiwords","apps/digiwords/backup/var/www/digiwords"'
1562 [37m[1mDEBUG [m++ dirname /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/var/www/digiwords
1564 [37m[1mDEBUG [m+ mkdir --parents /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/var/www
1567 [37m[1mDEBUG [m+ ynh_backup --src_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1568 [37m[1mDEBUG [m+ local legacy_args=sdbm
1573 [37m[1mDEBUG [m+ args_array=([s]=src_path= [d]=dest_path= [b]=is_big [m]=not_mandatory)
1574 [37m[1mDEBUG [m+ local -A args_array
1574 [37m[1mDEBUG [m+ local src_path
1574 [37m[1mDEBUG [m+ local dest_path
1575 [37m[1mDEBUG [m+ local is_big
1575 [37m[1mDEBUG [m+ local not_mandatory
1576 [37m[1mDEBUG [m+ ynh_handle_getopts_args --src_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1576 [37m[1mDEBUG [m+ set +o xtrace
1633 [37m[1mDEBUG [m+ dest_path=
1634 [37m[1mDEBUG [m+ is_big=0
1634 [37m[1mDEBUG [m+ not_mandatory=0
1635 [37m[1mDEBUG [m+ BACKUP_CORE_ONLY=0
1635 [37m[1mDEBUG [m+ test -n digiwords
1637 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=do_not_backup_data
1638 [37m[1mDEBUG [m++ local _globalapp=digiwords
1639 [37m[1mDEBUG [m++ local legacy_args=ak
1640 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1644 [37m[1mDEBUG [m++ local -A args_array
1645 [37m[1mDEBUG [m++ local app
1645 [37m[1mDEBUG [m++ local key
1646 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=do_not_backup_data
1647 [37m[1mDEBUG [m++ set +o xtrace
1704 [37m[1mDEBUG [m++ app=digiwords
1706 [37m[1mDEBUG [m++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
1708 [37m[1mDEBUG [m++ ynh_app_setting get digiwords do_not_backup_data
1710 [37m[1mDEBUG [m++ set +o xtrace
1800 [37m[1mDEBUG [m+ do_not_backup_data=
1802 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
1803 [37m[1mDEBUG [m+ '[' '!' -e /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ']'
1804 [37m[1mDEBUG [m++ realpath /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1808 [37m[1mDEBUG [m+ src_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1809 [37m[1mDEBUG [m+ [[ -z '' ]]
1811 [37m[1mDEBUG [m+ dest_path=etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1813 [37m[1mDEBUG [m+ [[ -e etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ]]
1814 [37m[1mDEBUG [m+ local rel_dir=/apps/digiwords/backup
1827 [37m[1mDEBUG [m+ rel_dir=/apps/digiwords/backup/
1828 [37m[1mDEBUG [m+ dest_path=/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1837 [37m[1mDEBUG [m+ dest_path=apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1837 [37m[1mDEBUG [m++ echo /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1838 [37m[1mDEBUG [m++ sed --regexp-extended 's/"/\"\"/g'
1843 [37m[1mDEBUG [m+ local src=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1848 [37m[1mDEBUG [m++ echo apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1850 [37m[1mDEBUG [m++ sed --regexp-extended 's/"/\"\"/g'
1855 [37m[1mDEBUG [m+ local dest=apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1856 [37m[1mDEBUG [m+ echo '"/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf","apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf"'
1857 [37m[1mDEBUG [m++ dirname /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1859 [37m[1mDEBUG [m+ mkdir --parents /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d
1862 [37m[1mDEBUG [m+ ynh_backup --src_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
1863 [37m[1mDEBUG [m+ local legacy_args=sdbm
1864 [37m[1mDEBUG [m+ args_array=([s]=src_path= [d]=dest_path= [b]=is_big [m]=not_mandatory)
1865 [37m[1mDEBUG [m+ local -A args_array
1866 [37m[1mDEBUG [m+ local src_path
1866 [37m[1mDEBUG [m+ local dest_path
1867 [37m[1mDEBUG [m+ local is_big
1868 [37m[1mDEBUG [m+ local not_mandatory
1868 [37m[1mDEBUG [m+ ynh_handle_getopts_args --src_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
1869 [37m[1mDEBUG [m+ set +o xtrace
1921 [37m[1mDEBUG [m+ dest_path=
1922 [37m[1mDEBUG [m+ is_big=0
1923 [37m[1mDEBUG [m+ not_mandatory=0
1924 [37m[1mDEBUG [m+ BACKUP_CORE_ONLY=0
1925 [37m[1mDEBUG [m+ test -n digiwords
1927 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=do_not_backup_data
1929 [37m[1mDEBUG [m++ local _globalapp=digiwords
1930 [37m[1mDEBUG [m++ local legacy_args=ak
1931 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1932 [37m[1mDEBUG [m++ local -A args_array
1932 [37m[1mDEBUG [m++ local app
1933 [37m[1mDEBUG [m++ local key
1934 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=do_not_backup_data
1934 [37m[1mDEBUG [m++ set +o xtrace
1987 [37m[1mDEBUG [m++ app=digiwords
1989 [37m[1mDEBUG [m++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
1990 [37m[1mDEBUG [m++ ynh_app_setting get digiwords do_not_backup_data
1992 [37m[1mDEBUG [m++ set +o xtrace
2072 [37m[1mDEBUG [m+ do_not_backup_data=
2074 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
2076 [37m[1mDEBUG [m+ '[' '!' -e /etc/php/7.3/fpm/pool.d/digiwords.conf ']'
2077 [37m[1mDEBUG [m++ realpath /etc/php/7.3/fpm/pool.d/digiwords.conf
2081 [37m[1mDEBUG [m+ src_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
2083 [37m[1mDEBUG [m+ [[ -z '' ]]
2085 [37m[1mDEBUG [m+ dest_path=etc/php/7.3/fpm/pool.d/digiwords.conf
2086 [37m[1mDEBUG [m+ [[ -e etc/php/7.3/fpm/pool.d/digiwords.conf ]]
2087 [37m[1mDEBUG [m+ local rel_dir=/apps/digiwords/backup
2089 [37m[1mDEBUG [m+ rel_dir=/apps/digiwords/backup/
2089 [37m[1mDEBUG [m+ dest_path=/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
2090 [37m[1mDEBUG [m+ dest_path=apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
2091 [37m[1mDEBUG [m++ echo /etc/php/7.3/fpm/pool.d/digiwords.conf
2091 [37m[1mDEBUG [m++ sed --regexp-extended 's/"/\"\"/g'
2092 [37m[1mDEBUG [m+ local src=/etc/php/7.3/fpm/pool.d/digiwords.conf
2094 [37m[1mDEBUG [m++ echo apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
2095 [37m[1mDEBUG [m++ sed --regexp-extended 's/"/\"\"/g'
2100 [37m[1mDEBUG [m+ local dest=apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
2101 [37m[1mDEBUG [m+ echo '"/etc/php/7.3/fpm/pool.d/digiwords.conf","apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf"'
2102 [37m[1mDEBUG [m++ dirname /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
2103 [37m[1mDEBUG [m+ mkdir --parents /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d
2107 [37m[1mDEBUG [m+ ynh_print_info '--message=Backup script completed for digiwords. (YunoHost will then actually copy those files to the archive).'
2108 [37m[1mDEBUG [m+ local legacy_args=m
2111 [37m[1mDEBUG [m+ args_array=([m]=message=)
2112 [37m[1mDEBUG [m+ local -A args_array
2118 [37m[1mDEBUG [m+ local message
2119 [37m[1mDEBUG [m+ ynh_handle_getopts_args '--message=Backup script completed for digiwords. (YunoHost will then actually copy those files to the archive).'
2120 [37m[1mDEBUG [m+ set +o xtrace
2127 [37m[1mDEBUG [m+ echo 'Backup script completed for digiwords. (YunoHost will then actually copy those files to the archive).'
2128 [37m[1mDEBUG [m+ ynh_exit_properly
2129 [37m[1mDEBUG [m+ local exit_code=0
2131 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/download/
2132 [36m[1mINFO [mBackup script completed for digiwords. (YunoHost will then actually copy those files to the archive).
2132 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
2133 [37m[1mDEBUG [m+ exit 0
3136 [37m[1mDEBUG [mBackup permission for digiwords
3220 [37m[1mDEBUG [minitializing ldap interface
3352 [36m[1mINFO [mCreating a backup archive from the collected files...
3354 [36m[1mINFO [mThe archive will contain about 3.4MiB of data.
3355 [37m[1mDEBUG [mCreating the backup TAR archive...
3454 [37m[1mDEBUG [mTAR backup archive created
3456 [32m[1mSUCCESS [mBackup created
3465 [37m[1mDEBUG [mTo view the log of the operation 'Create a backup archive', use the command 'yunohost log show 20220531-094910-backup_create'
3480 [37m[1mDEBUG [maction [864.1] executed in 3.162s
3482 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 4 seconds (09:49:14)
[1m > Removing the app...[0m
Running yunohost app remove digiwords
221 [37m[1mDEBUG [minitializing base actions map parser for cli
225 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
229 [37m[1mDEBUG [mbuilding parser...
247 [37m[1mDEBUG [mbuilding parser took 0.018s
249 [37m[1mDEBUG [macquiring lock...
272 [37m[1mDEBUG [mlock has been acquired
294 [37m[1mDEBUG [mloading python module yunohost.app took 0.021s
294 [37m[1mDEBUG [mprocessing action [1306.1]: yunohost.app.remove with args={'app': 'digiwords', 'purge': False}
332 [36m[1mINFO [mRemoving digiwords...
472 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "./remove" 7>&1']'
482 [37m[1mDEBUG [m+ source _common.sh
484 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
485 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
488 [37m[1mDEBUG [m+++ grep xtrace
489 [37m[1mDEBUG [m+++ set +o
494 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
495 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
496 [37m[1mDEBUG [m++ set +x
543 [37m[1mDEBUG [m+ ynh_script_progression '--message=Loading installation settings...' --weight=1
544 [37m[1mDEBUG [m+ set +o xtrace
656 [37m[1mDEBUG [m+ set +o xtrace
704 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
704 [37m[1mDEBUG [m+ set +x
707 [36m[1mINFO [m[++..................] > Loading installation settings...
710 [37m[1mDEBUG [m+ echo '[++..................] > Loading installation settings...'
710 [37m[1mDEBUG [m+ set -o xtrace
711 [37m[1mDEBUG [m+ app=digiwords
713 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=domain
716 [37m[1mDEBUG [m++ local _globalapp=digiwords
717 [37m[1mDEBUG [m++ local legacy_args=ak
717 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
718 [37m[1mDEBUG [m++ local -A args_array
718 [37m[1mDEBUG [m++ local app
719 [37m[1mDEBUG [m++ local key
720 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=domain
721 [37m[1mDEBUG [m++ set +o xtrace
782 [37m[1mDEBUG [m++ app=digiwords
784 [37m[1mDEBUG [m++ [[ domain =~ (unprotected|protected|skipped)_ ]]
785 [37m[1mDEBUG [m++ ynh_app_setting get digiwords domain
785 [37m[1mDEBUG [m++ set +o xtrace
865 [37m[1mDEBUG [m+ domain=sub.domain.tld
866 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=port
867 [37m[1mDEBUG [m++ local _globalapp=digiwords
868 [37m[1mDEBUG [m++ local legacy_args=ak
869 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
869 [37m[1mDEBUG [m++ local -A args_array
870 [37m[1mDEBUG [m++ local app
870 [37m[1mDEBUG [m++ local key
870 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=port
872 [37m[1mDEBUG [m++ set +o xtrace
936 [37m[1mDEBUG [m++ app=digiwords
937 [37m[1mDEBUG [m++ [[ port =~ (unprotected|protected|skipped)_ ]]
938 [37m[1mDEBUG [m++ ynh_app_setting get digiwords port
938 [37m[1mDEBUG [m++ set +o xtrace
1015 [37m[1mDEBUG [m+ port=
1016 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=db_name
1017 [37m[1mDEBUG [m++ local _globalapp=digiwords
1019 [37m[1mDEBUG [m++ local legacy_args=ak
1020 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1021 [37m[1mDEBUG [m++ local -A args_array
1021 [37m[1mDEBUG [m++ local app
1021 [37m[1mDEBUG [m++ local key
1022 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=db_name
1023 [37m[1mDEBUG [m++ set +o xtrace
1083 [37m[1mDEBUG [m++ app=digiwords
1086 [37m[1mDEBUG [m++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
1086 [37m[1mDEBUG [m++ ynh_app_setting get digiwords db_name
1087 [37m[1mDEBUG [m++ set +o xtrace
1169 [37m[1mDEBUG [m+ db_name=
1170 [37m[1mDEBUG [m+ db_user=
1171 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=final_path
1172 [37m[1mDEBUG [m++ local _globalapp=digiwords
1173 [37m[1mDEBUG [m++ local legacy_args=ak
1174 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1175 [37m[1mDEBUG [m++ local -A args_array
1175 [37m[1mDEBUG [m++ local app
1176 [37m[1mDEBUG [m++ local key
1176 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=final_path
1177 [37m[1mDEBUG [m++ set +o xtrace
1237 [37m[1mDEBUG [m++ app=digiwords
1238 [37m[1mDEBUG [m++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
1239 [37m[1mDEBUG [m++ ynh_app_setting get digiwords final_path
1239 [37m[1mDEBUG [m++ set +o xtrace
1324 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
1325 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=datadir
1326 [37m[1mDEBUG [m++ local _globalapp=digiwords
1326 [37m[1mDEBUG [m++ local legacy_args=ak
1327 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1328 [37m[1mDEBUG [m++ local -A args_array
1328 [37m[1mDEBUG [m++ local app
1328 [37m[1mDEBUG [m++ local key
1329 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=datadir
1331 [37m[1mDEBUG [m++ set +o xtrace
1400 [37m[1mDEBUG [m++ app=digiwords
1401 [37m[1mDEBUG [m++ [[ datadir =~ (unprotected|protected|skipped)_ ]]
1401 [37m[1mDEBUG [m++ ynh_app_setting get digiwords datadir
1401 [37m[1mDEBUG [m++ set +o xtrace
1497 [37m[1mDEBUG [m+ datadir=
1498 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing app main directory...' --weight=1
1499 [37m[1mDEBUG [m+ set +o xtrace
1615 [37m[1mDEBUG [m+ set +o xtrace
1634 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1635 [37m[1mDEBUG [m+ set +x
1638 [36m[1mINFO [m[##+++...............] > Removing app main directory...
1640 [37m[1mDEBUG [m+ echo '[##+++...............] > Removing app main directory...'
1641 [37m[1mDEBUG [m+ set -o xtrace
1641 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/www/digiwords
1641 [37m[1mDEBUG [m+ local legacy_args=f
1642 [37m[1mDEBUG [m+ args_array=([f]=file=)
1642 [37m[1mDEBUG [m+ local -A args_array
1642 [37m[1mDEBUG [m+ local file
1642 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/www/digiwords
1643 [37m[1mDEBUG [m+ set +o xtrace
1663 [37m[1mDEBUG [m+ set +o xtrace
1689 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing NGINX web server configuration...' --weight=1
1689 [37m[1mDEBUG [m+ set +o xtrace
1798 [37m[1mDEBUG [m+ set +o xtrace
1818 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1819 [37m[1mDEBUG [m+ set +x
1824 [36m[1mINFO [m[#####++.............] > Removing NGINX web server configuration...
1825 [37m[1mDEBUG [m+ echo '[#####++.............] > Removing NGINX web server configuration...'
1828 [37m[1mDEBUG [m+ set -o xtrace
1828 [37m[1mDEBUG [m+ ynh_remove_nginx_config
1831 [37m[1mDEBUG [m+ ynh_secure_remove --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1831 [37m[1mDEBUG [m+ local legacy_args=f
1832 [37m[1mDEBUG [m+ args_array=([f]=file=)
1832 [37m[1mDEBUG [m+ local -A args_array
1832 [37m[1mDEBUG [m+ local file
1832 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
1833 [37m[1mDEBUG [m+ set +o xtrace
1848 [37m[1mDEBUG [m+ set +o xtrace
1873 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
1873 [37m[1mDEBUG [m+ local legacy_args=nalpte
1874 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
1874 [37m[1mDEBUG [m+ local -A args_array
1874 [37m[1mDEBUG [m+ local service_name
1874 [37m[1mDEBUG [m+ local action
1875 [37m[1mDEBUG [m+ local line_match
1875 [37m[1mDEBUG [m+ local length
1875 [37m[1mDEBUG [m+ local log_path
1876 [37m[1mDEBUG [m+ local timeout
1876 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
1876 [37m[1mDEBUG [m+ set +o xtrace
2055 [37m[1mDEBUG [m+ service_name=nginx
2056 [37m[1mDEBUG [m+ action=reload
2056 [37m[1mDEBUG [m+ line_match=
2056 [37m[1mDEBUG [m+ length=20
2057 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
2057 [37m[1mDEBUG [m+ timeout=300
2058 [37m[1mDEBUG [m+ '[' reload == stop ']'
2058 [37m[1mDEBUG [m+ [[ -n '' ]]
2059 [37m[1mDEBUG [m+ '[' reload == reload ']'
2059 [37m[1mDEBUG [m+ action=reload-or-restart
2059 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
2142 [37m[1mDEBUG [m+ [[ -n '' ]]
2143 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing PHP-FPM configuration...' --weight=1
2143 [37m[1mDEBUG [m+ set +o xtrace
2284 [37m[1mDEBUG [m+ set +o xtrace
2312 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2313 [37m[1mDEBUG [m+ set +x
2326 [37m[1mDEBUG [m+ echo '[#######+++..........] > Removing PHP-FPM configuration...'
2327 [37m[1mDEBUG [m+ set -o xtrace
2328 [37m[1mDEBUG [m+ ynh_remove_fpm_config
2328 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_config_dir
2328 [37m[1mDEBUG [m++ local _globalapp=digiwords
2329 [37m[1mDEBUG [m++ local legacy_args=ak
2329 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2330 [37m[1mDEBUG [m++ local -A args_array
2330 [37m[1mDEBUG [m++ local app
2331 [37m[1mDEBUG [m++ local key
2331 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_config_dir
2332 [36m[1mINFO [m[#######+++..........] > Removing PHP-FPM configuration...
2332 [37m[1mDEBUG [m++ set +o xtrace
2405 [37m[1mDEBUG [m++ app=digiwords
2407 [37m[1mDEBUG [m++ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2408 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_config_dir
2409 [37m[1mDEBUG [m++ set +o xtrace
2494 [37m[1mDEBUG [m+ local fpm_config_dir=/etc/php/7.3/fpm
2496 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_service
2497 [37m[1mDEBUG [m++ local _globalapp=digiwords
2498 [37m[1mDEBUG [m++ local legacy_args=ak
2500 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2501 [37m[1mDEBUG [m++ local -A args_array
2501 [37m[1mDEBUG [m++ local app
2501 [37m[1mDEBUG [m++ local key
2502 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_service
2502 [37m[1mDEBUG [m++ set +o xtrace
2568 [37m[1mDEBUG [m++ app=digiwords
2568 [37m[1mDEBUG [m++ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2569 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_service
2569 [37m[1mDEBUG [m++ set +o xtrace
2652 [37m[1mDEBUG [m+ local fpm_service=php7.3-fpm
2654 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=fpm_dedicated_service
2655 [37m[1mDEBUG [m++ local _globalapp=digiwords
2655 [37m[1mDEBUG [m++ local legacy_args=ak
2656 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2656 [37m[1mDEBUG [m++ local -A args_array
2657 [37m[1mDEBUG [m++ local app
2658 [37m[1mDEBUG [m++ local key
2658 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=fpm_dedicated_service
2658 [37m[1mDEBUG [m++ set +o xtrace
2724 [37m[1mDEBUG [m++ app=digiwords
2725 [37m[1mDEBUG [m++ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2725 [37m[1mDEBUG [m++ ynh_app_setting get digiwords fpm_dedicated_service
2726 [37m[1mDEBUG [m++ set +o xtrace
2807 [37m[1mDEBUG [m+ local dedicated_service=0
2808 [37m[1mDEBUG [m+ dedicated_service=0
2812 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
2815 [37m[1mDEBUG [m++ local _globalapp=digiwords
2817 [37m[1mDEBUG [m++ local legacy_args=ak
2818 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2819 [37m[1mDEBUG [m++ local -A args_array
2820 [37m[1mDEBUG [m++ local app
2820 [37m[1mDEBUG [m++ local key
2821 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
2821 [37m[1mDEBUG [m++ set +o xtrace
2889 [37m[1mDEBUG [m++ app=digiwords
2891 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2893 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
2894 [37m[1mDEBUG [m++ set +o xtrace
2981 [37m[1mDEBUG [m+ local phpversion=7.3
2983 [37m[1mDEBUG [m+ phpversion=7.3
2984 [37m[1mDEBUG [m+ '[' -z /etc/php/7.3/fpm ']'
2985 [37m[1mDEBUG [m+ ynh_secure_remove --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
2987 [37m[1mDEBUG [m+ local legacy_args=f
2991 [37m[1mDEBUG [m+ args_array=([f]=file=)
2994 [37m[1mDEBUG [m+ local -A args_array
2995 [37m[1mDEBUG [m+ local file
2996 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
2998 [37m[1mDEBUG [m+ set +o xtrace
3006 [37m[1mDEBUG [m+ set +o xtrace
3030 [37m[1mDEBUG [m+ '[' -e /etc/php/7.3/fpm/conf.d/20-digiwords.ini ']'
3032 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
3034 [37m[1mDEBUG [m+ ynh_package_is_installed --package=php7.3-fpm
3035 [37m[1mDEBUG [m+ local legacy_args=p
3036 [37m[1mDEBUG [m+ args_array=([p]=package=)
3037 [37m[1mDEBUG [m+ local -A args_array
3038 [37m[1mDEBUG [m+ local package
3038 [37m[1mDEBUG [m+ ynh_handle_getopts_args --package=php7.3-fpm
3039 [37m[1mDEBUG [m+ set +o xtrace
3056 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
3057 [37m[1mDEBUG [m+ local try
3057 [37m[1mDEBUG [m+ set +o xtrace
4502 [37m[1mDEBUG [m+ return 0
4503 [37m[1mDEBUG [m+ grep --count 'ok installed'
4505 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' php7.3-fpm
4528 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
4530 [37m[1mDEBUG [m+ local legacy_args=nalpte
4531 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
4532 [37m[1mDEBUG [m+ local -A args_array
4534 [37m[1mDEBUG [m+ local service_name
4535 [37m[1mDEBUG [m+ local action
4535 [37m[1mDEBUG [m+ local line_match
4536 [37m[1mDEBUG [m+ local length
4536 [37m[1mDEBUG [m+ local log_path
4536 [37m[1mDEBUG [m+ local timeout
4537 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
4538 [37m[1mDEBUG [m+ set +o xtrace
4737 [37m[1mDEBUG [m+ service_name=php7.3-fpm
4739 [37m[1mDEBUG [m+ action=reload
4741 [37m[1mDEBUG [m+ line_match=
4743 [37m[1mDEBUG [m+ length=20
4748 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
4749 [37m[1mDEBUG [m+ timeout=300
4751 [37m[1mDEBUG [m+ '[' reload == stop ']'
4752 [37m[1mDEBUG [m+ [[ -n '' ]]
4753 [37m[1mDEBUG [m+ '[' reload == reload ']'
4756 [37m[1mDEBUG [m+ action=reload-or-restart
4757 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
4770 [37m[1mDEBUG [m+ [[ -n '' ]]
4771 [37m[1mDEBUG [m+ '[' 7.3 '!=' 7.3 ']'
4773 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing dependencies...' --weight=1
4775 [37m[1mDEBUG [m+ set +o xtrace
4925 [37m[1mDEBUG [m+ set +o xtrace
4956 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
4957 [37m[1mDEBUG [m+ set +x
4963 [36m[1mINFO [m[##########++........] > Removing dependencies...
4965 [37m[1mDEBUG [m+ echo '[##########++........] > Removing dependencies...'
4965 [37m[1mDEBUG [m+ set -o xtrace
4966 [37m[1mDEBUG [m+ ynh_remove_app_dependencies
4967 [37m[1mDEBUG [m+ local dep_app=digiwords
4968 [37m[1mDEBUG [m+ local current_dependencies=
4969 [37m[1mDEBUG [m+ ynh_package_is_installed --package=digiwords-ynh-deps
4970 [37m[1mDEBUG [m+ local legacy_args=p
4971 [37m[1mDEBUG [m+ args_array=([p]=package=)
4971 [37m[1mDEBUG [m+ local -A args_array
4972 [37m[1mDEBUG [m+ local package
4973 [37m[1mDEBUG [m+ ynh_handle_getopts_args --package=digiwords-ynh-deps
4973 [37m[1mDEBUG [m+ set +o xtrace
4991 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
4992 [37m[1mDEBUG [m+ local try
4993 [37m[1mDEBUG [m+ set +o xtrace
6378 [37m[1mDEBUG [m+ return 0
6381 [37m[1mDEBUG [m+ grep --count 'ok installed'
6383 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
6400 [37m[1mDEBUG [m++ dpkg-query --show '--showformat=${Depends}' digiwords-ynh-deps
6419 [37m[1mDEBUG [m+ current_dependencies='php-sqlite3 '
6421 [37m[1mDEBUG [m+ current_dependencies='php-sqlite3 '
6423 [37m[1mDEBUG [m+ ynh_package_autopurge digiwords-ynh-deps
6425 [37m[1mDEBUG [m+ ynh_apt autoremove --purge digiwords-ynh-deps
6427 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
6428 [37m[1mDEBUG [m+ local try
6430 [37m[1mDEBUG [m+ set +o xtrace
7872 [37m[1mDEBUG [m+ return 0
7873 [37m[1mDEBUG [m+ LC_ALL=C
7874 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
7874 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 autoremove --purge digiwords-ynh-deps
7917 [37m[1mDEBUG [mReading package lists...
8314 [37m[1mDEBUG [mBuilding dependency tree...
8316 [37m[1mDEBUG [mReading state information...
8804 [37m[1mDEBUG [mThe following packages will be REMOVED:
8809 [37m[1mDEBUG [m digiwords-ynh-deps* php-sqlite3* php7.3-sqlite3*
9341 [37m[1mDEBUG [m0 upgraded, 0 newly installed, 3 to remove and 9 not upgraded.
9342 [37m[1mDEBUG [mAfter this operation, 148 kB disk space will be freed.
9413 [37m[1mDEBUG [m(Reading database ... 42402 files and directories currently installed.)
9417 [37m[1mDEBUG [mRemoving digiwords-ynh-deps (0.3.3~ynh1) ...
9549 [37m[1mDEBUG [mRemoving php-sqlite3 (2:7.3+69) ...
9666 [37m[1mDEBUG [mRemoving php7.3-sqlite3 (7.3.31-1~deb10u1) ...
10067 [37m[1mDEBUG [mProcessing triggers for php7.3-fpm (7.3.31-1~deb10u1) ...
10663 [37m[1mDEBUG [m(Reading database ... 42384 files and directories currently installed.)
10671 [37m[1mDEBUG [mPurging configuration files for php7.3-sqlite3 (7.3.31-1~deb10u1) ...
10751 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
10859 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
11067 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
11166 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
11662 [37m[1mDEBUG [m++ echo php-sqlite3
11663 [37m[1mDEBUG [m++ grep -o -E '\'
11663 [37m[1mDEBUG [m++ tr - ' '
11663 [37m[1mDEBUG [m++ sed s/php//g
11665 [37m[1mDEBUG [m++ uniq
11667 [37m[1mDEBUG [m++ sort
11673 [37m[1mDEBUG [m+ local specific_php_version=
11674 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
11675 [37m[1mDEBUG [m+ [[ -n '' ]]
11675 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing various files...' --weight=1
11676 [37m[1mDEBUG [m+ set +o xtrace
11795 [37m[1mDEBUG [m+ set +o xtrace
11830 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
11833 [37m[1mDEBUG [m+ set +x
11841 [36m[1mINFO [m[############+++.....] > Removing various files...
11845 [37m[1mDEBUG [m+ echo '[############+++.....] > Removing various files...'
11854 [37m[1mDEBUG [m+ set -o xtrace
11856 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/log/digiwords
11858 [37m[1mDEBUG [m+ local legacy_args=f
11861 [37m[1mDEBUG [m+ args_array=([f]=file=)
11865 [37m[1mDEBUG [m+ local -A args_array
11867 [37m[1mDEBUG [m+ local file
11870 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/log/digiwords
11874 [37m[1mDEBUG [m+ set +o xtrace
11896 [37m[1mDEBUG [m+ set +o xtrace
11933 [36m[1mINFO [m'/var/log/digiwords' wasn't deleted because it doesn't exist.
11938 [37m[1mDEBUG [m+ echo ''\''/var/log/digiwords'\'' wasn'\''t deleted because it doesn'\''t exist.'
11940 [37m[1mDEBUG [m+ set -o xtrace
11941 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removing the dedicated system user...' --weight=1
11943 [37m[1mDEBUG [m+ set +o xtrace
12068 [37m[1mDEBUG [m+ set +o xtrace
12089 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
12090 [37m[1mDEBUG [m+ set +x
12102 [37m[1mDEBUG [m+ echo '[###############++...] > Removing the dedicated system user...'
12103 [37m[1mDEBUG [m+ set -o xtrace
12104 [37m[1mDEBUG [m+ ynh_system_user_delete --username=digiwords
12105 [37m[1mDEBUG [m+ local legacy_args=u
12106 [37m[1mDEBUG [m+ args_array=([u]=username=)
12107 [37m[1mDEBUG [m+ local -A args_array
12107 [37m[1mDEBUG [m+ local username
12108 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords
12109 [37m[1mDEBUG [m+ set +o xtrace
12109 [36m[1mINFO [m[###############++...] > Removing the dedicated system user...
12126 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
12134 [37m[1mDEBUG [m+ local legacy_args=u
12137 [37m[1mDEBUG [m+ args_array=([u]=username=)
12138 [37m[1mDEBUG [m+ local -A args_array
12139 [37m[1mDEBUG [m+ local username
12140 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
12141 [37m[1mDEBUG [m+ set +o xtrace
12157 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
12160 [37m[1mDEBUG [m+ set +x
12168 [37m[1mDEBUG [m+ getent passwd digiwords
12174 [37m[1mDEBUG [m+ deluser digiwords
12328 [37m[1mDEBUG [mRemoving user `digiwords' ...
12331 [37m[1mDEBUG [mWarning: group `digiwords' has no more members.
12480 [37m[1mDEBUG [mDone.
12486 [37m[1mDEBUG [m+ ynh_system_group_exists digiwords
12489 [37m[1mDEBUG [m+ local legacy_args=g
12490 [37m[1mDEBUG [m+ args_array=([g]=group=)
12491 [37m[1mDEBUG [m+ local -A args_array
12492 [37m[1mDEBUG [m+ local group
12497 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
12497 [37m[1mDEBUG [m+ set +o xtrace
12507 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
12508 [37m[1mDEBUG [m+ set +x
12511 [37m[1mDEBUG [m+ getent group digiwords
12529 [37m[1mDEBUG [m+ ynh_script_progression '--message=Removal of digiwords completed' --last
12532 [37m[1mDEBUG [m+ set +o xtrace
12652 [37m[1mDEBUG [m+ set +o xtrace
12685 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
12686 [37m[1mDEBUG [m+ set +x
12690 [37m[1mDEBUG [m+ echo '[####################] > Removal of digiwords completed'
12692 [37m[1mDEBUG [m+ set -o xtrace
12693 [36m[1mINFO [m[####################] > Removal of digiwords completed
13699 [32m[1mSUCCESS [mdigiwords uninstalled
13790 [37m[1mDEBUG [minitializing ldap interface
13838 [37m[1mDEBUG [mPermission 'digiwords.main' deleted
13844 [37m[1mDEBUG [mTo view the log of the operation 'Delete permission 'digiwords'', use the command 'yunohost log show 20220531-094943-permission_delete-digiwords'
13859 [37m[1mDEBUG [mThe permission database has been resynchronized
13879 [37m[1mDEBUG [mSSOwat configuration regenerated
13897 [37m[1mDEBUG [mChecking that required services are up and running...
14716 [37m[1mDEBUG [mTo view the log of the operation 'Remove the 'digiwords' app', use the command 'yunohost log show 20220531-094929-app_remove-digiwords'
14732 [37m[1mDEBUG [maction [1306.1] executed in 14.437s
14734 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 16 seconds (09:49:44)
Remove successful.
[1m > Restore after removing the application...[0m
Running yunohost backup restore Backup_test --force --apps digiwords
254 [37m[1mDEBUG [minitializing base actions map parser for cli
257 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
260 [37m[1mDEBUG [mbuilding parser...
266 [37m[1mDEBUG [mbuilding parser took 0.005s
268 [37m[1mDEBUG [macquiring lock...
289 [37m[1mDEBUG [mlock has been acquired
320 [37m[1mDEBUG [mloading python module yunohost.backup took 0.030s
320 [37m[1mDEBUG [mprocessing action [3051.1]: yunohost.backup.restore with args={'name': 'Backup_test', 'system': None, 'apps': ['digiwords'], 'force': True}
322 [36m[1mINFO [mPreparing archive for restoration...
323 [37m[1mDEBUG [mExtracting needed files from the archive...
420 [37m[1mDEBUG [mrestoring from backup 'Backup_test' created on 2022-05-31 09:49:11
449 [36m[1mINFO [mRestoring digiwords...
663 [37m[1mDEBUG [minitializing ldap interface
743 [37m[1mDEBUG [mPermission 'digiwords.main' updated
767 [37m[1mDEBUG [mTo view the log of the operation 'Update URL related to permission 'digiwords'', use the command 'yunohost log show 20220531-095000-permission_url-digiwords'
813 [37m[1mDEBUG [mPermission 'digiwords.main' created
814 [37m[1mDEBUG [mTo view the log of the operation 'Create permission 'digiwords'', use the command 'yunohost log show 20220531-095000-permission_create-digiwords'
846 [37m[1mDEBUG [mThe permission database has been resynchronized
874 [37m[1mDEBUG [mSSOwat configuration regenerated
905 [37m[1mDEBUG [mLoading migration 0016_php70_to_php73_pools...
907 [37m[1mDEBUG [mLoading migration 0020_ssh_sftp_permissions...
911 [37m[1mDEBUG [mLoading migration 0018_xtable_to_nftable...
915 [37m[1mDEBUG [mLoading migration 0015_migrate_to_buster...
919 [37m[1mDEBUG [mLoading migration 0019_extend_permissions_features...
923 [37m[1mDEBUG [mLoading migration 0017_postgresql_9p6_to_11...
970 [37m[1mDEBUG [mRestoring the app 'digiwords'...
998 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "/var/cache/yunohost/app_tmp_work_dirs/app_h70nmm45/restore" 7>&1']'
1015 [37m[1mDEBUG [m+ source ../settings/scripts/_common.sh
1016 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
1017 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
1019 [37m[1mDEBUG [m+++ grep xtrace
1019 [37m[1mDEBUG [m+++ set +o
1025 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
1026 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
1027 [37m[1mDEBUG [m++ set +x
1075 [37m[1mDEBUG [m+ ynh_abort_if_errors
1076 [37m[1mDEBUG [m+ set -o errexit
1077 [37m[1mDEBUG [m+ set -o nounset
1078 [37m[1mDEBUG [m+ trap ynh_exit_properly EXIT
1079 [37m[1mDEBUG [m+ ynh_script_progression '--message=Loading installation settings...' --weight=1
1080 [37m[1mDEBUG [m+ set +o xtrace
1249 [37m[1mDEBUG [m+ set +o xtrace
1321 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1323 [37m[1mDEBUG [m+ set +x
1327 [37m[1mDEBUG [m+ echo '[++..................] > Loading installation settings...'
1328 [37m[1mDEBUG [m+ set -o xtrace
1330 [37m[1mDEBUG [m+ app=digiwords
1331 [36m[1mINFO [m[++..................] > Loading installation settings...
1338 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=domain
1345 [37m[1mDEBUG [m++ local _globalapp=digiwords
1349 [37m[1mDEBUG [m++ local legacy_args=ak
1350 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1351 [37m[1mDEBUG [m++ local -A args_array
1352 [37m[1mDEBUG [m++ local app
1352 [37m[1mDEBUG [m++ local key
1353 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=domain
1353 [37m[1mDEBUG [m++ set +o xtrace
1437 [37m[1mDEBUG [m++ app=digiwords
1441 [37m[1mDEBUG [m++ [[ domain =~ (unprotected|protected|skipped)_ ]]
1442 [37m[1mDEBUG [m++ ynh_app_setting get digiwords domain
1442 [37m[1mDEBUG [m++ set +o xtrace
1518 [37m[1mDEBUG [m+ domain=sub.domain.tld
1519 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=path
1520 [37m[1mDEBUG [m++ local _globalapp=digiwords
1521 [37m[1mDEBUG [m++ local legacy_args=ak
1521 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1522 [37m[1mDEBUG [m++ local -A args_array
1522 [37m[1mDEBUG [m++ local app
1523 [37m[1mDEBUG [m++ local key
1525 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=path
1526 [37m[1mDEBUG [m++ set +o xtrace
1594 [37m[1mDEBUG [m++ app=digiwords
1595 [37m[1mDEBUG [m++ [[ path =~ (unprotected|protected|skipped)_ ]]
1595 [37m[1mDEBUG [m++ ynh_app_setting get digiwords path
1596 [37m[1mDEBUG [m++ set +o xtrace
1688 [37m[1mDEBUG [m+ path_url=/path
1689 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=final_path
1690 [37m[1mDEBUG [m++ local _globalapp=digiwords
1690 [37m[1mDEBUG [m++ local legacy_args=ak
1691 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1691 [37m[1mDEBUG [m++ local -A args_array
1692 [37m[1mDEBUG [m++ local app
1692 [37m[1mDEBUG [m++ local key
1693 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=final_path
1693 [37m[1mDEBUG [m++ set +o xtrace
1767 [37m[1mDEBUG [m++ app=digiwords
1767 [37m[1mDEBUG [m++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
1768 [37m[1mDEBUG [m++ ynh_app_setting get digiwords final_path
1768 [37m[1mDEBUG [m++ set +o xtrace
1872 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
1876 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=db_name
1879 [37m[1mDEBUG [m++ local _globalapp=digiwords
1883 [37m[1mDEBUG [m++ local legacy_args=ak
1885 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1886 [37m[1mDEBUG [m++ local -A args_array
1888 [37m[1mDEBUG [m++ local app
1888 [37m[1mDEBUG [m++ local key
1890 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=db_name
1890 [37m[1mDEBUG [m++ set +o xtrace
1960 [37m[1mDEBUG [m++ app=digiwords
1960 [37m[1mDEBUG [m++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
1960 [37m[1mDEBUG [m++ ynh_app_setting get digiwords db_name
1961 [37m[1mDEBUG [m++ set +o xtrace
2062 [37m[1mDEBUG [m+ db_name=
2063 [37m[1mDEBUG [m+ db_user=
2067 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
2067 [37m[1mDEBUG [m++ local _globalapp=digiwords
2067 [37m[1mDEBUG [m++ local legacy_args=ak
2067 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2067 [37m[1mDEBUG [m++ local -A args_array
2068 [37m[1mDEBUG [m++ local app
2068 [37m[1mDEBUG [m++ local key
2068 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
2068 [37m[1mDEBUG [m++ set +o xtrace
2171 [37m[1mDEBUG [m++ app=digiwords
2175 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2178 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
2179 [37m[1mDEBUG [m++ set +o xtrace
2361 [37m[1mDEBUG [m+ phpversion=7.3
2363 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=datadir
2364 [37m[1mDEBUG [m++ local _globalapp=digiwords
2366 [37m[1mDEBUG [m++ local legacy_args=ak
2367 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2369 [37m[1mDEBUG [m++ local -A args_array
2370 [37m[1mDEBUG [m++ local app
2371 [37m[1mDEBUG [m++ local key
2372 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=datadir
2373 [37m[1mDEBUG [m++ set +o xtrace
2449 [37m[1mDEBUG [m++ app=digiwords
2450 [37m[1mDEBUG [m++ [[ datadir =~ (unprotected|protected|skipped)_ ]]
2451 [37m[1mDEBUG [m++ ynh_app_setting get digiwords datadir
2451 [37m[1mDEBUG [m++ set +o xtrace
2551 [37m[1mDEBUG [m+ datadir=
2552 [37m[1mDEBUG [m+ ynh_script_progression '--message=Validating restoration parameters...' --weight=1
2554 [37m[1mDEBUG [m+ set +o xtrace
2734 [37m[1mDEBUG [m+ set +o xtrace
2772 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2773 [37m[1mDEBUG [m+ set +x
2773 [37m[1mDEBUG [m+ echo '[##++................] > Validating restoration parameters...'
2773 [37m[1mDEBUG [m+ set -o xtrace
2774 [37m[1mDEBUG [m+ test '!' -d /var/www/digiwords
2774 [37m[1mDEBUG [m+ ynh_script_progression '--message=Restoring the NGINX web server configuration...' --weight=1
2774 [37m[1mDEBUG [m+ set +o xtrace
2775 [36m[1mINFO [m[##++................] > Validating restoration parameters...
2947 [37m[1mDEBUG [m+ set +o xtrace
2975 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2975 [37m[1mDEBUG [m+ set +x
2981 [37m[1mDEBUG [m+ echo '[####++..............] > Restoring the NGINX web server configuration...'
2983 [36m[1mINFO [m[####++..............] > Restoring the NGINX web server configuration...
2983 [37m[1mDEBUG [m+ set -o xtrace
2992 [37m[1mDEBUG [m+ ynh_restore_file --origin_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2993 [37m[1mDEBUG [m+ local legacy_args=odm
2993 [37m[1mDEBUG [m+ args_array=([o]=origin_path= [d]=dest_path= [m]=not_mandatory)
2994 [37m[1mDEBUG [m+ local -A args_array
2995 [37m[1mDEBUG [m+ local origin_path
2995 [37m[1mDEBUG [m+ local dest_path
2996 [37m[1mDEBUG [m+ local not_mandatory
2997 [37m[1mDEBUG [m+ ynh_handle_getopts_args --origin_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
2998 [37m[1mDEBUG [m+ set +o xtrace
3060 [37m[1mDEBUG [m+ origin_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
3062 [37m[1mDEBUG [m+ dest_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
3064 [37m[1mDEBUG [m+ not_mandatory=0
3065 [37m[1mDEBUG [m+ local archive_path=/home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
3066 [37m[1mDEBUG [m+ '[' '!' -d /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ']'
3069 [37m[1mDEBUG [m+ '[' '!' -f /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ']'
3070 [37m[1mDEBUG [m+ [[ -e /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ]]
3070 [37m[1mDEBUG [m++ dirname /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
3071 [37m[1mDEBUG [m+ mkdir --parents /etc/nginx/conf.d/sub.domain.tld.d
3077 [37m[1mDEBUG [m+ mountpoint --quiet /home/yunohost.backup/tmp/Backup_test
3095 [37m[1mDEBUG [m+ mv /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
3100 [37m[1mDEBUG [m+ ynh_script_progression '--message=Recreating the dedicated system user...' --weight=1
3102 [37m[1mDEBUG [m+ set +o xtrace
3283 [37m[1mDEBUG [m+ set +o xtrace
3322 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3323 [37m[1mDEBUG [m+ set +x
3328 [37m[1mDEBUG [m+ echo '[######++............] > Recreating the dedicated system user...'
3330 [37m[1mDEBUG [m+ set -o xtrace
3331 [36m[1mINFO [m[######++............] > Recreating the dedicated system user...
3331 [37m[1mDEBUG [m+ ynh_system_user_create --username=digiwords --home_dir=/var/www/digiwords
3335 [37m[1mDEBUG [m+ local legacy_args=uhs
3336 [37m[1mDEBUG [m+ args_array=([u]=username= [h]=home_dir= [s]=use_shell [g]=groups=)
3336 [37m[1mDEBUG [m+ local -A args_array
3337 [37m[1mDEBUG [m+ local username
3337 [37m[1mDEBUG [m+ local home_dir
3339 [37m[1mDEBUG [m+ local use_shell
3339 [37m[1mDEBUG [m+ local groups
3340 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords --home_dir=/var/www/digiwords
3341 [37m[1mDEBUG [m+ set +o xtrace
3547 [37m[1mDEBUG [m+ use_shell=0
3548 [37m[1mDEBUG [m+ home_dir=/var/www/digiwords
3549 [37m[1mDEBUG [m+ groups=
3550 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
3550 [37m[1mDEBUG [m+ local legacy_args=u
3551 [37m[1mDEBUG [m+ args_array=([u]=username=)
3551 [37m[1mDEBUG [m+ local -A args_array
3552 [37m[1mDEBUG [m+ local username
3552 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
3553 [37m[1mDEBUG [m+ set +o xtrace
3574 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3576 [37m[1mDEBUG [m+ set +x
3580 [37m[1mDEBUG [m+ getent passwd digiwords
3591 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
3593 [37m[1mDEBUG [m+ local 'user_home_dir=--home-dir /var/www/digiwords'
3595 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
3596 [37m[1mDEBUG [m+ local 'shell=--shell /usr/sbin/nologin'
3597 [37m[1mDEBUG [m+ useradd --home-dir /var/www/digiwords --system --user-group digiwords --shell /usr/sbin/nologin
3750 [37m[1mDEBUG [m+ local group
3751 [37m[1mDEBUG [m+ ynh_script_progression '--message=Restoring the app main directory...' --weight=1
3752 [37m[1mDEBUG [m+ set +o xtrace
3899 [37m[1mDEBUG [m+ set +o xtrace
3925 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3927 [37m[1mDEBUG [m+ set +x
3932 [37m[1mDEBUG [m+ echo '[########+++.........] > Restoring the app main directory...'
3934 [37m[1mDEBUG [m+ set -o xtrace
3935 [37m[1mDEBUG [m+ ynh_restore_file --origin_path=/var/www/digiwords
3935 [37m[1mDEBUG [m+ local legacy_args=odm
3935 [37m[1mDEBUG [m+ args_array=([o]=origin_path= [d]=dest_path= [m]=not_mandatory)
3936 [37m[1mDEBUG [m+ local -A args_array
3936 [37m[1mDEBUG [m+ local origin_path
3940 [37m[1mDEBUG [m+ local dest_path
3941 [37m[1mDEBUG [m+ local not_mandatory
3942 [37m[1mDEBUG [m+ ynh_handle_getopts_args --origin_path=/var/www/digiwords
3943 [37m[1mDEBUG [m+ set +o xtrace
3943 [36m[1mINFO [m[########+++.........] > Restoring the app main directory...
4006 [37m[1mDEBUG [m+ origin_path=/var/www/digiwords
4007 [37m[1mDEBUG [m+ dest_path=/var/www/digiwords
4009 [37m[1mDEBUG [m+ not_mandatory=0
4011 [37m[1mDEBUG [m+ local archive_path=/home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/var/www/digiwords
4012 [37m[1mDEBUG [m+ '[' '!' -d /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/var/www/digiwords ']'
4013 [37m[1mDEBUG [m+ [[ -e /var/www/digiwords ]]
4014 [37m[1mDEBUG [m++ dirname /var/www/digiwords
4016 [37m[1mDEBUG [m+ mkdir --parents /var/www
4032 [37m[1mDEBUG [m+ mountpoint --quiet /home/yunohost.backup/tmp/Backup_test
4039 [37m[1mDEBUG [m+ mv /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/var/www/digiwords /var/www/digiwords
4045 [37m[1mDEBUG [m+ chmod 750 /var/www/digiwords
4048 [37m[1mDEBUG [m+ chmod -R o-rwx /var/www/digiwords
4052 [37m[1mDEBUG [m+ chown -R digiwords:www-data /var/www/digiwords
4062 [37m[1mDEBUG [m+ ynh_script_progression '--message=Restoring the PHP-FPM configuration...' --weight=1
4064 [37m[1mDEBUG [m+ set +o xtrace
4258 [37m[1mDEBUG [m+ set +o xtrace
4279 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
4280 [37m[1mDEBUG [m+ set +x
4282 [36m[1mINFO [m[###########++.......] > Restoring the PHP-FPM configuration...
4289 [37m[1mDEBUG [m+ echo '[###########++.......] > Restoring the PHP-FPM configuration...'
4292 [37m[1mDEBUG [m+ set -o xtrace
4293 [37m[1mDEBUG [m+ ynh_restore_file --origin_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
4295 [37m[1mDEBUG [m+ local legacy_args=odm
4296 [37m[1mDEBUG [m+ args_array=([o]=origin_path= [d]=dest_path= [m]=not_mandatory)
4298 [37m[1mDEBUG [m+ local -A args_array
4298 [37m[1mDEBUG [m+ local origin_path
4299 [37m[1mDEBUG [m+ local dest_path
4300 [37m[1mDEBUG [m+ local not_mandatory
4300 [37m[1mDEBUG [m+ ynh_handle_getopts_args --origin_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
4300 [37m[1mDEBUG [m+ set +o xtrace
4406 [37m[1mDEBUG [m+ origin_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
4414 [37m[1mDEBUG [m+ dest_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
4417 [37m[1mDEBUG [m+ not_mandatory=0
4422 [37m[1mDEBUG [m+ local archive_path=/home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
4423 [37m[1mDEBUG [m+ '[' '!' -d /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf ']'
4424 [37m[1mDEBUG [m+ '[' '!' -f /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf ']'
4424 [37m[1mDEBUG [m+ [[ -e /etc/php/7.3/fpm/pool.d/digiwords.conf ]]
4430 [37m[1mDEBUG [m++ dirname /etc/php/7.3/fpm/pool.d/digiwords.conf
4434 [37m[1mDEBUG [m+ mkdir --parents /etc/php/7.3/fpm/pool.d
4439 [37m[1mDEBUG [m+ mountpoint --quiet /home/yunohost.backup/tmp/Backup_test
4465 [37m[1mDEBUG [m+ mv /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf /etc/php/7.3/fpm/pool.d/digiwords.conf
4467 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reinstalling dependencies...' --weight=1
4468 [37m[1mDEBUG [m+ set +o xtrace
4679 [37m[1mDEBUG [m+ set +o xtrace
4713 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
4715 [37m[1mDEBUG [m+ set +x
4721 [37m[1mDEBUG [m+ echo '[#############++.....] > Reinstalling dependencies...'
4726 [37m[1mDEBUG [m+ set -o xtrace
4727 [37m[1mDEBUG [m+ ynh_install_app_dependencies php-sqlite3
4727 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
4728 [37m[1mDEBUG [m++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
4729 [37m[1mDEBUG [m++ echo php-sqlite3
4731 [36m[1mINFO [m[#############++.....] > Reinstalling dependencies...
4732 [37m[1mDEBUG [m+ dependencies=php-sqlite3
4738 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
4739 [37m[1mDEBUG [m+ local manifest_path=/home/yunohost.backup/tmp/Backup_test/apps/digiwords/settings/manifest.json
4740 [37m[1mDEBUG [m++ jq -r .version /home/yunohost.backup/tmp/Backup_test/apps/digiwords/settings/manifest.json
4746 [37m[1mDEBUG [m+ local version=0.3.3~ynh1
4747 [37m[1mDEBUG [m+ '[' -z 0.3.3~ynh1 ']'
4749 [37m[1mDEBUG [m+ '[' 0.3.3~ynh1 == null ']'
4750 [37m[1mDEBUG [m+ local dep_app=digiwords
4751 [37m[1mDEBUG [m+ [[ php-sqlite3 =~ [<=>] ]]
4752 [37m[1mDEBUG [m++ echo php-sqlite3
4753 [37m[1mDEBUG [m++ sort -u
4754 [37m[1mDEBUG [m++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
4778 [37m[1mDEBUG [m+ local specific_php_version=
4779 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
4780 [37m[1mDEBUG [m+ [[ -n '' ]]
4781 [37m[1mDEBUG [m+ [[ true == \t\r\u\e ]]
4782 [37m[1mDEBUG [m+ YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
4782 [37m[1mDEBUG [m+ grep --quiet php
4787 [37m[1mDEBUG [m+ dpkg --list
4788 [37m[1mDEBUG [m+ grep --quiet --invert-match 7.0.33-0+deb9
4789 [37m[1mDEBUG [m+ grep php7.0
4826 [37m[1mDEBUG [m+ cat
4833 [37m[1mDEBUG [m+ ynh_package_install_from_equivs /tmp/digiwords-ynh-deps.control
4834 [37m[1mDEBUG [m+ local controlfile=/tmp/digiwords-ynh-deps.control
4840 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
4846 [37m[1mDEBUG [m++ grep '^Package: ' /tmp/digiwords-ynh-deps.control
4854 [37m[1mDEBUG [m+ local pkgname=digiwords-ynh-deps
4858 [37m[1mDEBUG [m++ grep '^Version: ' /tmp/digiwords-ynh-deps.control
4858 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
4864 [37m[1mDEBUG [m+ local pkgversion=0.3.3~ynh1
4866 [37m[1mDEBUG [m+ [[ -z digiwords-ynh-deps ]]
4866 [37m[1mDEBUG [m+ [[ -z 0.3.3~ynh1 ]]
4867 [37m[1mDEBUG [m+ ynh_package_update
4867 [37m[1mDEBUG [m+ ynh_apt update
4867 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
4867 [37m[1mDEBUG [m+ local try
4867 [37m[1mDEBUG [m+ set +o xtrace
6481 [37m[1mDEBUG [m+ return 0
6482 [37m[1mDEBUG [m+ LC_ALL=C
6483 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
6483 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
6641 [37m[1mDEBUG [mHit:1 http://forge.yunohost.org/debian buster InRelease
6642 [37m[1mDEBUG [mHit:2 http://deb.debian.org/debian buster InRelease
6648 [37m[1mDEBUG [mHit:3 http://deb.debian.org/debian buster-updates InRelease
6659 [37m[1mDEBUG [mHit:4 http://deb.debian.org/debian-security buster/updates InRelease
9383 [37m[1mDEBUG [mReading package lists...
9433 [37m[1mDEBUG [m++ mktemp --directory
9441 [37m[1mDEBUG [m+ local TMPDIR=/tmp/tmp.J1FAHMme25
9442 [37m[1mDEBUG [m+ echo 10
9444 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
9444 [37m[1mDEBUG [m+ local try
9446 [37m[1mDEBUG [m+ set +o xtrace
10944 [37m[1mDEBUG [m+ return 0
10946 [37m[1mDEBUG [m+ cp /tmp/digiwords-ynh-deps.control /tmp/tmp.J1FAHMme25/control
10952 [37m[1mDEBUG [m+ cd /tmp/tmp.J1FAHMme25
10953 [37m[1mDEBUG [m+ LC_ALL=C
10953 [37m[1mDEBUG [m+ equivs-build ./control
13239 [37m[1mDEBUG [m+ tee ./dpkg_log
13241 [37m[1mDEBUG [m+ LC_ALL=C
13243 [37m[1mDEBUG [m+ dpkg --force-depends --install ./digiwords-ynh-deps_0.3.3~ynh1_all.deb
13321 [37m[1mDEBUG [mSelecting previously unselected package digiwords-ynh-deps.
13362 [37m[1mDEBUG [m(Reading database ... 42385 files and directories currently installed.)
13367 [37m[1mDEBUG [mPreparing to unpack .../digiwords-ynh-deps_0.3.3~ynh1_all.deb ...
13381 [37m[1mDEBUG [mUnpacking digiwords-ynh-deps (0.3.3~ynh1) ...
13472 [37m[1mDEBUG [mdpkg: digiwords-ynh-deps: dependency problems, but configuring anyway as you requested:
13475 [37m[1mDEBUG [m digiwords-ynh-deps depends on php-sqlite3; however:
13477 [37m[1mDEBUG [m Package php-sqlite3 is not installed.
13478 [37m[1mDEBUG [m
13478 [37m[1mDEBUG [mSetting up digiwords-ynh-deps (0.3.3~ynh1) ...
13563 [37m[1mDEBUG [m+ ynh_package_install --fix-broken
13564 [37m[1mDEBUG [m+ ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
13565 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
13567 [37m[1mDEBUG [m+ local try
13568 [37m[1mDEBUG [m+ set +o xtrace
14970 [37m[1mDEBUG [m+ return 0
14970 [37m[1mDEBUG [m+ LC_ALL=C
14971 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
14972 [37m[1mDEBUG [m+ 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
15160 [37m[1mDEBUG [mReading package lists...
15571 [37m[1mDEBUG [mBuilding dependency tree...
15574 [37m[1mDEBUG [mReading state information...
15806 [37m[1mDEBUG [mCorrecting dependencies... Done
16196 [37m[1mDEBUG [mThe following additional packages will be installed:
16197 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
16226 [37m[1mDEBUG [mThe following NEW packages will be installed:
16230 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
16767 [37m[1mDEBUG [m0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
16769 [37m[1mDEBUG [mNeed to get 0 B/32.2 kB of archives.
16770 [37m[1mDEBUG [mAfter this operation, 139 kB of additional disk space will be used.
16986 [37m[1mDEBUG [mSelecting previously unselected package php7.3-sqlite3.
17035 [37m[1mDEBUG [m(Reading database ... 42389 files and directories currently installed.)
17041 [37m[1mDEBUG [mPreparing to unpack .../php7.3-sqlite3_7.3.31-1~deb10u1_amd64.deb ...
17069 [37m[1mDEBUG [mUnpacking php7.3-sqlite3 (7.3.31-1~deb10u1) ...
17177 [37m[1mDEBUG [mSelecting previously unselected package php-sqlite3.
17183 [37m[1mDEBUG [mPreparing to unpack .../php-sqlite3_2%3a7.3+69_all.deb ...
17193 [37m[1mDEBUG [mUnpacking php-sqlite3 (2:7.3+69) ...
17317 [37m[1mDEBUG [mSetting up php7.3-sqlite3 (7.3.31-1~deb10u1) ...
17344 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
17555 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
17646 [37m[1mDEBUG [m
17648 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/sqlite3.ini with new version
17763 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
18032 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
18249 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
18368 [37m[1mDEBUG [m
18369 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/pdo_sqlite.ini with new version
18453 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
18731 [37m[1mDEBUG [mSetting up php-sqlite3 (2:7.3+69) ...
18770 [37m[1mDEBUG [mProcessing triggers for php7.3-fpm (7.3.31-1~deb10u1) ...
19545 [37m[1mDEBUG [m+ [[ -n /tmp/tmp.J1FAHMme25 ]]
19546 [37m[1mDEBUG [m+ rm --recursive --force /tmp/tmp.J1FAHMme25
19550 [37m[1mDEBUG [m+ ynh_package_is_installed digiwords-ynh-deps
19551 [37m[1mDEBUG [m+ local legacy_args=p
19551 [37m[1mDEBUG [m+ args_array=([p]=package=)
19552 [37m[1mDEBUG [m+ local -A args_array
19553 [37m[1mDEBUG [m+ local package
19553 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords-ynh-deps
19554 [37m[1mDEBUG [m+ set +o xtrace
19572 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
19573 [37m[1mDEBUG [m+ set +x
19574 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
19575 [37m[1mDEBUG [m+ local try
19576 [37m[1mDEBUG [m+ set +o xtrace
21144 [37m[1mDEBUG [m+ return 0
21145 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
21146 [37m[1mDEBUG [m+ grep --count 'ok installed'
21166 [37m[1mDEBUG [m+ rm /tmp/digiwords-ynh-deps.control
21170 [37m[1mDEBUG [m+ [[ -n '' ]]
21174 [37m[1mDEBUG [m+ grep --quiet php
21179 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
21181 [37m[1mDEBUG [m+ local _globalapp=digiwords
21183 [37m[1mDEBUG [m+ local legacy_args=akv
21185 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
21187 [37m[1mDEBUG [m+ local -A args_array
21188 [37m[1mDEBUG [m+ local app
21190 [37m[1mDEBUG [m+ local key
21191 [37m[1mDEBUG [m+ local value
21192 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
21194 [37m[1mDEBUG [m+ set +o xtrace
21324 [37m[1mDEBUG [m+ app=digiwords
21325 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
21326 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
21328 [37m[1mDEBUG [m+ set +o xtrace
21435 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reloading NGINX web server and PHP-FPM...' --weight=1
21436 [37m[1mDEBUG [m+ set +o xtrace
21596 [37m[1mDEBUG [m+ set +o xtrace
21632 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
21634 [37m[1mDEBUG [m+ set +x
21639 [36m[1mINFO [m[###############++...] > Reloading NGINX web server and PHP-FPM...
21642 [37m[1mDEBUG [m+ echo '[###############++...] > Reloading NGINX web server and PHP-FPM...'
21643 [37m[1mDEBUG [m+ set -o xtrace
21644 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
21645 [37m[1mDEBUG [m+ local legacy_args=nalpte
21646 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
21646 [37m[1mDEBUG [m+ local -A args_array
21647 [37m[1mDEBUG [m+ local service_name
21648 [37m[1mDEBUG [m+ local action
21649 [37m[1mDEBUG [m+ local line_match
21649 [37m[1mDEBUG [m+ local length
21650 [37m[1mDEBUG [m+ local log_path
21651 [37m[1mDEBUG [m+ local timeout
21652 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
21653 [37m[1mDEBUG [m+ set +o xtrace
21864 [37m[1mDEBUG [m+ service_name=php7.3-fpm
21866 [37m[1mDEBUG [m+ action=reload
21868 [37m[1mDEBUG [m+ line_match=
21870 [37m[1mDEBUG [m+ length=20
21871 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
21872 [37m[1mDEBUG [m+ timeout=300
21874 [37m[1mDEBUG [m+ '[' reload == stop ']'
21876 [37m[1mDEBUG [m+ [[ -n '' ]]
21879 [37m[1mDEBUG [m+ '[' reload == reload ']'
21882 [37m[1mDEBUG [m+ action=reload-or-restart
21885 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
21907 [37m[1mDEBUG [m+ [[ -n '' ]]
21908 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
21910 [37m[1mDEBUG [m+ local legacy_args=nalpte
21911 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
21912 [37m[1mDEBUG [m+ local -A args_array
21915 [37m[1mDEBUG [m+ local service_name
21915 [37m[1mDEBUG [m+ local action
21917 [37m[1mDEBUG [m+ local line_match
21934 [37m[1mDEBUG [m+ local length
21936 [37m[1mDEBUG [m+ local log_path
21936 [37m[1mDEBUG [m+ local timeout
21937 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
21939 [37m[1mDEBUG [m+ set +o xtrace
22128 [37m[1mDEBUG [m+ service_name=nginx
22130 [37m[1mDEBUG [m+ action=reload
22132 [37m[1mDEBUG [m+ line_match=
22136 [37m[1mDEBUG [m+ length=20
22140 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
22143 [37m[1mDEBUG [m+ timeout=300
22146 [37m[1mDEBUG [m+ '[' reload == stop ']'
22149 [37m[1mDEBUG [m+ [[ -n '' ]]
22152 [37m[1mDEBUG [m+ '[' reload == reload ']'
22152 [37m[1mDEBUG [m+ action=reload-or-restart
22153 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
22227 [37m[1mDEBUG [m+ [[ -n '' ]]
22228 [37m[1mDEBUG [m+ ynh_script_progression '--message=Restoration completed for digiwords' --last
22228 [37m[1mDEBUG [m+ set +o xtrace
22393 [37m[1mDEBUG [m+ set +o xtrace
22427 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
22428 [37m[1mDEBUG [m+ set +x
22438 [37m[1mDEBUG [m+ echo '[####################] > Restoration completed for digiwords'
22439 [37m[1mDEBUG [m+ set -o xtrace
22440 [37m[1mDEBUG [m+ ynh_exit_properly
22442 [37m[1mDEBUG [m+ local exit_code=0
22443 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/download/
22445 [36m[1mINFO [m[####################] > Restoration completed for digiwords
22445 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
22448 [37m[1mDEBUG [m+ exit 0
23452 [37m[1mDEBUG [mTo view the log of the operation 'Restore 'digiwords' from a backup archive', use the command 'yunohost log show 20220531-094959-backup_restore_app-digiwords'
23495 [37m[1mDEBUG [mThe permission database has been resynchronized
23533 [37m[1mDEBUG [mSSOwat configuration regenerated
23556 [32m[1mSUCCESS [mRestoration completed
23557 [37m[1mDEBUG [maction [3051.1] executed in 23.237s
23558 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 25 seconds (09:50:23)
[1m > Validating that the app digiwords can/can't be accessed with its URL...[0m
Running curl sub.domain.tld/path
Return code: 0
Working time: 0s (09:50:36)
Digiwords by La DigitaleReturn code: 0
Working time: 0s (09:50:39)
HTTP code:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Test URL: sub.domain.tld/path
Real URL:
HTTP code:
Page title:
Page extract:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Running curl sub.domain.tld/path/
200;https://sub.domain.tld/path/
Return code: 0
Working time: 0s (09:50:46)
Return code: 0
Working time: 0s (09:50:49)
HTTP code: 200
Test URL: sub.domain.tld/path/
Real URL: https://sub.domain.tld/path/
HTTP code: 200
Page title:
Page extract:
Loading snapshot snap0 ...
[1m > Restore on a fresh YunoHost system...[0m
Running yunohost backup restore Backup_test --force --apps digiwords
281 [37m[1mDEBUG [minitializing base actions map parser for cli
284 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
288 [37m[1mDEBUG [mbuilding parser...
294 [37m[1mDEBUG [mbuilding parser took 0.006s
296 [37m[1mDEBUG [macquiring lock...
318 [37m[1mDEBUG [mlock has been acquired
412 [37m[1mDEBUG [mloading python module yunohost.backup took 0.093s
413 [37m[1mDEBUG [mprocessing action [842.1]: yunohost.backup.restore with args={'name': 'Backup_test', 'system': None, 'apps': ['digiwords'], 'force': True}
414 [36m[1mINFO [mPreparing archive for restoration...
415 [37m[1mDEBUG [mExtracting needed files from the archive...
544 [37m[1mDEBUG [mrestoring from backup 'Backup_test' created on 2022-05-31 09:49:11
583 [36m[1mINFO [mRestoring digiwords...
837 [37m[1mDEBUG [minitializing ldap interface
929 [37m[1mDEBUG [mPermission 'digiwords.main' updated
955 [37m[1mDEBUG [mTo view the log of the operation 'Update URL related to permission 'digiwords'', use the command 'yunohost log show 20220531-095158-permission_url-digiwords'
1002 [37m[1mDEBUG [mPermission 'digiwords.main' created
1003 [37m[1mDEBUG [mTo view the log of the operation 'Create permission 'digiwords'', use the command 'yunohost log show 20220531-095158-permission_create-digiwords'
1046 [37m[1mDEBUG [mThe permission database has been resynchronized
1082 [37m[1mDEBUG [mSSOwat configuration regenerated
1110 [37m[1mDEBUG [mLoading migration 0016_php70_to_php73_pools...
1115 [37m[1mDEBUG [mLoading migration 0020_ssh_sftp_permissions...
1120 [37m[1mDEBUG [mLoading migration 0018_xtable_to_nftable...
1123 [37m[1mDEBUG [mLoading migration 0015_migrate_to_buster...
1131 [37m[1mDEBUG [mLoading migration 0019_extend_permissions_features...
1139 [37m[1mDEBUG [mLoading migration 0017_postgresql_9p6_to_11...
1183 [37m[1mDEBUG [mRestoring the app 'digiwords'...
1217 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "/var/cache/yunohost/app_tmp_work_dirs/app_mawhknwp/restore" 7>&1']'
1253 [37m[1mDEBUG [m+ source ../settings/scripts/_common.sh
1253 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
1253 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
1254 [37m[1mDEBUG [m+++ set +o
1255 [37m[1mDEBUG [m+++ grep xtrace
1265 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
1268 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
1270 [37m[1mDEBUG [m++ set +x
1324 [37m[1mDEBUG [m+ ynh_abort_if_errors
1325 [37m[1mDEBUG [m+ set -o errexit
1327 [37m[1mDEBUG [m+ set -o nounset
1327 [37m[1mDEBUG [m+ trap ynh_exit_properly EXIT
1328 [37m[1mDEBUG [m+ ynh_script_progression '--message=Loading installation settings...' --weight=1
1330 [37m[1mDEBUG [m+ set +o xtrace
1462 [37m[1mDEBUG [m+ set +o xtrace
1519 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1520 [37m[1mDEBUG [m+ set +x
1523 [37m[1mDEBUG [m+ echo '[++..................] > Loading installation settings...'
1524 [36m[1mINFO [m[++..................] > Loading installation settings...
1525 [37m[1mDEBUG [m+ set -o xtrace
1525 [37m[1mDEBUG [m+ app=digiwords
1529 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=domain
1529 [37m[1mDEBUG [m++ local _globalapp=digiwords
1530 [37m[1mDEBUG [m++ local legacy_args=ak
1532 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1536 [37m[1mDEBUG [m++ local -A args_array
1537 [37m[1mDEBUG [m++ local app
1537 [37m[1mDEBUG [m++ local key
1538 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=domain
1538 [37m[1mDEBUG [m++ set +o xtrace
1627 [37m[1mDEBUG [m++ app=digiwords
1628 [37m[1mDEBUG [m++ [[ domain =~ (unprotected|protected|skipped)_ ]]
1629 [37m[1mDEBUG [m++ ynh_app_setting get digiwords domain
1630 [37m[1mDEBUG [m++ set +o xtrace
1729 [37m[1mDEBUG [m+ domain=sub.domain.tld
1730 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=path
1731 [37m[1mDEBUG [m++ local _globalapp=digiwords
1731 [37m[1mDEBUG [m++ local legacy_args=ak
1733 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1734 [37m[1mDEBUG [m++ local -A args_array
1734 [37m[1mDEBUG [m++ local app
1735 [37m[1mDEBUG [m++ local key
1735 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=path
1735 [37m[1mDEBUG [m++ set +o xtrace
1816 [37m[1mDEBUG [m++ app=digiwords
1817 [37m[1mDEBUG [m++ [[ path =~ (unprotected|protected|skipped)_ ]]
1818 [37m[1mDEBUG [m++ ynh_app_setting get digiwords path
1818 [37m[1mDEBUG [m++ set +o xtrace
1937 [37m[1mDEBUG [m+ path_url=/path
1939 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=final_path
1940 [37m[1mDEBUG [m++ local _globalapp=digiwords
1940 [37m[1mDEBUG [m++ local legacy_args=ak
1941 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1941 [37m[1mDEBUG [m++ local -A args_array
1942 [37m[1mDEBUG [m++ local app
1942 [37m[1mDEBUG [m++ local key
1942 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=final_path
1943 [37m[1mDEBUG [m++ set +o xtrace
2001 [37m[1mDEBUG [m++ app=digiwords
2002 [37m[1mDEBUG [m++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
2003 [37m[1mDEBUG [m++ ynh_app_setting get digiwords final_path
2003 [37m[1mDEBUG [m++ set +o xtrace
2109 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
2110 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=db_name
2112 [37m[1mDEBUG [m++ local _globalapp=digiwords
2113 [37m[1mDEBUG [m++ local legacy_args=ak
2114 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2114 [37m[1mDEBUG [m++ local -A args_array
2115 [37m[1mDEBUG [m++ local app
2115 [37m[1mDEBUG [m++ local key
2115 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=db_name
2115 [37m[1mDEBUG [m++ set +o xtrace
2195 [37m[1mDEBUG [m++ app=digiwords
2197 [37m[1mDEBUG [m++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
2198 [37m[1mDEBUG [m++ ynh_app_setting get digiwords db_name
2198 [37m[1mDEBUG [m++ set +o xtrace
2283 [37m[1mDEBUG [m+ db_name=
2284 [37m[1mDEBUG [m+ db_user=
2285 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
2286 [37m[1mDEBUG [m++ local _globalapp=digiwords
2286 [37m[1mDEBUG [m++ local legacy_args=ak
2287 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2287 [37m[1mDEBUG [m++ local -A args_array
2288 [37m[1mDEBUG [m++ local app
2288 [37m[1mDEBUG [m++ local key
2289 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
2289 [37m[1mDEBUG [m++ set +o xtrace
2352 [37m[1mDEBUG [m++ app=digiwords
2353 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2354 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
2355 [37m[1mDEBUG [m++ set +o xtrace
2468 [37m[1mDEBUG [m+ phpversion=7.3
2470 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=datadir
2471 [37m[1mDEBUG [m++ local _globalapp=digiwords
2472 [37m[1mDEBUG [m++ local legacy_args=ak
2473 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2474 [37m[1mDEBUG [m++ local -A args_array
2476 [37m[1mDEBUG [m++ local app
2476 [37m[1mDEBUG [m++ local key
2477 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=datadir
2478 [37m[1mDEBUG [m++ set +o xtrace
2530 [37m[1mDEBUG [m++ app=digiwords
2532 [37m[1mDEBUG [m++ [[ datadir =~ (unprotected|protected|skipped)_ ]]
2533 [37m[1mDEBUG [m++ ynh_app_setting get digiwords datadir
2534 [37m[1mDEBUG [m++ set +o xtrace
2625 [37m[1mDEBUG [m+ datadir=
2626 [37m[1mDEBUG [m+ ynh_script_progression '--message=Validating restoration parameters...' --weight=1
2627 [37m[1mDEBUG [m+ set +o xtrace
2732 [37m[1mDEBUG [m+ set +o xtrace
2768 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2769 [37m[1mDEBUG [m+ set +x
2776 [36m[1mINFO [m[##++................] > Validating restoration parameters...
2782 [37m[1mDEBUG [m+ echo '[##++................] > Validating restoration parameters...'
2782 [37m[1mDEBUG [m+ set -o xtrace
2793 [37m[1mDEBUG [m+ test '!' -d /var/www/digiwords
2794 [37m[1mDEBUG [m+ ynh_script_progression '--message=Restoring the NGINX web server configuration...' --weight=1
2794 [37m[1mDEBUG [m+ set +o xtrace
2974 [37m[1mDEBUG [m+ set +o xtrace
2997 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3001 [37m[1mDEBUG [m+ set +x
3009 [37m[1mDEBUG [m+ echo '[####++..............] > Restoring the NGINX web server configuration...'
3010 [37m[1mDEBUG [m+ set -o xtrace
3013 [37m[1mDEBUG [m+ ynh_restore_file --origin_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
3014 [36m[1mINFO [m[####++..............] > Restoring the NGINX web server configuration...
3015 [37m[1mDEBUG [m+ local legacy_args=odm
3018 [37m[1mDEBUG [m+ args_array=([o]=origin_path= [d]=dest_path= [m]=not_mandatory)
3018 [37m[1mDEBUG [m+ local -A args_array
3021 [37m[1mDEBUG [m+ local origin_path
3022 [37m[1mDEBUG [m+ local dest_path
3023 [37m[1mDEBUG [m+ local not_mandatory
3023 [37m[1mDEBUG [m+ ynh_handle_getopts_args --origin_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
3024 [37m[1mDEBUG [m+ set +o xtrace
3074 [37m[1mDEBUG [m+ origin_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
3075 [37m[1mDEBUG [m+ dest_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
3075 [37m[1mDEBUG [m+ not_mandatory=0
3076 [37m[1mDEBUG [m+ local archive_path=/home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
3077 [37m[1mDEBUG [m+ '[' '!' -d /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ']'
3077 [37m[1mDEBUG [m+ '[' '!' -f /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ']'
3078 [37m[1mDEBUG [m+ [[ -e /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ]]
3078 [37m[1mDEBUG [m++ dirname /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
3084 [37m[1mDEBUG [m+ mkdir --parents /etc/nginx/conf.d/sub.domain.tld.d
3092 [37m[1mDEBUG [m+ mountpoint --quiet /home/yunohost.backup/tmp/Backup_test
3098 [37m[1mDEBUG [m+ mv /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
3110 [37m[1mDEBUG [m+ ynh_script_progression '--message=Recreating the dedicated system user...' --weight=1
3111 [37m[1mDEBUG [m+ set +o xtrace
3325 [37m[1mDEBUG [m+ set +o xtrace
3360 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3360 [37m[1mDEBUG [m+ set +x
3378 [36m[1mINFO [m[######++............] > Recreating the dedicated system user...
3379 [37m[1mDEBUG [m+ echo '[######++............] > Recreating the dedicated system user...'
3379 [37m[1mDEBUG [m+ set -o xtrace
3379 [37m[1mDEBUG [m+ ynh_system_user_create --username=digiwords --home_dir=/var/www/digiwords
3380 [37m[1mDEBUG [m+ local legacy_args=uhs
3380 [37m[1mDEBUG [m+ args_array=([u]=username= [h]=home_dir= [s]=use_shell [g]=groups=)
3380 [37m[1mDEBUG [m+ local -A args_array
3380 [37m[1mDEBUG [m+ local username
3381 [37m[1mDEBUG [m+ local home_dir
3381 [37m[1mDEBUG [m+ local use_shell
3381 [37m[1mDEBUG [m+ local groups
3381 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords --home_dir=/var/www/digiwords
3382 [37m[1mDEBUG [m+ set +o xtrace
3523 [37m[1mDEBUG [m+ use_shell=0
3524 [37m[1mDEBUG [m+ home_dir=/var/www/digiwords
3525 [37m[1mDEBUG [m+ groups=
3526 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
3528 [37m[1mDEBUG [m+ local legacy_args=u
3528 [37m[1mDEBUG [m+ args_array=([u]=username=)
3530 [37m[1mDEBUG [m+ local -A args_array
3530 [37m[1mDEBUG [m+ local username
3531 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
3532 [37m[1mDEBUG [m+ set +o xtrace
3543 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3543 [37m[1mDEBUG [m+ set +x
3548 [37m[1mDEBUG [m+ getent passwd digiwords
3559 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
3560 [37m[1mDEBUG [m+ local 'user_home_dir=--home-dir /var/www/digiwords'
3561 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
3562 [37m[1mDEBUG [m+ local 'shell=--shell /usr/sbin/nologin'
3562 [37m[1mDEBUG [m+ useradd --home-dir /var/www/digiwords --system --user-group digiwords --shell /usr/sbin/nologin
3683 [37m[1mDEBUG [m+ local group
3685 [37m[1mDEBUG [m+ ynh_script_progression '--message=Restoring the app main directory...' --weight=1
3686 [37m[1mDEBUG [m+ set +o xtrace
3816 [37m[1mDEBUG [m+ set +o xtrace
3837 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3838 [37m[1mDEBUG [m+ set +x
3843 [37m[1mDEBUG [m+ echo '[########+++.........] > Restoring the app main directory...'
3845 [36m[1mINFO [m[########+++.........] > Restoring the app main directory...
3845 [37m[1mDEBUG [m+ set -o xtrace
3849 [37m[1mDEBUG [m+ ynh_restore_file --origin_path=/var/www/digiwords
3849 [37m[1mDEBUG [m+ local legacy_args=odm
3850 [37m[1mDEBUG [m+ args_array=([o]=origin_path= [d]=dest_path= [m]=not_mandatory)
3850 [37m[1mDEBUG [m+ local -A args_array
3850 [37m[1mDEBUG [m+ local origin_path
3850 [37m[1mDEBUG [m+ local dest_path
3851 [37m[1mDEBUG [m+ local not_mandatory
3851 [37m[1mDEBUG [m+ ynh_handle_getopts_args --origin_path=/var/www/digiwords
3855 [37m[1mDEBUG [m+ set +o xtrace
3916 [37m[1mDEBUG [m+ origin_path=/var/www/digiwords
3916 [37m[1mDEBUG [m+ dest_path=/var/www/digiwords
3916 [37m[1mDEBUG [m+ not_mandatory=0
3917 [37m[1mDEBUG [m+ local archive_path=/home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/var/www/digiwords
3917 [37m[1mDEBUG [m+ '[' '!' -d /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/var/www/digiwords ']'
3917 [37m[1mDEBUG [m+ [[ -e /var/www/digiwords ]]
3917 [37m[1mDEBUG [m++ dirname /var/www/digiwords
3920 [37m[1mDEBUG [m+ mkdir --parents /var/www
3924 [37m[1mDEBUG [m+ mountpoint --quiet /home/yunohost.backup/tmp/Backup_test
3933 [37m[1mDEBUG [m+ mv /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/var/www/digiwords /var/www/digiwords
3936 [37m[1mDEBUG [m+ chmod 750 /var/www/digiwords
3939 [37m[1mDEBUG [m+ chmod -R o-rwx /var/www/digiwords
3941 [37m[1mDEBUG [m+ chown -R digiwords:www-data /var/www/digiwords
3951 [37m[1mDEBUG [m+ ynh_script_progression '--message=Restoring the PHP-FPM configuration...' --weight=1
3952 [37m[1mDEBUG [m+ set +o xtrace
4088 [37m[1mDEBUG [m+ set +o xtrace
4130 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
4131 [37m[1mDEBUG [m+ set +x
4137 [37m[1mDEBUG [m+ echo '[###########++.......] > Restoring the PHP-FPM configuration...'
4138 [36m[1mINFO [m[###########++.......] > Restoring the PHP-FPM configuration...
4139 [37m[1mDEBUG [m+ set -o xtrace
4140 [37m[1mDEBUG [m+ ynh_restore_file --origin_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
4145 [37m[1mDEBUG [m+ local legacy_args=odm
4146 [37m[1mDEBUG [m+ args_array=([o]=origin_path= [d]=dest_path= [m]=not_mandatory)
4147 [37m[1mDEBUG [m+ local -A args_array
4148 [37m[1mDEBUG [m+ local origin_path
4149 [37m[1mDEBUG [m+ local dest_path
4149 [37m[1mDEBUG [m+ local not_mandatory
4150 [37m[1mDEBUG [m+ ynh_handle_getopts_args --origin_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
4151 [37m[1mDEBUG [m+ set +o xtrace
4218 [37m[1mDEBUG [m+ origin_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
4218 [37m[1mDEBUG [m+ dest_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
4219 [37m[1mDEBUG [m+ not_mandatory=0
4219 [37m[1mDEBUG [m+ local archive_path=/home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
4220 [37m[1mDEBUG [m+ '[' '!' -d /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf ']'
4220 [37m[1mDEBUG [m+ '[' '!' -f /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf ']'
4221 [37m[1mDEBUG [m+ [[ -e /etc/php/7.3/fpm/pool.d/digiwords.conf ]]
4221 [37m[1mDEBUG [m++ dirname /etc/php/7.3/fpm/pool.d/digiwords.conf
4222 [37m[1mDEBUG [m+ mkdir --parents /etc/php/7.3/fpm/pool.d
4227 [37m[1mDEBUG [m+ mountpoint --quiet /home/yunohost.backup/tmp/Backup_test
4229 [37m[1mDEBUG [m+ mv /home/yunohost.backup/tmp/Backup_test/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf /etc/php/7.3/fpm/pool.d/digiwords.conf
4233 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reinstalling dependencies...' --weight=1
4237 [37m[1mDEBUG [m+ set +o xtrace
4369 [37m[1mDEBUG [m+ set +o xtrace
4393 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
4393 [37m[1mDEBUG [m+ set +x
4397 [37m[1mDEBUG [m+ echo '[#############++.....] > Reinstalling dependencies...'
4397 [37m[1mDEBUG [m+ set -o xtrace
4397 [36m[1mINFO [m[#############++.....] > Reinstalling dependencies...
4398 [37m[1mDEBUG [m+ ynh_install_app_dependencies php-sqlite3
4399 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
4406 [37m[1mDEBUG [m++ echo php-sqlite3
4407 [37m[1mDEBUG [m++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
4421 [37m[1mDEBUG [m+ dependencies=php-sqlite3
4422 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
4424 [37m[1mDEBUG [m+ local manifest_path=/home/yunohost.backup/tmp/Backup_test/apps/digiwords/settings/manifest.json
4425 [37m[1mDEBUG [m++ jq -r .version /home/yunohost.backup/tmp/Backup_test/apps/digiwords/settings/manifest.json
4437 [37m[1mDEBUG [m+ local version=0.3.3~ynh1
4437 [37m[1mDEBUG [m+ '[' -z 0.3.3~ynh1 ']'
4437 [37m[1mDEBUG [m+ '[' 0.3.3~ynh1 == null ']'
4438 [37m[1mDEBUG [m+ local dep_app=digiwords
4438 [37m[1mDEBUG [m+ [[ php-sqlite3 =~ [<=>] ]]
4453 [37m[1mDEBUG [m++ echo php-sqlite3
4462 [37m[1mDEBUG [m++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
4468 [37m[1mDEBUG [m++ sort -u
4473 [37m[1mDEBUG [m+ local specific_php_version=
4474 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
4476 [37m[1mDEBUG [m+ [[ -n '' ]]
4480 [37m[1mDEBUG [m+ [[ true == \t\r\u\e ]]
4481 [37m[1mDEBUG [m+ YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
4484 [37m[1mDEBUG [m+ grep --quiet php
4486 [37m[1mDEBUG [m+ grep php7.0
4489 [37m[1mDEBUG [m+ dpkg --list
4489 [37m[1mDEBUG [m+ grep --quiet --invert-match 7.0.33-0+deb9
4584 [37m[1mDEBUG [m+ cat
4585 [37m[1mDEBUG [m+ ynh_package_install_from_equivs /tmp/digiwords-ynh-deps.control
4585 [37m[1mDEBUG [m+ local controlfile=/tmp/digiwords-ynh-deps.control
4585 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
4591 [37m[1mDEBUG [m++ grep '^Package: ' /tmp/digiwords-ynh-deps.control
4602 [37m[1mDEBUG [m+ local pkgname=digiwords-ynh-deps
4602 [37m[1mDEBUG [m++ grep '^Version: ' /tmp/digiwords-ynh-deps.control
4603 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
4607 [37m[1mDEBUG [m+ local pkgversion=0.3.3~ynh1
4607 [37m[1mDEBUG [m+ [[ -z digiwords-ynh-deps ]]
4607 [37m[1mDEBUG [m+ [[ -z 0.3.3~ynh1 ]]
4607 [37m[1mDEBUG [m+ ynh_package_update
4608 [37m[1mDEBUG [m+ ynh_apt update
4608 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
4608 [37m[1mDEBUG [m+ local try
4608 [37m[1mDEBUG [m+ set +o xtrace
6160 [37m[1mDEBUG [m+ return 0
6166 [37m[1mDEBUG [m+ LC_ALL=C
6169 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
6170 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
6491 [37m[1mDEBUG [mHit:1 http://forge.yunohost.org/debian buster InRelease
6501 [37m[1mDEBUG [mHit:2 http://deb.debian.org/debian buster InRelease
6529 [37m[1mDEBUG [mGet:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
6566 [37m[1mDEBUG [mGet:4 http://deb.debian.org/debian-security buster/updates InRelease [65.4 kB]
7384 [37m[1mDEBUG [mGet:5 http://deb.debian.org/debian buster-updates/main amd64 Packages.diff/Index [11.1 kB]
7405 [37m[1mDEBUG [mGet:6 http://deb.debian.org/debian buster-updates/main amd64 Packages 2022-05-28-1407.13.pdiff [1094 B]
7433 [37m[1mDEBUG [mGet:6 http://deb.debian.org/debian buster-updates/main amd64 Packages 2022-05-28-1407.13.pdiff [1094 B]
7635 [37m[1mDEBUG [mGet:7 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [328 kB]
7692 [37m[1mDEBUG [mGet:8 http://deb.debian.org/debian-security buster/updates/main Translation-en [177 kB]
7890 [37m[1mDEBUG [mFetched 635 kB in 2s (404 kB/s)
9465 [37m[1mDEBUG [mReading package lists...
9524 [37m[1mDEBUG [m++ mktemp --directory
9527 [37m[1mDEBUG [m+ local TMPDIR=/tmp/tmp.U6misZELME
9529 [37m[1mDEBUG [m+ echo 10
9533 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
9534 [37m[1mDEBUG [m+ local try
9539 [37m[1mDEBUG [m+ set +o xtrace
11046 [37m[1mDEBUG [m+ return 0
11047 [37m[1mDEBUG [m+ cp /tmp/digiwords-ynh-deps.control /tmp/tmp.U6misZELME/control
11051 [37m[1mDEBUG [m+ cd /tmp/tmp.U6misZELME
11052 [37m[1mDEBUG [m+ LC_ALL=C
11053 [37m[1mDEBUG [m+ equivs-build ./control
13561 [37m[1mDEBUG [m+ tee ./dpkg_log
13562 [37m[1mDEBUG [m+ LC_ALL=C
13563 [37m[1mDEBUG [m+ dpkg --force-depends --install ./digiwords-ynh-deps_0.3.3~ynh1_all.deb
13628 [37m[1mDEBUG [mSelecting previously unselected package digiwords-ynh-deps.
13670 [37m[1mDEBUG [m(Reading database ... 42385 files and directories currently installed.)
13677 [37m[1mDEBUG [mPreparing to unpack .../digiwords-ynh-deps_0.3.3~ynh1_all.deb ...
13694 [37m[1mDEBUG [mUnpacking digiwords-ynh-deps (0.3.3~ynh1) ...
13785 [37m[1mDEBUG [mdpkg: digiwords-ynh-deps: dependency problems, but configuring anyway as you requested:
13787 [37m[1mDEBUG [m digiwords-ynh-deps depends on php-sqlite3; however:
13788 [37m[1mDEBUG [m Package php-sqlite3 is not installed.
13789 [37m[1mDEBUG [m
13790 [37m[1mDEBUG [mSetting up digiwords-ynh-deps (0.3.3~ynh1) ...
13855 [37m[1mDEBUG [m+ ynh_package_install --fix-broken
13856 [37m[1mDEBUG [m+ ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
13858 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
13859 [37m[1mDEBUG [m+ local try
13861 [37m[1mDEBUG [m+ set +o xtrace
15348 [37m[1mDEBUG [m+ return 0
15351 [37m[1mDEBUG [m+ LC_ALL=C
15352 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
15355 [37m[1mDEBUG [m+ 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
15568 [37m[1mDEBUG [mReading package lists...
16005 [37m[1mDEBUG [mBuilding dependency tree...
16007 [37m[1mDEBUG [mReading state information...
16296 [37m[1mDEBUG [mCorrecting dependencies... Done
16762 [37m[1mDEBUG [mThe following additional packages will be installed:
16763 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
16809 [37m[1mDEBUG [mThe following NEW packages will be installed:
16810 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
16882 [37m[1mDEBUG [m0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
16884 [37m[1mDEBUG [mNeed to get 32.2 kB of archives.
16884 [37m[1mDEBUG [mAfter this operation, 139 kB of additional disk space will be used.
16885 [37m[1mDEBUG [mGet:1 http://deb.debian.org/debian buster/main amd64 php7.3-sqlite3 amd64 7.3.31-1~deb10u1 [26.2 kB]
16898 [37m[1mDEBUG [mGet:2 http://deb.debian.org/debian buster/main amd64 php-sqlite3 all 2:7.3+69 [5996 B]
17535 [37m[1mDEBUG [mFetched 32.2 kB in 0s (631 kB/s)
17735 [37m[1mDEBUG [mSelecting previously unselected package php7.3-sqlite3.
17795 [37m[1mDEBUG [m(Reading database ... 42389 files and directories currently installed.)
17800 [37m[1mDEBUG [mPreparing to unpack .../php7.3-sqlite3_7.3.31-1~deb10u1_amd64.deb ...
17832 [37m[1mDEBUG [mUnpacking php7.3-sqlite3 (7.3.31-1~deb10u1) ...
17962 [37m[1mDEBUG [mSelecting previously unselected package php-sqlite3.
17971 [37m[1mDEBUG [mPreparing to unpack .../php-sqlite3_2%3a7.3+69_all.deb ...
17986 [37m[1mDEBUG [mUnpacking php-sqlite3 (2:7.3+69) ...
18115 [37m[1mDEBUG [mSetting up php7.3-sqlite3 (7.3.31-1~deb10u1) ...
18153 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
18406 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
18512 [37m[1mDEBUG [m
18514 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/sqlite3.ini with new version
18607 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
18888 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
19128 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
19244 [37m[1mDEBUG [m
19245 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/pdo_sqlite.ini with new version
19348 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
19602 [37m[1mDEBUG [mSetting up php-sqlite3 (2:7.3+69) ...
19637 [37m[1mDEBUG [mProcessing triggers for php7.3-fpm (7.3.31-1~deb10u1) ...
20376 [37m[1mDEBUG [m+ [[ -n /tmp/tmp.U6misZELME ]]
20378 [37m[1mDEBUG [m+ rm --recursive --force /tmp/tmp.U6misZELME
20383 [37m[1mDEBUG [m+ ynh_package_is_installed digiwords-ynh-deps
20385 [37m[1mDEBUG [m+ local legacy_args=p
20385 [37m[1mDEBUG [m+ args_array=([p]=package=)
20386 [37m[1mDEBUG [m+ local -A args_array
20386 [37m[1mDEBUG [m+ local package
20387 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords-ynh-deps
20387 [37m[1mDEBUG [m+ set +o xtrace
20400 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
20401 [37m[1mDEBUG [m+ set +x
20403 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
20404 [37m[1mDEBUG [m+ local try
20405 [37m[1mDEBUG [m+ set +o xtrace
21798 [37m[1mDEBUG [m+ return 0
21799 [37m[1mDEBUG [m+ grep --count 'ok installed'
21800 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
21825 [37m[1mDEBUG [m+ rm /tmp/digiwords-ynh-deps.control
21828 [37m[1mDEBUG [m+ [[ -n '' ]]
21829 [37m[1mDEBUG [m+ grep --quiet php
21834 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
21835 [37m[1mDEBUG [m+ local _globalapp=digiwords
21835 [37m[1mDEBUG [m+ local legacy_args=akv
21837 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
21837 [37m[1mDEBUG [m+ local -A args_array
21838 [37m[1mDEBUG [m+ local app
21839 [37m[1mDEBUG [m+ local key
21840 [37m[1mDEBUG [m+ local value
21841 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
21842 [37m[1mDEBUG [m+ set +o xtrace
21950 [37m[1mDEBUG [m+ app=digiwords
21951 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
21951 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
21952 [37m[1mDEBUG [m+ set +o xtrace
22041 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reloading NGINX web server and PHP-FPM...' --weight=1
22043 [37m[1mDEBUG [m+ set +o xtrace
22164 [37m[1mDEBUG [m+ set +o xtrace
22192 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
22195 [37m[1mDEBUG [m+ set +x
22197 [37m[1mDEBUG [m+ echo '[###############++...] > Reloading NGINX web server and PHP-FPM...'
22199 [37m[1mDEBUG [m+ set -o xtrace
22199 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
22200 [37m[1mDEBUG [m+ local legacy_args=nalpte
22201 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
22202 [37m[1mDEBUG [m+ local -A args_array
22202 [37m[1mDEBUG [m+ local service_name
22203 [37m[1mDEBUG [m+ local action
22205 [37m[1mDEBUG [m+ local line_match
22206 [37m[1mDEBUG [m+ local length
22206 [37m[1mDEBUG [m+ local log_path
22207 [37m[1mDEBUG [m+ local timeout
22207 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
22208 [37m[1mDEBUG [m+ set +o xtrace
22210 [36m[1mINFO [m[###############++...] > Reloading NGINX web server and PHP-FPM...
22428 [37m[1mDEBUG [m+ service_name=php7.3-fpm
22431 [37m[1mDEBUG [m+ action=reload
22432 [37m[1mDEBUG [m+ line_match=
22433 [37m[1mDEBUG [m+ length=20
22434 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
22435 [37m[1mDEBUG [m+ timeout=300
22435 [37m[1mDEBUG [m+ '[' reload == stop ']'
22435 [37m[1mDEBUG [m+ [[ -n '' ]]
22436 [37m[1mDEBUG [m+ '[' reload == reload ']'
22437 [37m[1mDEBUG [m+ action=reload-or-restart
22437 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
22466 [37m[1mDEBUG [m+ [[ -n '' ]]
22468 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
22469 [37m[1mDEBUG [m+ local legacy_args=nalpte
22470 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
22472 [37m[1mDEBUG [m+ local -A args_array
22481 [37m[1mDEBUG [m+ local service_name
22482 [37m[1mDEBUG [m+ local action
22483 [37m[1mDEBUG [m+ local line_match
22484 [37m[1mDEBUG [m+ local length
22484 [37m[1mDEBUG [m+ local log_path
22485 [37m[1mDEBUG [m+ local timeout
22485 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
22485 [37m[1mDEBUG [m+ set +o xtrace
22742 [37m[1mDEBUG [m+ service_name=nginx
22744 [37m[1mDEBUG [m+ action=reload
22745 [37m[1mDEBUG [m+ line_match=
22747 [37m[1mDEBUG [m+ length=20
22748 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
22750 [37m[1mDEBUG [m+ timeout=300
22751 [37m[1mDEBUG [m+ '[' reload == stop ']'
22751 [37m[1mDEBUG [m+ [[ -n '' ]]
22751 [37m[1mDEBUG [m+ '[' reload == reload ']'
22752 [37m[1mDEBUG [m+ action=reload-or-restart
22752 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
22846 [37m[1mDEBUG [m+ [[ -n '' ]]
22850 [37m[1mDEBUG [m+ ynh_script_progression '--message=Restoration completed for digiwords' --last
22851 [37m[1mDEBUG [m+ set +o xtrace
22993 [37m[1mDEBUG [m+ set +o xtrace
23022 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
23023 [37m[1mDEBUG [m+ set +x
23031 [37m[1mDEBUG [m+ echo '[####################] > Restoration completed for digiwords'
23032 [37m[1mDEBUG [m+ set -o xtrace
23038 [37m[1mDEBUG [m+ ynh_exit_properly
23039 [37m[1mDEBUG [m+ local exit_code=0
23041 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/download/
23043 [36m[1mINFO [m[####################] > Restoration completed for digiwords
23049 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
23052 [37m[1mDEBUG [m+ exit 0
24056 [37m[1mDEBUG [mTo view the log of the operation 'Restore 'digiwords' from a backup archive', use the command 'yunohost log show 20220531-095157-backup_restore_app-digiwords'
24093 [37m[1mDEBUG [mThe permission database has been resynchronized
24146 [37m[1mDEBUG [mSSOwat configuration regenerated
24168 [32m[1mSUCCESS [mRestoration completed
24169 [37m[1mDEBUG [maction [842.1] executed in 23.755s
24169 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 25 seconds (09:52:21)
[1m > Validating that the app digiwords can/can't be accessed with its URL...[0m
Running curl sub.domain.tld/path
200;https://sub.domain.tld/path/
Return code: 0
Working time: 0s (09:52:35)
Return code: 0
Working time: 0s (09:52:38)
HTTP code: 200
Test URL: sub.domain.tld/path
Real URL: https://sub.domain.tld/path/
HTTP code: 200
Page title:
Page extract:
Running curl sub.domain.tld/path/
200;https://sub.domain.tld/path/
Return code: 0
Working time: 0s (09:52:44)
Digiwords by La DigitaleReturn code: 0
Working time: 0s (09:52:47)
HTTP code: 200
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Test URL: sub.domain.tld/path/
Real URL: https://sub.domain.tld/path/
HTTP code: 200
Page title:
Page extract:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
[1m[32m--- SUCCESS ---[0m
Working time for this test: 9 minutes, 42 seconds (09:52:47)
[1m
============================================
[Test 7/9] Upgrade from the same version
============================================
[0m
[1m > Preliminary install...[0m
(Reusing existing snapshot snap_rootinstall)
Loading snapshot snap_rootinstall ...
[1m > Upgrade...[0m
Running yunohost app upgrade digiwords --file /app_folder --force
231 [37m[1mDEBUG [minitializing base actions map parser for cli
234 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
237 [37m[1mDEBUG [mbuilding parser...
258 [37m[1mDEBUG [mbuilding parser took 0.021s
260 [37m[1mDEBUG [macquiring lock...
281 [37m[1mDEBUG [mlock has been acquired
320 [37m[1mDEBUG [mloading python module yunohost.app took 0.039s
321 [37m[1mDEBUG [mprocessing action [846.1]: yunohost.app.upgrade with args={'app': ['digiwords'], 'url': None, 'file': '/app_folder', 'force': True, 'no_safety_backup': False}
358 [36m[1mINFO [mNow upgrading digiwords...
442 [37m[1mDEBUG [minitializing ldap interface
500 [37m[1mDEBUG [mExtracting...
517 [37m[1mDEBUG [mDone
519 [37m[1mDEBUG [mChecking required packages for digiwords...
533 [37m[1mDEBUG [mChecking that required services are up and running...
1516 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "./upgrade" 7>&1']'
1528 [37m[1mDEBUG [m+ source _common.sh
1529 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
1529 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
1531 [37m[1mDEBUG [m+++ set +o
1532 [37m[1mDEBUG [m+++ grep xtrace
1537 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
1538 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
1538 [37m[1mDEBUG [m++ set +x
1582 [37m[1mDEBUG [m+ ynh_script_progression '--message=Loading installation settings...' --weight=1
1583 [37m[1mDEBUG [m+ set +o xtrace
1686 [37m[1mDEBUG [m+ set +o xtrace
1743 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1744 [37m[1mDEBUG [m+ set +x
1747 [36m[1mINFO [m[++..................] > Loading installation settings...
1748 [37m[1mDEBUG [m+ echo '[++..................] > Loading installation settings...'
1749 [37m[1mDEBUG [m+ set -o xtrace
1750 [37m[1mDEBUG [m+ app=digiwords
1751 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=domain
1751 [37m[1mDEBUG [m++ local _globalapp=digiwords
1752 [37m[1mDEBUG [m++ local legacy_args=ak
1753 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1755 [37m[1mDEBUG [m++ local -A args_array
1755 [37m[1mDEBUG [m++ local app
1756 [37m[1mDEBUG [m++ local key
1756 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=domain
1756 [37m[1mDEBUG [m++ set +o xtrace
1828 [37m[1mDEBUG [m++ app=digiwords
1829 [37m[1mDEBUG [m++ [[ domain =~ (unprotected|protected|skipped)_ ]]
1831 [37m[1mDEBUG [m++ ynh_app_setting get digiwords domain
1833 [37m[1mDEBUG [m++ set +o xtrace
1932 [37m[1mDEBUG [m+ domain=sub.domain.tld
1935 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=path
1936 [37m[1mDEBUG [m++ local _globalapp=digiwords
1944 [37m[1mDEBUG [m++ local legacy_args=ak
1945 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1947 [37m[1mDEBUG [m++ local -A args_array
1948 [37m[1mDEBUG [m++ local app
1950 [37m[1mDEBUG [m++ local key
1951 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=path
1951 [37m[1mDEBUG [m++ set +o xtrace
2026 [37m[1mDEBUG [m++ app=digiwords
2026 [37m[1mDEBUG [m++ [[ path =~ (unprotected|protected|skipped)_ ]]
2027 [37m[1mDEBUG [m++ ynh_app_setting get digiwords path
2028 [37m[1mDEBUG [m++ set +o xtrace
2114 [37m[1mDEBUG [m+ path_url=/
2115 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=admin
2116 [37m[1mDEBUG [m++ local _globalapp=digiwords
2116 [37m[1mDEBUG [m++ local legacy_args=ak
2116 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2117 [37m[1mDEBUG [m++ local -A args_array
2117 [37m[1mDEBUG [m++ local app
2118 [37m[1mDEBUG [m++ local key
2119 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=admin
2119 [37m[1mDEBUG [m++ set +o xtrace
2181 [37m[1mDEBUG [m++ app=digiwords
2182 [37m[1mDEBUG [m++ [[ admin =~ (unprotected|protected|skipped)_ ]]
2183 [37m[1mDEBUG [m++ ynh_app_setting get digiwords admin
2183 [37m[1mDEBUG [m++ set +o xtrace
2260 [37m[1mDEBUG [m+ admin=
2262 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=final_path
2263 [37m[1mDEBUG [m++ local _globalapp=digiwords
2264 [37m[1mDEBUG [m++ local legacy_args=ak
2265 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2266 [37m[1mDEBUG [m++ local -A args_array
2266 [37m[1mDEBUG [m++ local app
2267 [37m[1mDEBUG [m++ local key
2267 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=final_path
2268 [37m[1mDEBUG [m++ set +o xtrace
2330 [37m[1mDEBUG [m++ app=digiwords
2330 [37m[1mDEBUG [m++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
2334 [37m[1mDEBUG [m++ ynh_app_setting get digiwords final_path
2334 [37m[1mDEBUG [m++ set +o xtrace
2429 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
2430 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=db_name
2431 [37m[1mDEBUG [m++ local _globalapp=digiwords
2431 [37m[1mDEBUG [m++ local legacy_args=ak
2433 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2434 [37m[1mDEBUG [m++ local -A args_array
2435 [37m[1mDEBUG [m++ local app
2435 [37m[1mDEBUG [m++ local key
2436 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=db_name
2436 [37m[1mDEBUG [m++ set +o xtrace
2507 [37m[1mDEBUG [m++ app=digiwords
2508 [37m[1mDEBUG [m++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
2509 [37m[1mDEBUG [m++ ynh_app_setting get digiwords db_name
2511 [37m[1mDEBUG [m++ set +o xtrace
2596 [37m[1mDEBUG [m+ db_name=
2598 [37m[1mDEBUG [m++ ynh_check_app_version_changed
2599 [37m[1mDEBUG [m++ local return_value=UPGRADE_FORCED
2601 [37m[1mDEBUG [m++ '[' UPGRADE_FORCED == UPGRADE_FULL ']'
2602 [37m[1mDEBUG [m++ '[' UPGRADE_FORCED == UPGRADE_FORCED ']'
2603 [37m[1mDEBUG [m++ return_value=UPGRADE_APP
2604 [37m[1mDEBUG [m++ echo UPGRADE_APP
2605 [37m[1mDEBUG [m+ upgrade_type=UPGRADE_APP
2605 [37m[1mDEBUG [m+ ynh_script_progression '--message=Backing up the app before upgrading (may take a while)...' --weight=1
2606 [37m[1mDEBUG [m+ set +o xtrace
2715 [37m[1mDEBUG [m+ set +o xtrace
2740 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2741 [37m[1mDEBUG [m+ set +x
2745 [36m[1mINFO [m[##++................] > Backing up the app before upgrading (may take a while)...
2747 [37m[1mDEBUG [m+ echo '[##++................] > Backing up the app before upgrading (may take a while)...'
2747 [37m[1mDEBUG [m+ set -o xtrace
2748 [37m[1mDEBUG [m+ ynh_backup_before_upgrade
2748 [37m[1mDEBUG [m+ '[' '!' -e /etc/yunohost/apps/digiwords/scripts/backup ']'
2748 [37m[1mDEBUG [m+ backup_number=1
2749 [37m[1mDEBUG [m+ local old_backup_number=2
2749 [37m[1mDEBUG [m+ local app_bck=digiwords
2750 [37m[1mDEBUG [m+ NO_BACKUP_UPGRADE=0
2750 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
2750 [37m[1mDEBUG [m+ ynh_backup_archive_exists digiwords-pre-upgrade1
2751 [37m[1mDEBUG [m+ yunohost backup list --output-as json --quiet
2752 [37m[1mDEBUG [m+ jq -e --arg archive digiwords-pre-upgrade1 '.archives | index($archive)'
3154 [37m[1mDEBUG [m+ BACKUP_CORE_ONLY=1
3154 [37m[1mDEBUG [m+ yunohost backup create --apps digiwords --name digiwords-pre-upgrade1 --debug
3429 [37m[1mDEBUG [m203 initializing base actions map parser for cli
3435 [37m[1mDEBUG [m208 loading actions map namespace 'yunohost'
3440 [37m[1mDEBUG [m214 building parser...
3450 [37m[1mDEBUG [m223 building parser took 0.009s
3462 [37m[1mDEBUG [m235 acquiring lock...
3540 [37m[1mDEBUG [m314 loading python module yunohost.backup took 0.032s
3543 [37m[1mDEBUG [m315 processing action [1200.1]: yunohost.backup.create with args={'name': 'digiwords-pre-upgrade1', 'description': None, 'output_directory': None, 'methods': None, 'system': None, 'apps': ['digiwords'], 'dry_run': False}
3596 [37m[1mDEBUG [m370 Collecting files to be backed up for digiwords...
3621 [37m[1mDEBUG [m395 Executing command '['sh', '-c', '/bin/bash -x "/var/cache/yunohost/app_tmp_work_dirs/app_g0yrqj69/scripts/backup" 7>&1']'
3633 [37m[1mDEBUG [m406 + source ../settings/scripts/_common.sh
3634 [37m[1mDEBUG [m407 ++ pkg_dependencies=php-sqlite3
3634 [37m[1mDEBUG [m408 + source /usr/share/yunohost/helpers
3635 [37m[1mDEBUG [m409 +++ set +o
3638 [37m[1mDEBUG [m412 +++ grep xtrace
3643 [37m[1mDEBUG [m416 ++ readonly 'XTRACE_ENABLE=set -o xtrace'
3643 [37m[1mDEBUG [m417 ++ XTRACE_ENABLE='set -o xtrace'
3644 [37m[1mDEBUG [m417 ++ set +x
3699 [37m[1mDEBUG [m473 + ynh_abort_if_errors
3699 [37m[1mDEBUG [m473 + set -o errexit
3700 [37m[1mDEBUG [m473 + set -o nounset
3701 [37m[1mDEBUG [m474 + trap ynh_exit_properly EXIT
3703 [37m[1mDEBUG [m477 + ynh_print_info '--message=Loading installation settings...'
3705 [37m[1mDEBUG [m477 + local legacy_args=m
3705 [37m[1mDEBUG [m477 + args_array=([m]=message=)
3707 [37m[1mDEBUG [m478 + local -A args_array
3709 [37m[1mDEBUG [m478 + local message
3709 [37m[1mDEBUG [m478 + ynh_handle_getopts_args '--message=Loading installation settings...'
3710 [37m[1mDEBUG [m479 + set +o xtrace
3731 [37m[1mDEBUG [m505 Loading installation settings...
3734 [37m[1mDEBUG [m505 + echo 'Loading installation settings...'
3736 [37m[1mDEBUG [m506 + app=digiwords
3737 [37m[1mDEBUG [m507 ++ ynh_app_setting_get --app=digiwords --key=final_path
3738 [37m[1mDEBUG [m509 ++ local _globalapp=digiwords
3739 [37m[1mDEBUG [m510 ++ local legacy_args=ak
3740 [37m[1mDEBUG [m511 ++ args_array=([a]=app= [k]=key=)
3740 [37m[1mDEBUG [m511 ++ local -A args_array
3740 [37m[1mDEBUG [m512 ++ local app
3742 [37m[1mDEBUG [m514 ++ local key
3743 [37m[1mDEBUG [m514 ++ ynh_handle_getopts_args --app=digiwords --key=final_path
3745 [37m[1mDEBUG [m514 ++ set +o xtrace
3803 [37m[1mDEBUG [m577 ++ app=digiwords
3805 [37m[1mDEBUG [m577 ++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
3808 [37m[1mDEBUG [m577 ++ ynh_app_setting get digiwords final_path
3811 [37m[1mDEBUG [m578 ++ set +o xtrace
3893 [37m[1mDEBUG [m666 + final_path=/var/www/digiwords
3895 [37m[1mDEBUG [m668 ++ ynh_app_setting_get --app=digiwords --key=domain
3903 [37m[1mDEBUG [m677 ++ local _globalapp=digiwords
3904 [37m[1mDEBUG [m677 ++ local legacy_args=ak
3905 [37m[1mDEBUG [m678 ++ args_array=([a]=app= [k]=key=)
3906 [37m[1mDEBUG [m678 ++ local -A args_array
3907 [37m[1mDEBUG [m678 ++ local app
3907 [37m[1mDEBUG [m678 ++ local key
3907 [37m[1mDEBUG [m679 ++ ynh_handle_getopts_args --app=digiwords --key=domain
3908 [37m[1mDEBUG [m681 ++ set +o xtrace
3977 [37m[1mDEBUG [m751 ++ app=digiwords
3981 [37m[1mDEBUG [m751 ++ [[ domain =~ (unprotected|protected|skipped)_ ]]
3984 [37m[1mDEBUG [m751 ++ ynh_app_setting get digiwords domain
3985 [37m[1mDEBUG [m751 ++ set +o xtrace
4061 [37m[1mDEBUG [m835 + domain=sub.domain.tld
4067 [37m[1mDEBUG [m836 ++ ynh_app_setting_get --app=digiwords --key=db_name
4069 [37m[1mDEBUG [m840 ++ local _globalapp=digiwords
4069 [37m[1mDEBUG [m840 ++ local legacy_args=ak
4070 [37m[1mDEBUG [m840 ++ args_array=([a]=app= [k]=key=)
4071 [37m[1mDEBUG [m841 ++ local -A args_array
4071 [37m[1mDEBUG [m841 ++ local app
4072 [37m[1mDEBUG [m841 ++ local key
4072 [37m[1mDEBUG [m841 ++ ynh_handle_getopts_args --app=digiwords --key=db_name
4073 [37m[1mDEBUG [m842 ++ set +o xtrace
4138 [37m[1mDEBUG [m909 ++ app=digiwords
4139 [37m[1mDEBUG [m910 ++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
4142 [37m[1mDEBUG [m910 ++ ynh_app_setting get digiwords db_name
4143 [37m[1mDEBUG [m910 ++ set +o xtrace
4213 [37m[1mDEBUG [m986 + db_name=
4216 [37m[1mDEBUG [m990 ++ ynh_app_setting_get --app=digiwords --key=phpversion
4225 [37m[1mDEBUG [m999 ++ local _globalapp=digiwords
4226 [37m[1mDEBUG [m1000 ++ local legacy_args=ak
4227 [37m[1mDEBUG [m1001 ++ args_array=([a]=app= [k]=key=)
4233 [37m[1mDEBUG [m1004 ++ local -A args_array
4234 [37m[1mDEBUG [m1005 ++ local app
4234 [37m[1mDEBUG [m1006 ++ local key
4234 [37m[1mDEBUG [m1006 ++ ynh_handle_getopts_args --app=digiwords --key=phpversion
4235 [37m[1mDEBUG [m1007 ++ set +o xtrace
4290 [37m[1mDEBUG [m1063 ++ app=digiwords
4291 [37m[1mDEBUG [m1064 ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
4291 [37m[1mDEBUG [m1064 ++ ynh_app_setting get digiwords phpversion
4292 [37m[1mDEBUG [m1064 ++ set +o xtrace
4395 [37m[1mDEBUG [m1168 + phpversion=7.3
4399 [37m[1mDEBUG [m1171 ++ ynh_app_setting_get --app=digiwords --key=datadir
4403 [37m[1mDEBUG [m1176 ++ local _globalapp=digiwords
4404 [37m[1mDEBUG [m1178 ++ local legacy_args=ak
4405 [37m[1mDEBUG [m1179 ++ args_array=([a]=app= [k]=key=)
4406 [37m[1mDEBUG [m1181 ++ local -A args_array
4407 [37m[1mDEBUG [m1182 ++ local app
4408 [37m[1mDEBUG [m1183 ++ local key
4409 [37m[1mDEBUG [m1183 ++ ynh_handle_getopts_args --app=digiwords --key=datadir
4410 [37m[1mDEBUG [m1184 ++ set +o xtrace
4484 [37m[1mDEBUG [m1258 ++ app=digiwords
4485 [37m[1mDEBUG [m1258 ++ [[ datadir =~ (unprotected|protected|skipped)_ ]]
4490 [37m[1mDEBUG [m1258 ++ ynh_app_setting get digiwords datadir
4496 [37m[1mDEBUG [m1259 ++ set +o xtrace
4571 [37m[1mDEBUG [m1342 + datadir=
4571 [37m[1mDEBUG [m1343 + ynh_print_info '--message=Declaring files to be backed up...'
4572 [37m[1mDEBUG [m1343 + local legacy_args=m
4573 [37m[1mDEBUG [m1344 + args_array=([m]=message=)
4573 [37m[1mDEBUG [m1344 + local -A args_array
4574 [37m[1mDEBUG [m1345 + local message
4575 [37m[1mDEBUG [m1345 + ynh_handle_getopts_args '--message=Declaring files to be backed up...'
4576 [37m[1mDEBUG [m1345 + set +o xtrace
4600 [37m[1mDEBUG [m1374 + echo 'Declaring files to be backed up...'
4601 [37m[1mDEBUG [m1375 + ynh_backup --src_path=/var/www/digiwords
4602 [37m[1mDEBUG [m1375 + local legacy_args=sdbm
4603 [37m[1mDEBUG [m1375 + args_array=([s]=src_path= [d]=dest_path= [b]=is_big [m]=not_mandatory)
4606 [37m[1mDEBUG [m1379 + local -A args_array
4610 [37m[1mDEBUG [m1383 + local src_path
4612 [37m[1mDEBUG [m1385 + local dest_path
4614 [37m[1mDEBUG [m1388 + local is_big
4615 [37m[1mDEBUG [m1389 + local not_mandatory
4616 [37m[1mDEBUG [m1390 + ynh_handle_getopts_args --src_path=/var/www/digiwords
4617 [37m[1mDEBUG [m1391 + set +o xtrace
4620 [37m[1mDEBUG [m1394 Declaring files to be backed up...
4683 [37m[1mDEBUG [m1456 + dest_path=
4685 [37m[1mDEBUG [m1457 + is_big=0
4687 [37m[1mDEBUG [m1457 + not_mandatory=0
4691 [37m[1mDEBUG [m1457 + BACKUP_CORE_ONLY=1
4693 [37m[1mDEBUG [m1458 + test -n digiwords
4696 [37m[1mDEBUG [m1462 ++ ynh_app_setting_get --app=digiwords --key=do_not_backup_data
4700 [37m[1mDEBUG [m1471 ++ local _globalapp=digiwords
4701 [37m[1mDEBUG [m1474 ++ local legacy_args=ak
4703 [37m[1mDEBUG [m1476 ++ args_array=([a]=app= [k]=key=)
4704 [37m[1mDEBUG [m1477 ++ local -A args_array
4704 [37m[1mDEBUG [m1478 ++ local app
4707 [37m[1mDEBUG [m1479 ++ local key
4710 [37m[1mDEBUG [m1479 ++ ynh_handle_getopts_args --app=digiwords --key=do_not_backup_data
4711 [37m[1mDEBUG [m1481 ++ set +o xtrace
4788 [37m[1mDEBUG [m1561 ++ app=digiwords
4789 [37m[1mDEBUG [m1562 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
4791 [37m[1mDEBUG [m1562 ++ ynh_app_setting get digiwords do_not_backup_data
4792 [37m[1mDEBUG [m1562 ++ set +o xtrace
4920 [37m[1mDEBUG [m1694 + do_not_backup_data=
4921 [37m[1mDEBUG [m1694 + '[' 0 -eq 1 ']'
4921 [37m[1mDEBUG [m1694 + '[' '!' -e /var/www/digiwords ']'
4922 [37m[1mDEBUG [m1695 ++ realpath /var/www/digiwords
4931 [37m[1mDEBUG [m1703 + src_path=/var/www/digiwords
4931 [37m[1mDEBUG [m1705 + [[ -z '' ]]
4932 [37m[1mDEBUG [m1705 + dest_path=var/www/digiwords
4933 [37m[1mDEBUG [m1706 + [[ -e var/www/digiwords ]]
4934 [37m[1mDEBUG [m1707 + local rel_dir=/apps/digiwords/backup
4936 [37m[1mDEBUG [m1709 + rel_dir=/apps/digiwords/backup/
4938 [37m[1mDEBUG [m1711 + dest_path=/apps/digiwords/backup/var/www/digiwords
4944 [37m[1mDEBUG [m1714 + dest_path=apps/digiwords/backup/var/www/digiwords
4944 [37m[1mDEBUG [m1716 ++ echo /var/www/digiwords
4945 [37m[1mDEBUG [m1717 ++ sed --regexp-extended 's/"/\"\"/g'
4951 [37m[1mDEBUG [m1724 + local src=/var/www/digiwords
4954 [37m[1mDEBUG [m1728 ++ sed --regexp-extended 's/"/\"\"/g'
4955 [37m[1mDEBUG [m1729 ++ echo apps/digiwords/backup/var/www/digiwords
4961 [37m[1mDEBUG [m1734 + local dest=apps/digiwords/backup/var/www/digiwords
4962 [37m[1mDEBUG [m1735 + echo '"/var/www/digiwords","apps/digiwords/backup/var/www/digiwords"'
4963 [37m[1mDEBUG [m1736 ++ dirname /home/yunohost.backup/tmp/digiwords-pre-upgrade1/apps/digiwords/backup/var/www/digiwords
4969 [37m[1mDEBUG [m1742 + mkdir --parents /home/yunohost.backup/tmp/digiwords-pre-upgrade1/apps/digiwords/backup/var/www
4974 [37m[1mDEBUG [m1748 + ynh_backup --src_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
4975 [37m[1mDEBUG [m1749 + local legacy_args=sdbm
4976 [37m[1mDEBUG [m1749 + args_array=([s]=src_path= [d]=dest_path= [b]=is_big [m]=not_mandatory)
4977 [37m[1mDEBUG [m1749 + local -A args_array
4977 [37m[1mDEBUG [m1749 + local src_path
4978 [37m[1mDEBUG [m1750 + local dest_path
4979 [37m[1mDEBUG [m1750 + local is_big
4979 [37m[1mDEBUG [m1751 + local not_mandatory
4980 [37m[1mDEBUG [m1751 + ynh_handle_getopts_args --src_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
4981 [37m[1mDEBUG [m1751 + set +o xtrace
5042 [37m[1mDEBUG [m1816 + dest_path=
5043 [37m[1mDEBUG [m1816 + is_big=0
5044 [37m[1mDEBUG [m1817 + not_mandatory=0
5045 [37m[1mDEBUG [m1817 + BACKUP_CORE_ONLY=1
5047 [37m[1mDEBUG [m1817 + test -n digiwords
5048 [37m[1mDEBUG [m1817 ++ ynh_app_setting_get --app=digiwords --key=do_not_backup_data
5049 [37m[1mDEBUG [m1818 ++ local _globalapp=digiwords
5051 [37m[1mDEBUG [m1819 ++ local legacy_args=ak
5051 [37m[1mDEBUG [m1820 ++ args_array=([a]=app= [k]=key=)
5052 [37m[1mDEBUG [m1821 ++ local -A args_array
5052 [37m[1mDEBUG [m1822 ++ local app
5053 [37m[1mDEBUG [m1823 ++ local key
5054 [37m[1mDEBUG [m1823 ++ ynh_handle_getopts_args --app=digiwords --key=do_not_backup_data
5055 [37m[1mDEBUG [m1824 ++ set +o xtrace
5109 [37m[1mDEBUG [m1884 ++ app=digiwords
5110 [37m[1mDEBUG [m1884 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
5110 [37m[1mDEBUG [m1884 ++ ynh_app_setting get digiwords do_not_backup_data
5111 [37m[1mDEBUG [m1885 ++ set +o xtrace
5188 [37m[1mDEBUG [m1962 + do_not_backup_data=
5189 [37m[1mDEBUG [m1963 + '[' 0 -eq 1 ']'
5191 [37m[1mDEBUG [m1963 + '[' '!' -e /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ']'
5194 [37m[1mDEBUG [m1968 ++ realpath /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
5196 [37m[1mDEBUG [m1970 + src_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
5198 [37m[1mDEBUG [m1971 + [[ -z '' ]]
5200 [37m[1mDEBUG [m1971 + dest_path=etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
5201 [37m[1mDEBUG [m1972 + [[ -e etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ]]
5202 [37m[1mDEBUG [m1973 + local rel_dir=/apps/digiwords/backup
5202 [37m[1mDEBUG [m1974 + rel_dir=/apps/digiwords/backup/
5203 [37m[1mDEBUG [m1974 + dest_path=/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
5204 [37m[1mDEBUG [m1974 + dest_path=apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
5204 [37m[1mDEBUG [m1974 ++ echo /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
5205 [37m[1mDEBUG [m1975 ++ sed --regexp-extended 's/"/\"\"/g'
5205 [37m[1mDEBUG [m1977 + local src=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
5206 [37m[1mDEBUG [m1979 ++ sed --regexp-extended 's/"/\"\"/g'
5208 [37m[1mDEBUG [m1982 ++ echo apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
5214 [37m[1mDEBUG [m1988 + local dest=apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
5215 [37m[1mDEBUG [m1989 + echo '"/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf","apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf"'
5216 [37m[1mDEBUG [m1990 ++ dirname /home/yunohost.backup/tmp/digiwords-pre-upgrade1/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
5219 [37m[1mDEBUG [m1993 + mkdir --parents /home/yunohost.backup/tmp/digiwords-pre-upgrade1/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d
5225 [37m[1mDEBUG [m1997 + ynh_backup --src_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
5226 [37m[1mDEBUG [m1997 + local legacy_args=sdbm
5227 [37m[1mDEBUG [m1997 + args_array=([s]=src_path= [d]=dest_path= [b]=is_big [m]=not_mandatory)
5227 [37m[1mDEBUG [m1998 + local -A args_array
5228 [37m[1mDEBUG [m1998 + local src_path
5228 [37m[1mDEBUG [m1998 + local dest_path
5229 [37m[1mDEBUG [m1998 + local is_big
5230 [37m[1mDEBUG [m1998 + local not_mandatory
5231 [37m[1mDEBUG [m1999 + ynh_handle_getopts_args --src_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
5231 [37m[1mDEBUG [m1999 + set +o xtrace
5301 [37m[1mDEBUG [m2075 + dest_path=
5302 [37m[1mDEBUG [m2075 + is_big=0
5302 [37m[1mDEBUG [m2076 + not_mandatory=0
5304 [37m[1mDEBUG [m2078 + BACKUP_CORE_ONLY=1
5306 [37m[1mDEBUG [m2078 + test -n digiwords
5306 [37m[1mDEBUG [m2081 ++ ynh_app_setting_get --app=digiwords --key=do_not_backup_data
5307 [37m[1mDEBUG [m2081 ++ local _globalapp=digiwords
5307 [37m[1mDEBUG [m2081 ++ local legacy_args=ak
5308 [37m[1mDEBUG [m2081 ++ args_array=([a]=app= [k]=key=)
5308 [37m[1mDEBUG [m2082 ++ local -A args_array
5309 [37m[1mDEBUG [m2082 ++ local app
5309 [37m[1mDEBUG [m2082 ++ local key
5310 [37m[1mDEBUG [m2083 ++ ynh_handle_getopts_args --app=digiwords --key=do_not_backup_data
5310 [37m[1mDEBUG [m2083 ++ set +o xtrace
5378 [37m[1mDEBUG [m2152 ++ app=digiwords
5379 [37m[1mDEBUG [m2153 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
5380 [37m[1mDEBUG [m2153 ++ ynh_app_setting get digiwords do_not_backup_data
5381 [37m[1mDEBUG [m2154 ++ set +o xtrace
5464 [37m[1mDEBUG [m2238 + do_not_backup_data=
5465 [37m[1mDEBUG [m2239 + '[' 0 -eq 1 ']'
5466 [37m[1mDEBUG [m2240 + '[' '!' -e /etc/php/7.3/fpm/pool.d/digiwords.conf ']'
5466 [37m[1mDEBUG [m2240 ++ realpath /etc/php/7.3/fpm/pool.d/digiwords.conf
5471 [37m[1mDEBUG [m2245 + src_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
5471 [37m[1mDEBUG [m2245 + [[ -z '' ]]
5472 [37m[1mDEBUG [m2246 + dest_path=etc/php/7.3/fpm/pool.d/digiwords.conf
5473 [37m[1mDEBUG [m2247 + [[ -e etc/php/7.3/fpm/pool.d/digiwords.conf ]]
5474 [37m[1mDEBUG [m2248 + local rel_dir=/apps/digiwords/backup
5475 [37m[1mDEBUG [m2249 + rel_dir=/apps/digiwords/backup/
5475 [37m[1mDEBUG [m2249 + dest_path=/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
5476 [37m[1mDEBUG [m2250 + dest_path=apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
5478 [37m[1mDEBUG [m2252 ++ echo /etc/php/7.3/fpm/pool.d/digiwords.conf
5479 [37m[1mDEBUG [m2253 ++ sed --regexp-extended 's/"/\"\"/g'
5496 [37m[1mDEBUG [m2270 + local src=/etc/php/7.3/fpm/pool.d/digiwords.conf
5500 [37m[1mDEBUG [m2273 ++ echo apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
5501 [37m[1mDEBUG [m2274 ++ sed --regexp-extended 's/"/\"\"/g'
5510 [37m[1mDEBUG [m2281 + local dest=apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
5511 [37m[1mDEBUG [m2282 + echo '"/etc/php/7.3/fpm/pool.d/digiwords.conf","apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf"'
5511 [37m[1mDEBUG [m2283 ++ dirname /home/yunohost.backup/tmp/digiwords-pre-upgrade1/apps/digiwords/backup/etc/php/7.3/fpm/pool.d/digiwords.conf
5512 [37m[1mDEBUG [m2284 + mkdir --parents /home/yunohost.backup/tmp/digiwords-pre-upgrade1/apps/digiwords/backup/etc/php/7.3/fpm/pool.d
5517 [37m[1mDEBUG [m2291 + ynh_print_info '--message=Backup script completed for digiwords. (YunoHost will then actually copy those files to the archive).'
5518 [37m[1mDEBUG [m2292 + local legacy_args=m
5520 [37m[1mDEBUG [m2293 + args_array=([m]=message=)
5523 [37m[1mDEBUG [m2295 + local -A args_array
5527 [37m[1mDEBUG [m2297 + local message
5527 [37m[1mDEBUG [m2298 + ynh_handle_getopts_args '--message=Backup script completed for digiwords. (YunoHost will then actually copy those files to the archive).'
5528 [37m[1mDEBUG [m2300 + set +o xtrace
5555 [37m[1mDEBUG [m2329 Backup script completed for digiwords. (YunoHost will then actually copy those files to the archive).
5557 [37m[1mDEBUG [m2329 + echo 'Backup script completed for digiwords. (YunoHost will then actually copy those files to the archive).'
5559 [37m[1mDEBUG [m2329 + ynh_exit_properly
5563 [37m[1mDEBUG [m2329 + local exit_code=0
5563 [37m[1mDEBUG [m2330 + rm -rf /var/cache/yunohost/download/
5566 [37m[1mDEBUG [m2333 + '[' 0 -eq 0 ']'
5567 [37m[1mDEBUG [m2337 + exit 0
6567 [37m[1mDEBUG [m3341 Backup permission for digiwords
6650 [37m[1mDEBUG [m3423 initializing ldap interface
6763 [37m[1mDEBUG [m3537 Creating a backup archive from the collected files...
6764 [37m[1mDEBUG [m3538 The archive will contain about 3.4MiB of data.
6765 [37m[1mDEBUG [m3539 Creating the backup TAR archive...
6850 [37m[1mDEBUG [m3622 TAR backup archive created
6850 [37m[1mDEBUG [m3623 Backup created
6854 [37m[1mDEBUG [m3627 To view the log of the operation 'Create a backup archive', use the command 'yunohost log show 20220531-095406-backup_create'
6868 [37m[1mDEBUG [m3642 action [1200.1] executed in 3.325s
6870 [37m[1mDEBUG [mname: digiwords-pre-upgrade1
6871 [37m[1mDEBUG [mresults:
6871 [37m[1mDEBUG [m apps:
6872 [37m[1mDEBUG [m digiwords: Success
6872 [37m[1mDEBUG [m system:
6873 [37m[1mDEBUG [msize: 3566324
6941 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
6942 [37m[1mDEBUG [m+ ynh_backup_archive_exists digiwords-pre-upgrade2
6942 [37m[1mDEBUG [m+ yunohost backup list --output-as json --quiet
6943 [37m[1mDEBUG [m+ jq -e --arg archive digiwords-pre-upgrade2 '.archives | index($archive)'
7356 [37m[1mDEBUG [m+ ynh_abort_if_errors
7356 [37m[1mDEBUG [m+ set -o errexit
7357 [37m[1mDEBUG [m+ set -o nounset
7357 [37m[1mDEBUG [m+ trap ynh_exit_properly EXIT
7358 [37m[1mDEBUG [m+ ynh_script_progression '--message=Ensuring downward compatibility...' --weight=1
7359 [37m[1mDEBUG [m+ set +o xtrace
7477 [37m[1mDEBUG [m+ set +o xtrace
7500 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
7501 [37m[1mDEBUG [m+ set +x
7507 [37m[1mDEBUG [m+ echo '[####++..............] > Ensuring downward compatibility...'
7507 [36m[1mINFO [m[####++..............] > Ensuring downward compatibility...
7508 [37m[1mDEBUG [m+ set -o xtrace
7509 [37m[1mDEBUG [m+ ynh_legacy_permissions_exists
7510 [37m[1mDEBUG [m+ for permission in "skipped" "unprotected" "protected"
7514 [37m[1mDEBUG [m+ ynh_permission_exists --permission=legacy_skipped_uris
7515 [37m[1mDEBUG [m+ local legacy_args=p
7516 [37m[1mDEBUG [m+ args_array=([p]=permission=)
7516 [37m[1mDEBUG [m+ local -A args_array
7517 [37m[1mDEBUG [m+ local permission
7517 [37m[1mDEBUG [m+ ynh_handle_getopts_args --permission=legacy_skipped_uris
7518 [37m[1mDEBUG [m+ set +o xtrace
7540 [37m[1mDEBUG [m+ yunohost user permission list digiwords --output-as json --quiet
7544 [37m[1mDEBUG [m+ jq -e --arg perm digiwords.legacy_skipped_uris '.permissions[$perm]'
8170 [37m[1mDEBUG [m+ for permission in "skipped" "unprotected" "protected"
8171 [37m[1mDEBUG [m+ ynh_permission_exists --permission=legacy_unprotected_uris
8172 [37m[1mDEBUG [m+ local legacy_args=p
8173 [37m[1mDEBUG [m+ args_array=([p]=permission=)
8174 [37m[1mDEBUG [m+ local -A args_array
8175 [37m[1mDEBUG [m+ local permission
8175 [37m[1mDEBUG [m+ ynh_handle_getopts_args --permission=legacy_unprotected_uris
8176 [37m[1mDEBUG [m+ set +o xtrace
8201 [37m[1mDEBUG [m+ yunohost user permission list digiwords --output-as json --quiet
8202 [37m[1mDEBUG [m+ jq -e --arg perm digiwords.legacy_unprotected_uris '.permissions[$perm]'
8818 [37m[1mDEBUG [m+ for permission in "skipped" "unprotected" "protected"
8819 [37m[1mDEBUG [m+ ynh_permission_exists --permission=legacy_protected_uris
8820 [37m[1mDEBUG [m+ local legacy_args=p
8821 [37m[1mDEBUG [m+ args_array=([p]=permission=)
8823 [37m[1mDEBUG [m+ local -A args_array
8824 [37m[1mDEBUG [m+ local permission
8824 [37m[1mDEBUG [m+ ynh_handle_getopts_args --permission=legacy_protected_uris
8824 [37m[1mDEBUG [m+ set +o xtrace
8845 [37m[1mDEBUG [m+ yunohost user permission list digiwords --output-as json --quiet
8847 [37m[1mDEBUG [m+ jq -e --arg perm digiwords.legacy_protected_uris '.permissions[$perm]'
9387 [37m[1mDEBUG [m+ return 1
9388 [37m[1mDEBUG [m+ ynh_permission_exists --permission=admin
9389 [37m[1mDEBUG [m+ local legacy_args=p
9391 [37m[1mDEBUG [m+ args_array=([p]=permission=)
9391 [37m[1mDEBUG [m+ local -A args_array
9391 [37m[1mDEBUG [m+ local permission
9392 [37m[1mDEBUG [m+ ynh_handle_getopts_args --permission=admin
9393 [37m[1mDEBUG [m+ set +o xtrace
9416 [37m[1mDEBUG [m+ jq -e --arg perm digiwords.admin '.permissions[$perm]'
9425 [37m[1mDEBUG [m+ yunohost user permission list digiwords --output-as json --quiet
10066 [37m[1mDEBUG [m+ ynh_permission_create --permission=admin --url=/admin --allowed=
10067 [37m[1mDEBUG [m+ local legacy_args=puAhaltP
10067 [37m[1mDEBUG [m+ args_array=([p]=permission= [u]=url= [A]=additional_urls= [h]=auth_header= [a]=allowed= [l]=label= [t]=show_tile= [P]=protected=)
10069 [37m[1mDEBUG [m+ local -A args_array
10070 [37m[1mDEBUG [m+ local permission
10071 [37m[1mDEBUG [m+ local url
10072 [37m[1mDEBUG [m+ local additional_urls
10073 [37m[1mDEBUG [m+ local auth_header
10074 [37m[1mDEBUG [m+ local allowed
10076 [37m[1mDEBUG [m+ local label
10077 [37m[1mDEBUG [m+ local show_tile
10078 [37m[1mDEBUG [m+ local protected
10081 [37m[1mDEBUG [m+ ynh_handle_getopts_args --permission=admin --url=/admin --allowed=
10083 [37m[1mDEBUG [m+ set +o xtrace
10472 [37m[1mDEBUG [m+ url=/admin
10473 [37m[1mDEBUG [m+ additional_urls=
10475 [37m[1mDEBUG [m+ auth_header=
10477 [37m[1mDEBUG [m+ allowed=
10479 [37m[1mDEBUG [m+ label=
10481 [37m[1mDEBUG [m+ show_tile=
10483 [37m[1mDEBUG [m+ protected=
10484 [37m[1mDEBUG [m+ [[ -n /admin ]]
10485 [37m[1mDEBUG [m+ url=',url='\''/admin'\'''
10486 [37m[1mDEBUG [m+ [[ -n '' ]]
10487 [37m[1mDEBUG [m+ [[ -n '' ]]
10488 [37m[1mDEBUG [m+ [[ -n '' ]]
10489 [37m[1mDEBUG [m+ [[ -n '' ]]
10490 [37m[1mDEBUG [m+ label=',label='\''admin'\'''
10490 [37m[1mDEBUG [m+ [[ -n '' ]]
10491 [37m[1mDEBUG [m+ [[ -n '' ]]
10492 [37m[1mDEBUG [m+ yunohost tools shell -c 'from yunohost.permission import permission_create; permission_create('\''digiwords.admin'\'' ,url='\''/admin'\'' ,label='\''admin'\'' )'
11230 [37m[1mDEBUG [m+ ynh_permission_exists --permission=api
11231 [37m[1mDEBUG [m+ local legacy_args=p
11231 [37m[1mDEBUG [m+ args_array=([p]=permission=)
11232 [37m[1mDEBUG [m+ local -A args_array
11232 [37m[1mDEBUG [m+ local permission
11232 [37m[1mDEBUG [m+ ynh_handle_getopts_args --permission=api
11232 [37m[1mDEBUG [m+ set +o xtrace
11261 [37m[1mDEBUG [m+ yunohost user permission list digiwords --output-as json --quiet
11262 [37m[1mDEBUG [m+ jq -e --arg perm digiwords.api '.permissions[$perm]'
11822 [37m[1mDEBUG [m+ ynh_permission_create --permission=api --url=/api --allowed=visitors --show_tile=false --protected=true
11822 [37m[1mDEBUG [m+ local legacy_args=puAhaltP
11823 [37m[1mDEBUG [m+ args_array=([p]=permission= [u]=url= [A]=additional_urls= [h]=auth_header= [a]=allowed= [l]=label= [t]=show_tile= [P]=protected=)
11823 [37m[1mDEBUG [m+ local -A args_array
11824 [37m[1mDEBUG [m+ local permission
11825 [37m[1mDEBUG [m+ local url
11825 [37m[1mDEBUG [m+ local additional_urls
11826 [37m[1mDEBUG [m+ local auth_header
11827 [37m[1mDEBUG [m+ local allowed
11828 [37m[1mDEBUG [m+ local label
11832 [37m[1mDEBUG [m+ local show_tile
11833 [37m[1mDEBUG [m+ local protected
11833 [37m[1mDEBUG [m+ ynh_handle_getopts_args --permission=api --url=/api --allowed=visitors --show_tile=false --protected=true
11834 [37m[1mDEBUG [m+ set +o xtrace
12394 [37m[1mDEBUG [m+ url=/api
12394 [37m[1mDEBUG [m+ additional_urls=
12395 [37m[1mDEBUG [m+ auth_header=
12396 [37m[1mDEBUG [m+ allowed=visitors
12396 [37m[1mDEBUG [m+ label=
12397 [37m[1mDEBUG [m+ show_tile=false
12398 [37m[1mDEBUG [m+ protected=true
12398 [37m[1mDEBUG [m+ [[ -n /api ]]
12399 [37m[1mDEBUG [m+ url=',url='\''/api'\'''
12400 [37m[1mDEBUG [m+ [[ -n '' ]]
12400 [37m[1mDEBUG [m+ [[ -n '' ]]
12401 [37m[1mDEBUG [m+ [[ -n visitors ]]
12401 [37m[1mDEBUG [m+ allowed=',allowed=['\''visitors'\'']'
12402 [37m[1mDEBUG [m+ [[ -n '' ]]
12402 [37m[1mDEBUG [m+ label=',label='\''api'\'''
12403 [37m[1mDEBUG [m+ [[ -n false ]]
12404 [37m[1mDEBUG [m+ '[' false == true ']'
12404 [37m[1mDEBUG [m+ show_tile=,show_tile=False
12405 [37m[1mDEBUG [m+ [[ -n true ]]
12405 [37m[1mDEBUG [m+ '[' true == true ']'
12406 [37m[1mDEBUG [m+ protected=,protected=True
12406 [37m[1mDEBUG [m+ yunohost tools shell -c 'from yunohost.permission import permission_create; permission_create('\''digiwords.api'\'' ,url='\''/api'\'' ,allowed=['\''visitors'\''] ,label='\''api'\'' ,show_tile=False ,protected=True)'
13283 [37m[1mDEBUG [m+ ynh_script_progression '--message=Making sure dedicated system user exists...' --weight=1
13284 [37m[1mDEBUG [m+ set +o xtrace
13437 [37m[1mDEBUG [m+ set +o xtrace
13460 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
13461 [37m[1mDEBUG [m+ set +x
13465 [37m[1mDEBUG [m+ echo '[######++............] > Making sure dedicated system user exists...'
13467 [37m[1mDEBUG [m+ set -o xtrace
13470 [37m[1mDEBUG [m+ ynh_system_user_create --username=digiwords --home_dir=/var/www/digiwords
13472 [37m[1mDEBUG [m+ local legacy_args=uhs
13474 [37m[1mDEBUG [m+ args_array=([u]=username= [h]=home_dir= [s]=use_shell [g]=groups=)
13475 [37m[1mDEBUG [m+ local -A args_array
13475 [37m[1mDEBUG [m+ local username
13476 [37m[1mDEBUG [m+ local home_dir
13476 [37m[1mDEBUG [m+ local use_shell
13477 [37m[1mDEBUG [m+ local groups
13479 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords --home_dir=/var/www/digiwords
13481 [37m[1mDEBUG [m+ set +o xtrace
13482 [36m[1mINFO [m[######++............] > Making sure dedicated system user exists...
13617 [37m[1mDEBUG [m+ use_shell=0
13617 [37m[1mDEBUG [m+ home_dir=/var/www/digiwords
13618 [37m[1mDEBUG [m+ groups=
13618 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
13619 [37m[1mDEBUG [m+ local legacy_args=u
13619 [37m[1mDEBUG [m+ args_array=([u]=username=)
13619 [37m[1mDEBUG [m+ local -A args_array
13619 [37m[1mDEBUG [m+ local username
13620 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
13620 [37m[1mDEBUG [m+ set +o xtrace
13655 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
13655 [37m[1mDEBUG [m+ set +x
13660 [37m[1mDEBUG [m+ getent passwd digiwords
13679 [37m[1mDEBUG [m+ local group
13680 [37m[1mDEBUG [m+ '[' UPGRADE_APP == UPGRADE_APP ']'
13680 [37m[1mDEBUG [m+ ynh_script_progression '--message=Upgrading source files...' --weight=1
13681 [37m[1mDEBUG [m+ set +o xtrace
13797 [37m[1mDEBUG [m+ set +o xtrace
13831 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
13831 [37m[1mDEBUG [m+ set +x
13833 [36m[1mINFO [m[########++..........] > Upgrading source files...
13834 [37m[1mDEBUG [m+ echo '[########++..........] > Upgrading source files...'
13835 [37m[1mDEBUG [m+ set -o xtrace
13838 [37m[1mDEBUG [m+ test -f /var/www/digiwords/inc/digiwords.db
13839 [37m[1mDEBUG [m+ ynh_setup_source --dest_dir=/var/www/digiwords
13840 [37m[1mDEBUG [m+ local legacy_args=dsk
13840 [37m[1mDEBUG [m+ args_array=([d]=dest_dir= [s]=source_id= [k]=keep=)
13842 [37m[1mDEBUG [m+ local -A args_array
13843 [37m[1mDEBUG [m+ local dest_dir
13844 [37m[1mDEBUG [m+ local source_id
13844 [37m[1mDEBUG [m+ local keep
13846 [37m[1mDEBUG [m+ ynh_handle_getopts_args --dest_dir=/var/www/digiwords
13847 [37m[1mDEBUG [m+ set +o xtrace
13889 [37m[1mDEBUG [m+ source_id=app
13890 [37m[1mDEBUG [m+ keep=
13890 [37m[1mDEBUG [m+ local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/app.src
13892 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
13893 [37m[1mDEBUG [m++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/app.src
13902 [37m[1mDEBUG [m+ local src_url=https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip
13904 [37m[1mDEBUG [m++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/app.src
13906 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
13912 [37m[1mDEBUG [m+ local src_sum=78564c2aa18e0702972994808843587dde876813dfddc06905924a4354a54156
13917 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
13917 [37m[1mDEBUG [m++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/app.src
13920 [37m[1mDEBUG [m+ local src_sumprg=sha256sum
13922 [37m[1mDEBUG [m++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/app.src
13923 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
13929 [37m[1mDEBUG [m+ local src_format=zip
13931 [37m[1mDEBUG [m++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/app.src
13932 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
13935 [37m[1mDEBUG [m+ local src_extract=true
13937 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
13938 [37m[1mDEBUG [m++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/app.src
13943 [37m[1mDEBUG [m+ local src_in_subdir=true
13944 [37m[1mDEBUG [m++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/app.src
13945 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
13948 [37m[1mDEBUG [m+ local src_filename=
13949 [37m[1mDEBUG [m+ src_sumprg=sha256sum
13950 [37m[1mDEBUG [m+ src_in_subdir=true
13950 [37m[1mDEBUG [m+ src_format=zip
13952 [37m[1mDEBUG [m++ echo zip
13953 [37m[1mDEBUG [m++ tr '[:upper:]' '[:lower:]'
13956 [37m[1mDEBUG [m+ src_format=zip
13957 [37m[1mDEBUG [m+ src_extract=true
13957 [37m[1mDEBUG [m+ '[' '' = '' ']'
13957 [37m[1mDEBUG [m+ src_filename=app.zip
13957 [37m[1mDEBUG [m+ local local_src=/opt/yunohost-apps-src/digiwords/app.zip
13958 [37m[1mDEBUG [m+ mkdir -p /var/cache/yunohost/download/digiwords/
13961 [37m[1mDEBUG [m+ src_filename=/var/cache/yunohost/download/digiwords/app.zip
13963 [37m[1mDEBUG [m+ test -e /opt/yunohost-apps-src/digiwords/app.zip
13963 [37m[1mDEBUG [m+ '[' -n https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip ']'
13964 [37m[1mDEBUG [m+ local out
13964 [37m[1mDEBUG [m++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/digiwords/app.zip https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.3/digiwords-0.3.3.zip
19505 [37m[1mDEBUG [m+ out='2022-05-31 09:54:22 URL:https://objects.githubusercontent.com/github-production-release-asset-2e65be/459932950/34f63a52-4624-4bf0-8fd9-bfd6df81b61b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220531%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220531T095417Z&X-Amz-Expires=300&X-Amz-Signature=02e76202484c6b154ad772e3a74aec2fdbddca5880f05dacbaa4def146be4a4c&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=459932950&response-content-disposition=attachment%3B%20filename%3Ddigiwords-0.3.3.zip&response-content-type=application%2Foctet-stream [3002924/3002924] -> "/var/cache/yunohost/download/digiwords/app.zip" [1]'
19506 [37m[1mDEBUG [m+ sha256sum --check --status
19507 [37m[1mDEBUG [m+ echo '78564c2aa18e0702972994808843587dde876813dfddc06905924a4354a54156 /var/cache/yunohost/download/digiwords/app.zip'
19541 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
19545 [37m[1mDEBUG [m+ '[' -n '' ']'
19547 [37m[1mDEBUG [m+ mkdir --parents /var/www/digiwords
19550 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
19551 [37m[1mDEBUG [m+ '[' /var/www/digiwords == /var/www/digiwords ']'
19553 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /var/www/digiwords
19556 [37m[1mDEBUG [m+ local target=/var/www/digiwords
19558 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/manifest.json
19560 [37m[1mDEBUG [m++ tr -d '>= '
19563 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
19564 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
19566 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
19567 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
19569 [37m[1mDEBUG [m+ chmod o-rwx /var/www/digiwords
19573 [37m[1mDEBUG [m+ chmod g-w /var/www/digiwords
19575 [37m[1mDEBUG [m+ chown -R root:root /var/www/digiwords
19587 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
19589 [37m[1mDEBUG [m+ local legacy_args=u
19591 [37m[1mDEBUG [m+ args_array=([u]=username=)
19592 [37m[1mDEBUG [m+ local -A args_array
19593 [37m[1mDEBUG [m+ local username
19594 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
19596 [37m[1mDEBUG [m+ set +o xtrace
19607 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
19609 [37m[1mDEBUG [m+ set +x
19611 [37m[1mDEBUG [m+ getent passwd digiwords
19614 [37m[1mDEBUG [m+ chown digiwords:digiwords /var/www/digiwords
19622 [37m[1mDEBUG [m+ echo /var/www/digiwords
19624 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
19629 [37m[1mDEBUG [m+ true
19631 [37m[1mDEBUG [m+ '[' zip = zip ']'
19632 [37m[1mDEBUG [m+ true
19633 [37m[1mDEBUG [m++ mktemp --directory
19635 [37m[1mDEBUG [m+ local tmp_dir=/tmp/tmp.23BCKEtL7x
19636 [37m[1mDEBUG [m+ unzip -quo /var/cache/yunohost/download/digiwords/app.zip -d /tmp/tmp.23BCKEtL7x
19699 [37m[1mDEBUG [m+ cp --archive /tmp/tmp.23BCKEtL7x/digiwords/. /var/www/digiwords
19721 [37m[1mDEBUG [m+ ynh_secure_remove --file=/tmp/tmp.23BCKEtL7x
19722 [37m[1mDEBUG [m+ local legacy_args=f
19723 [37m[1mDEBUG [m+ args_array=([f]=file=)
19724 [37m[1mDEBUG [m+ local -A args_array
19725 [37m[1mDEBUG [m+ local file
19725 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/tmp/tmp.23BCKEtL7x
19726 [37m[1mDEBUG [m+ set +o xtrace
19741 [37m[1mDEBUG [m+ set +o xtrace
19778 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/cache/yunohost/download/digiwords/app.zip
19779 [37m[1mDEBUG [m+ local legacy_args=f
19779 [37m[1mDEBUG [m+ args_array=([f]=file=)
19780 [37m[1mDEBUG [m+ local -A args_array
19780 [37m[1mDEBUG [m+ local file
19781 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/cache/yunohost/download/digiwords/app.zip
19781 [37m[1mDEBUG [m+ set +o xtrace
19805 [37m[1mDEBUG [m+ set +o xtrace
19830 [37m[1mDEBUG [m+ '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/sources/patches/ ']'
19831 [37m[1mDEBUG [m+ test -e /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/sources/extra_files/app
19831 [37m[1mDEBUG [m+ '[' -n '' ']'
19832 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
19837 [37m[1mDEBUG [m+ chmod 750 /var/www/digiwords
19843 [37m[1mDEBUG [m+ chmod -R o-rwx /var/www/digiwords
19848 [37m[1mDEBUG [m+ chown -R digiwords:www-data /var/www/digiwords
19856 [37m[1mDEBUG [m+ ynh_script_progression '--message=Upgrading NGINX web server configuration...' --weight=1
19860 [37m[1mDEBUG [m+ set +o xtrace
19984 [37m[1mDEBUG [m+ set +o xtrace
20012 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
20012 [37m[1mDEBUG [m+ set +x
20019 [37m[1mDEBUG [m+ echo '[##########++........] > Upgrading NGINX web server configuration...'
20019 [36m[1mINFO [m[##########++........] > Upgrading NGINX web server configuration...
20020 [37m[1mDEBUG [m+ set -o xtrace
20020 [37m[1mDEBUG [m+ ynh_add_nginx_config
20022 [37m[1mDEBUG [m+ local finalnginxconf=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20026 [37m[1mDEBUG [m+ '[' / '!=' / ']'
20027 [37m[1mDEBUG [m+ ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/nginx.conf
20028 [37m[1mDEBUG [m+ local legacy_args=mrf
20029 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
20029 [37m[1mDEBUG [m+ local -A args_array
20030 [37m[1mDEBUG [m+ local match_string
20031 [37m[1mDEBUG [m+ local replace_string
20031 [37m[1mDEBUG [m+ local target_file
20032 [37m[1mDEBUG [m+ ynh_handle_getopts_args '--match_string=^#root_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/nginx.conf
20032 [37m[1mDEBUG [m+ set +o xtrace
20163 [37m[1mDEBUG [m+ set +o xtrace
20164 [37m[1mDEBUG [m+ sed --in-place 's@^#root_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/nginx.conf
20168 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20170 [37m[1mDEBUG [m+ local legacy_args=tdv
20171 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
20172 [37m[1mDEBUG [m+ local -A args_array
20172 [37m[1mDEBUG [m+ local template
20173 [37m[1mDEBUG [m+ local destination
20174 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20175 [37m[1mDEBUG [m+ set +o xtrace
20233 [37m[1mDEBUG [m+ local template_path
20234 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/nginx.conf ']'
20235 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/nginx.conf ']'
20236 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/nginx.conf
20237 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20237 [37m[1mDEBUG [m+ local legacy_args=f
20238 [37m[1mDEBUG [m+ args_array=([f]=file=)
20239 [37m[1mDEBUG [m+ local -A args_array
20239 [37m[1mDEBUG [m+ local file
20240 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20240 [37m[1mDEBUG [m+ set +o xtrace
20252 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
20254 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
20255 [37m[1mDEBUG [m++ local _globalapp=digiwords
20256 [37m[1mDEBUG [m++ local legacy_args=ak
20256 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
20257 [37m[1mDEBUG [m++ local -A args_array
20258 [37m[1mDEBUG [m++ local app
20259 [37m[1mDEBUG [m++ local key
20259 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
20260 [37m[1mDEBUG [m++ set +o xtrace
20327 [37m[1mDEBUG [m++ app=digiwords
20328 [37m[1mDEBUG [m++ [[ checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
20328 [37m[1mDEBUG [m++ ynh_app_setting get digiwords checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
20329 [37m[1mDEBUG [m++ set +o xtrace
20423 [37m[1mDEBUG [m+ local checksum_value=9c307bf4206b43d766feb3b967a25374
20424 [37m[1mDEBUG [m+ backup_file_checksum=
20424 [37m[1mDEBUG [m+ '[' -n 9c307bf4206b43d766feb3b967a25374 ']'
20424 [37m[1mDEBUG [m+ '[' -e /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ']'
20425 [37m[1mDEBUG [m+ echo '9c307bf4206b43d766feb3b967a25374 /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf'
20426 [37m[1mDEBUG [m+ md5sum --check --status
20432 [37m[1mDEBUG [m+ touch /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20435 [37m[1mDEBUG [m+ chown root:root /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20440 [37m[1mDEBUG [m+ chmod 640 /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20441 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/nginx.conf /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20443 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20444 [37m[1mDEBUG [m+ local target=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20446 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/manifest.json
20447 [37m[1mDEBUG [m++ tr -d '>= '
20458 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
20459 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
20460 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
20461 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
20465 [37m[1mDEBUG [m+ chmod o-rwx /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20471 [37m[1mDEBUG [m+ chmod g-w /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20474 [37m[1mDEBUG [m+ chown -R root:root /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20489 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
20490 [37m[1mDEBUG [m+ local legacy_args=u
20490 [37m[1mDEBUG [m+ args_array=([u]=username=)
20491 [37m[1mDEBUG [m+ local -A args_array
20491 [37m[1mDEBUG [m+ local username
20491 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
20491 [37m[1mDEBUG [m+ set +o xtrace
20513 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
20521 [37m[1mDEBUG [m+ set +x
20522 [37m[1mDEBUG [m+ getent passwd digiwords
20524 [37m[1mDEBUG [m+ chown digiwords:digiwords /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20527 [37m[1mDEBUG [m+ echo /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20528 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
20535 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20535 [37m[1mDEBUG [m+ local legacy_args=f
20536 [37m[1mDEBUG [m+ args_array=([f]=file=)
20536 [37m[1mDEBUG [m+ local -A args_array
20536 [37m[1mDEBUG [m+ local file
20536 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20536 [37m[1mDEBUG [m+ set +o xtrace
20570 [37m[1mDEBUG [m+ test -n /
20570 [37m[1mDEBUG [m+ local path_url_slash_less=
20570 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20571 [37m[1mDEBUG [m+ local legacy_args=mrf
20571 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
20571 [37m[1mDEBUG [m+ local -A args_array
20571 [37m[1mDEBUG [m+ local match_string
20571 [37m[1mDEBUG [m+ local replace_string
20572 [37m[1mDEBUG [m+ local target_file
20572 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20572 [37m[1mDEBUG [m+ set +o xtrace
20729 [37m[1mDEBUG [m+ set +o xtrace
20737 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20740 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20741 [37m[1mDEBUG [m+ local legacy_args=mrf
20743 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
20743 [37m[1mDEBUG [m+ local -A args_array
20744 [37m[1mDEBUG [m+ local match_string
20745 [37m[1mDEBUG [m+ local replace_string
20745 [37m[1mDEBUG [m+ local target_file
20746 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20747 [37m[1mDEBUG [m+ set +o xtrace
20880 [37m[1mDEBUG [m+ set +o xtrace
20880 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20883 [37m[1mDEBUG [m+ test -n digiwords
20884 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20886 [37m[1mDEBUG [m+ local legacy_args=mrf
20887 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
20888 [37m[1mDEBUG [m+ local -A args_array
20888 [37m[1mDEBUG [m+ local match_string
20890 [37m[1mDEBUG [m+ local replace_string
20891 [37m[1mDEBUG [m+ local target_file
20892 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
20893 [37m[1mDEBUG [m+ set +o xtrace
21026 [37m[1mDEBUG [m+ set +o xtrace
21027 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21033 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21033 [37m[1mDEBUG [m+ local legacy_args=mrf
21034 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
21034 [37m[1mDEBUG [m+ local -A args_array
21035 [37m[1mDEBUG [m+ local match_string
21035 [37m[1mDEBUG [m+ local replace_string
21037 [37m[1mDEBUG [m+ local target_file
21037 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21038 [37m[1mDEBUG [m+ set +o xtrace
21196 [37m[1mDEBUG [m+ set +o xtrace
21196 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21201 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21202 [37m[1mDEBUG [m+ local legacy_args=mrf
21203 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
21203 [37m[1mDEBUG [m+ local -A args_array
21203 [37m[1mDEBUG [m+ local match_string
21203 [37m[1mDEBUG [m+ local replace_string
21204 [37m[1mDEBUG [m+ local target_file
21204 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21205 [37m[1mDEBUG [m+ set +o xtrace
21348 [37m[1mDEBUG [m+ set +o xtrace
21349 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21354 [37m[1mDEBUG [m+ test -n /var/www/digiwords
21355 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21356 [37m[1mDEBUG [m+ local legacy_args=mrf
21357 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
21357 [37m[1mDEBUG [m+ local -A args_array
21358 [37m[1mDEBUG [m+ local match_string
21358 [37m[1mDEBUG [m+ local replace_string
21359 [37m[1mDEBUG [m+ local target_file
21359 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21360 [37m[1mDEBUG [m+ set +o xtrace
21497 [37m[1mDEBUG [m+ set +o xtrace
21497 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21504 [37m[1mDEBUG [m+ test -n 7.3
21504 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21505 [37m[1mDEBUG [m+ local legacy_args=mrf
21505 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
21505 [37m[1mDEBUG [m+ local -A args_array
21505 [37m[1mDEBUG [m+ local match_string
21506 [37m[1mDEBUG [m+ local replace_string
21506 [37m[1mDEBUG [m+ local target_file
21507 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21508 [37m[1mDEBUG [m+ set +o xtrace
21673 [37m[1mDEBUG [m+ set +o xtrace
21674 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21680 [37m[1mDEBUG [m+ test -n ''
21681 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
21688 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21689 [37m[1mDEBUG [m++ sort --unique
21693 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
21696 [37m[1mDEBUG [m+ local uniques_vars
21699 [37m[1mDEBUG [m+ local delimit=@
21699 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21699 [37m[1mDEBUG [m+ local legacy_args=f
21701 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
21701 [37m[1mDEBUG [m+ local -A args_array
21702 [37m[1mDEBUG [m+ local file
21702 [37m[1mDEBUG [m+ local update_only
21703 [37m[1mDEBUG [m+ update_only=0
21703 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21703 [37m[1mDEBUG [m+ set +o xtrace
21736 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
21737 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
21739 [37m[1mDEBUG [m++ md5sum /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
21740 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
21745 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf --value=9c307bf4206b43d766feb3b967a25374
21745 [37m[1mDEBUG [m+ local _globalapp=digiwords
21746 [37m[1mDEBUG [m+ local legacy_args=akv
21746 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
21747 [37m[1mDEBUG [m+ local -A args_array
21747 [37m[1mDEBUG [m+ local app
21748 [37m[1mDEBUG [m+ local key
21748 [37m[1mDEBUG [m+ local value
21748 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf --value=9c307bf4206b43d766feb3b967a25374
21748 [37m[1mDEBUG [m+ set +o xtrace
21893 [37m[1mDEBUG [m+ app=digiwords
21893 [37m[1mDEBUG [m+ [[ checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
21894 [37m[1mDEBUG [m+ ynh_app_setting set digiwords checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf 9c307bf4206b43d766feb3b967a25374
21894 [37m[1mDEBUG [m+ set +o xtrace
21972 [37m[1mDEBUG [m+ '[' -n '' ']'
21972 [37m[1mDEBUG [m+ unset backup_file_checksum
21973 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
21974 [37m[1mDEBUG [m+ local legacy_args=nalpte
21975 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
21975 [37m[1mDEBUG [m+ local -A args_array
21977 [37m[1mDEBUG [m+ local service_name
21978 [37m[1mDEBUG [m+ local action
21978 [37m[1mDEBUG [m+ local line_match
21979 [37m[1mDEBUG [m+ local length
21979 [37m[1mDEBUG [m+ local log_path
21980 [37m[1mDEBUG [m+ local timeout
21980 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
21981 [37m[1mDEBUG [m+ set +o xtrace
22186 [37m[1mDEBUG [m+ service_name=nginx
22187 [37m[1mDEBUG [m+ action=reload
22187 [37m[1mDEBUG [m+ line_match=
22187 [37m[1mDEBUG [m+ length=20
22188 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
22188 [37m[1mDEBUG [m+ timeout=300
22188 [37m[1mDEBUG [m+ '[' reload == stop ']'
22189 [37m[1mDEBUG [m+ [[ -n '' ]]
22189 [37m[1mDEBUG [m+ '[' reload == reload ']'
22190 [37m[1mDEBUG [m+ action=reload-or-restart
22190 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
22284 [37m[1mDEBUG [m+ [[ -n '' ]]
22284 [37m[1mDEBUG [m+ ynh_script_progression '--message=Upgrading dependencies...' --weight=1
22285 [37m[1mDEBUG [m+ set +o xtrace
22440 [37m[1mDEBUG [m+ set +o xtrace
22465 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
22466 [37m[1mDEBUG [m+ set +x
22479 [37m[1mDEBUG [m+ echo '[############++......] > Upgrading dependencies...'
22480 [37m[1mDEBUG [m+ set -o xtrace
22481 [37m[1mDEBUG [m+ ynh_install_app_dependencies php-sqlite3
22481 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
22482 [36m[1mINFO [m[############++......] > Upgrading dependencies...
22487 [37m[1mDEBUG [m++ echo php-sqlite3
22489 [37m[1mDEBUG [m++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
22495 [37m[1mDEBUG [m+ dependencies=php-sqlite3
22496 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
22496 [37m[1mDEBUG [m+ local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/manifest.json
22497 [37m[1mDEBUG [m++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/manifest.json
22504 [37m[1mDEBUG [m+ local version=0.3.3~ynh1
22504 [37m[1mDEBUG [m+ '[' -z 0.3.3~ynh1 ']'
22505 [37m[1mDEBUG [m+ '[' 0.3.3~ynh1 == null ']'
22506 [37m[1mDEBUG [m+ local dep_app=digiwords
22507 [37m[1mDEBUG [m+ [[ php-sqlite3 =~ [<=>] ]]
22508 [37m[1mDEBUG [m++ echo php-sqlite3
22509 [37m[1mDEBUG [m++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
22509 [37m[1mDEBUG [m++ sort -u
22515 [37m[1mDEBUG [m+ local specific_php_version=
22515 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
22516 [37m[1mDEBUG [m+ [[ -n '' ]]
22516 [37m[1mDEBUG [m+ [[ true == \t\r\u\e ]]
22516 [37m[1mDEBUG [m+ YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
22517 [37m[1mDEBUG [m+ grep --quiet php
22526 [37m[1mDEBUG [m+ grep php7.0
22527 [37m[1mDEBUG [m+ dpkg --list
22527 [37m[1mDEBUG [m+ grep --quiet --invert-match 7.0.33-0+deb9
22555 [37m[1mDEBUG [m+ cat
22562 [37m[1mDEBUG [m+ ynh_package_install_from_equivs /tmp/digiwords-ynh-deps.control
22563 [37m[1mDEBUG [m+ local controlfile=/tmp/digiwords-ynh-deps.control
22566 [37m[1mDEBUG [m++ grep '^Package: ' /tmp/digiwords-ynh-deps.control
22567 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
22571 [37m[1mDEBUG [m+ local pkgname=digiwords-ynh-deps
22575 [37m[1mDEBUG [m++ grep '^Version: ' /tmp/digiwords-ynh-deps.control
22579 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
22583 [37m[1mDEBUG [m+ local pkgversion=0.3.3~ynh1
22584 [37m[1mDEBUG [m+ [[ -z digiwords-ynh-deps ]]
22584 [37m[1mDEBUG [m+ [[ -z 0.3.3~ynh1 ]]
22586 [37m[1mDEBUG [m+ ynh_package_update
22586 [37m[1mDEBUG [m+ ynh_apt update
22587 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
22587 [37m[1mDEBUG [m+ local try
22587 [37m[1mDEBUG [m+ set +o xtrace
24010 [37m[1mDEBUG [m+ return 0
24011 [37m[1mDEBUG [m+ LC_ALL=C
24012 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
24013 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
24119 [37m[1mDEBUG [mHit:1 http://forge.yunohost.org/debian buster InRelease
24123 [37m[1mDEBUG [mHit:2 http://deb.debian.org/debian buster InRelease
24134 [37m[1mDEBUG [mHit:3 http://deb.debian.org/debian buster-updates InRelease
24146 [37m[1mDEBUG [mHit:4 http://deb.debian.org/debian-security buster/updates InRelease
26712 [37m[1mDEBUG [mReading package lists...
26763 [37m[1mDEBUG [m++ mktemp --directory
26769 [37m[1mDEBUG [m+ local TMPDIR=/tmp/tmp.K2s5oHG5C6
26770 [37m[1mDEBUG [m+ echo 10
26771 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
26771 [37m[1mDEBUG [m+ local try
26773 [37m[1mDEBUG [m+ set +o xtrace
28197 [37m[1mDEBUG [m+ return 0
28198 [37m[1mDEBUG [m+ cp /tmp/digiwords-ynh-deps.control /tmp/tmp.K2s5oHG5C6/control
28202 [37m[1mDEBUG [m+ cd /tmp/tmp.K2s5oHG5C6
28203 [37m[1mDEBUG [m+ LC_ALL=C
28204 [37m[1mDEBUG [m+ equivs-build ./control
30363 [37m[1mDEBUG [m+ LC_ALL=C
30364 [37m[1mDEBUG [m+ dpkg --force-depends --install ./digiwords-ynh-deps_0.3.3~ynh1_all.deb
30365 [37m[1mDEBUG [m+ tee ./dpkg_log
30468 [37m[1mDEBUG [m(Reading database ... 42403 files and directories currently installed.)
30472 [37m[1mDEBUG [mPreparing to unpack .../digiwords-ynh-deps_0.3.3~ynh1_all.deb ...
30505 [37m[1mDEBUG [mUnpacking digiwords-ynh-deps (0.3.3~ynh1) over (0.3.3~ynh1) ...
30592 [37m[1mDEBUG [mSetting up digiwords-ynh-deps (0.3.3~ynh1) ...
30671 [37m[1mDEBUG [m+ ynh_package_install --fix-broken
30672 [37m[1mDEBUG [m+ ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
30675 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
30676 [37m[1mDEBUG [m+ local try
30686 [37m[1mDEBUG [m+ set +o xtrace
32081 [37m[1mDEBUG [m+ return 0
32083 [37m[1mDEBUG [m+ LC_ALL=C
32084 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
32085 [37m[1mDEBUG [m+ 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
32279 [37m[1mDEBUG [mReading package lists...
32720 [37m[1mDEBUG [mBuilding dependency tree...
32722 [37m[1mDEBUG [mReading state information...
33260 [37m[1mDEBUG [m0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
33262 [37m[1mDEBUG [m+ [[ -n /tmp/tmp.K2s5oHG5C6 ]]
33266 [37m[1mDEBUG [m+ rm --recursive --force /tmp/tmp.K2s5oHG5C6
33269 [37m[1mDEBUG [m+ ynh_package_is_installed digiwords-ynh-deps
33275 [37m[1mDEBUG [m+ local legacy_args=p
33277 [37m[1mDEBUG [m+ args_array=([p]=package=)
33283 [37m[1mDEBUG [m+ local -A args_array
33286 [37m[1mDEBUG [m+ local package
33288 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords-ynh-deps
33289 [37m[1mDEBUG [m+ set +o xtrace
33293 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
33294 [37m[1mDEBUG [m+ set +x
33300 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
33301 [37m[1mDEBUG [m+ local try
33302 [37m[1mDEBUG [m+ set +o xtrace
34722 [37m[1mDEBUG [m+ return 0
34724 [37m[1mDEBUG [m+ grep --count 'ok installed'
34728 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
34747 [37m[1mDEBUG [m+ rm /tmp/digiwords-ynh-deps.control
34750 [37m[1mDEBUG [m+ [[ -n '' ]]
34755 [37m[1mDEBUG [m+ grep --quiet php
34757 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
34759 [37m[1mDEBUG [m+ local _globalapp=digiwords
34760 [37m[1mDEBUG [m+ local legacy_args=akv
34763 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
34764 [37m[1mDEBUG [m+ local -A args_array
34765 [37m[1mDEBUG [m+ local app
34767 [37m[1mDEBUG [m+ local key
34767 [37m[1mDEBUG [m+ local value
34772 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
34773 [37m[1mDEBUG [m+ set +o xtrace
34920 [37m[1mDEBUG [m+ app=digiwords
34921 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
34923 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
34925 [37m[1mDEBUG [m+ set +o xtrace
35007 [37m[1mDEBUG [m+ ynh_script_progression '--message=Upgrading PHP-FPM configuration...' --weight=1
35008 [37m[1mDEBUG [m+ set +o xtrace
35134 [37m[1mDEBUG [m+ set +o xtrace
35161 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
35162 [37m[1mDEBUG [m+ set +x
35166 [37m[1mDEBUG [m+ echo '[##############++....] > Upgrading PHP-FPM configuration...'
35167 [37m[1mDEBUG [m+ set -o xtrace
35168 [37m[1mDEBUG [m+ ynh_add_fpm_config
35168 [37m[1mDEBUG [m+ local legacy_args=vtufpd
35168 [37m[1mDEBUG [m+ args_array=([v]=phpversion= [t]=use_template [u]=usage= [f]=footprint= [p]=package= [d]=dedicated_service)
35169 [37m[1mDEBUG [m+ local -A args_array
35169 [37m[1mDEBUG [m+ local phpversion
35170 [37m[1mDEBUG [m+ local use_template
35171 [37m[1mDEBUG [m+ local usage
35172 [37m[1mDEBUG [m+ local footprint
35172 [37m[1mDEBUG [m+ local package
35175 [37m[1mDEBUG [m+ local dedicated_service
35176 [37m[1mDEBUG [m+ ynh_handle_getopts_args
35176 [37m[1mDEBUG [m+ set +o xtrace
35177 [37m[1mDEBUG [m+ package=
35178 [37m[1mDEBUG [m+ use_template=1
35179 [37m[1mDEBUG [m+ usage=
35180 [37m[1mDEBUG [m+ footprint=
35180 [37m[1mDEBUG [m+ '[' -n '' ']'
35181 [37m[1mDEBUG [m+ '[' -n '' ']'
35182 [37m[1mDEBUG [m+ dedicated_service=0
35183 [37m[1mDEBUG [m+ phpversion=7.3
35184 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
35184 [36m[1mINFO [m[##############++....] > Upgrading PHP-FPM configuration...
35185 [37m[1mDEBUG [m++ local _globalapp=digiwords
35186 [37m[1mDEBUG [m++ local legacy_args=ak
35187 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
35187 [37m[1mDEBUG [m++ local -A args_array
35187 [37m[1mDEBUG [m++ local app
35189 [37m[1mDEBUG [m++ local key
35189 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
35189 [37m[1mDEBUG [m++ set +o xtrace
35259 [37m[1mDEBUG [m++ app=digiwords
35260 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
35261 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
35262 [37m[1mDEBUG [m++ set +o xtrace
35368 [37m[1mDEBUG [m+ local old_phpversion=7.3
35369 [37m[1mDEBUG [m+ '[' -n 7.3 ']'
35371 [37m[1mDEBUG [m+ '[' 7.3 '!=' 7.3 ']'
35371 [37m[1mDEBUG [m+ '[' -n '' ']'
35372 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
35373 [37m[1mDEBUG [m+ local fpm_service=php7.3-fpm
35374 [37m[1mDEBUG [m+ local fpm_config_dir=/etc/php/7.3/fpm
35374 [37m[1mDEBUG [m+ mkdir --parents /etc/php/7.3/fpm/pool.d
35377 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_config_dir --value=/etc/php/7.3/fpm
35378 [37m[1mDEBUG [m+ local _globalapp=digiwords
35378 [37m[1mDEBUG [m+ local legacy_args=akv
35379 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
35379 [37m[1mDEBUG [m+ local -A args_array
35379 [37m[1mDEBUG [m+ local app
35379 [37m[1mDEBUG [m+ local key
35380 [37m[1mDEBUG [m+ local value
35380 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_config_dir --value=/etc/php/7.3/fpm
35381 [37m[1mDEBUG [m+ set +o xtrace
35530 [37m[1mDEBUG [m+ app=digiwords
35531 [37m[1mDEBUG [m+ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
35532 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_config_dir /etc/php/7.3/fpm
35533 [37m[1mDEBUG [m+ set +o xtrace
35615 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_service --value=php7.3-fpm
35616 [37m[1mDEBUG [m+ local _globalapp=digiwords
35617 [37m[1mDEBUG [m+ local legacy_args=akv
35618 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
35619 [37m[1mDEBUG [m+ local -A args_array
35620 [37m[1mDEBUG [m+ local app
35621 [37m[1mDEBUG [m+ local key
35622 [37m[1mDEBUG [m+ local value
35623 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_service --value=php7.3-fpm
35624 [37m[1mDEBUG [m+ set +o xtrace
35764 [37m[1mDEBUG [m+ app=digiwords
35765 [37m[1mDEBUG [m+ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
35766 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_service php7.3-fpm
35767 [37m[1mDEBUG [m+ set +o xtrace
35878 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_dedicated_service --value=0
35879 [37m[1mDEBUG [m+ local _globalapp=digiwords
35879 [37m[1mDEBUG [m+ local legacy_args=akv
35880 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
35880 [37m[1mDEBUG [m+ local -A args_array
35881 [37m[1mDEBUG [m+ local app
35882 [37m[1mDEBUG [m+ local key
35883 [37m[1mDEBUG [m+ local value
35883 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_dedicated_service --value=0
35883 [37m[1mDEBUG [m+ set +o xtrace
36036 [37m[1mDEBUG [m+ app=digiwords
36037 [37m[1mDEBUG [m+ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
36038 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_dedicated_service 0
36039 [37m[1mDEBUG [m+ set +o xtrace
36129 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
36129 [37m[1mDEBUG [m+ local _globalapp=digiwords
36131 [37m[1mDEBUG [m+ local legacy_args=akv
36131 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
36132 [37m[1mDEBUG [m+ local -A args_array
36132 [37m[1mDEBUG [m+ local app
36133 [37m[1mDEBUG [m+ local key
36133 [37m[1mDEBUG [m+ local value
36133 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
36134 [37m[1mDEBUG [m+ set +o xtrace
36284 [37m[1mDEBUG [m+ app=digiwords
36284 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
36285 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
36286 [37m[1mDEBUG [m+ set +o xtrace
36362 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
36363 [37m[1mDEBUG [m+ '[' 1 -eq 1 ']'
36363 [37m[1mDEBUG [m+ local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/php-fpm.conf
36363 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/php-fpm.conf ']'
36364 [37m[1mDEBUG [m+ local finalphpconf=/etc/php/7.3/fpm/pool.d/digiwords.conf
36364 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords.conf
36364 [37m[1mDEBUG [m+ local legacy_args=tdv
36365 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
36366 [37m[1mDEBUG [m+ local -A args_array
36366 [37m[1mDEBUG [m+ local template
36367 [37m[1mDEBUG [m+ local destination
36368 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords.conf
36369 [37m[1mDEBUG [m+ set +o xtrace
36434 [37m[1mDEBUG [m+ local template_path
36435 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/php-fpm.conf ']'
36436 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/php-fpm.conf ']'
36436 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/php-fpm.conf
36437 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
36438 [37m[1mDEBUG [m+ local legacy_args=f
36439 [37m[1mDEBUG [m+ args_array=([f]=file=)
36439 [37m[1mDEBUG [m+ local -A args_array
36440 [37m[1mDEBUG [m+ local file
36440 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
36440 [37m[1mDEBUG [m+ set +o xtrace
36456 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
36458 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
36459 [37m[1mDEBUG [m++ local _globalapp=digiwords
36460 [37m[1mDEBUG [m++ local legacy_args=ak
36460 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
36461 [37m[1mDEBUG [m++ local -A args_array
36462 [37m[1mDEBUG [m++ local app
36463 [37m[1mDEBUG [m++ local key
36464 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
36465 [37m[1mDEBUG [m++ set +o xtrace
36541 [37m[1mDEBUG [m++ app=digiwords
36542 [37m[1mDEBUG [m++ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
36542 [37m[1mDEBUG [m++ ynh_app_setting get digiwords checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
36543 [37m[1mDEBUG [m++ set +o xtrace
36634 [37m[1mDEBUG [m+ local checksum_value=79ffd547aca07e585572ccb8bfba1ec1
36634 [37m[1mDEBUG [m+ backup_file_checksum=
36635 [37m[1mDEBUG [m+ '[' -n 79ffd547aca07e585572ccb8bfba1ec1 ']'
36635 [37m[1mDEBUG [m+ '[' -e /etc/php/7.3/fpm/pool.d/digiwords.conf ']'
36636 [37m[1mDEBUG [m+ md5sum --check --status
36637 [37m[1mDEBUG [m+ echo '79ffd547aca07e585572ccb8bfba1ec1 /etc/php/7.3/fpm/pool.d/digiwords.conf'
36640 [37m[1mDEBUG [m+ touch /etc/php/7.3/fpm/pool.d/digiwords.conf
36642 [37m[1mDEBUG [m+ chown root:root /etc/php/7.3/fpm/pool.d/digiwords.conf
36645 [37m[1mDEBUG [m+ chmod 640 /etc/php/7.3/fpm/pool.d/digiwords.conf
36648 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/digiwords.conf
36651 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/php/7.3/fpm/pool.d/digiwords.conf
36652 [37m[1mDEBUG [m+ local target=/etc/php/7.3/fpm/pool.d/digiwords.conf
36655 [37m[1mDEBUG [m++ tr -d '>= '
36659 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/manifest.json
36664 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
36665 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
36666 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
36667 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
36670 [37m[1mDEBUG [m+ chmod o-rwx /etc/php/7.3/fpm/pool.d/digiwords.conf
36672 [37m[1mDEBUG [m+ chmod g-w /etc/php/7.3/fpm/pool.d/digiwords.conf
36674 [37m[1mDEBUG [m+ chown -R root:root /etc/php/7.3/fpm/pool.d/digiwords.conf
36676 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
36677 [37m[1mDEBUG [m+ local legacy_args=u
36678 [37m[1mDEBUG [m+ args_array=([u]=username=)
36678 [37m[1mDEBUG [m+ local -A args_array
36679 [37m[1mDEBUG [m+ local username
36680 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
36680 [37m[1mDEBUG [m+ set +o xtrace
36704 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
36705 [37m[1mDEBUG [m+ set +x
36712 [37m[1mDEBUG [m+ getent passwd digiwords
36720 [37m[1mDEBUG [m+ chown digiwords:digiwords /etc/php/7.3/fpm/pool.d/digiwords.conf
36726 [37m[1mDEBUG [m+ echo /etc/php/7.3/fpm/pool.d/digiwords.conf
36728 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
36736 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
36739 [37m[1mDEBUG [m+ local legacy_args=f
36739 [37m[1mDEBUG [m+ args_array=([f]=file=)
36740 [37m[1mDEBUG [m+ local -A args_array
36740 [37m[1mDEBUG [m+ local file
36740 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
36740 [37m[1mDEBUG [m+ set +o xtrace
36774 [37m[1mDEBUG [m+ test -n /
36775 [37m[1mDEBUG [m+ local path_url_slash_less=
36776 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
36777 [37m[1mDEBUG [m+ local legacy_args=mrf
36778 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
36779 [37m[1mDEBUG [m+ local -A args_array
36779 [37m[1mDEBUG [m+ local match_string
36779 [37m[1mDEBUG [m+ local replace_string
36779 [37m[1mDEBUG [m+ local target_file
36780 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
36780 [37m[1mDEBUG [m+ set +o xtrace
36949 [37m[1mDEBUG [m+ set +o xtrace
36950 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/@g /etc/php/7.3/fpm/pool.d/digiwords.conf
36958 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
36959 [37m[1mDEBUG [m+ local legacy_args=mrf
36960 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
36960 [37m[1mDEBUG [m+ local -A args_array
36961 [37m[1mDEBUG [m+ local match_string
36962 [37m[1mDEBUG [m+ local replace_string
36962 [37m[1mDEBUG [m+ local target_file
36963 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
36963 [37m[1mDEBUG [m+ set +o xtrace
37108 [37m[1mDEBUG [m+ set +o xtrace
37109 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/@g /etc/php/7.3/fpm/pool.d/digiwords.conf
37115 [37m[1mDEBUG [m+ test -n digiwords
37116 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
37116 [37m[1mDEBUG [m+ local legacy_args=mrf
37116 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
37117 [37m[1mDEBUG [m+ local -A args_array
37118 [37m[1mDEBUG [m+ local match_string
37118 [37m[1mDEBUG [m+ local replace_string
37121 [37m[1mDEBUG [m+ local target_file
37121 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
37122 [37m[1mDEBUG [m+ set +o xtrace
37268 [37m[1mDEBUG [m+ set +o xtrace
37273 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
37282 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
37283 [37m[1mDEBUG [m+ local legacy_args=mrf
37283 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
37285 [37m[1mDEBUG [m+ local -A args_array
37285 [37m[1mDEBUG [m+ local match_string
37286 [37m[1mDEBUG [m+ local replace_string
37286 [37m[1mDEBUG [m+ local target_file
37286 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
37286 [37m[1mDEBUG [m+ set +o xtrace
37424 [37m[1mDEBUG [m+ set +o xtrace
37425 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
37431 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
37432 [37m[1mDEBUG [m+ local legacy_args=mrf
37432 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
37433 [37m[1mDEBUG [m+ local -A args_array
37433 [37m[1mDEBUG [m+ local match_string
37433 [37m[1mDEBUG [m+ local replace_string
37433 [37m[1mDEBUG [m+ local target_file
37434 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
37434 [37m[1mDEBUG [m+ set +o xtrace
37612 [37m[1mDEBUG [m+ set +o xtrace
37613 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
37619 [37m[1mDEBUG [m+ test -n /var/www/digiwords
37619 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
37620 [37m[1mDEBUG [m+ local legacy_args=mrf
37620 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
37620 [37m[1mDEBUG [m+ local -A args_array
37620 [37m[1mDEBUG [m+ local match_string
37621 [37m[1mDEBUG [m+ local replace_string
37621 [37m[1mDEBUG [m+ local target_file
37621 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
37622 [37m[1mDEBUG [m+ set +o xtrace
37858 [37m[1mDEBUG [m+ set +o xtrace
37859 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
37864 [37m[1mDEBUG [m+ test -n 7.3
37865 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
37865 [37m[1mDEBUG [m+ local legacy_args=mrf
37866 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
37866 [37m[1mDEBUG [m+ local -A args_array
37867 [37m[1mDEBUG [m+ local match_string
37867 [37m[1mDEBUG [m+ local replace_string
37867 [37m[1mDEBUG [m+ local target_file
37867 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
37868 [37m[1mDEBUG [m+ set +o xtrace
38005 [37m[1mDEBUG [m+ set +o xtrace
38005 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/digiwords.conf
38014 [37m[1mDEBUG [m+ test -n ''
38014 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
38016 [37m[1mDEBUG [m++ sort --unique
38017 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/7.3/fpm/pool.d/digiwords.conf
38019 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
38025 [37m[1mDEBUG [m+ local uniques_vars
38027 [37m[1mDEBUG [m+ local delimit=@
38027 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
38028 [37m[1mDEBUG [m+ local legacy_args=f
38030 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
38031 [37m[1mDEBUG [m+ local -A args_array
38032 [37m[1mDEBUG [m+ local file
38032 [37m[1mDEBUG [m+ local update_only
38033 [37m[1mDEBUG [m+ update_only=0
38038 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
38040 [37m[1mDEBUG [m+ set +o xtrace
38073 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
38074 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
38079 [37m[1mDEBUG [m++ md5sum /etc/php/7.3/fpm/pool.d/digiwords.conf
38080 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
38083 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf --value=79ffd547aca07e585572ccb8bfba1ec1
38083 [37m[1mDEBUG [m+ local _globalapp=digiwords
38084 [37m[1mDEBUG [m+ local legacy_args=akv
38084 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
38084 [37m[1mDEBUG [m+ local -A args_array
38084 [37m[1mDEBUG [m+ local app
38085 [37m[1mDEBUG [m+ local key
38085 [37m[1mDEBUG [m+ local value
38085 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf --value=79ffd547aca07e585572ccb8bfba1ec1
38088 [37m[1mDEBUG [m+ set +o xtrace
38248 [37m[1mDEBUG [m+ app=digiwords
38248 [37m[1mDEBUG [m+ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
38258 [37m[1mDEBUG [m+ ynh_app_setting set digiwords checksum__etc_php_7.3_fpm_pool.d_digiwords.conf 79ffd547aca07e585572ccb8bfba1ec1
38259 [37m[1mDEBUG [m+ set +o xtrace
38351 [37m[1mDEBUG [m+ '[' -n '' ']'
38352 [37m[1mDEBUG [m+ unset backup_file_checksum
38352 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_k0xjq8lt/app_folder/conf/php-fpm.ini ']'
38352 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
38353 [37m[1mDEBUG [m+ php-fpm7.3 --test
38469 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
38470 [37m[1mDEBUG [m+ local legacy_args=nalpte
38470 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
38470 [37m[1mDEBUG [m+ local -A args_array
38470 [37m[1mDEBUG [m+ local service_name
38471 [37m[1mDEBUG [m+ local action
38471 [37m[1mDEBUG [m+ local line_match
38471 [37m[1mDEBUG [m+ local length
38471 [37m[1mDEBUG [m+ local log_path
38471 [37m[1mDEBUG [m+ local timeout
38472 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
38472 [37m[1mDEBUG [m+ set +o xtrace
38680 [37m[1mDEBUG [m+ service_name=php7.3-fpm
38680 [37m[1mDEBUG [m+ action=reload
38681 [37m[1mDEBUG [m+ line_match=
38682 [37m[1mDEBUG [m+ length=20
38682 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
38682 [37m[1mDEBUG [m+ timeout=300
38683 [37m[1mDEBUG [m+ '[' reload == stop ']'
38683 [37m[1mDEBUG [m+ [[ -n '' ]]
38684 [37m[1mDEBUG [m+ '[' reload == reload ']'
38684 [37m[1mDEBUG [m+ action=reload-or-restart
38685 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
38708 [37m[1mDEBUG [m+ [[ -n '' ]]
38709 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reloading NGINX web server...' --weight=1
38709 [37m[1mDEBUG [m+ set +o xtrace
38857 [37m[1mDEBUG [m+ set +o xtrace
38880 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
38881 [37m[1mDEBUG [m+ set +x
38890 [37m[1mDEBUG [m+ echo '[################++..] > Reloading NGINX web server...'
38890 [36m[1mINFO [m[################++..] > Reloading NGINX web server...
38890 [37m[1mDEBUG [m+ set -o xtrace
38891 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
38894 [37m[1mDEBUG [m+ local legacy_args=nalpte
38894 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
38899 [37m[1mDEBUG [m+ local -A args_array
38899 [37m[1mDEBUG [m+ local service_name
38900 [37m[1mDEBUG [m+ local action
38900 [37m[1mDEBUG [m+ local line_match
38901 [37m[1mDEBUG [m+ local length
38901 [37m[1mDEBUG [m+ local log_path
38903 [37m[1mDEBUG [m+ local timeout
38903 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
38903 [37m[1mDEBUG [m+ set +o xtrace
39084 [37m[1mDEBUG [m+ service_name=nginx
39084 [37m[1mDEBUG [m+ action=reload
39084 [37m[1mDEBUG [m+ line_match=
39084 [37m[1mDEBUG [m+ length=20
39085 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
39085 [37m[1mDEBUG [m+ timeout=300
39085 [37m[1mDEBUG [m+ '[' reload == stop ']'
39085 [37m[1mDEBUG [m+ [[ -n '' ]]
39086 [37m[1mDEBUG [m+ '[' reload == reload ']'
39086 [37m[1mDEBUG [m+ action=reload-or-restart
39086 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
39172 [37m[1mDEBUG [m+ [[ -n '' ]]
39173 [37m[1mDEBUG [m+ ynh_script_progression '--message=Upgrade of digiwords completed' --last
39173 [37m[1mDEBUG [m+ set +o xtrace
39327 [37m[1mDEBUG [m+ set +o xtrace
39370 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
39370 [37m[1mDEBUG [m+ set +x
39377 [37m[1mDEBUG [m+ echo '[####################] > Upgrade of digiwords completed'
39377 [36m[1mINFO [m[####################] > Upgrade of digiwords completed
39378 [37m[1mDEBUG [m+ set -o xtrace
39381 [37m[1mDEBUG [m+ ynh_exit_properly
39382 [37m[1mDEBUG [m+ local exit_code=0
39382 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/download/
39383 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
39384 [37m[1mDEBUG [m+ exit 0
40386 [37m[1mDEBUG [mChecking that required services are up and running...
41335 [32m[1mSUCCESS [mdigiwords upgraded
41346 [37m[1mDEBUG [mTo view the log of the operation 'Upgrade the 'digiwords' app', use the command 'yunohost log show 20220531-095404-app_upgrade-digiwords'
41381 [37m[1mDEBUG [mThe permission database has been resynchronized
41420 [37m[1mDEBUG [mSSOwat configuration regenerated
41441 [32m[1mSUCCESS [mUpgrade complete
41442 [37m[1mDEBUG [maction [846.1] executed in 41.121s
41443 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 43 seconds (09:54:45)
[1m > Validating that the app digiwords can/can't be accessed with its URL...[0m
Running curl sub.domain.tld
Return code: 0
Working time: 0s (09:54:59)
Return code: 0
Working time: 0s (09:55:03)
HTTP code:
Test URL: sub.domain.tld
Real URL:
HTTP code:
Page title:
Page extract:
Running curl sub.domain.tld/
Return code: 0
Working time: 0s (09:55:10)
Digiwords by La DigitaleReturn code: 0
Working time: 0s (09:55:13)
HTTP code:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Test URL: sub.domain.tld/
Real URL:
HTTP code:
Page title:
Page extract:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Test URL: sub.domain.tld/
Real URL:
HTTP code:
Page title:
Page extract:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
[1m[32m--- SUCCESS ---[0m
Working time for this test: 2 minutes, 21 seconds (09:55:13)
[1m
============================================
[Test 8/9] Upgrade from commit fabe9c7bdb98a0569148a79546e2889c2823d79a
============================================
[0m
[1m > Preliminary install...[0m
Loading snapshot snap0 ...
Running: yunohost app install --force /app_folder -a "domain=sub.domain.tld&path=/ admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&"
Running yunohost app install --force /app_folder -a "domain=sub.domain.tld&path=/ admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&"
197 [37m[1mDEBUG [minitializing base actions map parser for cli
199 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
202 [37m[1mDEBUG [mbuilding parser...
223 [37m[1mDEBUG [mbuilding parser took 0.021s
225 [37m[1mDEBUG [macquiring lock...
249 [37m[1mDEBUG [mlock has been acquired
269 [37m[1mDEBUG [mloading python module yunohost.app took 0.020s
269 [37m[1mDEBUG [mprocessing action [845.1]: yunohost.app.install with args={'app': '/app_folder', 'label': None, 'args': 'domain=sub.domain.tld&path=/ admin=package_checker&language=fr&is_public=1 password=1Strong-Password port=666&admin=&', 'no_remove_on_failure': False, 'force': True}
312 [37m[1mDEBUG [mExtracting...
334 [37m[1mDEBUG [mDone
336 [37m[1mDEBUG [mChecking required packages for digiwords...
343 [37m[1mDEBUG [mChecking that required services are up and running...
1291 [37m[1mDEBUG [minitializing ldap interface
1459 [36m[1mINFO [mInstalling digiwords...
1515 [37m[1mDEBUG [mNothing to update in LDAP
1516 [37m[1mDEBUG [mPermission 'digiwords.main' updated
1525 [37m[1mDEBUG [mTo view the log of the operation 'Update URL related to permission 'digiwords'', use the command 'yunohost log show 20220531-095632-permission_url-digiwords'
1560 [37m[1mDEBUG [mThe permission database has been resynchronized
1579 [37m[1mDEBUG [mSSOwat configuration regenerated
1608 [37m[1mDEBUG [mPermission 'digiwords.main' created
1610 [37m[1mDEBUG [mTo view the log of the operation 'Create permission 'digiwords'', use the command 'yunohost log show 20220531-095631-permission_create-digiwords'
1641 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
1658 [37m[1mDEBUG [m+ source _common.sh
1659 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
1660 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
1660 [37m[1mDEBUG [m+++ set +o
1661 [37m[1mDEBUG [m+++ grep xtrace
1666 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
1667 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
1667 [37m[1mDEBUG [m++ set +x
1717 [37m[1mDEBUG [m+ ynh_abort_if_errors
1718 [37m[1mDEBUG [m+ set -o errexit
1718 [37m[1mDEBUG [m+ set -o nounset
1719 [37m[1mDEBUG [m+ trap ynh_exit_properly EXIT
1719 [37m[1mDEBUG [m+ domain=sub.domain.tld
1720 [37m[1mDEBUG [m+ path_url=/
1720 [37m[1mDEBUG [m+ is_public=1
1721 [37m[1mDEBUG [m+ app=digiwords
1721 [37m[1mDEBUG [m+ ynh_script_progression '--message=Validating installation parameters...' --weight=1
1722 [37m[1mDEBUG [m+ set +o xtrace
1845 [37m[1mDEBUG [m+ set +o xtrace
1891 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1892 [37m[1mDEBUG [m+ set +x
1895 [37m[1mDEBUG [m+ echo '[++..................] > Validating installation parameters...'
1895 [37m[1mDEBUG [m+ set -o xtrace
1896 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
1896 [37m[1mDEBUG [m+ test '!' -e /var/www/digiwords
1896 [37m[1mDEBUG [m+ ynh_webpath_register --app=digiwords --domain=sub.domain.tld --path_url=/
1897 [37m[1mDEBUG [m+ local legacy_args=adp
1897 [37m[1mDEBUG [m+ args_array=([a]=app= [d]=domain= [p]=path_url=)
1898 [37m[1mDEBUG [m+ local -A args_array
1898 [37m[1mDEBUG [m+ local app
1899 [37m[1mDEBUG [m+ local domain
1899 [37m[1mDEBUG [m+ local path_url
1899 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --domain=sub.domain.tld --path_url=/
1900 [37m[1mDEBUG [m+ set +o xtrace
1900 [36m[1mINFO [m[++..................] > Validating installation parameters...
2022 [37m[1mDEBUG [m+ yunohost app register-url digiwords sub.domain.tld /
2684 [37m[1mDEBUG [m+ ynh_script_progression '--message=Storing installation settings...' --weight=1
2684 [37m[1mDEBUG [m+ set +o xtrace
2793 [37m[1mDEBUG [m+ set +o xtrace
2813 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2813 [37m[1mDEBUG [m+ set +x
2819 [36m[1mINFO [m[##++................] > Storing installation settings...
2820 [37m[1mDEBUG [m+ echo '[##++................] > Storing installation settings...'
2821 [37m[1mDEBUG [m+ set -o xtrace
2821 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=domain --value=sub.domain.tld
2824 [37m[1mDEBUG [m+ local _globalapp=digiwords
2826 [37m[1mDEBUG [m+ local legacy_args=akv
2827 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
2827 [37m[1mDEBUG [m+ local -A args_array
2828 [37m[1mDEBUG [m+ local app
2829 [37m[1mDEBUG [m+ local key
2829 [37m[1mDEBUG [m+ local value
2829 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=domain --value=sub.domain.tld
2830 [37m[1mDEBUG [m+ set +o xtrace
2977 [37m[1mDEBUG [m+ app=digiwords
2977 [37m[1mDEBUG [m+ [[ domain =~ (unprotected|protected|skipped)_ ]]
2978 [37m[1mDEBUG [m+ ynh_app_setting set digiwords domain sub.domain.tld
2978 [37m[1mDEBUG [m+ set +o xtrace
3077 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=path --value=/
3077 [37m[1mDEBUG [m+ local _globalapp=digiwords
3077 [37m[1mDEBUG [m+ local legacy_args=akv
3077 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
3078 [37m[1mDEBUG [m+ local -A args_array
3078 [37m[1mDEBUG [m+ local app
3078 [37m[1mDEBUG [m+ local key
3079 [37m[1mDEBUG [m+ local value
3079 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=path --value=/
3079 [37m[1mDEBUG [m+ set +o xtrace
3196 [37m[1mDEBUG [m+ app=digiwords
3197 [37m[1mDEBUG [m+ [[ path =~ (unprotected|protected|skipped)_ ]]
3197 [37m[1mDEBUG [m+ ynh_app_setting set digiwords path /
3197 [37m[1mDEBUG [m+ set +o xtrace
3272 [37m[1mDEBUG [m+ ynh_script_progression '--message=Installing dependencies...' --weight=1
3273 [37m[1mDEBUG [m+ set +o xtrace
3406 [37m[1mDEBUG [m+ set +o xtrace
3439 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
3440 [37m[1mDEBUG [m+ set +x
3448 [36m[1mINFO [m[####++..............] > Installing dependencies...
3450 [37m[1mDEBUG [m+ echo '[####++..............] > Installing dependencies...'
3451 [37m[1mDEBUG [m+ set -o xtrace
3452 [37m[1mDEBUG [m+ ynh_install_app_dependencies php-sqlite3
3453 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3456 [37m[1mDEBUG [m++ echo php-sqlite3
3461 [37m[1mDEBUG [m++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
3467 [37m[1mDEBUG [m+ dependencies=php-sqlite3
3468 [37m[1mDEBUG [m+ local dependencies=php-sqlite3
3468 [37m[1mDEBUG [m+ local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/manifest.json
3471 [37m[1mDEBUG [m++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/manifest.json
3480 [37m[1mDEBUG [m+ local version=0.3.2~ynh2
3481 [37m[1mDEBUG [m+ '[' -z 0.3.2~ynh2 ']'
3482 [37m[1mDEBUG [m+ '[' 0.3.2~ynh2 == null ']'
3482 [37m[1mDEBUG [m+ local dep_app=digiwords
3483 [37m[1mDEBUG [m+ [[ php-sqlite3 =~ [<=>] ]]
3489 [37m[1mDEBUG [m++ echo php-sqlite3
3489 [37m[1mDEBUG [m++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
3489 [37m[1mDEBUG [m++ sort -u
3491 [37m[1mDEBUG [m+ local specific_php_version=
3492 [37m[1mDEBUG [m+ [[ '' != \7\.\3 ]]
3492 [37m[1mDEBUG [m+ [[ -n '' ]]
3493 [37m[1mDEBUG [m+ [[ true == \t\r\u\e ]]
3494 [37m[1mDEBUG [m+ YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
3495 [37m[1mDEBUG [m+ grep --quiet php
3497 [37m[1mDEBUG [m+ dpkg --list
3498 [37m[1mDEBUG [m+ grep php7.0
3500 [37m[1mDEBUG [m+ grep --quiet --invert-match 7.0.33-0+deb9
3529 [37m[1mDEBUG [m+ cat
3533 [37m[1mDEBUG [m+ ynh_package_install_from_equivs /tmp/digiwords-ynh-deps.control
3534 [37m[1mDEBUG [m+ local controlfile=/tmp/digiwords-ynh-deps.control
3537 [37m[1mDEBUG [m++ grep '^Package: ' /tmp/digiwords-ynh-deps.control
3538 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
3543 [37m[1mDEBUG [m+ local pkgname=digiwords-ynh-deps
3547 [37m[1mDEBUG [m++ grep '^Version: ' /tmp/digiwords-ynh-deps.control
3548 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=2
3551 [37m[1mDEBUG [m+ local pkgversion=0.3.2~ynh2
3552 [37m[1mDEBUG [m+ [[ -z digiwords-ynh-deps ]]
3552 [37m[1mDEBUG [m+ [[ -z 0.3.2~ynh2 ]]
3552 [37m[1mDEBUG [m+ ynh_package_update
3553 [37m[1mDEBUG [m+ ynh_apt update
3553 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
3553 [37m[1mDEBUG [m+ local try
3553 [37m[1mDEBUG [m+ set +o xtrace
5131 [37m[1mDEBUG [m+ return 0
5132 [37m[1mDEBUG [m+ LC_ALL=C
5132 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
5133 [37m[1mDEBUG [m+ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
5260 [37m[1mDEBUG [mHit:1 http://forge.yunohost.org/debian buster InRelease
5279 [37m[1mDEBUG [mHit:2 http://deb.debian.org/debian buster InRelease
5293 [37m[1mDEBUG [mGet:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
5325 [37m[1mDEBUG [mGet:4 http://deb.debian.org/debian-security buster/updates InRelease [65.4 kB]
5992 [37m[1mDEBUG [mGet:5 http://deb.debian.org/debian buster-updates/main amd64 Packages.diff/Index [11.1 kB]
6010 [37m[1mDEBUG [mGet:6 http://deb.debian.org/debian buster-updates/main amd64 Packages 2022-05-28-1407.13.pdiff [1094 B]
6027 [37m[1mDEBUG [mGet:6 http://deb.debian.org/debian buster-updates/main amd64 Packages 2022-05-28-1407.13.pdiff [1094 B]
6230 [37m[1mDEBUG [mGet:7 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [328 kB]
6299 [37m[1mDEBUG [mGet:8 http://deb.debian.org/debian-security buster/updates/main Translation-en [177 kB]
6458 [37m[1mDEBUG [mFetched 635 kB in 1s (520 kB/s)
7995 [37m[1mDEBUG [mReading package lists...
8057 [37m[1mDEBUG [m++ mktemp --directory
8067 [37m[1mDEBUG [m+ local TMPDIR=/tmp/tmp.5T4qnNz1UF
8068 [37m[1mDEBUG [m+ echo 10
8070 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
8073 [37m[1mDEBUG [m+ local try
8075 [37m[1mDEBUG [m+ set +o xtrace
9519 [37m[1mDEBUG [m+ return 0
9521 [37m[1mDEBUG [m+ cp /tmp/digiwords-ynh-deps.control /tmp/tmp.5T4qnNz1UF/control
9529 [37m[1mDEBUG [m+ cd /tmp/tmp.5T4qnNz1UF
9533 [37m[1mDEBUG [m+ LC_ALL=C
9535 [37m[1mDEBUG [m+ equivs-build ./control
11592 [37m[1mDEBUG [m+ LC_ALL=C
11592 [37m[1mDEBUG [m+ dpkg --force-depends --install ./digiwords-ynh-deps_0.3.2~ynh2_all.deb
11593 [37m[1mDEBUG [m+ tee ./dpkg_log
11658 [37m[1mDEBUG [mSelecting previously unselected package digiwords-ynh-deps.
11715 [37m[1mDEBUG [m(Reading database ... 42385 files and directories currently installed.)
11719 [37m[1mDEBUG [mPreparing to unpack .../digiwords-ynh-deps_0.3.2~ynh2_all.deb ...
11731 [37m[1mDEBUG [mUnpacking digiwords-ynh-deps (0.3.2~ynh2) ...
11803 [37m[1mDEBUG [mdpkg: digiwords-ynh-deps: dependency problems, but configuring anyway as you requested:
11804 [37m[1mDEBUG [m digiwords-ynh-deps depends on php-sqlite3; however:
11805 [37m[1mDEBUG [m Package php-sqlite3 is not installed.
11805 [37m[1mDEBUG [m
11806 [37m[1mDEBUG [mSetting up digiwords-ynh-deps (0.3.2~ynh2) ...
11901 [37m[1mDEBUG [m+ ynh_package_install --fix-broken
11903 [37m[1mDEBUG [m+ ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
11904 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
11904 [37m[1mDEBUG [m+ local try
11905 [37m[1mDEBUG [m+ set +o xtrace
13397 [37m[1mDEBUG [m+ return 0
13398 [37m[1mDEBUG [m+ LC_ALL=C
13399 [37m[1mDEBUG [m+ DEBIAN_FRONTEND=noninteractive
13401 [37m[1mDEBUG [m+ 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
13632 [37m[1mDEBUG [mReading package lists...
14043 [37m[1mDEBUG [mBuilding dependency tree...
14044 [37m[1mDEBUG [mReading state information...
14290 [37m[1mDEBUG [mCorrecting dependencies... Done
14665 [37m[1mDEBUG [mThe following additional packages will be installed:
14666 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
14709 [37m[1mDEBUG [mThe following NEW packages will be installed:
14709 [37m[1mDEBUG [m php-sqlite3 php7.3-sqlite3
14788 [37m[1mDEBUG [m0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
14790 [37m[1mDEBUG [mNeed to get 32.2 kB of archives.
14797 [37m[1mDEBUG [mAfter this operation, 139 kB of additional disk space will be used.
14800 [37m[1mDEBUG [mGet:1 http://deb.debian.org/debian buster/main amd64 php7.3-sqlite3 amd64 7.3.31-1~deb10u1 [26.2 kB]
14811 [37m[1mDEBUG [mGet:2 http://deb.debian.org/debian buster/main amd64 php-sqlite3 all 2:7.3+69 [5996 B]
15361 [37m[1mDEBUG [mFetched 32.2 kB in 0s (480 kB/s)
15540 [37m[1mDEBUG [mSelecting previously unselected package php7.3-sqlite3.
15578 [37m[1mDEBUG [m(Reading database ... 42389 files and directories currently installed.)
15581 [37m[1mDEBUG [mPreparing to unpack .../php7.3-sqlite3_7.3.31-1~deb10u1_amd64.deb ...
15605 [37m[1mDEBUG [mUnpacking php7.3-sqlite3 (7.3.31-1~deb10u1) ...
15743 [37m[1mDEBUG [mSelecting previously unselected package php-sqlite3.
15753 [37m[1mDEBUG [mPreparing to unpack .../php-sqlite3_2%3a7.3+69_all.deb ...
15772 [37m[1mDEBUG [mUnpacking php-sqlite3 (2:7.3+69) ...
15891 [37m[1mDEBUG [mSetting up php7.3-sqlite3 (7.3.31-1~deb10u1) ...
15939 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16154 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16241 [37m[1mDEBUG [m
16242 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/sqlite3.ini with new version
16328 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16560 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16781 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
16882 [37m[1mDEBUG [m
16883 [37m[1mDEBUG [mCreating config file /etc/php/7.3/mods-available/pdo_sqlite.ini with new version
16986 [37m[1mDEBUG [m/bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
17249 [37m[1mDEBUG [mSetting up php-sqlite3 (2:7.3+69) ...
17291 [37m[1mDEBUG [mProcessing triggers for php7.3-fpm (7.3.31-1~deb10u1) ...
18115 [37m[1mDEBUG [m+ [[ -n /tmp/tmp.5T4qnNz1UF ]]
18116 [37m[1mDEBUG [m+ rm --recursive --force /tmp/tmp.5T4qnNz1UF
18119 [37m[1mDEBUG [m+ ynh_package_is_installed digiwords-ynh-deps
18121 [37m[1mDEBUG [m+ local legacy_args=p
18124 [37m[1mDEBUG [m+ args_array=([p]=package=)
18126 [37m[1mDEBUG [m+ local -A args_array
18127 [37m[1mDEBUG [m+ local package
18128 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords-ynh-deps
18128 [37m[1mDEBUG [m+ set +o xtrace
18139 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
18140 [37m[1mDEBUG [m+ set +x
18146 [37m[1mDEBUG [m+ ynh_wait_dpkg_free
18147 [37m[1mDEBUG [m+ local try
18147 [37m[1mDEBUG [m+ set +o xtrace
19605 [37m[1mDEBUG [m+ return 0
19606 [37m[1mDEBUG [m+ dpkg-query --show '--showformat=${Status}' digiwords-ynh-deps
19608 [37m[1mDEBUG [m+ grep --count 'ok installed'
19628 [37m[1mDEBUG [m+ rm /tmp/digiwords-ynh-deps.control
19630 [37m[1mDEBUG [m+ [[ -n '' ]]
19632 [37m[1mDEBUG [m+ grep --quiet php
19639 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
19640 [37m[1mDEBUG [m+ local _globalapp=digiwords
19640 [37m[1mDEBUG [m+ local legacy_args=akv
19641 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
19643 [37m[1mDEBUG [m+ local -A args_array
19644 [37m[1mDEBUG [m+ local app
19644 [37m[1mDEBUG [m+ local key
19645 [37m[1mDEBUG [m+ local value
19645 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
19645 [37m[1mDEBUG [m+ set +o xtrace
19761 [37m[1mDEBUG [m+ app=digiwords
19762 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
19763 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
19764 [37m[1mDEBUG [m+ set +o xtrace
19845 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring system user...' --weight=1
19846 [37m[1mDEBUG [m+ set +o xtrace
19964 [37m[1mDEBUG [m+ set +o xtrace
19985 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
19986 [37m[1mDEBUG [m+ set +x
19992 [36m[1mINFO [m[######++............] > Configuring system user...
19992 [37m[1mDEBUG [m+ echo '[######++............] > Configuring system user...'
19993 [37m[1mDEBUG [m+ set -o xtrace
19993 [37m[1mDEBUG [m+ ynh_system_user_create --username=digiwords --home_dir=/var/www/digiwords
19994 [37m[1mDEBUG [m+ local legacy_args=uhs
19994 [37m[1mDEBUG [m+ args_array=([u]=username= [h]=home_dir= [s]=use_shell [g]=groups=)
19994 [37m[1mDEBUG [m+ local -A args_array
19994 [37m[1mDEBUG [m+ local username
19995 [37m[1mDEBUG [m+ local home_dir
19995 [37m[1mDEBUG [m+ local use_shell
19995 [37m[1mDEBUG [m+ local groups
19996 [37m[1mDEBUG [m+ ynh_handle_getopts_args --username=digiwords --home_dir=/var/www/digiwords
19997 [37m[1mDEBUG [m+ set +o xtrace
20104 [37m[1mDEBUG [m+ use_shell=0
20105 [37m[1mDEBUG [m+ home_dir=/var/www/digiwords
20105 [37m[1mDEBUG [m+ groups=
20105 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
20106 [37m[1mDEBUG [m+ local legacy_args=u
20106 [37m[1mDEBUG [m+ args_array=([u]=username=)
20107 [37m[1mDEBUG [m+ local -A args_array
20107 [37m[1mDEBUG [m+ local username
20108 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
20108 [37m[1mDEBUG [m+ set +o xtrace
20131 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
20131 [37m[1mDEBUG [m+ set +x
20138 [37m[1mDEBUG [m+ getent passwd digiwords
20151 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
20152 [37m[1mDEBUG [m+ local 'user_home_dir=--home-dir /var/www/digiwords'
20152 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
20153 [37m[1mDEBUG [m+ local 'shell=--shell /usr/sbin/nologin'
20154 [37m[1mDEBUG [m+ useradd --home-dir /var/www/digiwords --system --user-group digiwords --shell /usr/sbin/nologin
20310 [37m[1mDEBUG [m+ local group
20310 [37m[1mDEBUG [m+ ynh_script_progression '--message=Setting up source files...' --weight=1
20311 [37m[1mDEBUG [m+ set +o xtrace
20457 [37m[1mDEBUG [m+ set +o xtrace
20478 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
20479 [37m[1mDEBUG [m+ set +x
20484 [36m[1mINFO [m[########++..........] > Setting up source files...
20485 [37m[1mDEBUG [m+ echo '[########++..........] > Setting up source files...'
20486 [37m[1mDEBUG [m+ set -o xtrace
20487 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=final_path --value=/var/www/digiwords
20487 [37m[1mDEBUG [m+ local _globalapp=digiwords
20488 [37m[1mDEBUG [m+ local legacy_args=akv
20488 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
20489 [37m[1mDEBUG [m+ local -A args_array
20490 [37m[1mDEBUG [m+ local app
20490 [37m[1mDEBUG [m+ local key
20491 [37m[1mDEBUG [m+ local value
20492 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=final_path --value=/var/www/digiwords
20493 [37m[1mDEBUG [m+ set +o xtrace
20655 [37m[1mDEBUG [m+ app=digiwords
20657 [37m[1mDEBUG [m+ [[ final_path =~ (unprotected|protected|skipped)_ ]]
20658 [37m[1mDEBUG [m+ ynh_app_setting set digiwords final_path /var/www/digiwords
20660 [37m[1mDEBUG [m+ set +o xtrace
20762 [37m[1mDEBUG [m+ ynh_setup_source --dest_dir=/var/www/digiwords
20764 [37m[1mDEBUG [m+ local legacy_args=dsk
20766 [37m[1mDEBUG [m+ args_array=([d]=dest_dir= [s]=source_id= [k]=keep=)
20767 [37m[1mDEBUG [m+ local -A args_array
20768 [37m[1mDEBUG [m+ local dest_dir
20768 [37m[1mDEBUG [m+ local source_id
20769 [37m[1mDEBUG [m+ local keep
20770 [37m[1mDEBUG [m+ ynh_handle_getopts_args --dest_dir=/var/www/digiwords
20771 [37m[1mDEBUG [m+ set +o xtrace
20824 [37m[1mDEBUG [m+ source_id=app
20825 [37m[1mDEBUG [m+ keep=
20825 [37m[1mDEBUG [m+ local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/app.src
20827 [37m[1mDEBUG [m++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/app.src
20829 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20837 [37m[1mDEBUG [m+ local src_url=https://github.com/YunoHost-Apps/digiwords_ynh/files/8153168/digiwords-v0.3.2.zip
20838 [37m[1mDEBUG [m++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/app.src
20839 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20844 [37m[1mDEBUG [m+ local src_sum=2e97f6fcb29272c79a12b30c216177c6371efec053a401e4915db7ec46e557dc
20846 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20847 [37m[1mDEBUG [m++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/app.src
20855 [37m[1mDEBUG [m+ local src_sumprg=sha256sum
20857 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20858 [37m[1mDEBUG [m++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/app.src
20864 [37m[1mDEBUG [m+ local src_format=zip
20869 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20869 [37m[1mDEBUG [m++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/app.src
20880 [37m[1mDEBUG [m+ local src_extract=true
20883 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20884 [37m[1mDEBUG [m++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/app.src
20892 [37m[1mDEBUG [m+ local src_in_subdir=true
20893 [37m[1mDEBUG [m++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/app.src
20896 [37m[1mDEBUG [m++ cut --delimiter== --fields=2-
20903 [37m[1mDEBUG [m+ local src_filename=
20904 [37m[1mDEBUG [m+ src_sumprg=sha256sum
20905 [37m[1mDEBUG [m+ src_in_subdir=true
20906 [37m[1mDEBUG [m+ src_format=zip
20906 [37m[1mDEBUG [m++ echo zip
20908 [37m[1mDEBUG [m++ tr '[:upper:]' '[:lower:]'
20914 [37m[1mDEBUG [m+ src_format=zip
20915 [37m[1mDEBUG [m+ src_extract=true
20916 [37m[1mDEBUG [m+ '[' '' = '' ']'
20916 [37m[1mDEBUG [m+ src_filename=app.zip
20916 [37m[1mDEBUG [m+ local local_src=/opt/yunohost-apps-src/digiwords/app.zip
20917 [37m[1mDEBUG [m+ mkdir -p /var/cache/yunohost/download/digiwords/
20923 [37m[1mDEBUG [m+ src_filename=/var/cache/yunohost/download/digiwords/app.zip
20924 [37m[1mDEBUG [m+ test -e /opt/yunohost-apps-src/digiwords/app.zip
20924 [37m[1mDEBUG [m+ '[' -n https://github.com/YunoHost-Apps/digiwords_ynh/files/8153168/digiwords-v0.3.2.zip ']'
20924 [37m[1mDEBUG [m+ local out
20925 [37m[1mDEBUG [m++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/digiwords/app.zip https://github.com/YunoHost-Apps/digiwords_ynh/files/8153168/digiwords-v0.3.2.zip
22315 [37m[1mDEBUG [m+ out='2022-05-31 09:56:52 URL:https://objects.githubusercontent.com/github-production-repository-file-5c1aeb/459932950/8153168?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220531%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220531T095651Z&X-Amz-Expires=300&X-Amz-Signature=83fdf2a91d2eb520409ad88e5ad0070d25d2645f416ca11719fb6e5b74cd0ccf&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=459932950&response-content-disposition=attachment%3Bfilename%3Ddigiwords-v0.3.2.zip&response-content-type=application%2Fzip [3000523/3000523] -> "/var/cache/yunohost/download/digiwords/app.zip" [1]'
22316 [37m[1mDEBUG [m+ echo '2e97f6fcb29272c79a12b30c216177c6371efec053a401e4915db7ec46e557dc /var/cache/yunohost/download/digiwords/app.zip'
22317 [37m[1mDEBUG [m+ sha256sum --check --status
22345 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
22349 [37m[1mDEBUG [m+ '[' -n '' ']'
22350 [37m[1mDEBUG [m+ mkdir --parents /var/www/digiwords
22357 [37m[1mDEBUG [m+ '[' -n /var/www/digiwords ']'
22358 [37m[1mDEBUG [m+ '[' /var/www/digiwords == /var/www/digiwords ']'
22359 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /var/www/digiwords
22359 [37m[1mDEBUG [m+ local target=/var/www/digiwords
22360 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/manifest.json
22361 [37m[1mDEBUG [m++ tr -d '>= '
22372 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
22373 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
22374 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
22375 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
22381 [37m[1mDEBUG [m+ chmod o-rwx /var/www/digiwords
22384 [37m[1mDEBUG [m+ chmod g-w /var/www/digiwords
22387 [37m[1mDEBUG [m+ chown -R root:root /var/www/digiwords
22397 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
22398 [37m[1mDEBUG [m+ local legacy_args=u
22398 [37m[1mDEBUG [m+ args_array=([u]=username=)
22399 [37m[1mDEBUG [m+ local -A args_array
22400 [37m[1mDEBUG [m+ local username
22401 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
22401 [37m[1mDEBUG [m+ set +o xtrace
22413 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
22414 [37m[1mDEBUG [m+ set +x
22428 [37m[1mDEBUG [m+ getent passwd digiwords
22437 [37m[1mDEBUG [m+ chown digiwords:digiwords /var/www/digiwords
22448 [37m[1mDEBUG [m+ echo /var/www/digiwords
22449 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
22453 [37m[1mDEBUG [m+ true
22455 [37m[1mDEBUG [m+ '[' zip = zip ']'
22456 [37m[1mDEBUG [m+ true
22459 [37m[1mDEBUG [m++ mktemp --directory
22461 [37m[1mDEBUG [m+ local tmp_dir=/tmp/tmp.2P8DTpwSaJ
22463 [37m[1mDEBUG [m+ unzip -quo /var/cache/yunohost/download/digiwords/app.zip -d /tmp/tmp.2P8DTpwSaJ
22512 [37m[1mDEBUG [m+ cp --archive /tmp/tmp.2P8DTpwSaJ/digiwords/. /var/www/digiwords
22539 [37m[1mDEBUG [m+ ynh_secure_remove --file=/tmp/tmp.2P8DTpwSaJ
22540 [37m[1mDEBUG [m+ local legacy_args=f
22546 [37m[1mDEBUG [m+ args_array=([f]=file=)
22547 [37m[1mDEBUG [m+ local -A args_array
22548 [37m[1mDEBUG [m+ local file
22549 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/tmp/tmp.2P8DTpwSaJ
22549 [37m[1mDEBUG [m+ set +o xtrace
22572 [37m[1mDEBUG [m+ set +o xtrace
22606 [37m[1mDEBUG [m+ ynh_secure_remove --file=/var/cache/yunohost/download/digiwords/app.zip
22607 [37m[1mDEBUG [m+ local legacy_args=f
22608 [37m[1mDEBUG [m+ args_array=([f]=file=)
22609 [37m[1mDEBUG [m+ local -A args_array
22610 [37m[1mDEBUG [m+ local file
22612 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/var/cache/yunohost/download/digiwords/app.zip
22614 [37m[1mDEBUG [m+ set +o xtrace
22629 [37m[1mDEBUG [m+ set +o xtrace
22656 [37m[1mDEBUG [m+ '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/sources/patches/ ']'
22657 [37m[1mDEBUG [m+ test -e /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/sources/extra_files/app
22659 [37m[1mDEBUG [m+ '[' -n '' ']'
22661 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
22661 [37m[1mDEBUG [m+ chmod 750 /var/www/digiwords
22666 [37m[1mDEBUG [m+ chmod -R o-rwx /var/www/digiwords
22672 [37m[1mDEBUG [m+ chown -R digiwords:www-data /var/www/digiwords
22683 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring NGINX web server...' --weight=1
22683 [37m[1mDEBUG [m+ set +o xtrace
22821 [37m[1mDEBUG [m+ set +o xtrace
22854 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
22857 [37m[1mDEBUG [m+ set +x
22864 [36m[1mINFO [m[##########++........] > Configuring NGINX web server...
22865 [37m[1mDEBUG [m+ echo '[##########++........] > Configuring NGINX web server...'
22866 [37m[1mDEBUG [m+ set -o xtrace
22866 [37m[1mDEBUG [m+ ynh_add_nginx_config
22867 [37m[1mDEBUG [m+ local finalnginxconf=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
22867 [37m[1mDEBUG [m+ '[' / '!=' / ']'
22868 [37m[1mDEBUG [m+ ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/nginx.conf
22868 [37m[1mDEBUG [m+ local legacy_args=mrf
22868 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
22873 [37m[1mDEBUG [m+ local -A args_array
22873 [37m[1mDEBUG [m+ local match_string
22874 [37m[1mDEBUG [m+ local replace_string
22875 [37m[1mDEBUG [m+ local target_file
22876 [37m[1mDEBUG [m+ ynh_handle_getopts_args '--match_string=^#root_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/nginx.conf
22884 [37m[1mDEBUG [m+ set +o xtrace
23032 [37m[1mDEBUG [m+ set +o xtrace
23033 [37m[1mDEBUG [m+ sed --in-place 's@^#root_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/nginx.conf
23037 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23038 [37m[1mDEBUG [m+ local legacy_args=tdv
23039 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
23039 [37m[1mDEBUG [m+ local -A args_array
23039 [37m[1mDEBUG [m+ local template
23040 [37m[1mDEBUG [m+ local destination
23041 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/nginx.conf --destination=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23042 [37m[1mDEBUG [m+ set +o xtrace
23106 [37m[1mDEBUG [m+ local template_path
23109 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/nginx.conf ']'
23110 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/nginx.conf ']'
23110 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/nginx.conf
23111 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23113 [37m[1mDEBUG [m+ local legacy_args=f
23113 [37m[1mDEBUG [m+ args_array=([f]=file=)
23117 [37m[1mDEBUG [m+ local -A args_array
23117 [37m[1mDEBUG [m+ local file
23118 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23119 [37m[1mDEBUG [m+ set +o xtrace
23141 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
23143 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
23146 [37m[1mDEBUG [m++ local _globalapp=digiwords
23147 [37m[1mDEBUG [m++ local legacy_args=ak
23148 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
23149 [37m[1mDEBUG [m++ local -A args_array
23150 [37m[1mDEBUG [m++ local app
23151 [37m[1mDEBUG [m++ local key
23151 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
23152 [37m[1mDEBUG [m++ set +o xtrace
23219 [37m[1mDEBUG [m++ app=digiwords
23220 [37m[1mDEBUG [m++ [[ checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
23223 [37m[1mDEBUG [m++ ynh_app_setting get digiwords checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
23224 [37m[1mDEBUG [m++ set +o xtrace
23319 [37m[1mDEBUG [m+ local checksum_value=
23320 [37m[1mDEBUG [m+ backup_file_checksum=
23321 [37m[1mDEBUG [m+ '[' -n '' ']'
23322 [37m[1mDEBUG [m+ touch /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23324 [37m[1mDEBUG [m+ chown root:root /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23327 [37m[1mDEBUG [m+ chmod 640 /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23329 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/nginx.conf /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23333 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23334 [37m[1mDEBUG [m+ local target=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23336 [37m[1mDEBUG [m++ tr -d '>= '
23339 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/manifest.json
23349 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
23351 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
23352 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
23353 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
23355 [37m[1mDEBUG [m+ chmod o-rwx /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23357 [37m[1mDEBUG [m+ chmod g-w /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23362 [37m[1mDEBUG [m+ chown -R root:root /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23366 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
23367 [37m[1mDEBUG [m+ local legacy_args=u
23368 [37m[1mDEBUG [m+ args_array=([u]=username=)
23372 [37m[1mDEBUG [m+ local -A args_array
23372 [37m[1mDEBUG [m+ local username
23373 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
23373 [37m[1mDEBUG [m+ set +o xtrace
23383 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
23384 [37m[1mDEBUG [m+ set +x
23389 [37m[1mDEBUG [m+ getent passwd digiwords
23393 [37m[1mDEBUG [m+ chown digiwords:digiwords /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23396 [37m[1mDEBUG [m+ echo /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23398 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
23402 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23403 [37m[1mDEBUG [m+ local legacy_args=f
23407 [37m[1mDEBUG [m+ args_array=([f]=file=)
23408 [37m[1mDEBUG [m+ local -A args_array
23409 [37m[1mDEBUG [m+ local file
23410 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23411 [37m[1mDEBUG [m+ set +o xtrace
23426 [37m[1mDEBUG [m+ test -n /
23427 [37m[1mDEBUG [m+ local path_url_slash_less=
23432 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23432 [37m[1mDEBUG [m+ local legacy_args=mrf
23433 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
23433 [37m[1mDEBUG [m+ local -A args_array
23434 [37m[1mDEBUG [m+ local match_string
23436 [37m[1mDEBUG [m+ local replace_string
23437 [37m[1mDEBUG [m+ local target_file
23438 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23439 [37m[1mDEBUG [m+ set +o xtrace
23574 [37m[1mDEBUG [m+ set +o xtrace
23576 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23581 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23582 [37m[1mDEBUG [m+ local legacy_args=mrf
23583 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
23584 [37m[1mDEBUG [m+ local -A args_array
23585 [37m[1mDEBUG [m+ local match_string
23587 [37m[1mDEBUG [m+ local replace_string
23588 [37m[1mDEBUG [m+ local target_file
23589 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23591 [37m[1mDEBUG [m+ set +o xtrace
23751 [37m[1mDEBUG [m+ set +o xtrace
23763 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23768 [37m[1mDEBUG [m+ test -n digiwords
23769 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23770 [37m[1mDEBUG [m+ local legacy_args=mrf
23771 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
23771 [37m[1mDEBUG [m+ local -A args_array
23772 [37m[1mDEBUG [m+ local match_string
23773 [37m[1mDEBUG [m+ local replace_string
23773 [37m[1mDEBUG [m+ local target_file
23774 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23790 [37m[1mDEBUG [m+ set +o xtrace
23980 [37m[1mDEBUG [m+ set +o xtrace
23984 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23990 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23991 [37m[1mDEBUG [m+ local legacy_args=mrf
23991 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
23992 [37m[1mDEBUG [m+ local -A args_array
23993 [37m[1mDEBUG [m+ local match_string
23993 [37m[1mDEBUG [m+ local replace_string
23994 [37m[1mDEBUG [m+ local target_file
23994 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
23995 [37m[1mDEBUG [m+ set +o xtrace
24148 [37m[1mDEBUG [m+ set +o xtrace
24149 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24154 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24156 [37m[1mDEBUG [m+ local legacy_args=mrf
24156 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
24157 [37m[1mDEBUG [m+ local -A args_array
24157 [37m[1mDEBUG [m+ local match_string
24159 [37m[1mDEBUG [m+ local replace_string
24160 [37m[1mDEBUG [m+ local target_file
24160 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24162 [37m[1mDEBUG [m+ set +o xtrace
24324 [37m[1mDEBUG [m+ set +o xtrace
24325 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24331 [37m[1mDEBUG [m+ test -n /var/www/digiwords
24332 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24333 [37m[1mDEBUG [m+ local legacy_args=mrf
24334 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
24336 [37m[1mDEBUG [m+ local -A args_array
24337 [37m[1mDEBUG [m+ local match_string
24337 [37m[1mDEBUG [m+ local replace_string
24339 [37m[1mDEBUG [m+ local target_file
24340 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24342 [37m[1mDEBUG [m+ set +o xtrace
24522 [37m[1mDEBUG [m+ set +o xtrace
24528 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24540 [37m[1mDEBUG [m+ test -n 7.3
24540 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24541 [37m[1mDEBUG [m+ local legacy_args=mrf
24541 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
24541 [37m[1mDEBUG [m+ local -A args_array
24542 [37m[1mDEBUG [m+ local match_string
24542 [37m[1mDEBUG [m+ local replace_string
24542 [37m[1mDEBUG [m+ local target_file
24549 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24550 [37m[1mDEBUG [m+ set +o xtrace
24681 [37m[1mDEBUG [m+ set +o xtrace
24681 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24684 [37m[1mDEBUG [m+ test -n ''
24685 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
24686 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24687 [37m[1mDEBUG [m++ sort --unique
24690 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
24696 [37m[1mDEBUG [m+ local uniques_vars
24696 [37m[1mDEBUG [m+ local delimit=@
24697 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24697 [37m[1mDEBUG [m+ local legacy_args=f
24697 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
24698 [37m[1mDEBUG [m+ local -A args_array
24698 [37m[1mDEBUG [m+ local file
24699 [37m[1mDEBUG [m+ local update_only
24700 [37m[1mDEBUG [m+ update_only=0
24700 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24701 [37m[1mDEBUG [m+ set +o xtrace
24737 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf
24738 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
24739 [37m[1mDEBUG [m++ md5sum /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
24741 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
24749 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf --value=5c962d7fd9685f7d45b0447fc6ee09d1
24749 [37m[1mDEBUG [m+ local _globalapp=digiwords
24750 [37m[1mDEBUG [m+ local legacy_args=akv
24750 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
24751 [37m[1mDEBUG [m+ local -A args_array
24751 [37m[1mDEBUG [m+ local app
24751 [37m[1mDEBUG [m+ local key
24751 [37m[1mDEBUG [m+ local value
24751 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf --value=5c962d7fd9685f7d45b0447fc6ee09d1
24752 [37m[1mDEBUG [m+ set +o xtrace
24877 [37m[1mDEBUG [m+ app=digiwords
24879 [37m[1mDEBUG [m+ [[ checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
24880 [37m[1mDEBUG [m+ ynh_app_setting set digiwords checksum__etc_nginx_conf.d_sub.domain.tld.d_digiwords.conf 5c962d7fd9685f7d45b0447fc6ee09d1
24880 [37m[1mDEBUG [m+ set +o xtrace
24965 [37m[1mDEBUG [m+ '[' -n '' ']'
24966 [37m[1mDEBUG [m+ unset backup_file_checksum
24967 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
24968 [37m[1mDEBUG [m+ local legacy_args=nalpte
24968 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
24969 [37m[1mDEBUG [m+ local -A args_array
24969 [37m[1mDEBUG [m+ local service_name
24970 [37m[1mDEBUG [m+ local action
24971 [37m[1mDEBUG [m+ local line_match
24971 [37m[1mDEBUG [m+ local length
24972 [37m[1mDEBUG [m+ local log_path
24972 [37m[1mDEBUG [m+ local timeout
24973 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
24973 [37m[1mDEBUG [m+ set +o xtrace
25158 [37m[1mDEBUG [m+ service_name=nginx
25159 [37m[1mDEBUG [m+ action=reload
25169 [37m[1mDEBUG [m+ line_match=
25169 [37m[1mDEBUG [m+ length=20
25169 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
25170 [37m[1mDEBUG [m+ timeout=300
25170 [37m[1mDEBUG [m+ '[' reload == stop ']'
25171 [37m[1mDEBUG [m+ [[ -n '' ]]
25172 [37m[1mDEBUG [m+ '[' reload == reload ']'
25172 [37m[1mDEBUG [m+ action=reload-or-restart
25172 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
25268 [37m[1mDEBUG [m+ [[ -n '' ]]
25274 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring PHP-FPM...' --weight=1
25277 [37m[1mDEBUG [m+ set +o xtrace
25427 [37m[1mDEBUG [m+ set +o xtrace
25472 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
25477 [37m[1mDEBUG [m+ set +x
25479 [36m[1mINFO [m[############++......] > Configuring PHP-FPM...
25483 [37m[1mDEBUG [m+ echo '[############++......] > Configuring PHP-FPM...'
25485 [37m[1mDEBUG [m+ set -o xtrace
25488 [37m[1mDEBUG [m+ ynh_add_fpm_config
25489 [37m[1mDEBUG [m+ local legacy_args=vtufpd
25489 [37m[1mDEBUG [m+ args_array=([v]=phpversion= [t]=use_template [u]=usage= [f]=footprint= [p]=package= [d]=dedicated_service)
25490 [37m[1mDEBUG [m+ local -A args_array
25491 [37m[1mDEBUG [m+ local phpversion
25492 [37m[1mDEBUG [m+ local use_template
25492 [37m[1mDEBUG [m+ local usage
25493 [37m[1mDEBUG [m+ local footprint
25493 [37m[1mDEBUG [m+ local package
25494 [37m[1mDEBUG [m+ local dedicated_service
25495 [37m[1mDEBUG [m+ ynh_handle_getopts_args
25496 [37m[1mDEBUG [m+ set +o xtrace
25497 [37m[1mDEBUG [m+ package=
25498 [37m[1mDEBUG [m+ use_template=1
25501 [37m[1mDEBUG [m+ usage=
25503 [37m[1mDEBUG [m+ footprint=
25505 [37m[1mDEBUG [m+ '[' -n '' ']'
25515 [37m[1mDEBUG [m+ '[' -n '' ']'
25515 [37m[1mDEBUG [m+ dedicated_service=0
25516 [37m[1mDEBUG [m+ phpversion=7.3
25516 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=phpversion
25517 [37m[1mDEBUG [m++ local _globalapp=digiwords
25517 [37m[1mDEBUG [m++ local legacy_args=ak
25517 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
25517 [37m[1mDEBUG [m++ local -A args_array
25517 [37m[1mDEBUG [m++ local app
25517 [37m[1mDEBUG [m++ local key
25517 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=phpversion
25518 [37m[1mDEBUG [m++ set +o xtrace
25578 [37m[1mDEBUG [m++ app=digiwords
25580 [37m[1mDEBUG [m++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
25583 [37m[1mDEBUG [m++ ynh_app_setting get digiwords phpversion
25584 [37m[1mDEBUG [m++ set +o xtrace
25669 [37m[1mDEBUG [m+ local old_phpversion=7.3
25670 [37m[1mDEBUG [m+ '[' -n 7.3 ']'
25671 [37m[1mDEBUG [m+ '[' 7.3 '!=' 7.3 ']'
25671 [37m[1mDEBUG [m+ '[' -n '' ']'
25671 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
25672 [37m[1mDEBUG [m+ local fpm_service=php7.3-fpm
25673 [37m[1mDEBUG [m+ local fpm_config_dir=/etc/php/7.3/fpm
25673 [37m[1mDEBUG [m+ mkdir --parents /etc/php/7.3/fpm/pool.d
25678 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_config_dir --value=/etc/php/7.3/fpm
25680 [37m[1mDEBUG [m+ local _globalapp=digiwords
25680 [37m[1mDEBUG [m+ local legacy_args=akv
25680 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
25680 [37m[1mDEBUG [m+ local -A args_array
25683 [37m[1mDEBUG [m+ local app
25683 [37m[1mDEBUG [m+ local key
25684 [37m[1mDEBUG [m+ local value
25684 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_config_dir --value=/etc/php/7.3/fpm
25684 [37m[1mDEBUG [m+ set +o xtrace
25811 [37m[1mDEBUG [m+ app=digiwords
25812 [37m[1mDEBUG [m+ [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
25814 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_config_dir /etc/php/7.3/fpm
25814 [37m[1mDEBUG [m+ set +o xtrace
25892 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_service --value=php7.3-fpm
25893 [37m[1mDEBUG [m+ local _globalapp=digiwords
25894 [37m[1mDEBUG [m+ local legacy_args=akv
25895 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
25896 [37m[1mDEBUG [m+ local -A args_array
25897 [37m[1mDEBUG [m+ local app
25899 [37m[1mDEBUG [m+ local key
25900 [37m[1mDEBUG [m+ local value
25901 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_service --value=php7.3-fpm
25902 [37m[1mDEBUG [m+ set +o xtrace
26028 [37m[1mDEBUG [m+ app=digiwords
26028 [37m[1mDEBUG [m+ [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
26030 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_service php7.3-fpm
26030 [37m[1mDEBUG [m+ set +o xtrace
26112 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=fpm_dedicated_service --value=0
26113 [37m[1mDEBUG [m+ local _globalapp=digiwords
26113 [37m[1mDEBUG [m+ local legacy_args=akv
26114 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
26114 [37m[1mDEBUG [m+ local -A args_array
26115 [37m[1mDEBUG [m+ local app
26115 [37m[1mDEBUG [m+ local key
26116 [37m[1mDEBUG [m+ local value
26116 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=fpm_dedicated_service --value=0
26116 [37m[1mDEBUG [m+ set +o xtrace
26247 [37m[1mDEBUG [m+ app=digiwords
26248 [37m[1mDEBUG [m+ [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
26249 [37m[1mDEBUG [m+ ynh_app_setting set digiwords fpm_dedicated_service 0
26249 [37m[1mDEBUG [m+ set +o xtrace
26338 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=phpversion --value=7.3
26339 [37m[1mDEBUG [m+ local _globalapp=digiwords
26341 [37m[1mDEBUG [m+ local legacy_args=akv
26342 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
26343 [37m[1mDEBUG [m+ local -A args_array
26344 [37m[1mDEBUG [m+ local app
26345 [37m[1mDEBUG [m+ local key
26345 [37m[1mDEBUG [m+ local value
26346 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=phpversion --value=7.3
26347 [37m[1mDEBUG [m+ set +o xtrace
26457 [37m[1mDEBUG [m+ app=digiwords
26458 [37m[1mDEBUG [m+ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
26459 [37m[1mDEBUG [m+ ynh_app_setting set digiwords phpversion 7.3
26460 [37m[1mDEBUG [m+ set +o xtrace
26541 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
26542 [37m[1mDEBUG [m+ '[' 1 -eq 1 ']'
26542 [37m[1mDEBUG [m+ local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/php-fpm.conf
26543 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/php-fpm.conf ']'
26544 [37m[1mDEBUG [m+ local finalphpconf=/etc/php/7.3/fpm/pool.d/digiwords.conf
26544 [37m[1mDEBUG [m+ ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords.conf
26545 [37m[1mDEBUG [m+ local legacy_args=tdv
26546 [37m[1mDEBUG [m+ args_array=([t]=template= [d]=destination=)
26548 [37m[1mDEBUG [m+ local -A args_array
26548 [37m[1mDEBUG [m+ local template
26549 [37m[1mDEBUG [m+ local destination
26549 [37m[1mDEBUG [m+ ynh_handle_getopts_args --template=/var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/digiwords.conf
26550 [37m[1mDEBUG [m+ set +o xtrace
26600 [37m[1mDEBUG [m+ local template_path
26601 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf//var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/php-fpm.conf ']'
26602 [37m[1mDEBUG [m+ '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/php-fpm.conf ']'
26604 [37m[1mDEBUG [m+ template_path=/var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/php-fpm.conf
26604 [37m[1mDEBUG [m+ ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26604 [37m[1mDEBUG [m+ local legacy_args=f
26605 [37m[1mDEBUG [m+ args_array=([f]=file=)
26605 [37m[1mDEBUG [m+ local -A args_array
26605 [37m[1mDEBUG [m+ local file
26606 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26607 [37m[1mDEBUG [m+ set +o xtrace
26633 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
26635 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
26635 [37m[1mDEBUG [m++ local _globalapp=digiwords
26636 [37m[1mDEBUG [m++ local legacy_args=ak
26637 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
26637 [37m[1mDEBUG [m++ local -A args_array
26637 [37m[1mDEBUG [m++ local app
26638 [37m[1mDEBUG [m++ local key
26638 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
26640 [37m[1mDEBUG [m++ set +o xtrace
26703 [37m[1mDEBUG [m++ app=digiwords
26703 [37m[1mDEBUG [m++ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
26705 [37m[1mDEBUG [m++ ynh_app_setting get digiwords checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
26706 [37m[1mDEBUG [m++ set +o xtrace
26805 [37m[1mDEBUG [m+ local checksum_value=
26807 [37m[1mDEBUG [m+ backup_file_checksum=
26807 [37m[1mDEBUG [m+ '[' -n '' ']'
26807 [37m[1mDEBUG [m+ touch /etc/php/7.3/fpm/pool.d/digiwords.conf
26809 [37m[1mDEBUG [m+ chown root:root /etc/php/7.3/fpm/pool.d/digiwords.conf
26814 [37m[1mDEBUG [m+ chmod 640 /etc/php/7.3/fpm/pool.d/digiwords.conf
26819 [37m[1mDEBUG [m+ cp -f /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/digiwords.conf
26823 [37m[1mDEBUG [m+ _ynh_apply_default_permissions /etc/php/7.3/fpm/pool.d/digiwords.conf
26823 [37m[1mDEBUG [m+ local target=/etc/php/7.3/fpm/pool.d/digiwords.conf
26828 [37m[1mDEBUG [m++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/manifest.json
26829 [37m[1mDEBUG [m++ tr -d '>= '
26834 [37m[1mDEBUG [m+ local ynh_requirement=4.3.0
26836 [37m[1mDEBUG [m+ '[' -z 4.3.0 ']'
26836 [37m[1mDEBUG [m+ '[' 4.3.0 == null ']'
26837 [37m[1mDEBUG [m+ dpkg --compare-versions 4.3.0 ge 4.2
26842 [37m[1mDEBUG [m+ chmod o-rwx /etc/php/7.3/fpm/pool.d/digiwords.conf
26844 [37m[1mDEBUG [m+ chmod g-w /etc/php/7.3/fpm/pool.d/digiwords.conf
26847 [37m[1mDEBUG [m+ chown -R root:root /etc/php/7.3/fpm/pool.d/digiwords.conf
26867 [37m[1mDEBUG [m+ ynh_system_user_exists digiwords
26868 [37m[1mDEBUG [m+ local legacy_args=u
26868 [37m[1mDEBUG [m+ args_array=([u]=username=)
26869 [37m[1mDEBUG [m+ local -A args_array
26870 [37m[1mDEBUG [m+ local username
26870 [37m[1mDEBUG [m+ ynh_handle_getopts_args digiwords
26871 [37m[1mDEBUG [m+ set +o xtrace
26888 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
26888 [37m[1mDEBUG [m+ set +x
26893 [37m[1mDEBUG [m+ getent passwd digiwords
26899 [37m[1mDEBUG [m+ chown digiwords:digiwords /etc/php/7.3/fpm/pool.d/digiwords.conf
26903 [37m[1mDEBUG [m+ grep -q '^/etc/cron'
26903 [37m[1mDEBUG [m+ echo /etc/php/7.3/fpm/pool.d/digiwords.conf
26908 [37m[1mDEBUG [m+ ynh_replace_vars --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26908 [37m[1mDEBUG [m+ local legacy_args=f
26909 [37m[1mDEBUG [m+ args_array=([f]=file=)
26909 [37m[1mDEBUG [m+ local -A args_array
26911 [37m[1mDEBUG [m+ local file
26911 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26912 [37m[1mDEBUG [m+ set +o xtrace
26930 [37m[1mDEBUG [m+ test -n /
26931 [37m[1mDEBUG [m+ local path_url_slash_less=
26931 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26931 [37m[1mDEBUG [m+ local legacy_args=mrf
26931 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
26932 [37m[1mDEBUG [m+ local -A args_array
26932 [37m[1mDEBUG [m+ local match_string
26932 [37m[1mDEBUG [m+ local replace_string
26932 [37m[1mDEBUG [m+ local target_file
26932 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
26933 [37m[1mDEBUG [m+ set +o xtrace
27071 [37m[1mDEBUG [m+ set +o xtrace
27072 [37m[1mDEBUG [m+ sed --in-place s@__PATH__/@/@g /etc/php/7.3/fpm/pool.d/digiwords.conf
27080 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27081 [37m[1mDEBUG [m+ local legacy_args=mrf
27083 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
27083 [37m[1mDEBUG [m+ local -A args_array
27084 [37m[1mDEBUG [m+ local match_string
27086 [37m[1mDEBUG [m+ local replace_string
27088 [37m[1mDEBUG [m+ local target_file
27089 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27090 [37m[1mDEBUG [m+ set +o xtrace
27235 [37m[1mDEBUG [m+ set +o xtrace
27236 [37m[1mDEBUG [m+ sed --in-place s@__PATH__@/@g /etc/php/7.3/fpm/pool.d/digiwords.conf
27241 [37m[1mDEBUG [m+ test -n digiwords
27242 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27244 [37m[1mDEBUG [m+ local legacy_args=mrf
27244 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
27245 [37m[1mDEBUG [m+ local -A args_array
27246 [37m[1mDEBUG [m+ local match_string
27246 [37m[1mDEBUG [m+ local replace_string
27247 [37m[1mDEBUG [m+ local target_file
27248 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAME__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27250 [37m[1mDEBUG [m+ set +o xtrace
27385 [37m[1mDEBUG [m+ set +o xtrace
27387 [37m[1mDEBUG [m+ sed --in-place s@__NAME__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
27393 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27394 [37m[1mDEBUG [m+ local legacy_args=mrf
27394 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
27395 [37m[1mDEBUG [m+ local -A args_array
27395 [37m[1mDEBUG [m+ local match_string
27396 [37m[1mDEBUG [m+ local replace_string
27396 [37m[1mDEBUG [m+ local target_file
27397 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27397 [37m[1mDEBUG [m+ set +o xtrace
27530 [37m[1mDEBUG [m+ set +o xtrace
27532 [37m[1mDEBUG [m+ sed --in-place s@__NAMETOCHANGE__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
27540 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__USER__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27540 [37m[1mDEBUG [m+ local legacy_args=mrf
27542 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
27542 [37m[1mDEBUG [m+ local -A args_array
27543 [37m[1mDEBUG [m+ local match_string
27544 [37m[1mDEBUG [m+ local replace_string
27545 [37m[1mDEBUG [m+ local target_file
27545 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__USER__ --replace_string=digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27545 [37m[1mDEBUG [m+ set +o xtrace
27658 [37m[1mDEBUG [m+ set +o xtrace
27659 [37m[1mDEBUG [m+ sed --in-place s@__USER__@digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
27665 [37m[1mDEBUG [m+ test -n /var/www/digiwords
27667 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27667 [37m[1mDEBUG [m+ local legacy_args=mrf
27668 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
27668 [37m[1mDEBUG [m+ local -A args_array
27668 [37m[1mDEBUG [m+ local match_string
27668 [37m[1mDEBUG [m+ local replace_string
27669 [37m[1mDEBUG [m+ local target_file
27669 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/digiwords --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27670 [37m[1mDEBUG [m+ set +o xtrace
27799 [37m[1mDEBUG [m+ set +o xtrace
27800 [37m[1mDEBUG [m+ sed --in-place s@__FINALPATH__@/var/www/digiwords@g /etc/php/7.3/fpm/pool.d/digiwords.conf
27805 [37m[1mDEBUG [m+ test -n 7.3
27806 [37m[1mDEBUG [m+ ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27810 [37m[1mDEBUG [m+ local legacy_args=mrf
27811 [37m[1mDEBUG [m+ args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
27811 [37m[1mDEBUG [m+ local -A args_array
27811 [37m[1mDEBUG [m+ local match_string
27812 [37m[1mDEBUG [m+ local replace_string
27812 [37m[1mDEBUG [m+ local target_file
27812 [37m[1mDEBUG [m+ ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27812 [37m[1mDEBUG [m+ set +o xtrace
27942 [37m[1mDEBUG [m+ set +o xtrace
27943 [37m[1mDEBUG [m+ sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/digiwords.conf
27948 [37m[1mDEBUG [m+ test -n ''
27949 [37m[1mDEBUG [m+ uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g"))
27950 [37m[1mDEBUG [m++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/7.3/fpm/pool.d/digiwords.conf
27951 [37m[1mDEBUG [m++ sed 's@__\([^.]*\)__@\L\1@g'
27952 [37m[1mDEBUG [m++ sort --unique
27957 [37m[1mDEBUG [m+ local uniques_vars
27958 [37m[1mDEBUG [m+ local delimit=@
27958 [37m[1mDEBUG [m+ ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27959 [37m[1mDEBUG [m+ local legacy_args=f
27959 [37m[1mDEBUG [m+ args_array=([f]=file= [u]=update_only)
27959 [37m[1mDEBUG [m+ local -A args_array
27960 [37m[1mDEBUG [m+ local file
27960 [37m[1mDEBUG [m+ local update_only
27961 [37m[1mDEBUG [m+ update_only=0
27961 [37m[1mDEBUG [m+ ynh_handle_getopts_args --file=/etc/php/7.3/fpm/pool.d/digiwords.conf
27962 [37m[1mDEBUG [m+ set +o xtrace
27997 [37m[1mDEBUG [m+ local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf
27997 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
27998 [37m[1mDEBUG [m++ md5sum /etc/php/7.3/fpm/pool.d/digiwords.conf
28003 [37m[1mDEBUG [m++ cut '--delimiter= ' --fields=1
28019 [37m[1mDEBUG [m+ ynh_app_setting_set --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf --value=79ffd547aca07e585572ccb8bfba1ec1
28020 [37m[1mDEBUG [m+ local _globalapp=digiwords
28020 [37m[1mDEBUG [m+ local legacy_args=akv
28020 [37m[1mDEBUG [m+ args_array=([a]=app= [k]=key= [v]=value=)
28021 [37m[1mDEBUG [m+ local -A args_array
28021 [37m[1mDEBUG [m+ local app
28022 [37m[1mDEBUG [m+ local key
28022 [37m[1mDEBUG [m+ local value
28023 [37m[1mDEBUG [m+ ynh_handle_getopts_args --app=digiwords --key=checksum__etc_php_7.3_fpm_pool.d_digiwords.conf --value=79ffd547aca07e585572ccb8bfba1ec1
28024 [37m[1mDEBUG [m+ set +o xtrace
28135 [37m[1mDEBUG [m+ app=digiwords
28136 [37m[1mDEBUG [m+ [[ checksum__etc_php_7.3_fpm_pool.d_digiwords.conf =~ (unprotected|protected|skipped)_ ]]
28137 [37m[1mDEBUG [m+ ynh_app_setting set digiwords checksum__etc_php_7.3_fpm_pool.d_digiwords.conf 79ffd547aca07e585572ccb8bfba1ec1
28137 [37m[1mDEBUG [m+ set +o xtrace
28224 [37m[1mDEBUG [m+ '[' -n '' ']'
28224 [37m[1mDEBUG [m+ unset backup_file_checksum
28224 [37m[1mDEBUG [m+ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_8rjtv7yl/app_folder/conf/php-fpm.ini ']'
28225 [37m[1mDEBUG [m+ '[' 0 -eq 1 ']'
28225 [37m[1mDEBUG [m+ php-fpm7.3 --test
28344 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=php7.3-fpm --action=reload
28345 [37m[1mDEBUG [m+ local legacy_args=nalpte
28345 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
28345 [37m[1mDEBUG [m+ local -A args_array
28346 [37m[1mDEBUG [m+ local service_name
28346 [37m[1mDEBUG [m+ local action
28346 [37m[1mDEBUG [m+ local line_match
28347 [37m[1mDEBUG [m+ local length
28347 [37m[1mDEBUG [m+ local log_path
28347 [37m[1mDEBUG [m+ local timeout
28348 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=php7.3-fpm --action=reload
28348 [37m[1mDEBUG [m+ set +o xtrace
28545 [37m[1mDEBUG [m+ service_name=php7.3-fpm
28546 [37m[1mDEBUG [m+ action=reload
28548 [37m[1mDEBUG [m+ line_match=
28548 [37m[1mDEBUG [m+ length=20
28549 [37m[1mDEBUG [m+ log_path=/var/log/php7.3-fpm/php7.3-fpm.log
28549 [37m[1mDEBUG [m+ timeout=300
28550 [37m[1mDEBUG [m+ '[' reload == stop ']'
28550 [37m[1mDEBUG [m+ [[ -n '' ]]
28550 [37m[1mDEBUG [m+ '[' reload == reload ']'
28550 [37m[1mDEBUG [m+ action=reload-or-restart
28551 [37m[1mDEBUG [m+ systemctl reload-or-restart php7.3-fpm
28585 [37m[1mDEBUG [m+ [[ -n '' ]]
28589 [37m[1mDEBUG [m+ ynh_script_progression '--message=Configuring permissions...' --weight=1
28590 [37m[1mDEBUG [m+ set +o xtrace
28731 [37m[1mDEBUG [m+ set +o xtrace
28752 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
28752 [37m[1mDEBUG [m+ set +x
28759 [36m[1mINFO [m[##############++....] > Configuring permissions...
28760 [37m[1mDEBUG [m+ echo '[##############++....] > Configuring permissions...'
28761 [37m[1mDEBUG [m+ set -o xtrace
28761 [37m[1mDEBUG [m+ '[' 1 -eq 1 ']'
28764 [37m[1mDEBUG [m+ ynh_permission_update --permission=main --add=visitors
28765 [37m[1mDEBUG [m+ local legacy_args=parltP
28765 [37m[1mDEBUG [m+ args_array=([p]=permission= [a]=add= [r]=remove= [l]=label= [t]=show_tile= [P]=protected=)
28766 [37m[1mDEBUG [m+ local -A args_array
28767 [37m[1mDEBUG [m+ local permission
28768 [37m[1mDEBUG [m+ local add
28768 [37m[1mDEBUG [m+ local remove
28769 [37m[1mDEBUG [m+ local label
28769 [37m[1mDEBUG [m+ local show_tile
28770 [37m[1mDEBUG [m+ local protected
28771 [37m[1mDEBUG [m+ ynh_handle_getopts_args --permission=main --add=visitors
28771 [37m[1mDEBUG [m+ set +o xtrace
28940 [37m[1mDEBUG [m+ add=visitors
28941 [37m[1mDEBUG [m+ remove=
28943 [37m[1mDEBUG [m+ label=
28944 [37m[1mDEBUG [m+ show_tile=
28944 [37m[1mDEBUG [m+ protected=
28945 [37m[1mDEBUG [m+ [[ -n visitors ]]
28945 [37m[1mDEBUG [m+ add=',add=['\''visitors'\'']'
28946 [37m[1mDEBUG [m+ [[ -n '' ]]
28947 [37m[1mDEBUG [m+ [[ -n '' ]]
28947 [37m[1mDEBUG [m+ [[ -n '' ]]
28948 [37m[1mDEBUG [m+ [[ -n '' ]]
28948 [37m[1mDEBUG [m+ yunohost tools shell -c 'from yunohost.permission import user_permission_update; user_permission_update('\''digiwords.main'\'' ,add=['\''visitors'\''] , force=True)'
29550 [37m[1mDEBUG [m+ ynh_script_progression '--message=Reloading NGINX web server...' --weight=1
29551 [37m[1mDEBUG [m+ set +o xtrace
29683 [37m[1mDEBUG [m+ set +o xtrace
29707 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
29708 [37m[1mDEBUG [m+ set +x
29709 [36m[1mINFO [m[################++..] > Reloading NGINX web server...
29710 [37m[1mDEBUG [m+ echo '[################++..] > Reloading NGINX web server...'
29710 [37m[1mDEBUG [m+ set -o xtrace
29711 [37m[1mDEBUG [m+ ynh_systemd_action --service_name=nginx --action=reload
29711 [37m[1mDEBUG [m+ local legacy_args=nalpte
29712 [37m[1mDEBUG [m+ args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
29713 [37m[1mDEBUG [m+ local -A args_array
29714 [37m[1mDEBUG [m+ local service_name
29716 [37m[1mDEBUG [m+ local action
29716 [37m[1mDEBUG [m+ local line_match
29716 [37m[1mDEBUG [m+ local length
29717 [37m[1mDEBUG [m+ local log_path
29717 [37m[1mDEBUG [m+ local timeout
29717 [37m[1mDEBUG [m+ ynh_handle_getopts_args --service_name=nginx --action=reload
29717 [37m[1mDEBUG [m+ set +o xtrace
29910 [37m[1mDEBUG [m+ service_name=nginx
29911 [37m[1mDEBUG [m+ action=reload
29912 [37m[1mDEBUG [m+ line_match=
29912 [37m[1mDEBUG [m+ length=20
29913 [37m[1mDEBUG [m+ log_path=/var/log/nginx/nginx.log
29916 [37m[1mDEBUG [m+ timeout=300
29916 [37m[1mDEBUG [m+ '[' reload == stop ']'
29916 [37m[1mDEBUG [m+ [[ -n '' ]]
29916 [37m[1mDEBUG [m+ '[' reload == reload ']'
29917 [37m[1mDEBUG [m+ action=reload-or-restart
29918 [37m[1mDEBUG [m+ systemctl reload-or-restart nginx
30004 [37m[1mDEBUG [m+ [[ -n '' ]]
30006 [37m[1mDEBUG [m+ ynh_script_progression '--message=Installation of digiwords completed' --last
30006 [37m[1mDEBUG [m+ set +o xtrace
30164 [37m[1mDEBUG [m+ set +o xtrace
30189 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
30189 [37m[1mDEBUG [m+ set +x
30208 [36m[1mINFO [m[####################] > Installation of digiwords completed
30212 [37m[1mDEBUG [m+ echo '[####################] > Installation of digiwords completed'
30212 [37m[1mDEBUG [m+ set -o xtrace
30213 [37m[1mDEBUG [m+ ynh_exit_properly
30213 [37m[1mDEBUG [m+ local exit_code=0
30213 [37m[1mDEBUG [m+ rm -rf /var/cache/yunohost/download/
30214 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
30215 [37m[1mDEBUG [m+ exit 0
31217 [37m[1mDEBUG [mChecking that required services are up and running...
32087 [32m[1mSUCCESS [mInstallation completed
32093 [37m[1mDEBUG [mTo view the log of the operation 'Install the 'digiwords' app', use the command 'yunohost log show 20220531-095631-app_install-digiwords'
32110 [37m[1mDEBUG [maction [845.1] executed in 31.840s
32111 [37m[1mDEBUG [mlock has been released
Return code: 0
Working time: 32 seconds (09:57:02)
Installation successful.
Return code: 1
Working time: 0s (09:57:13)
[1m > Validating that the app digiwords can/can't be accessed with its URL...[0m
Running curl sub.domain.tld
Return code: 0
Working time: 0s (09:57:19)
Digiwords by La DigitaleReturn code: 0
Working time: 0s (09:57:22)
HTTP code:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Test URL: sub.domain.tld
Real URL:
HTTP code:
Page title:
Page extract:
Veuillez activer Javascript dans votre navigateur pour utiliser
Digiwords.
Running curl sub.domain.tld/
200;https://sub.domain.tld/
Return code: 0
Working time: 0s (09:57:28)
Return code: 0
Working time: 0s (09:57:31)
HTTP code: 200
Test URL: sub.domain.tld/
Real URL: https://sub.domain.tld/
HTTP code: 200
Page title:
Page extract:
Test URL: sub.domain.tld/
Real URL: https://sub.domain.tld/
HTTP code: 200
Page title:
Page extract:
[1m > Upgrade...[0m
Running yunohost app upgrade digiwords --file /app_folder --force
183 [37m[1mDEBUG [minitializing base actions map parser for cli
186 [37m[1mDEBUG [mloading actions map namespace 'yunohost'
188 [37m[1mDEBUG [mbuilding parser...
210 [37m[1mDEBUG [mbuilding parser took 0.021s
212 [37m[1mDEBUG [macquiring lock...
234 [37m[1mDEBUG [mlock has been acquired
252 [37m[1mDEBUG [mloading python module yunohost.app took 0.018s
252 [37m[1mDEBUG [mprocessing action [5152.1]: yunohost.app.upgrade with args={'app': ['digiwords'], 'url': None, 'file': '/app_folder', 'force': True, 'no_safety_backup': False}
271 [36m[1mINFO [mNow upgrading digiwords...
347 [37m[1mDEBUG [minitializing ldap interface
403 [37m[1mDEBUG [mExtracting...
420 [37m[1mDEBUG [mDone
422 [37m[1mDEBUG [mChecking required packages for digiwords...
434 [37m[1mDEBUG [mChecking that required services are up and running...
1469 [37m[1mDEBUG [mExecuting command '['sh', '-c', '/bin/bash -x "./upgrade" 7>&1']'
1479 [37m[1mDEBUG [m+ source _common.sh
1480 [37m[1mDEBUG [m++ pkg_dependencies=php-sqlite3
1480 [37m[1mDEBUG [m+ source /usr/share/yunohost/helpers
1483 [37m[1mDEBUG [m+++ set +o
1490 [37m[1mDEBUG [m+++ grep xtrace
1491 [37m[1mDEBUG [m++ readonly 'XTRACE_ENABLE=set -o xtrace'
1492 [37m[1mDEBUG [m++ XTRACE_ENABLE='set -o xtrace'
1492 [37m[1mDEBUG [m++ set +x
1541 [37m[1mDEBUG [m+ ynh_script_progression '--message=Loading installation settings...' --weight=1
1542 [37m[1mDEBUG [m+ set +o xtrace
1665 [37m[1mDEBUG [m+ set +o xtrace
1723 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
1724 [37m[1mDEBUG [m+ set +x
1729 [37m[1mDEBUG [m+ echo '[++..................] > Loading installation settings...'
1730 [37m[1mDEBUG [m+ set -o xtrace
1731 [37m[1mDEBUG [m+ app=digiwords
1732 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=domain
1733 [37m[1mDEBUG [m++ local _globalapp=digiwords
1734 [37m[1mDEBUG [m++ local legacy_args=ak
1735 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1736 [37m[1mDEBUG [m++ local -A args_array
1737 [37m[1mDEBUG [m++ local app
1738 [37m[1mDEBUG [m++ local key
1739 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=domain
1739 [37m[1mDEBUG [m++ set +o xtrace
1749 [36m[1mINFO [m[++..................] > Loading installation settings...
1821 [37m[1mDEBUG [m++ app=digiwords
1823 [37m[1mDEBUG [m++ [[ domain =~ (unprotected|protected|skipped)_ ]]
1827 [37m[1mDEBUG [m++ ynh_app_setting get digiwords domain
1829 [37m[1mDEBUG [m++ set +o xtrace
1918 [37m[1mDEBUG [m+ domain=sub.domain.tld
1920 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=path
1922 [37m[1mDEBUG [m++ local _globalapp=digiwords
1923 [37m[1mDEBUG [m++ local legacy_args=ak
1923 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
1924 [37m[1mDEBUG [m++ local -A args_array
1925 [37m[1mDEBUG [m++ local app
1926 [37m[1mDEBUG [m++ local key
1927 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=path
1928 [37m[1mDEBUG [m++ set +o xtrace
1987 [37m[1mDEBUG [m++ app=digiwords
1989 [37m[1mDEBUG [m++ [[ path =~ (unprotected|protected|skipped)_ ]]
1990 [37m[1mDEBUG [m++ ynh_app_setting get digiwords path
1991 [37m[1mDEBUG [m++ set +o xtrace
2084 [37m[1mDEBUG [m+ path_url=/
2086 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=admin
2088 [37m[1mDEBUG [m++ local _globalapp=digiwords
2090 [37m[1mDEBUG [m++ local legacy_args=ak
2090 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2091 [37m[1mDEBUG [m++ local -A args_array
2092 [37m[1mDEBUG [m++ local app
2092 [37m[1mDEBUG [m++ local key
2093 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=admin
2093 [37m[1mDEBUG [m++ set +o xtrace
2153 [37m[1mDEBUG [m++ app=digiwords
2153 [37m[1mDEBUG [m++ [[ admin =~ (unprotected|protected|skipped)_ ]]
2153 [37m[1mDEBUG [m++ ynh_app_setting get digiwords admin
2154 [37m[1mDEBUG [m++ set +o xtrace
2245 [37m[1mDEBUG [m+ admin=
2247 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=final_path
2253 [37m[1mDEBUG [m++ local _globalapp=digiwords
2254 [37m[1mDEBUG [m++ local legacy_args=ak
2255 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2256 [37m[1mDEBUG [m++ local -A args_array
2257 [37m[1mDEBUG [m++ local app
2258 [37m[1mDEBUG [m++ local key
2258 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=final_path
2259 [37m[1mDEBUG [m++ set +o xtrace
2307 [37m[1mDEBUG [m++ app=digiwords
2308 [37m[1mDEBUG [m++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
2309 [37m[1mDEBUG [m++ ynh_app_setting get digiwords final_path
2310 [37m[1mDEBUG [m++ set +o xtrace
2393 [37m[1mDEBUG [m+ final_path=/var/www/digiwords
2394 [37m[1mDEBUG [m++ ynh_app_setting_get --app=digiwords --key=db_name
2396 [37m[1mDEBUG [m++ local _globalapp=digiwords
2397 [37m[1mDEBUG [m++ local legacy_args=ak
2398 [37m[1mDEBUG [m++ args_array=([a]=app= [k]=key=)
2399 [37m[1mDEBUG [m++ local -A args_array
2400 [37m[1mDEBUG [m++ local app
2400 [37m[1mDEBUG [m++ local key
2402 [37m[1mDEBUG [m++ ynh_handle_getopts_args --app=digiwords --key=db_name
2403 [37m[1mDEBUG [m++ set +o xtrace
2465 [37m[1mDEBUG [m++ app=digiwords
2466 [37m[1mDEBUG [m++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
2466 [37m[1mDEBUG [m++ ynh_app_setting get digiwords db_name
2467 [37m[1mDEBUG [m++ set +o xtrace
2539 [37m[1mDEBUG [m+ db_name=
2542 [37m[1mDEBUG [m++ ynh_check_app_version_changed
2545 [37m[1mDEBUG [m++ local return_value=UPGRADE_FULL
2546 [37m[1mDEBUG [m++ '[' UPGRADE_FULL == UPGRADE_FULL ']'
2547 [37m[1mDEBUG [m++ return_value=UPGRADE_APP
2549 [37m[1mDEBUG [m++ echo UPGRADE_APP
2550 [37m[1mDEBUG [m+ upgrade_type=UPGRADE_APP
2551 [37m[1mDEBUG [m+ ynh_script_progression '--message=Backing up the app before upgrading (may take a while)...' --weight=1
2553 [37m[1mDEBUG [m+ set +o xtrace
2685 [37m[1mDEBUG [m+ set +o xtrace
2705 [37m[1mDEBUG [m+ echo '! Helper used in legacy mode !'
2706 [37m[1mDEBUG [m+ set +x
2709 [37m[1mDEBUG [m+ echo '[##++................] > Backing up the app before upgrading (may take a while)...'
2711 [37m[1mDEBUG [m+ set -o xtrace
2712 [37m[1mDEBUG [m+ ynh_backup_before_upgrade
2713 [37m[1mDEBUG [m+ '[' '!' -e /etc/yunohost/apps/digiwords/scripts/backup ']'
2714 [37m[1mDEBUG [m+ backup_number=1
2715 [37m[1mDEBUG [m+ local old_backup_number=2
2715 [37m[1mDEBUG [m+ local app_bck=digiwords
2716 [37m[1mDEBUG [m+ NO_BACKUP_UPGRADE=0
2719 [37m[1mDEBUG [m+ '[' 0 -eq 0 ']'
2719 [37m[1mDEBUG [m+ ynh_backup_archive_exists digiwords-pre-upgrade1
2722 [37m[1mDEBUG [m+ yunohost backup list --output-as json --quiet
2723 [36m[1mINFO [m[##++................] > Backing up the app before upgrading (may take a while)...
2725 [37m[1mDEBUG [m+ jq -e --arg archive digiwords-pre-upgrade1 '.archives | index($archive)'
3087 [37m[1mDEBUG [m+ BACKUP_CORE_ONLY=1
3088 [37m[1mDEBUG [m+ yunohost backup create --apps digiwords --name digiwords-pre-upgrade1 --debug
3336 [37m[1mDEBUG [m181 initializing base actions map parser for cli
3339 [37m[1mDEBUG [m185 loading actions map namespace 'yunohost'
3342 [37m[1mDEBUG [m188 building parser...
3348 [37m[1mDEBUG [m194 building parser took 0.006s
3351 [37m[1mDEBUG [m197 acquiring lock...
3410 [37m[1mDEBUG [m256 loading python module yunohost.backup took 0.032s
3412 [37m[1mDEBUG [m257 processing action [5506.1]: yunohost.backup.create with args={'name': 'digiwords-pre-upgrade1', 'description': None, 'output_directory': None, 'methods': None, 'system': None, 'apps': ['digiwords'], 'dry_run': False}
3455 [37m[1mDEBUG [m301 Collecting files to be backed up for digiwords...
3483 [37m[1mDEBUG [m330 Executing command '['sh', '-c', '/bin/bash -x "/var/cache/yunohost/app_tmp_work_dirs/app_vng0u44b/scripts/backup" 7>&1']'
3493 [37m[1mDEBUG [m338 + source ../settings/scripts/_common.sh
3494 [37m[1mDEBUG [m339 ++ pkg_dependencies=php-sqlite3
3495 [37m[1mDEBUG [m339 + source /usr/share/yunohost/helpers
3498 [37m[1mDEBUG [m341 +++ grep xtrace
3499 [37m[1mDEBUG [m342 +++ set +o
3504 [37m[1mDEBUG [m349 ++ readonly 'XTRACE_ENABLE=set -o xtrace'
3504 [37m[1mDEBUG [m350 ++ XTRACE_ENABLE='set -o xtrace'
3505 [37m[1mDEBUG [m350 ++ set +x
3556 [37m[1mDEBUG [m400 + ynh_abort_if_errors
3557 [37m[1mDEBUG [m401 + set -o errexit
3560 [37m[1mDEBUG [m401 + set -o nounset
3563 [37m[1mDEBUG [m401 + trap ynh_exit_properly EXIT
3565 [37m[1mDEBUG [m401 + ynh_print_info '--message=Loading installation settings...'
3566 [37m[1mDEBUG [m401 + local legacy_args=m
3567 [37m[1mDEBUG [m402 + args_array=([m]=message=)
3568 [37m[1mDEBUG [m402 + local -A args_array
3568 [37m[1mDEBUG [m402 + local message
3569 [37m[1mDEBUG [m402 + ynh_handle_getopts_args '--message=Loading installation settings...'
3569 [37m[1mDEBUG [m403 + set +o xtrace
3592 [37m[1mDEBUG [m437 + echo 'Loading installation settings...'
3594 [37m[1mDEBUG [m437 + app=digiwords
3595 [37m[1mDEBUG [m438 Loading installation settings...
3597 [37m[1mDEBUG [m438 ++ ynh_app_setting_get --app=digiwords --key=final_path
3598 [37m[1mDEBUG [m438 ++ local _globalapp=digiwords
3599 [37m[1mDEBUG [m438 ++ local legacy_args=ak
3601 [37m[1mDEBUG [m439 ++ args_array=([a]=app= [k]=key=)
3602 [37m[1mDEBUG [m439 ++ local -A args_array
3604 [37m[1mDEBUG [m439 ++ local app
3605 [37m[1mDEBUG [m440 ++ local key
3605 [37m[1mDEBUG [m440 ++ ynh_handle_getopts_args --app=digiwords --key=final_path
3606 [37m[1mDEBUG [m440 ++ set +o xtrace
3658 [37m[1mDEBUG [m504 ++ app=digiwords
3662 [37m[1mDEBUG [m505 ++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
3664 [37m[1mDEBUG [m505 ++ ynh_app_setting get digiwords final_path
3667 [37m[1mDEBUG [m505 ++ set +o xtrace
3745 [37m[1mDEBUG [m592 + final_path=/var/www/digiwords
3750 [37m[1mDEBUG [m593 ++ ynh_app_setting_get --app=digiwords --key=domain
3761 [37m[1mDEBUG [m594 ++ local _globalapp=digiwords
3762 [37m[1mDEBUG [m596 ++ local legacy_args=ak
3763 [37m[1mDEBUG [m597 ++ args_array=([a]=app= [k]=key=)
3765 [37m[1mDEBUG [m599 ++ local -A args_array
3766 [37m[1mDEBUG [m599 ++ local app
3769 [37m[1mDEBUG [m600 ++ local key
3770 [37m[1mDEBUG [m601 ++ ynh_handle_getopts_args --app=digiwords --key=domain
3771 [37m[1mDEBUG [m602 ++ set +o xtrace
3829 [37m[1mDEBUG [m674 ++ app=digiwords
3834 [37m[1mDEBUG [m676 ++ [[ domain =~ (unprotected|protected|skipped)_ ]]
3835 [37m[1mDEBUG [m677 ++ ynh_app_setting get digiwords domain
3837 [37m[1mDEBUG [m678 ++ set +o xtrace
3910 [37m[1mDEBUG [m756 + domain=sub.domain.tld
3913 [37m[1mDEBUG [m756 ++ ynh_app_setting_get --app=digiwords --key=db_name
3915 [37m[1mDEBUG [m756 ++ local _globalapp=digiwords
3917 [37m[1mDEBUG [m757 ++ local legacy_args=ak
3918 [37m[1mDEBUG [m758 ++ args_array=([a]=app= [k]=key=)
3918 [37m[1mDEBUG [m758 ++ local -A args_array
3918 [37m[1mDEBUG [m758 ++ local app
3919 [37m[1mDEBUG [m758 ++ local key
3920 [37m[1mDEBUG [m759 ++ ynh_handle_getopts_args --app=digiwords --key=db_name
3920 [37m[1mDEBUG [m759 ++ set +o xtrace
3974 [37m[1mDEBUG [m820 ++ app=digiwords
3978 [37m[1mDEBUG [m822 ++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
3980 [37m[1mDEBUG [m822 ++ ynh_app_setting get digiwords db_name
3981 [37m[1mDEBUG [m823 ++ set +o xtrace
4059 [37m[1mDEBUG [m904 + db_name=
4060 [37m[1mDEBUG [m905 ++ ynh_app_setting_get --app=digiwords --key=phpversion
4061 [37m[1mDEBUG [m906 ++ local _globalapp=digiwords
4063 [37m[1mDEBUG [m907 ++ local legacy_args=ak
4064 [37m[1mDEBUG [m907 ++ args_array=([a]=app= [k]=key=)
4065 [37m[1mDEBUG [m908 ++ local -A args_array
4066 [37m[1mDEBUG [m908 ++ local app
4067 [37m[1mDEBUG [m908 ++ local key
4069 [37m[1mDEBUG [m908 ++ ynh_handle_getopts_args --app=digiwords --key=phpversion
4070 [37m[1mDEBUG [m916 ++ set +o xtrace
4122 [37m[1mDEBUG [m968 ++ app=digiwords
4124 [37m[1mDEBUG [m969 ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
4127 [37m[1mDEBUG [m969 ++ ynh_app_setting get digiwords phpversion
4130 [37m[1mDEBUG [m969 ++ set +o xtrace
4206 [37m[1mDEBUG [m1052 + phpversion=7.3
4208 [37m[1mDEBUG [m1054 ++ ynh_app_setting_get --app=digiwords --key=datadir
4209 [37m[1mDEBUG [m1054 ++ local _globalapp=digiwords
4210 [37m[1mDEBUG [m1054 ++ local legacy_args=ak
4212 [37m[1mDEBUG [m1054 ++ args_array=([a]=app= [k]=key=)
4213 [37m[1mDEBUG [m1055 ++ local -A args_array
4214 [37m[1mDEBUG [m1056 ++ local app
4214 [37m[1mDEBUG [m1056 ++ local key
4215 [37m[1mDEBUG [m1056 ++ ynh_handle_getopts_args --app=digiwords --key=datadir
4215 [37m[1mDEBUG [m1057 ++ set +o xtrace
4313 [37m[1mDEBUG [m1159 ++ app=digiwords
4314 [37m[1mDEBUG [m1160 ++ [[ datadir =~ (unprotected|protected|skipped)_ ]]
4317 [37m[1mDEBUG [m1160 ++ ynh_app_setting get digiwords datadir
4319 [37m[1mDEBUG [m1161 ++ set +o xtrace
4397 [37m[1mDEBUG [m1243 + datadir=
4399 [37m[1mDEBUG [m1243 + ynh_print_info '--message=Declaring files to be backed up...'
4400 [37m[1mDEBUG [m1243 + local legacy_args=m
4402 [37m[1mDEBUG [m1244 + args_array=([m]=message=)
4403 [37m[1mDEBUG [m1244 + local -A args_array
4405 [37m[1mDEBUG [m1244 + local message
4406 [37m[1mDEBUG [m1245 + ynh_handle_getopts_args '--message=Declaring files to be backed up...'
4407 [37m[1mDEBUG [m1245 + set +o xtrace
4421 [37m[1mDEBUG [m1267 + echo 'Declaring files to be backed up...'
4422 [37m[1mDEBUG [m1268 + ynh_backup --src_path=/var/www/digiwords
4423 [37m[1mDEBUG [m1268 + local legacy_args=sdbm
4423 [37m[1mDEBUG [m1269 + args_array=([s]=src_path= [d]=dest_path= [b]=is_big [m]=not_mandatory)
4425 [37m[1mDEBUG [m1271 + local -A args_array
4426 [37m[1mDEBUG [m1271 + local src_path
4427 [37m[1mDEBUG [m1272 + local dest_path
4427 [37m[1mDEBUG [m1272 + local is_big
4428 [37m[1mDEBUG [m1273 + local not_mandatory
4429 [37m[1mDEBUG [m1274 + ynh_handle_getopts_args --src_path=/var/www/digiwords
4430 [37m[1mDEBUG [m1275 + set +o xtrace
4431 [37m[1mDEBUG [m1276 Declaring files to be backed up...
4479 [37m[1mDEBUG [m1326 + dest_path=
4481 [37m[1mDEBUG [m1326 + is_big=0
4482 [37m[1mDEBUG [m1326 + not_mandatory=0
4483 [37m[1mDEBUG [m1327 + BACKUP_CORE_ONLY=1
4487 [37m[1mDEBUG [m1327 + test -n digiwords
4488 [37m[1mDEBUG [m1328 ++ ynh_app_setting_get --app=digiwords --key=do_not_backup_data
4489 [37m[1mDEBUG [m1329 ++ local _globalapp=digiwords
4490 [37m[1mDEBUG [m1330 ++ local legacy_args=ak
4491 [37m[1mDEBUG [m1330 ++ args_array=([a]=app= [k]=key=)
4492 [37m[1mDEBUG [m1330 ++ local -A args_array
4492 [37m[1mDEBUG [m1330 ++ local app
4493 [37m[1mDEBUG [m1331 ++ local key
4494 [37m[1mDEBUG [m1331 ++ ynh_handle_getopts_args --app=digiwords --key=do_not_backup_data
4495 [37m[1mDEBUG [m1332 ++ set +o xtrace
4561 [37m[1mDEBUG [m1407 ++ app=digiwords
4562 [37m[1mDEBUG [m1408 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
4563 [37m[1mDEBUG [m1408 ++ ynh_app_setting get digiwords do_not_backup_data
4564 [37m[1mDEBUG [m1409 ++ set +o xtrace
4642 [37m[1mDEBUG [m1488 + do_not_backup_data=
4643 [37m[1mDEBUG [m1488 + '[' 0 -eq 1 ']'
4644 [37m[1mDEBUG [m1489 + '[' '!' -e /var/www/digiwords ']'
4645 [37m[1mDEBUG [m1490 ++ realpath /var/www/digiwords
4646 [37m[1mDEBUG [m1492 + src_path=/var/www/digiwords
4647 [37m[1mDEBUG [m1493 + [[ -z '' ]]
4648 [37m[1mDEBUG [m1494 + dest_path=var/www/digiwords
4649 [37m[1mDEBUG [m1495 + [[ -e var/www/digiwords ]]
4650 [37m[1mDEBUG [m1496 + local rel_dir=/apps/digiwords/backup
4651 [37m[1mDEBUG [m1497 + rel_dir=/apps/digiwords/backup/
4652 [37m[1mDEBUG [m1497 + dest_path=/apps/digiwords/backup/var/www/digiwords
4652 [37m[1mDEBUG [m1498 + dest_path=apps/digiwords/backup/var/www/digiwords
4653 [37m[1mDEBUG [m1499 ++ echo /var/www/digiwords
4654 [37m[1mDEBUG [m1500 ++ sed --regexp-extended 's/"/\"\"/g'
4658 [37m[1mDEBUG [m1505 + local src=/var/www/digiwords
4660 [37m[1mDEBUG [m1506 ++ echo apps/digiwords/backup/var/www/digiwords
4661 [37m[1mDEBUG [m1507 ++ sed --regexp-extended 's/"/\"\"/g'
4666 [37m[1mDEBUG [m1512 + local dest=apps/digiwords/backup/var/www/digiwords
4667 [37m[1mDEBUG [m1512 + echo '"/var/www/digiwords","apps/digiwords/backup/var/www/digiwords"'
4668 [37m[1mDEBUG [m1513 ++ dirname /home/yunohost.backup/tmp/digiwords-pre-upgrade1/apps/digiwords/backup/var/www/digiwords
4671 [37m[1mDEBUG [m1517 + mkdir --parents /home/yunohost.backup/tmp/digiwords-pre-upgrade1/apps/digiwords/backup/var/www
4676 [37m[1mDEBUG [m1522 + ynh_backup --src_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
4677 [37m[1mDEBUG [m1522 + local legacy_args=sdbm
4678 [37m[1mDEBUG [m1523 + args_array=([s]=src_path= [d]=dest_path= [b]=is_big [m]=not_mandatory)
4678 [37m[1mDEBUG [m1524 + local -A args_array
4679 [37m[1mDEBUG [m1524 + local src_path
4679 [37m[1mDEBUG [m1526 + local dest_path
4680 [37m[1mDEBUG [m1526 + local is_big
4680 [37m[1mDEBUG [m1526 + local not_mandatory
4681 [37m[1mDEBUG [m1526 + ynh_handle_getopts_args --src_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
4681 [37m[1mDEBUG [m1527 + set +o xtrace
4743 [37m[1mDEBUG [m1589 + dest_path=
4744 [37m[1mDEBUG [m1590 + is_big=0
4746 [37m[1mDEBUG [m1591 + not_mandatory=0
4749 [37m[1mDEBUG [m1591 + BACKUP_CORE_ONLY=1
4752 [37m[1mDEBUG [m1592 + test -n digiwords
4754 [37m[1mDEBUG [m1594 ++ ynh_app_setting_get --app=digiwords --key=do_not_backup_data
4758 [37m[1mDEBUG [m1596 ++ local _globalapp=digiwords
4758 [37m[1mDEBUG [m1596 ++ local legacy_args=ak
4760 [37m[1mDEBUG [m1597 ++ args_array=([a]=app= [k]=key=)
4761 [37m[1mDEBUG [m1597 ++ local -A args_array
4762 [37m[1mDEBUG [m1597 ++ local app
4763 [37m[1mDEBUG [m1597 ++ local key
4763 [37m[1mDEBUG [m1598 ++ ynh_handle_getopts_args --app=digiwords --key=do_not_backup_data
4764 [37m[1mDEBUG [m1599 ++ set +o xtrace
4816 [37m[1mDEBUG [m1663 ++ app=digiwords
4818 [37m[1mDEBUG [m1663 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
4820 [37m[1mDEBUG [m1666 ++ ynh_app_setting get digiwords do_not_backup_data
4821 [37m[1mDEBUG [m1666 ++ set +o xtrace
4896 [37m[1mDEBUG [m1742 + do_not_backup_data=
4897 [37m[1mDEBUG [m1743 + '[' 0 -eq 1 ']'
4899 [37m[1mDEBUG [m1743 + '[' '!' -e /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ']'
4900 [37m[1mDEBUG [m1744 ++ realpath /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
4902 [37m[1mDEBUG [m1748 + src_path=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
4903 [37m[1mDEBUG [m1748 + [[ -z '' ]]
4905 [37m[1mDEBUG [m1748 + dest_path=etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
4905 [37m[1mDEBUG [m1749 + [[ -e etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf ]]
4906 [37m[1mDEBUG [m1749 + local rel_dir=/apps/digiwords/backup
4907 [37m[1mDEBUG [m1749 + rel_dir=/apps/digiwords/backup/
4908 [37m[1mDEBUG [m1749 + dest_path=/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
4909 [37m[1mDEBUG [m1750 + dest_path=apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
4909 [37m[1mDEBUG [m1753 ++ echo /etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
4910 [37m[1mDEBUG [m1754 ++ sed --regexp-extended 's/"/\"\"/g'
4913 [37m[1mDEBUG [m1759 + local src=/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
4914 [37m[1mDEBUG [m1761 ++ echo apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
4915 [37m[1mDEBUG [m1761 ++ sed --regexp-extended 's/"/\"\"/g'
4926 [37m[1mDEBUG [m1772 + local dest=apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
4930 [37m[1mDEBUG [m1772 + echo '"/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf","apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf"'
4937 [37m[1mDEBUG [m1775 ++ dirname /home/yunohost.backup/tmp/digiwords-pre-upgrade1/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d/digiwords.conf
4937 [37m[1mDEBUG [m1782 + mkdir --parents /home/yunohost.backup/tmp/digiwords-pre-upgrade1/apps/digiwords/backup/etc/nginx/conf.d/sub.domain.tld.d
4940 [37m[1mDEBUG [m1784 + ynh_backup --src_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
4943 [37m[1mDEBUG [m1785 + local legacy_args=sdbm
4943 [37m[1mDEBUG [m1785 + args_array=([s]=src_path= [d]=dest_path= [b]=is_big [m]=not_mandatory)
4943 [37m[1mDEBUG [m1785 + local -A args_array
4944 [37m[1mDEBUG [m1785 + local src_path
4944 [37m[1mDEBUG [m1785 + local dest_path
4944 [37m[1mDEBUG [m1785 + local is_big
4944 [37m[1mDEBUG [m1786 + local not_mandatory
4945 [37m[1mDEBUG [m1786 + ynh_handle_getopts_args --src_path=/etc/php/7.3/fpm/pool.d/digiwords.conf
4945 [37m[1mDEBUG [m1786 + set +o xtrace
5032 [37m[1mDEBUG [m1877 + dest_path=
5033 [37m[1mDEBUG [m1877 + is_big=0
5034 [37m[1mDEBUG [m1878 + not_mandatory=0
5035 [37m[1mDEBUG [m1878 + BACKUP_CORE_ONLY=1
5039 [37m[1mDEBUG [m1884 + test -n digiwords
5041 [37m[1mDEBUG [m1887 ++ ynh_app_setting_get --app=digiwords --key=do_not_backup_data
5046 [37m[1mDEBUG [m1889 ++ local _globalapp=digiwords
5047 [37m[1mDEBUG [m1893 ++ local legacy_args=ak
5048 [37m[1mDEBUG [m1893 ++ args_array=([a]=app= [k]=key=)
5050 [37m[1mDEBUG [m1894 ++ local -A args_array
5050 [37m[1mDEBUG [m1894 ++ local app
5051 [37m[1mDEBUG [m1894 ++ local key
5051 [37m[1mDEBUG [m1896 ++ ynh_handle_getopts_args --app=digiwords --key=do_not_backup_data
5052 [37m[1mDEBUG [m1897 ++ set +