args: app: wordpress args_file: null key: main value: null ended_at: 2023-09-13 14:59:41.336359 error: null interface: api operation: app_config_set parent: null related_to: - - app - wordpress started_at: 2023-09-13 14:59:37.228540 success: true yunohost_version: 11.2.4 ============ 2023-09-13 14:59:37,239: DEBUG - Calling 'apply' action from config script 2023-09-13 14:59:37,243: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./config" apply 7>&1']' 2023-09-13 14:59:37,248: DEBUG - + source _common.sh 2023-09-13 14:59:37,249: DEBUG - + source /usr/share/yunohost/helpers 2023-09-13 14:59:37,249: DEBUG - +++ grep xtrace 2023-09-13 14:59:37,251: DEBUG - +++ set +o 2023-09-13 14:59:37,252: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace' 2023-09-13 14:59:37,252: DEBUG - ++ XTRACE_ENABLE='set -o xtrace' 2023-09-13 14:59:37,266: DEBUG - + ynh_abort_if_errors 2023-09-13 14:59:37,267: DEBUG - + trap ynh_exit_properly EXIT 2023-09-13 14:59:37,267: DEBUG - ++ ynh_app_setting_get --app=wordpress --key=phpversion 2023-09-13 14:59:37,268: DEBUG - ++ local _globalapp=wordpress 2023-09-13 14:59:37,299: DEBUG - ++ app=wordpress 2023-09-13 14:59:37,299: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]] 2023-09-13 14:59:37,299: DEBUG - ++ ynh_app_setting get wordpress phpversion 2023-09-13 14:59:37,351: DEBUG - + phpversion=8.2 2023-09-13 14:59:37,352: DEBUG - ++ ynh_app_setting_get --app=wordpress --key=fpm_footprint 2023-09-13 14:59:37,353: DEBUG - ++ local _globalapp=wordpress 2023-09-13 14:59:37,386: DEBUG - ++ app=wordpress 2023-09-13 14:59:37,387: DEBUG - ++ [[ fpm_footprint =~ (unprotected|protected|skipped)_ ]] 2023-09-13 14:59:37,387: DEBUG - ++ ynh_app_setting get wordpress fpm_footprint 2023-09-13 14:59:37,441: DEBUG - + current_fpm_footprint=medium 2023-09-13 14:59:37,441: DEBUG - + ynh_app_config_run apply 2023-09-13 14:59:37,441: DEBUG - + old=() 2023-09-13 14:59:37,441: DEBUG - + declare -Ag old 2023-09-13 14:59:37,441: DEBUG - + changed=() 2023-09-13 14:59:37,441: DEBUG - + declare -Ag changed 2023-09-13 14:59:37,442: DEBUG - + file_hash=() 2023-09-13 14:59:37,442: DEBUG - + declare -Ag file_hash 2023-09-13 14:59:37,442: DEBUG - + binds=() 2023-09-13 14:59:37,442: DEBUG - + declare -Ag binds 2023-09-13 14:59:37,442: DEBUG - + types=() 2023-09-13 14:59:37,442: DEBUG - + declare -Ag types 2023-09-13 14:59:37,442: DEBUG - + formats=() 2023-09-13 14:59:37,442: DEBUG - + declare -Ag formats 2023-09-13 14:59:37,442: DEBUG - + case $1 in 2023-09-13 14:59:37,442: DEBUG - + max_progression=4 2023-09-13 14:59:37,491: DEBUG - + ynh_app_config_get 2023-09-13 14:59:37,491: DEBUG - + _ynh_app_config_get 2023-09-13 14:59:37,491: INFO - [+++++...............] > Reading config panel description and current configuration... 2023-09-13 14:59:37,493: DEBUG - ++ python3 2023-09-13 14:59:37,531: DEBUG - + lines='maintenance_mode;boolean;settings 2023-09-13 14:59:37,531: DEBUG - fpm_footprint;select;settings 2023-09-13 14:59:37,531: DEBUG - fpm_free_footprint;number;settings 2023-09-13 14:59:37,531: DEBUG - fpm_usage;select;settings' 2023-09-13 14:59:37,531: DEBUG - + for line in $lines 2023-09-13 14:59:37,531: DEBUG - + IFS=';' 2023-09-13 14:59:37,531: DEBUG - + read short_setting type bind 2023-09-13 14:59:37,531: DEBUG - + binds[${short_setting}]=settings 2023-09-13 14:59:37,531: DEBUG - + types[${short_setting}]=boolean 2023-09-13 14:59:37,532: DEBUG - + file_hash[${short_setting}]= 2023-09-13 14:59:37,532: DEBUG - + formats[${short_setting}]= 2023-09-13 14:59:37,532: DEBUG - + ynh_app_config_get_one maintenance_mode boolean settings 2023-09-13 14:59:37,532: DEBUG - + _ynh_app_config_get_one maintenance_mode boolean settings 2023-09-13 14:59:37,532: DEBUG - + local short_setting=maintenance_mode 2023-09-13 14:59:37,532: DEBUG - + local type=boolean 2023-09-13 14:59:37,532: DEBUG - + local bind=settings 2023-09-13 14:59:37,532: DEBUG - + local getter=get__maintenance_mode 2023-09-13 14:59:37,533: DEBUG - + grep -q '^function$' 2023-09-13 14:59:37,535: DEBUG - + type -t get__maintenance_mode 2023-09-13 14:59:37,536: DEBUG - ++ get__maintenance_mode 2023-09-13 14:59:37,536: DEBUG - ++ '[' -f /.maintenance ']' 2023-09-13 14:59:37,536: DEBUG - ++ echo 0 2023-09-13 14:59:37,537: DEBUG - + old[$short_setting]=0 2023-09-13 14:59:37,537: DEBUG - + formats[${short_setting}]=yaml 2023-09-13 14:59:37,538: DEBUG - + for line in $lines 2023-09-13 14:59:37,538: DEBUG - + IFS=';' 2023-09-13 14:59:37,538: DEBUG - + read short_setting type bind 2023-09-13 14:59:37,538: DEBUG - + binds[${short_setting}]=settings 2023-09-13 14:59:37,538: DEBUG - + types[${short_setting}]=select 2023-09-13 14:59:37,538: DEBUG - + file_hash[${short_setting}]= 2023-09-13 14:59:37,538: DEBUG - + formats[${short_setting}]= 2023-09-13 14:59:37,538: DEBUG - + ynh_app_config_get_one fpm_footprint select settings 2023-09-13 14:59:37,538: DEBUG - + _ynh_app_config_get_one fpm_footprint select settings 2023-09-13 14:59:37,538: DEBUG - + local short_setting=fpm_footprint 2023-09-13 14:59:37,538: DEBUG - + local type=select 2023-09-13 14:59:37,539: DEBUG - + local bind=settings 2023-09-13 14:59:37,539: DEBUG - + local getter=get__fpm_footprint 2023-09-13 14:59:37,539: DEBUG - + grep -q '^function$' 2023-09-13 14:59:37,541: DEBUG - + type -t get__fpm_footprint 2023-09-13 14:59:37,542: DEBUG - ++ get__fpm_footprint 2023-09-13 14:59:37,542: DEBUG - ++ '[' medium -eq medium ']' 2023-09-13 14:59:37,542: DEBUG - ++ echo medium 2023-09-13 14:59:37,544: DEBUG - + old[$short_setting]=medium 2023-09-13 14:59:37,544: DEBUG - + formats[${short_setting}]=yaml 2023-09-13 14:59:37,544: DEBUG - + for line in $lines 2023-09-13 14:59:37,544: DEBUG - + IFS=';' 2023-09-13 14:59:37,544: DEBUG - + read short_setting type bind 2023-09-13 14:59:37,544: DEBUG - + binds[${short_setting}]=settings 2023-09-13 14:59:37,544: DEBUG - + types[${short_setting}]=number 2023-09-13 14:59:37,544: DEBUG - + file_hash[${short_setting}]= 2023-09-13 14:59:37,544: DEBUG - + formats[${short_setting}]= 2023-09-13 14:59:37,544: DEBUG - + ynh_app_config_get_one fpm_free_footprint number settings 2023-09-13 14:59:37,544: DEBUG - + _ynh_app_config_get_one fpm_free_footprint number settings 2023-09-13 14:59:37,544: DEBUG - + local short_setting=fpm_free_footprint 2023-09-13 14:59:37,545: DEBUG - + local type=number 2023-09-13 14:59:37,545: DEBUG - + local bind=settings 2023-09-13 14:59:37,545: DEBUG - + local getter=get__fpm_free_footprint 2023-09-13 14:59:37,545: DEBUG - + grep -q '^function$' 2023-09-13 14:59:37,546: DEBUG - + type -t get__fpm_free_footprint 2023-09-13 14:59:37,547: DEBUG - + [[ settings == *\(* ]] 2023-09-13 14:59:37,547: DEBUG - + [[ settings == \n\u\l\l ]] 2023-09-13 14:59:37,547: DEBUG - + [[ number == \f\i\l\e ]] 2023-09-13 14:59:37,547: DEBUG - + [[ number == \t\e\x\t ]] 2023-09-13 14:59:37,547: DEBUG - + local bind_after= 2023-09-13 14:59:37,548: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]] 2023-09-13 14:59:37,548: DEBUG - + bind=:/etc/yunohost/apps/wordpress/settings.yml 2023-09-13 14:59:37,548: DEBUG - ++ cut -d: -f1 2023-09-13 14:59:37,549: DEBUG - ++ echo :/etc/yunohost/apps/wordpress/settings.yml 2023-09-13 14:59:37,550: DEBUG - + local bind_key_= 2023-09-13 14:59:37,550: DEBUG - + bind_key_=fpm_free_footprint 2023-09-13 14:59:37,551: DEBUG - + [[ fpm_free_footprint == *\>* ]] 2023-09-13 14:59:37,552: DEBUG - ++ sed s/__APP__/wordpress/ 2023-09-13 14:59:37,552: DEBUG - ++ sed s@__FINALPATH__@@ 2023-09-13 14:59:37,552: DEBUG - ++ sed s@__INSTALL_DIR__@/var/www/wordpress@ 2023-09-13 14:59:37,556: DEBUG - ++ cut -d: -f2 2023-09-13 14:59:37,557: DEBUG - ++ echo :/etc/yunohost/apps/wordpress/settings.yml 2023-09-13 14:59:37,559: DEBUG - + local bind_file=/etc/yunohost/apps/wordpress/settings.yml 2023-09-13 14:59:37,559: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/wordpress/settings.yml --key=fpm_free_footprint --after= 2023-09-13 14:59:37,620: DEBUG - ++ after= 2023-09-13 14:59:37,620: DEBUG - ++ [[ -f /etc/yunohost/apps/wordpress/settings.yml ]] 2023-09-13 14:59:37,640: DEBUG - + old[$short_setting]=0 2023-09-13 14:59:37,640: DEBUG - + for line in $lines 2023-09-13 14:59:37,640: DEBUG - + IFS=';' 2023-09-13 14:59:37,640: DEBUG - + read short_setting type bind 2023-09-13 14:59:37,640: DEBUG - + binds[${short_setting}]=settings 2023-09-13 14:59:37,640: DEBUG - + types[${short_setting}]=select 2023-09-13 14:59:37,640: DEBUG - + file_hash[${short_setting}]= 2023-09-13 14:59:37,640: DEBUG - + formats[${short_setting}]= 2023-09-13 14:59:37,641: DEBUG - + ynh_app_config_get_one fpm_usage select settings 2023-09-13 14:59:37,641: DEBUG - + _ynh_app_config_get_one fpm_usage select settings 2023-09-13 14:59:37,641: DEBUG - + local short_setting=fpm_usage 2023-09-13 14:59:37,641: DEBUG - + local type=select 2023-09-13 14:59:37,641: DEBUG - + local bind=settings 2023-09-13 14:59:37,641: DEBUG - + local getter=get__fpm_usage 2023-09-13 14:59:37,641: DEBUG - + grep -q '^function$' 2023-09-13 14:59:37,642: DEBUG - + type -t get__fpm_usage 2023-09-13 14:59:37,643: DEBUG - + [[ settings == *\(* ]] 2023-09-13 14:59:37,643: DEBUG - + [[ settings == \n\u\l\l ]] 2023-09-13 14:59:37,643: DEBUG - + [[ select == \f\i\l\e ]] 2023-09-13 14:59:37,644: DEBUG - + [[ select == \t\e\x\t ]] 2023-09-13 14:59:37,644: DEBUG - + local bind_after= 2023-09-13 14:59:37,644: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]] 2023-09-13 14:59:37,644: DEBUG - + bind=:/etc/yunohost/apps/wordpress/settings.yml 2023-09-13 14:59:37,644: DEBUG - ++ cut -d: -f1 2023-09-13 14:59:37,646: DEBUG - ++ echo :/etc/yunohost/apps/wordpress/settings.yml 2023-09-13 14:59:37,647: DEBUG - + local bind_key_= 2023-09-13 14:59:37,647: DEBUG - + bind_key_=fpm_usage 2023-09-13 14:59:37,647: DEBUG - + [[ fpm_usage == *\>* ]] 2023-09-13 14:59:37,648: DEBUG - ++ sed s/__APP__/wordpress/ 2023-09-13 14:59:37,648: DEBUG - ++ sed s@__FINALPATH__@@ 2023-09-13 14:59:37,650: DEBUG - ++ sed s@__INSTALL_DIR__@/var/www/wordpress@ 2023-09-13 14:59:37,652: DEBUG - ++ cut -d: -f2 2023-09-13 14:59:37,654: DEBUG - ++ echo :/etc/yunohost/apps/wordpress/settings.yml 2023-09-13 14:59:37,655: DEBUG - + local bind_file=/etc/yunohost/apps/wordpress/settings.yml 2023-09-13 14:59:37,656: DEBUG - ++ ynh_read_var_in_file --file=/etc/yunohost/apps/wordpress/settings.yml --key=fpm_usage --after= 2023-09-13 14:59:37,718: DEBUG - ++ after= 2023-09-13 14:59:37,718: DEBUG - ++ [[ -f /etc/yunohost/apps/wordpress/settings.yml ]] 2023-09-13 14:59:37,733: DEBUG - + old[$short_setting]=low 2023-09-13 14:59:37,733: DEBUG - + ynh_app_config_validate 2023-09-13 14:59:37,733: DEBUG - + _ynh_app_config_validate 2023-09-13 14:59:37,799: DEBUG - + local nothing_changed=true 2023-09-13 14:59:37,799: DEBUG - + local changes_validated=true 2023-09-13 14:59:37,799: DEBUG - + for short_setting in "${!old[@]}" 2023-09-13 14:59:37,799: DEBUG - + changed[$short_setting]=false 2023-09-13 14:59:37,799: DEBUG - + '[' -z x ']' 2023-09-13 14:59:37,799: DEBUG - + '[' '!' -z '' ']' 2023-09-13 14:59:37,799: DEBUG - + [[ high != \m\e\d\i\u\m ]] 2023-09-13 14:59:37,799: DEBUG - + changed[$short_setting]=true 2023-09-13 14:59:37,799: DEBUG - + nothing_changed=false 2023-09-13 14:59:37,799: DEBUG - + for short_setting in "${!old[@]}" 2023-09-13 14:59:37,799: DEBUG - + changed[$short_setting]=false 2023-09-13 14:59:37,799: DEBUG - + '[' -z ']' 2023-09-13 14:59:37,799: DEBUG - + declare -g fpm_free_footprint=0 2023-09-13 14:59:37,799: DEBUG - + continue 2023-09-13 14:59:37,800: DEBUG - + for short_setting in "${!old[@]}" 2023-09-13 14:59:37,800: DEBUG - + changed[$short_setting]=false 2023-09-13 14:59:37,800: DEBUG - + '[' -z x ']' 2023-09-13 14:59:37,800: DEBUG - + '[' '!' -z '' ']' 2023-09-13 14:59:37,800: DEBUG - + [[ high != \l\o\w ]] 2023-09-13 14:59:37,800: DEBUG - + changed[$short_setting]=true 2023-09-13 14:59:37,800: DEBUG - + nothing_changed=false 2023-09-13 14:59:37,800: DEBUG - + for short_setting in "${!old[@]}" 2023-09-13 14:59:37,800: DEBUG - + changed[$short_setting]=false 2023-09-13 14:59:37,800: DEBUG - + '[' -z x ']' 2023-09-13 14:59:37,800: DEBUG - + '[' '!' -z '' ']' 2023-09-13 14:59:37,800: DEBUG - + [[ 0 != \0 ]] 2023-09-13 14:59:37,800: DEBUG - + [[ false == \t\r\u\e ]] 2023-09-13 14:59:37,801: INFO - [#####+++++..........] > Checking what changed in the new configuration... 2023-09-13 14:59:37,865: DEBUG - + for short_setting in "${!old[@]}" 2023-09-13 14:59:37,865: DEBUG - + [[ true == \f\a\l\s\e ]] 2023-09-13 14:59:37,866: DEBUG - + local result= 2023-09-13 14:59:37,866: INFO - [##########+++++.....] > Validating the new configuration... 2023-09-13 14:59:37,866: DEBUG - + grep -q '^function$' 2023-09-13 14:59:37,868: DEBUG - + type -t validate__fpm_footprint 2023-09-13 14:59:37,869: DEBUG - + [[ settings == *\(* ]] 2023-09-13 14:59:37,869: DEBUG - + '[' -n '' ']' 2023-09-13 14:59:37,869: DEBUG - + for short_setting in "${!old[@]}" 2023-09-13 14:59:37,869: DEBUG - + [[ false == \f\a\l\s\e ]] 2023-09-13 14:59:37,869: DEBUG - + continue 2023-09-13 14:59:37,869: DEBUG - + for short_setting in "${!old[@]}" 2023-09-13 14:59:37,869: DEBUG - + [[ true == \f\a\l\s\e ]] 2023-09-13 14:59:37,869: DEBUG - + local result= 2023-09-13 14:59:37,869: DEBUG - + grep -q '^function$' 2023-09-13 14:59:37,871: DEBUG - + type -t validate__fpm_usage 2023-09-13 14:59:37,872: DEBUG - + [[ settings == *\(* ]] 2023-09-13 14:59:37,872: DEBUG - + '[' -n '' ']' 2023-09-13 14:59:37,872: DEBUG - + for short_setting in "${!old[@]}" 2023-09-13 14:59:37,872: DEBUG - + [[ false == \f\a\l\s\e ]] 2023-09-13 14:59:37,872: DEBUG - + continue 2023-09-13 14:59:37,872: DEBUG - + [[ true == \f\a\l\s\e ]] 2023-09-13 14:59:37,872: DEBUG - + '[' true == true ']' 2023-09-13 14:59:37,872: DEBUG - + '[' high = specific ']' 2023-09-13 14:59:37,872: DEBUG - + '[' high == 0 ']' 2023-09-13 14:59:37,922: DEBUG - + ynh_app_config_apply 2023-09-13 14:59:37,922: DEBUG - + _ynh_app_config_apply 2023-09-13 14:59:37,922: DEBUG - + for short_setting in "${!old[@]}" 2023-09-13 14:59:37,922: DEBUG - + ynh_app_config_apply_one fpm_footprint 2023-09-13 14:59:37,922: DEBUG - + _ynh_app_config_apply_one fpm_footprint 2023-09-13 14:59:37,922: DEBUG - + local short_setting=fpm_footprint 2023-09-13 14:59:37,923: DEBUG - + local setter=set__fpm_footprint 2023-09-13 14:59:37,923: DEBUG - + local bind=settings 2023-09-13 14:59:37,923: DEBUG - + local type=select 2023-09-13 14:59:37,923: DEBUG - + '[' true == true ']' 2023-09-13 14:59:37,923: INFO - [###############+++++] > Applying the new configuration... 2023-09-13 14:59:37,924: DEBUG - + grep -q '^function$' 2023-09-13 14:59:37,924: DEBUG - + type -t set__fpm_footprint 2023-09-13 14:59:37,927: DEBUG - + set__fpm_footprint 2023-09-13 14:59:37,927: DEBUG - + '[' high '!=' specific ']' 2023-09-13 14:59:37,927: DEBUG - + ynh_app_setting_set --app=wordpress --key=fpm_footprint --value=high 2023-09-13 14:59:37,927: DEBUG - + local _globalapp=wordpress 2023-09-13 14:59:37,988: DEBUG - + app=wordpress 2023-09-13 14:59:37,989: DEBUG - + [[ fpm_footprint =~ (unprotected|protected|skipped)_ ]] 2023-09-13 14:59:37,989: DEBUG - + ynh_app_setting set wordpress fpm_footprint high 2023-09-13 14:59:38,044: DEBUG - + for short_setting in "${!old[@]}" 2023-09-13 14:59:38,045: DEBUG - + ynh_app_config_apply_one fpm_free_footprint 2023-09-13 14:59:38,045: DEBUG - + _ynh_app_config_apply_one fpm_free_footprint 2023-09-13 14:59:38,045: DEBUG - + local short_setting=fpm_free_footprint 2023-09-13 14:59:38,045: DEBUG - + local setter=set__fpm_free_footprint 2023-09-13 14:59:38,045: DEBUG - + local bind=settings 2023-09-13 14:59:38,045: DEBUG - + local type=number 2023-09-13 14:59:38,045: DEBUG - + '[' false == true ']' 2023-09-13 14:59:38,045: DEBUG - + for short_setting in "${!old[@]}" 2023-09-13 14:59:38,046: DEBUG - + ynh_app_config_apply_one fpm_usage 2023-09-13 14:59:38,046: DEBUG - + _ynh_app_config_apply_one fpm_usage 2023-09-13 14:59:38,046: DEBUG - + local short_setting=fpm_usage 2023-09-13 14:59:38,046: DEBUG - + local setter=set__fpm_usage 2023-09-13 14:59:38,046: DEBUG - + local bind=settings 2023-09-13 14:59:38,046: DEBUG - + local type=select 2023-09-13 14:59:38,046: DEBUG - + '[' true == true ']' 2023-09-13 14:59:38,046: DEBUG - + grep -q '^function$' 2023-09-13 14:59:38,048: DEBUG - + type -t set__fpm_usage 2023-09-13 14:59:38,049: DEBUG - + [[ settings == *\(* ]] 2023-09-13 14:59:38,049: DEBUG - + [[ settings == \n\u\l\l ]] 2023-09-13 14:59:38,049: DEBUG - + [[ select == \f\i\l\e ]] 2023-09-13 14:59:38,050: DEBUG - + [[ settings == \s\e\t\t\i\n\g\s ]] 2023-09-13 14:59:38,050: DEBUG - + ynh_app_setting_set --app=wordpress --key=fpm_usage --value=high 2023-09-13 14:59:38,050: DEBUG - + local _globalapp=wordpress 2023-09-13 14:59:38,117: DEBUG - + app=wordpress 2023-09-13 14:59:38,117: DEBUG - + [[ fpm_usage =~ (unprotected|protected|skipped)_ ]] 2023-09-13 14:59:38,117: DEBUG - + ynh_app_setting set wordpress fpm_usage high 2023-09-13 14:59:38,162: DEBUG - + ynh_print_info '--message=Configuration key '\''fpm_usage'\'' edited in app settings' 2023-09-13 14:59:38,172: DEBUG - + for short_setting in "${!old[@]}" 2023-09-13 14:59:38,172: DEBUG - + ynh_app_config_apply_one maintenance_mode 2023-09-13 14:59:38,172: DEBUG - + _ynh_app_config_apply_one maintenance_mode 2023-09-13 14:59:38,172: DEBUG - + local short_setting=maintenance_mode 2023-09-13 14:59:38,172: DEBUG - + local setter=set__maintenance_mode 2023-09-13 14:59:38,172: DEBUG - + local bind=settings 2023-09-13 14:59:38,172: DEBUG - + local type=boolean 2023-09-13 14:59:38,172: DEBUG - + '[' false == true ']' 2023-09-13 14:59:38,172: DEBUG - + ynh_add_fpm_config --phpversion=8.2 --usage=high --footprint=high 2023-09-13 14:59:38,172: DEBUG - + local _globalphpversion=8.2 2023-09-13 14:59:38,173: INFO - Configuration key 'fpm_usage' edited in app settings 2023-09-13 14:59:38,293: DEBUG - + package= 2023-09-13 14:59:38,293: DEBUG - + group= 2023-09-13 14:59:38,293: DEBUG - + local autogenconf=false 2023-09-13 14:59:38,293: DEBUG - + usage=high 2023-09-13 14:59:38,293: DEBUG - + footprint=high 2023-09-13 14:59:38,293: DEBUG - + '[' -n high ']' 2023-09-13 14:59:38,294: DEBUG - + autogenconf=true 2023-09-13 14:59:38,294: DEBUG - ++ ynh_app_setting_get --app=wordpress --key=fpm_usage 2023-09-13 14:59:38,294: DEBUG - ++ local _globalapp=wordpress 2023-09-13 14:59:38,326: DEBUG - ++ app=wordpress 2023-09-13 14:59:38,326: DEBUG - ++ [[ fpm_usage =~ (unprotected|protected|skipped)_ ]] 2023-09-13 14:59:38,326: DEBUG - ++ ynh_app_setting get wordpress fpm_usage 2023-09-13 14:59:38,367: DEBUG - + local fpm_usage_in_setting=high 2023-09-13 14:59:38,368: DEBUG - + '[' -z high ']' 2023-09-13 14:59:38,368: DEBUG - ++ ynh_app_setting_get --app=wordpress --key=fpm_footprint 2023-09-13 14:59:38,368: DEBUG - ++ local _globalapp=wordpress 2023-09-13 14:59:38,400: DEBUG - ++ app=wordpress 2023-09-13 14:59:38,400: DEBUG - ++ [[ fpm_footprint =~ (unprotected|protected|skipped)_ ]] 2023-09-13 14:59:38,400: DEBUG - ++ ynh_app_setting get wordpress fpm_footprint 2023-09-13 14:59:38,444: DEBUG - + local fpm_footprint_in_setting=high 2023-09-13 14:59:38,444: DEBUG - + '[' -z high ']' 2023-09-13 14:59:38,444: DEBUG - + dedicated_service=0 2023-09-13 14:59:38,444: DEBUG - + dpkg --compare-versions 0 lt 2 2023-09-13 14:59:38,446: DEBUG - + phpversion=8.2 2023-09-13 14:59:38,446: DEBUG - ++ ynh_app_setting_get --app=wordpress --key=phpversion 2023-09-13 14:59:38,447: DEBUG - ++ local _globalapp=wordpress 2023-09-13 14:59:38,477: DEBUG - ++ app=wordpress 2023-09-13 14:59:38,478: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]] 2023-09-13 14:59:38,478: DEBUG - ++ ynh_app_setting get wordpress phpversion 2023-09-13 14:59:38,524: DEBUG - + local old_phpversion=8.2 2023-09-13 14:59:38,524: DEBUG - + '[' -n 8.2 ']' 2023-09-13 14:59:38,524: DEBUG - + '[' 8.2 '!=' 8.2 ']' 2023-09-13 14:59:38,524: DEBUG - + '[' -n '' ']' 2023-09-13 14:59:38,524: DEBUG - + local fpm_service=php8.2-fpm 2023-09-13 14:59:38,524: DEBUG - + local fpm_config_dir=/etc/php/8.2/fpm 2023-09-13 14:59:38,524: DEBUG - + mkdir --parents /etc/php/8.2/fpm/pool.d 2023-09-13 14:59:38,526: DEBUG - + ynh_app_setting_set --app=wordpress --key=fpm_config_dir --value=/etc/php/8.2/fpm 2023-09-13 14:59:38,526: DEBUG - + local _globalapp=wordpress 2023-09-13 14:59:38,592: DEBUG - + app=wordpress 2023-09-13 14:59:38,593: DEBUG - + [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]] 2023-09-13 14:59:38,593: DEBUG - + ynh_app_setting set wordpress fpm_config_dir /etc/php/8.2/fpm 2023-09-13 14:59:38,642: DEBUG - + ynh_app_setting_set --app=wordpress --key=fpm_service --value=php8.2-fpm 2023-09-13 14:59:38,642: DEBUG - + local _globalapp=wordpress 2023-09-13 14:59:38,707: DEBUG - + app=wordpress 2023-09-13 14:59:38,707: DEBUG - + [[ fpm_service =~ (unprotected|protected|skipped)_ ]] 2023-09-13 14:59:38,707: DEBUG - + ynh_app_setting set wordpress fpm_service php8.2-fpm 2023-09-13 14:59:38,757: DEBUG - + ynh_app_setting_set --app=wordpress --key=fpm_dedicated_service --value=0 2023-09-13 14:59:38,757: DEBUG - + local _globalapp=wordpress 2023-09-13 14:59:38,831: DEBUG - + app=wordpress 2023-09-13 14:59:38,832: DEBUG - + [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]] 2023-09-13 14:59:38,832: DEBUG - + ynh_app_setting set wordpress fpm_dedicated_service 0 2023-09-13 14:59:38,880: DEBUG - + ynh_app_setting_set --app=wordpress --key=phpversion --value=8.2 2023-09-13 14:59:38,880: DEBUG - + local _globalapp=wordpress 2023-09-13 14:59:38,948: DEBUG - + app=wordpress 2023-09-13 14:59:38,948: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]] 2023-09-13 14:59:38,948: DEBUG - + ynh_app_setting set wordpress phpversion 8.2 2023-09-13 14:59:39,000: DEBUG - + '[' true == false ']' 2023-09-13 14:59:39,000: DEBUG - + ynh_get_scalable_phpfpm --usage=high --footprint=high 2023-09-13 14:59:39,058: DEBUG - + footprint=high 2023-09-13 14:59:39,059: DEBUG - + usage=high 2023-09-13 14:59:39,059: DEBUG - + print=0 2023-09-13 14:59:39,059: DEBUG - + '[' high = low ']' 2023-09-13 14:59:39,059: DEBUG - + '[' high = medium ']' 2023-09-13 14:59:39,059: DEBUG - + '[' high = high ']' 2023-09-13 14:59:39,059: DEBUG - + footprint=50 2023-09-13 14:59:39,060: DEBUG - + '[' 50 -le 20 ']' 2023-09-13 14:59:39,060: DEBUG - + '[' 50 -le 35 ']' 2023-09-13 14:59:39,060: DEBUG - + min_spare_servers_factor=3 2023-09-13 14:59:39,060: DEBUG - + '[' high = low ']' 2023-09-13 14:59:39,060: DEBUG - + '[' high = medium ']' 2023-09-13 14:59:39,060: DEBUG - + '[' high = high ']' 2023-09-13 14:59:39,060: DEBUG - + php_pm=static 2023-09-13 14:59:39,061: DEBUG - ++ ynh_get_ram --total --ignore_swap 2023-09-13 14:59:39,132: DEBUG - ++ ignore_swap=1 2023-09-13 14:59:39,132: DEBUG - ++ only_swap=0 2023-09-13 14:59:39,133: DEBUG - ++ free=0 2023-09-13 14:59:39,133: DEBUG - ++ total=1 2023-09-13 14:59:39,134: DEBUG - +++ awk '{print $1}' 2023-09-13 14:59:39,137: DEBUG - +++ grep 'total memory' 2023-09-13 14:59:39,139: DEBUG - +++ LC_ALL=C 2023-09-13 14:59:39,139: DEBUG - +++ vmstat --stats --unit M 2023-09-13 14:59:39,145: DEBUG - ++ local total_ram=1971 2023-09-13 14:59:39,147: DEBUG - +++ awk '{print $1}' 2023-09-13 14:59:39,149: DEBUG - +++ grep 'total swap' 2023-09-13 14:59:39,151: DEBUG - +++ LC_ALL=C 2023-09-13 14:59:39,151: DEBUG - +++ vmstat --stats --unit M 2023-09-13 14:59:39,158: DEBUG - ++ local total_swap=0 2023-09-13 14:59:39,158: DEBUG - ++ local total_ram_swap=1971 2023-09-13 14:59:39,158: DEBUG - ++ local ram=1971 2023-09-13 14:59:39,159: DEBUG - ++ ram=1971 2023-09-13 14:59:39,159: DEBUG - ++ echo 1971 2023-09-13 14:59:39,159: DEBUG - + local max_ram=1971 2023-09-13 14:59:39,159: DEBUG - + php_max_children=19 2023-09-13 14:59:39,159: DEBUG - + '[' static = static ']' 2023-09-13 14:59:39,160: DEBUG - + php_max_children=9 2023-09-13 14:59:39,160: DEBUG - ++ at_least_one 9 2023-09-13 14:59:39,160: DEBUG - ++ '[' 9 -le 0 ']' 2023-09-13 14:59:39,161: DEBUG - ++ echo 9 2023-09-13 14:59:39,161: DEBUG - + php_max_children=9 2023-09-13 14:59:39,162: DEBUG - ++ nproc 2023-09-13 14:59:39,165: DEBUG - + local core_number=1 2023-09-13 14:59:39,165: DEBUG - + local max_proc=4 2023-09-13 14:59:39,165: DEBUG - + '[' 9 -gt 4 ']' 2023-09-13 14:59:39,165: DEBUG - + php_max_children=4 2023-09-13 14:59:39,165: DEBUG - ++ ynh_app_setting_get --app=wordpress --key=php_forced_max_children 2023-09-13 14:59:39,166: DEBUG - ++ local _globalapp=wordpress 2023-09-13 14:59:39,207: DEBUG - ++ app=wordpress 2023-09-13 14:59:39,207: DEBUG - ++ [[ php_forced_max_children =~ (unprotected|protected|skipped)_ ]] 2023-09-13 14:59:39,208: DEBUG - ++ ynh_app_setting get wordpress php_forced_max_children 2023-09-13 14:59:39,270: DEBUG - + local php_forced_max_children= 2023-09-13 14:59:39,270: DEBUG - + '[' -n '' ']' 2023-09-13 14:59:39,270: DEBUG - + '[' static = dynamic ']' 2023-09-13 14:59:39,270: DEBUG - + php_min_spare_servers=0 2023-09-13 14:59:39,270: DEBUG - + php_max_spare_servers=0 2023-09-13 14:59:39,271: DEBUG - + php_start_servers=0 2023-09-13 14:59:39,271: DEBUG - ++ echo wordpress 2023-09-13 14:59:39,272: DEBUG - + local phpfpm_group=wordpress 2023-09-13 14:59:39,272: DEBUG - + local phpfpm_path=/etc/yunohost/apps/wordpress/conf/php-fpm.conf 2023-09-13 14:59:39,273: DEBUG - [__APP__] 2023-09-13 14:59:39,273: DEBUG - 2023-09-13 14:59:39,273: DEBUG - user = __APP__ 2023-09-13 14:59:39,273: DEBUG - group = __PHPFPM_GROUP__ 2023-09-13 14:59:39,273: DEBUG - 2023-09-13 14:59:39,273: DEBUG - chdir = __INSTALL_DIR__ 2023-09-13 14:59:39,273: DEBUG - 2023-09-13 14:59:39,273: DEBUG - listen = /var/run/php/php__PHPVERSION__-fpm-__APP__.sock 2023-09-13 14:59:39,273: DEBUG - listen.owner = www-data 2023-09-13 14:59:39,273: DEBUG - listen.group = www-data 2023-09-13 14:59:39,274: DEBUG - 2023-09-13 14:59:39,274: DEBUG - pm = __PHP_PM__ 2023-09-13 14:59:39,274: DEBUG - pm.max_children = __PHP_MAX_CHILDREN__ 2023-09-13 14:59:39,274: DEBUG - pm.max_requests = 500 2023-09-13 14:59:39,274: DEBUG - request_terminate_timeout = 1d 2023-09-13 14:59:39,274: DEBUG - ' 2023-09-13 14:59:39,275: DEBUG - + '[' static = dynamic ']' 2023-09-13 14:59:39,275: DEBUG - + '[' static = ondemand ']' 2023-09-13 14:59:39,275: DEBUG - + '[' -e /etc/yunohost/apps/wordpress/conf/extra_php-fpm.conf ']' 2023-09-13 14:59:39,275: DEBUG - + cat /etc/yunohost/apps/wordpress/conf/extra_php-fpm.conf 2023-09-13 14:59:39,277: DEBUG - + local finalphpconf=/etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,278: DEBUG - + ynh_add_config --template=/etc/yunohost/apps/wordpress/conf/php-fpm.conf --destination=/etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,319: DEBUG - + '[' -f /etc/yunohost/apps/wordpress/conf//etc/yunohost/apps/wordpress/conf/php-fpm.conf ']' 2023-09-13 14:59:39,319: DEBUG - + '[' -f /etc/yunohost/apps/wordpress/conf/php-fpm.conf ']' 2023-09-13 14:59:39,319: DEBUG - + template_path=/etc/yunohost/apps/wordpress/conf/php-fpm.conf 2023-09-13 14:59:39,319: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,333: DEBUG - + local checksum_setting_name=checksum__etc_php_8.2_fpm_pool.d_wordpress.conf 2023-09-13 14:59:39,333: DEBUG - ++ ynh_app_setting_get --app=wordpress --key=checksum__etc_php_8.2_fpm_pool.d_wordpress.conf 2023-09-13 14:59:39,334: DEBUG - ++ local _globalapp=wordpress 2023-09-13 14:59:39,375: DEBUG - ++ app=wordpress 2023-09-13 14:59:39,375: DEBUG - ++ [[ checksum__etc_php_8.2_fpm_pool.d_wordpress.conf =~ (unprotected|protected|skipped)_ ]] 2023-09-13 14:59:39,375: DEBUG - ++ ynh_app_setting get wordpress checksum__etc_php_8.2_fpm_pool.d_wordpress.conf 2023-09-13 14:59:39,435: DEBUG - + local checksum_value=d1fec69399219e79c53661815d28b281 2023-09-13 14:59:39,435: DEBUG - + backup_file_checksum= 2023-09-13 14:59:39,435: DEBUG - + '[' -n d1fec69399219e79c53661815d28b281 ']' 2023-09-13 14:59:39,435: DEBUG - + '[' -e /etc/php/8.2/fpm/pool.d/wordpress.conf ']' 2023-09-13 14:59:39,436: DEBUG - + md5sum --check --status 2023-09-13 14:59:39,439: DEBUG - + touch /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,441: DEBUG - + chown root:root /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,443: DEBUG - + chmod 640 /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,445: DEBUG - + cp -f /etc/yunohost/apps/wordpress/conf/php-fpm.conf /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,447: DEBUG - + _ynh_apply_default_permissions /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,447: DEBUG - + local target=/etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,449: DEBUG - ++ tr -d '<>= ' 2023-09-13 14:59:39,450: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost 2023-09-13 14:59:39,474: DEBUG - ++ '[' '!' -e '' ']' 2023-09-13 14:59:39,474: DEBUG - ++ '[' -e /etc/yunohost/apps/wordpress/manifest.json ']' 2023-09-13 14:59:39,474: DEBUG - ++ '[' -e /etc/yunohost/apps/wordpress/manifest.toml ']' 2023-09-13 14:59:39,474: DEBUG - ++ manifest=/etc/yunohost/apps/wordpress/manifest.toml 2023-09-13 14:59:39,475: DEBUG - ++ grep -q '\.json$' 2023-09-13 14:59:39,477: DEBUG - ++ echo /etc/yunohost/apps/wordpress/manifest.toml 2023-09-13 14:59:39,478: DEBUG - ++ jq .requirements.yunohost --raw-output 2023-09-13 14:59:39,479: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))' 2023-09-13 14:59:39,483: DEBUG - ++ cat /etc/yunohost/apps/wordpress/manifest.toml 2023-09-13 14:59:39,564: DEBUG - + local ynh_requirement=null 2023-09-13 14:59:39,564: DEBUG - + dpkg --compare-versions 0 ge 2 2023-09-13 14:59:39,566: DEBUG - + '[' -z null ']' 2023-09-13 14:59:39,566: DEBUG - + '[' null == null ']' 2023-09-13 14:59:39,566: DEBUG - + chmod o-rwx /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,567: DEBUG - + chmod g-w /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,569: DEBUG - + chown -R root:root /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,571: DEBUG - + ynh_system_user_exists wordpress 2023-09-13 14:59:39,581: DEBUG - + getent passwd wordpress 2023-09-13 14:59:39,584: DEBUG - + chown wordpress:wordpress /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,589: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system' 2023-09-13 14:59:39,591: DEBUG - + echo /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,592: DEBUG - + chmod 400 /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,593: DEBUG - + chown root:root /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,595: DEBUG - + ynh_replace_vars --file=/etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,606: DEBUG - + test -n '' 2023-09-13 14:59:39,607: DEBUG - + test -n wordpress 2023-09-13 14:59:39,607: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=wordpress --target_file=/etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,668: DEBUG - + sed --in-place $'s\001__NAME__\001wordpress\001g' /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,671: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=wordpress --target_file=/etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,732: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001wordpress\001g' /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,734: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=wordpress --target_file=/etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,794: DEBUG - + sed --in-place $'s\001__USER__\001wordpress\001g' /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,797: DEBUG - + test -n '' 2023-09-13 14:59:39,797: DEBUG - + dpkg --compare-versions 0 lt 2 2023-09-13 14:59:39,799: DEBUG - + test -n 7.4 2023-09-13 14:59:39,799: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,858: DEBUG - + sed --in-place $'s\001__PHPVERSION__\0017.4\001g' /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,860: DEBUG - + test -n '' 2023-09-13 14:59:39,861: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g' 2023-09-13 14:59:39,862: DEBUG - ++ sort --unique 2023-09-13 14:59:39,864: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,866: DEBUG - + uniques_vars=('app' 'install_dir' 'phpfpm_group' 'php_max_children' 'php_pm') 2023-09-13 14:59:39,867: DEBUG - + local delimit=@ 2023-09-13 14:59:39,867: DEBUG - + for one_var in "${uniques_vars[@]}" 2023-09-13 14:59:39,867: DEBUG - + [[ -v app ]] 2023-09-13 14:59:39,867: DEBUG - + match_string=__APP__ 2023-09-13 14:59:39,867: DEBUG - + match_string=__APP__ 2023-09-13 14:59:39,867: DEBUG - + replace_string=wordpress 2023-09-13 14:59:39,867: DEBUG - + replace_string=wordpress 2023-09-13 14:59:39,867: DEBUG - + replace_string=wordpress 2023-09-13 14:59:39,867: DEBUG - + sed --in-place s@__APP__@wordpress@g /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,869: DEBUG - + for one_var in "${uniques_vars[@]}" 2023-09-13 14:59:39,869: DEBUG - + [[ -v install_dir ]] 2023-09-13 14:59:39,869: DEBUG - + match_string=__INSTALL_DIR__ 2023-09-13 14:59:39,869: DEBUG - + match_string=__INSTALL_DIR__ 2023-09-13 14:59:39,869: DEBUG - + replace_string=/var/www/wordpress 2023-09-13 14:59:39,870: DEBUG - + replace_string=/var/www/wordpress 2023-09-13 14:59:39,870: DEBUG - + replace_string=/var/www/wordpress 2023-09-13 14:59:39,870: DEBUG - + sed --in-place s@__INSTALL_DIR__@/var/www/wordpress@g /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,872: DEBUG - + for one_var in "${uniques_vars[@]}" 2023-09-13 14:59:39,872: DEBUG - + [[ -v phpfpm_group ]] 2023-09-13 14:59:39,872: DEBUG - + match_string=__PHPFPM_GROUP__ 2023-09-13 14:59:39,872: DEBUG - + match_string=__PHPFPM_GROUP__ 2023-09-13 14:59:39,872: DEBUG - + replace_string=wordpress 2023-09-13 14:59:39,872: DEBUG - + replace_string=wordpress 2023-09-13 14:59:39,872: DEBUG - + replace_string=wordpress 2023-09-13 14:59:39,872: DEBUG - + sed --in-place s@__PHPFPM_GROUP__@wordpress@g /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,874: DEBUG - + for one_var in "${uniques_vars[@]}" 2023-09-13 14:59:39,874: DEBUG - + [[ -v php_max_children ]] 2023-09-13 14:59:39,874: DEBUG - + match_string=__PHP_MAX_CHILDREN__ 2023-09-13 14:59:39,874: DEBUG - + match_string=__PHP_MAX_CHILDREN__ 2023-09-13 14:59:39,874: DEBUG - + replace_string=4 2023-09-13 14:59:39,874: DEBUG - + replace_string=4 2023-09-13 14:59:39,874: DEBUG - + replace_string=4 2023-09-13 14:59:39,874: DEBUG - + sed --in-place s@__PHP_MAX_CHILDREN__@4@g /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,876: DEBUG - + for one_var in "${uniques_vars[@]}" 2023-09-13 14:59:39,876: DEBUG - + [[ -v php_pm ]] 2023-09-13 14:59:39,877: DEBUG - + match_string=__PHP_PM__ 2023-09-13 14:59:39,877: DEBUG - + match_string=__PHP_PM__ 2023-09-13 14:59:39,877: DEBUG - + replace_string=static 2023-09-13 14:59:39,877: DEBUG - + replace_string=static 2023-09-13 14:59:39,877: DEBUG - + replace_string=static 2023-09-13 14:59:39,877: DEBUG - + sed --in-place s@__PHP_PM__@static@g /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,879: DEBUG - + ynh_store_file_checksum --file=/etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,879: DEBUG - + update_only=0 2023-09-13 14:59:39,896: DEBUG - + local checksum_setting_name=checksum__etc_php_8.2_fpm_pool.d_wordpress.conf 2023-09-13 14:59:39,897: DEBUG - ++ cut '--delimiter= ' --fields=1 2023-09-13 14:59:39,898: DEBUG - ++ md5sum /etc/php/8.2/fpm/pool.d/wordpress.conf 2023-09-13 14:59:39,901: DEBUG - + ynh_app_setting_set --app=wordpress --key=checksum__etc_php_8.2_fpm_pool.d_wordpress.conf --value=0756fd98a205795291b67703dfd07c8f 2023-09-13 14:59:39,901: DEBUG - + local _globalapp=wordpress 2023-09-13 14:59:39,965: DEBUG - + app=wordpress 2023-09-13 14:59:39,965: DEBUG - + [[ checksum__etc_php_8.2_fpm_pool.d_wordpress.conf =~ (unprotected|protected|skipped)_ ]] 2023-09-13 14:59:39,965: DEBUG - + ynh_app_setting set wordpress checksum__etc_php_8.2_fpm_pool.d_wordpress.conf 0756fd98a205795291b67703dfd07c8f 2023-09-13 14:59:40,009: DEBUG - + '[' -n '' ']' 2023-09-13 14:59:40,009: DEBUG - + unset backup_file_checksum 2023-09-13 14:59:40,010: DEBUG - + '[' -e /etc/yunohost/apps/wordpress/conf/php-fpm.ini ']' 2023-09-13 14:59:40,010: DEBUG - + php-fpm8.2 --test 2023-09-13 14:59:40,075: DEBUG - + ynh_systemd_action --service_name=php8.2-fpm --action=reload 2023-09-13 14:59:40,158: DEBUG - + service_name=php8.2-fpm 2023-09-13 14:59:40,158: DEBUG - + action=reload 2023-09-13 14:59:40,158: DEBUG - + line_match= 2023-09-13 14:59:40,159: DEBUG - + length=20 2023-09-13 14:59:40,159: DEBUG - + log_path=/var/log/php8.2-fpm/php8.2-fpm.log 2023-09-13 14:59:40,159: DEBUG - + timeout=300 2023-09-13 14:59:40,159: DEBUG - + '[' reload == stop ']' 2023-09-13 14:59:40,159: DEBUG - + '[' reload == reload ']' 2023-09-13 14:59:40,159: DEBUG - + action=reload-or-restart 2023-09-13 14:59:40,160: DEBUG - ++ cut -d+ -f1 2023-09-13 14:59:40,162: DEBUG - ++ date --utc --rfc-3339=seconds 2023-09-13 14:59:40,164: DEBUG - + local 'time_start=2023-09-13 14:59:40 UTC' 2023-09-13 14:59:40,164: DEBUG - + systemctl reload-or-restart php8.2-fpm 2023-09-13 14:59:40,333: DEBUG - + ynh_exit_properly 2023-09-13 14:59:40,333: DEBUG - + [[ '' =~ ^install$|^upgrade$|^restore$ ]] 2023-09-13 14:59:40,333: INFO - [####################] > Configuration of wordpress completed 2023-09-13 14:59:41,335: SUCCESS - Config updated as expected