Dolibarr installation fail/échoue : ERROR 1146 (42S02) at line 1: Table 'dolibarr.llx_const' doesn't exist

Mon serveur YunoHost

Matériel: Raspberry Pi à la maison
Version de YunoHost: 4.2.8.3 (stable).
**J’ai accès à mon serveur :Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non

Description du problème

Bonjour,

J’ai installé Yunohost sur le Rpi 2 d’un ami chez lui, et on essaye d’installer Dolibarr. L’installation échoue et je n’ai rien trouvé en faisant des recherches sur le message d’erreur qui arrive :confused:

Voici les logs de la tentative d’installation :

https://paste.yunohost.org/raw/recadumoja

args:
  app: dolibarr
  args: domain=maindomain.tld&path=%2Fdolibarr&admin=anthony
  force: false
  label: Dolibarr
  no_remove_on_failure: false
ended_at: 2021-09-24 17:03:29.407229
env:
  YNH_APP_ARG_ADMIN: anthony
  YNH_APP_ARG_DOMAIN: maindomain.tld
  YNH_APP_ARG_PATH: /dolibarr
  YNH_APP_ID: dolibarr
  YNH_APP_INSTANCE_NAME: dolibarr
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 14.0.2~ynh1
error: "Une erreur est survenue dans le script d\u2019installation de l\u2019application"
interface: api
operation: app_install
parent: null
related_to:
- - app
  - dolibarr
started_at: 2021-09-24 16:47:43.575243
success: false
yunohost_version: 4.2.8.3

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

2021-09-24 17:47:43,624: INFO - Installation de dolibarr...
2021-09-24 17:47:44,053: DEBUG - Permission 'dolibarr.main' mise à jour
2021-09-24 17:47:44,286: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20210924-164744-permission_url-dolibarr" style="text-decoration:underline"> Mise à jour de l’URL associée à l’autorisation 'dolibarr' </a>'
2021-09-24 17:47:44,776: DEBUG - The permission database has been resynchronized
2021-09-24 17:47:45,083: DEBUG - La configuration de SSOwat a été regénérée
2021-09-24 17:47:45,357: DEBUG - Permission 'dolibarr.main' créée
2021-09-24 17:47:45,360: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20210924-164743-permission_create-dolibarr" style="text-decoration:underline"> Créer permission 'dolibarr' </a>'
2021-09-24 17:47:45,458: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2021-09-24 17:47:45,503: DEBUG - + source _common.sh
2021-09-24 17:47:45,505: DEBUG - ++ YNH_PHP_VERSION=7.3
2021-09-24 17:47:45,507: DEBUG - ++ extra_php_dependencies='php7.3-mysql 						php7.3-imagick 						php7.3-gd 						php7.3-mbstring 						php7.3-soap 						php7.3-curl 						php7.3-intl 						php7.3-opcache 						php7.3-calendar 						php7.3-zip 						php7.3-xml 						php7.3-fileinfo'
2021-09-24 17:47:45,509: DEBUG - + source /usr/share/yunohost/helpers
2021-09-24 17:47:45,512: DEBUG - +++ set +o
2021-09-24 17:47:45,514: DEBUG - +++ grep xtrace
2021-09-24 17:47:45,521: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-09-24 17:47:45,524: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-09-24 17:47:45,833: DEBUG - + ynh_abort_if_errors
2021-09-24 17:47:45,835: DEBUG - + set -o errexit
2021-09-24 17:47:45,837: DEBUG - + set -o nounset
2021-09-24 17:47:45,838: DEBUG - + trap ynh_exit_properly EXIT
2021-09-24 17:47:45,840: DEBUG - + domain=maindomain.tld
2021-09-24 17:47:45,841: DEBUG - + path_url=/dolibarr
2021-09-24 17:47:45,843: DEBUG - + admin=anthony
2021-09-24 17:47:45,844: DEBUG - + member=0
2021-09-24 17:47:45,845: DEBUG - + is_public=0
2021-09-24 17:47:45,847: DEBUG - + app=dolibarr
2021-09-24 17:47:46,337: DEBUG - + echo '[....................] > Validating installation parameters...'
2021-09-24 17:47:46,342: DEBUG - + final_path=/var/www/dolibarr
2021-09-24 17:47:46,344: DEBUG - + test '!' -e /var/www/dolibarr
2021-09-24 17:47:46,346: DEBUG - + ynh_webpath_register --app=dolibarr --domain=maindomain.tld --path_url=/dolibarr
2021-09-24 17:47:46,360: INFO - [....................] > Validating installation parameters...
2021-09-24 17:47:46,723: DEBUG - + yunohost app register-url dolibarr maindomain.tld /dolibarr
2021-09-24 17:47:52,636: DEBUG - + echo '[....................] > Storing installation settings...'
2021-09-24 17:47:52,641: DEBUG - + ynh_app_setting_set --app=dolibarr --key=domain --value=maindomain.tld
2021-09-24 17:47:52,657: INFO - [....................] > Storing installation settings...
2021-09-24 17:47:53,045: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:47:53,058: DEBUG - + ynh_app_setting set dolibarr domain maindomain.tld
2021-09-24 17:47:53,528: DEBUG - + ynh_app_setting_set --app=dolibarr --key=path --value=/dolibarr
2021-09-24 17:47:53,906: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:47:53,909: DEBUG - + ynh_app_setting set dolibarr path /dolibarr
2021-09-24 17:47:54,399: DEBUG - + ynh_app_setting_set --app=dolibarr --key=admin --value=anthony
2021-09-24 17:47:54,778: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:47:54,781: DEBUG - + ynh_app_setting set dolibarr admin anthony
2021-09-24 17:47:55,244: DEBUG - + ynh_app_setting_set --app=dolibarr --key=is_public --value=0
2021-09-24 17:47:55,626: DEBUG - + [[ is_public =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:47:55,628: DEBUG - + ynh_app_setting set dolibarr is_public 0
2021-09-24 17:47:58,071: DEBUG - + ynh_app_setting_set --app=dolibarr --key=member --value=0
2021-09-24 17:47:58,456: DEBUG - + [[ member =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:47:58,459: DEBUG - + ynh_app_setting set dolibarr member 0
2021-09-24 17:47:58,928: DEBUG - ++ ynh_app_upstream_version ../manifest.json
2021-09-24 17:47:58,992: DEBUG - ++ manifest=../manifest.json
2021-09-24 17:47:58,994: DEBUG - ++ [[ ../manifest.json != '' ]]
2021-09-24 17:47:58,997: DEBUG - ++ [[ -e ../manifest.json ]]
2021-09-24 17:47:59,000: DEBUG - +++ ynh_read_manifest --manifest=../manifest.json --manifest_key=version
2021-09-24 17:47:59,185: DEBUG - +++ '[' '!' -e ../manifest.json ']'
2021-09-24 17:47:59,187: DEBUG - +++ jq .version ../manifest.json --raw-output
2021-09-24 17:47:59,251: DEBUG - ++ version_key_=14.0.2~ynh1
2021-09-24 17:47:59,264: DEBUG - ++ echo 14.0.2
2021-09-24 17:47:59,267: DEBUG - + ynh_app_setting_set --app=dolibarr --key=version --value=14.0.2
2021-09-24 17:47:59,679: DEBUG - + [[ version =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:47:59,681: DEBUG - + ynh_app_setting set dolibarr version 14.0.2
2021-09-24 17:48:00,581: DEBUG - + echo '[....................] > Creating a MySQL database...'
2021-09-24 17:48:00,585: INFO - [....................] > Creating a MySQL database...
2021-09-24 17:48:00,590: DEBUG - ++ ynh_sanitize_dbid --db_name=dolibarr
2021-09-24 17:48:00,650: DEBUG - ++ echo dolibarr
2021-09-24 17:48:00,653: DEBUG - + db_name=dolibarr
2021-09-24 17:48:00,655: DEBUG - + db_user=dolibarr
2021-09-24 17:48:00,657: DEBUG - + ynh_app_setting_set --app=dolibarr --key=db_name --value=dolibarr
2021-09-24 17:48:01,054: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:48:01,056: DEBUG - + ynh_app_setting set dolibarr db_name dolibarr
2021-09-24 17:48:05,727: DEBUG - + ynh_mysql_setup_db --db_user=dolibarr --db_name=dolibarr
2021-09-24 17:48:05,742: DEBUG - + db_pwd=
2021-09-24 17:48:06,001: DEBUG - ++ ynh_string_random
2021-09-24 17:48:06,019: DEBUG - ++ length=24
2021-09-24 17:48:06,020: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2021-09-24 17:48:06,021: DEBUG - ++ tr --complement --delete A-Za-z0-9
2021-09-24 17:48:06,023: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2021-09-24 17:48:06,900: DEBUG - + local new_db_pwd=**********
2021-09-24 17:48:06,903: DEBUG - + db_pwd=**********
2021-09-24 17:48:06,904: DEBUG - + ynh_mysql_create_db dolibarr dolibarr **********
2021-09-24 17:48:06,907: DEBUG - + local db=dolibarr
2021-09-24 17:48:06,909: DEBUG - + local 'sql=CREATE DATABASE dolibarr;'
2021-09-24 17:48:06,910: DEBUG - + [[ 3 -gt 1 ]]
2021-09-24 17:48:06,915: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON dolibarr.* TO '\''dolibarr'\''@'\''localhost'\'''
2021-09-24 17:48:06,918: DEBUG - + [[ -n ********** ]]
2021-09-24 17:48:06,921: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\'''
2021-09-24 17:48:06,923: DEBUG - + sql+=' WITH GRANT OPTION;'
2021-09-24 17:48:06,925: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE dolibarr; GRANT ALL PRIVILEGES ON dolibarr.* TO '\''dolibarr'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2021-09-24 17:48:07,019: DEBUG - + database=
2021-09-24 17:48:07,022: DEBUG - + '[' -n '' ']'
2021-09-24 17:48:07,023: DEBUG - + mysql -B ''
2021-09-24 17:48:07,091: DEBUG - + ynh_app_setting_set --app=dolibarr --key=mysqlpwd --value=**********
2021-09-24 17:48:07,492: DEBUG - + [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:48:07,495: DEBUG - + ynh_app_setting set dolibarr mysqlpwd **********
2021-09-24 17:48:08,005: DEBUG - + ynh_mysql_execute_as_root '--sql=ALTER DATABASE dolibarr charset=utf8'
2021-09-24 17:48:08,126: DEBUG - + database=
2021-09-24 17:48:08,129: DEBUG - + '[' -n '' ']'
2021-09-24 17:48:08,130: DEBUG - + mysql -B ''
2021-09-24 17:48:08,670: DEBUG - + echo '[....................] > Setting up source files...'
2021-09-24 17:48:08,673: INFO - [....................] > Setting up source files...
2021-09-24 17:48:08,679: DEBUG - + ynh_app_setting_set --app=dolibarr --key=final_path --value=/var/www/dolibarr
2021-09-24 17:48:09,086: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:48:09,089: DEBUG - + ynh_app_setting set dolibarr final_path /var/www/dolibarr
2021-09-24 17:48:10,014: DEBUG - + echo '[++++++++............] > Download source files...'
2021-09-24 17:48:10,017: INFO - [++++++++............] > Download source files...
2021-09-24 17:48:10,023: DEBUG - + ynh_setup_source --dest_dir=/var/www/dolibarr
2021-09-24 17:48:10,166: DEBUG - + source_id=app
2021-09-24 17:48:10,168: DEBUG - + keep=
2021-09-24 17:48:10,170: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/app.src
2021-09-24 17:48:10,174: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/app.src
2021-09-24 17:48:10,176: DEBUG - ++ cut --delimiter== --fields=2-
2021-09-24 17:48:10,187: DEBUG - + local src_url=https://github.com/Dolibarr/dolibarr/archive/14.0.2.tar.gz
2021-09-24 17:48:10,191: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/app.src
2021-09-24 17:48:10,194: DEBUG - ++ cut --delimiter== --fields=2-
2021-09-24 17:48:10,205: DEBUG - + local src_sum=5747d7518115ad94b96606b00aad7fc687b1404bb5d838a0aef1d900998fc846
2021-09-24 17:48:10,210: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/app.src
2021-09-24 17:48:10,213: DEBUG - ++ cut --delimiter== --fields=2-
2021-09-24 17:48:10,224: DEBUG - + local src_sumprg=sha256sum
2021-09-24 17:48:10,228: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/app.src
2021-09-24 17:48:10,231: DEBUG - ++ cut --delimiter== --fields=2-
2021-09-24 17:48:10,242: DEBUG - + local src_format=tar.gz
2021-09-24 17:48:10,247: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/app.src
2021-09-24 17:48:10,250: DEBUG - ++ cut --delimiter== --fields=2-
2021-09-24 17:48:10,261: DEBUG - + local src_extract=
2021-09-24 17:48:10,265: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/app.src
2021-09-24 17:48:10,268: DEBUG - ++ cut --delimiter== --fields=2-
2021-09-24 17:48:10,280: DEBUG - + local src_in_subdir=true
2021-09-24 17:48:10,284: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/app.src
2021-09-24 17:48:10,287: DEBUG - ++ cut --delimiter== --fields=2-
2021-09-24 17:48:10,299: DEBUG - + local src_filename=
2021-09-24 17:48:10,302: DEBUG - + src_sumprg=sha256sum
2021-09-24 17:48:10,304: DEBUG - + src_in_subdir=true
2021-09-24 17:48:10,307: DEBUG - + src_format=tar.gz
2021-09-24 17:48:10,308: DEBUG - ++ echo tar.gz
2021-09-24 17:48:10,310: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2021-09-24 17:48:10,317: DEBUG - + src_format=tar.gz
2021-09-24 17:48:10,319: DEBUG - + src_extract=true
2021-09-24 17:48:10,320: DEBUG - + '[' '' = '' ']'
2021-09-24 17:48:10,322: DEBUG - + src_filename=app.tar.gz
2021-09-24 17:48:10,323: DEBUG - + local local_src=/opt/yunohost-apps-src/dolibarr/app.tar.gz
2021-09-24 17:48:10,325: DEBUG - + mkdir -p /var/cache/yunohost/download/dolibarr/
2021-09-24 17:48:10,327: DEBUG - + src_filename=/var/cache/yunohost/download/dolibarr/app.tar.gz
2021-09-24 17:48:10,329: DEBUG - + test -e /opt/yunohost-apps-src/dolibarr/app.tar.gz
2021-09-24 17:48:10,331: DEBUG - + '[' -n https://github.com/Dolibarr/dolibarr/archive/14.0.2.tar.gz ']'
2021-09-24 17:48:10,335: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/dolibarr/app.tar.gz https://github.com/Dolibarr/dolibarr/archive/14.0.2.tar.gz
2021-09-24 17:48:22,819: DEBUG - + out='2021-09-24 17:48:22 URL:https://codeload.github.com/Dolibarr/dolibarr/tar.gz/14.0.2 [61784086] -> "/var/cache/yunohost/download/dolibarr/app.tar.gz" [1]'
2021-09-24 17:48:22,823: DEBUG - + echo '5747d7518115ad94b96606b00aad7fc687b1404bb5d838a0aef1d900998fc846 /var/cache/yunohost/download/dolibarr/app.tar.gz'
2021-09-24 17:48:22,825: DEBUG - + sha256sum --check --status
2021-09-24 17:48:25,369: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2021-09-24 17:48:25,376: DEBUG - + '[' -n '' ']'
2021-09-24 17:48:25,379: DEBUG - + mkdir --parents /var/www/dolibarr
2021-09-24 17:48:25,387: DEBUG - + '[' -n /var/www/dolibarr ']'
2021-09-24 17:48:25,389: DEBUG - + '[' /var/www/dolibarr == /var/www/dolibarr ']'
2021-09-24 17:48:25,391: DEBUG - + _ynh_apply_default_permissions /var/www/dolibarr
2021-09-24 17:48:25,393: DEBUG - + local target=/var/www/dolibarr
2021-09-24 17:48:25,396: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/manifest.json
2021-09-24 17:48:25,398: DEBUG - ++ tr -d '>= '
2021-09-24 17:48:25,427: DEBUG - + local ynh_requirement=4.0.0
2021-09-24 17:48:25,429: DEBUG - + '[' -z 4.0.0 ']'
2021-09-24 17:48:25,430: DEBUG - + '[' 4.0.0 == null ']'
2021-09-24 17:48:25,432: DEBUG - + dpkg --compare-versions 4.0.0 ge 4.2
2021-09-24 17:48:25,440: DEBUG - + true
2021-09-24 17:48:25,442: DEBUG - + '[' tar.gz = zip ']'
2021-09-24 17:48:25,444: DEBUG - + local strip=
2021-09-24 17:48:25,446: DEBUG - + '[' true '!=' false ']'
2021-09-24 17:48:25,447: DEBUG - + '[' true == true ']'
2021-09-24 17:48:25,449: DEBUG - + local sub_dirs=1
2021-09-24 17:48:25,450: DEBUG - + strip='--strip-components 1'
2021-09-24 17:48:25,452: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2021-09-24 17:48:25,454: DEBUG - + tar --extract --file=/var/cache/yunohost/download/dolibarr/app.tar.gz --directory=/var/www/dolibarr --strip-components 1
2021-09-24 17:50:10,619: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/dolibarr/app.tar.gz
2021-09-24 17:50:13,986: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-09-24 17:50:13,988: DEBUG - + '[' 1 -ge 2 ']'
2021-09-24 17:50:13,990: DEBUG - + [[ -z /var/cache/yunohost/download/dolibarr/app.tar.gz ]]
2021-09-24 17:50:13,993: DEBUG - + [[      /var/www     /home/yunohost.app =~ /var/cache/yunohost/download/dolibarr/app\.tar\.gz ]]
2021-09-24 17:50:13,996: DEBUG - + [[ /var/cache/yunohost/download/dolibarr/app.tar.gz =~ ^/[[:alnum:]]+$ ]]
2021-09-24 17:50:13,998: DEBUG - + [[ z = \/ ]]
2021-09-24 17:50:13,999: DEBUG - + '[' -e /var/cache/yunohost/download/dolibarr/app.tar.gz ']'
2021-09-24 17:50:14,001: DEBUG - + rm --recursive /var/cache/yunohost/download/dolibarr/app.tar.gz
2021-09-24 17:50:14,137: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/sources/patches/ ']'
2021-09-24 17:50:14,141: DEBUG - ++ realpath /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/sources/patches/
2021-09-24 17:50:14,149: DEBUG - + local patches_folder=/var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/sources/patches
2021-09-24 17:50:14,156: DEBUG - ++ find /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/sources/patches -type f -name 'app-*.patch'
2021-09-24 17:50:14,159: DEBUG - ++ wc --lines
2021-09-24 17:50:14,300: DEBUG - + ((  0 > 0  ))
2021-09-24 17:50:14,302: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/sources/extra_files/app
2021-09-24 17:50:14,303: DEBUG - + cp --archive /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/sources/extra_files/app/. /var/www/dolibarr
2021-09-24 17:50:14,376: DEBUG - + '[' -n '' ']'
2021-09-24 17:50:14,377: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2021-09-24 17:50:14,384: DEBUG - + datadir=/var/www/dolibarr/documents
2021-09-24 17:50:14,385: DEBUG - + touch /var/www/dolibarr/htdocs/conf/conf.php
2021-09-24 17:50:15,182: DEBUG - + echo '[########+...........] > Configuring system user...'
2021-09-24 17:50:15,187: INFO - [########+...........] > Configuring system user...
2021-09-24 17:50:15,191: DEBUG - + ynh_system_user_create --username=dolibarr
2021-09-24 17:50:15,394: DEBUG - + use_shell=0
2021-09-24 17:50:15,397: DEBUG - + home_dir=
2021-09-24 17:50:15,399: DEBUG - + groups=
2021-09-24 17:50:15,401: DEBUG - + ynh_system_user_exists dolibarr
2021-09-24 17:50:15,462: DEBUG - + getent passwd dolibarr
2021-09-24 17:50:16,467: DEBUG - + '[' -n '' ']'
2021-09-24 17:50:16,470: DEBUG - + local user_home_dir=--no-create-home
2021-09-24 17:50:16,472: DEBUG - + '[' 0 -eq 1 ']'
2021-09-24 17:50:16,474: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2021-09-24 17:50:16,475: DEBUG - + useradd --no-create-home --system --user-group dolibarr --shell /usr/sbin/nologin
2021-09-24 17:50:20,574: DEBUG - + echo '[#########...........] > Configuring PHP-FPM and install dependencies...'
2021-09-24 17:50:20,576: INFO - [#########...........] > Configuring PHP-FPM and install dependencies...
2021-09-24 17:50:20,583: DEBUG - + ynh_add_fpm_config --usage=medium --footprint=medium --phpversion=7.3 '--package=php7.3-mysql 						php7.3-imagick 						php7.3-gd 						php7.3-mbstring 						php7.3-soap 						php7.3-curl 						php7.3-intl 						php7.3-opcache 						php7.3-calendar 						php7.3-zip 						php7.3-xml 						php7.3-fileinfo'
2021-09-24 17:50:21,545: DEBUG - + package='php7.3-mysql 						php7.3-imagick 						php7.3-gd 						php7.3-mbstring 						php7.3-soap 						php7.3-curl 						php7.3-intl 						php7.3-opcache 						php7.3-calendar 						php7.3-zip 						php7.3-xml 						php7.3-fileinfo'
2021-09-24 17:50:21,547: DEBUG - + use_template=1
2021-09-24 17:50:21,549: DEBUG - + usage=medium
2021-09-24 17:50:21,551: DEBUG - + footprint=medium
2021-09-24 17:50:21,553: DEBUG - + '[' -n medium ']'
2021-09-24 17:50:21,555: DEBUG - + use_template=0
2021-09-24 17:50:21,558: DEBUG - + dedicated_service=0
2021-09-24 17:50:21,560: DEBUG - + phpversion=7.3
2021-09-24 17:50:21,562: DEBUG - ++ ynh_app_setting_get --app=dolibarr --key=phpversion
2021-09-24 17:50:21,743: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:50:21,746: DEBUG - ++ ynh_app_setting get dolibarr phpversion
2021-09-24 17:50:22,272: DEBUG - + local old_phpversion=
2021-09-24 17:50:22,274: DEBUG - + '[' -n '' ']'
2021-09-24 17:50:22,276: DEBUG - + '[' 7.3 '!=' 7.3 ']'
2021-09-24 17:50:22,277: DEBUG - + '[' -n 'php7.3-mysql 						php7.3-imagick 						php7.3-gd 						php7.3-mbstring 						php7.3-soap 						php7.3-curl 						php7.3-intl 						php7.3-opcache 						php7.3-calendar 						php7.3-zip 						php7.3-xml 						php7.3-fileinfo' ']'
2021-09-24 17:50:22,279: DEBUG - + ynh_add_app_dependencies '--package=php7.3-mysql 						php7.3-imagick 						php7.3-gd 						php7.3-mbstring 						php7.3-soap 						php7.3-curl 						php7.3-intl 						php7.3-opcache 						php7.3-calendar 						php7.3-zip 						php7.3-xml 						php7.3-fileinfo'
2021-09-24 17:50:22,377: DEBUG - + replace=0
2021-09-24 17:50:22,380: DEBUG - + local current_dependencies=
2021-09-24 17:50:22,382: DEBUG - + '[' 0 -eq 0 ']'
2021-09-24 17:50:22,384: DEBUG - + local dep_app=dolibarr
2021-09-24 17:50:22,385: DEBUG - + ynh_package_is_installed --package=dolibarr-ynh-deps
2021-09-24 17:50:22,440: DEBUG - + ynh_wait_dpkg_free
2021-09-24 17:50:23,037: DEBUG - + return 0
2021-09-24 17:50:23,042: DEBUG - + dpkg-query --show '--showformat=${Status}' dolibarr-ynh-deps
2021-09-24 17:50:23,045: DEBUG - + grep --count 'ok installed'
2021-09-24 17:50:23,148: DEBUG - ++ dpkg-query --show '--showformat=${Depends}' dolibarr-ynh-deps
2021-09-24 17:50:23,242: DEBUG - + current_dependencies='php7.3-mysql, php7.3-imagick, php7.3-gd, php7.3-mbstring, php7.3-soap, php7.3-curl, php7.3-intl, php7.3-opcache, php7.3-calendar, php7.3-zip, php7.3-xml, php7.3-fileinfo '
2021-09-24 17:50:23,245: DEBUG - + current_dependencies='php7.3-mysql, php7.3-imagick, php7.3-gd, php7.3-mbstring, php7.3-soap, php7.3-curl, php7.3-intl, php7.3-opcache, php7.3-calendar, php7.3-zip, php7.3-xml, php7.3-fileinfo '
2021-09-24 17:50:23,247: DEBUG - + ynh_install_app_dependencies 'php7.3-mysql, php7.3-imagick, php7.3-gd, php7.3-mbstring, php7.3-soap, php7.3-curl, php7.3-intl, php7.3-opcache, php7.3-calendar, php7.3-zip, php7.3-xml, php7.3-fileinfo php7.3-mysql 						php7.3-imagick 						php7.3-gd 						php7.3-mbstring 						php7.3-soap 						php7.3-curl 						php7.3-intl 						php7.3-opcache 						php7.3-calendar 						php7.3-zip 						php7.3-xml 						php7.3-fileinfo'
2021-09-24 17:50:23,249: DEBUG - + local 'dependencies=php7.3-mysql, php7.3-imagick, php7.3-gd, php7.3-mbstring, php7.3-soap, php7.3-curl, php7.3-intl, php7.3-opcache, php7.3-calendar, php7.3-zip, php7.3-xml, php7.3-fileinfo php7.3-mysql 						php7.3-imagick 						php7.3-gd 						php7.3-mbstring 						php7.3-soap 						php7.3-curl 						php7.3-intl 						php7.3-opcache 						php7.3-calendar 						php7.3-zip 						php7.3-xml 						php7.3-fileinfo'
2021-09-24 17:50:23,257: DEBUG - ++ echo 'php7.3-mysql, php7.3-imagick, php7.3-gd, php7.3-mbstring, php7.3-soap, php7.3-curl, php7.3-intl, php7.3-opcache, php7.3-calendar, php7.3-zip, php7.3-xml, php7.3-fileinfo php7.3-mysql 						php7.3-imagick 						php7.3-gd 						php7.3-mbstring 						php7.3-soap 						php7.3-curl 						php7.3-intl 						php7.3-opcache 						php7.3-calendar 						php7.3-zip 						php7.3-xml 						php7.3-fileinfo'
2021-09-24 17:50:23,261: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2021-09-24 17:50:23,274: DEBUG - + dependencies='php7.3-mysql,, php7.3-imagick,, php7.3-gd,, php7.3-mbstring,, php7.3-soap,, php7.3-curl,, php7.3-intl,, php7.3-opcache,, php7.3-calendar,, php7.3-zip,, php7.3-xml,, php7.3-fileinfo, php7.3-mysql, 						php7.3-imagick, 						php7.3-gd, 						php7.3-mbstring, 						php7.3-soap, 						php7.3-curl, 						php7.3-intl, 						php7.3-opcache, 						php7.3-calendar, 						php7.3-zip, 						php7.3-xml, 						php7.3-fileinfo'
2021-09-24 17:50:23,278: DEBUG - + local 'dependencies=php7.3-mysql,, php7.3-imagick,, php7.3-gd,, php7.3-mbstring,, php7.3-soap,, php7.3-curl,, php7.3-intl,, php7.3-opcache,, php7.3-calendar,, php7.3-zip,, php7.3-xml,, php7.3-fileinfo, php7.3-mysql, 						php7.3-imagick, 						php7.3-gd, 						php7.3-mbstring, 						php7.3-soap, 						php7.3-curl, 						php7.3-intl, 						php7.3-opcache, 						php7.3-calendar, 						php7.3-zip, 						php7.3-xml, 						php7.3-fileinfo'
2021-09-24 17:50:23,280: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/manifest.json
2021-09-24 17:50:23,281: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/manifest.json
2021-09-24 17:50:23,307: DEBUG - + local version=14.0.2~ynh1
2021-09-24 17:50:23,309: DEBUG - + '[' -z 14.0.2~ynh1 ']'
2021-09-24 17:50:23,313: DEBUG - + '[' 14.0.2~ynh1 == null ']'
2021-09-24 17:50:23,315: DEBUG - + local dep_app=dolibarr
2021-09-24 17:50:23,317: DEBUG - + [[ php7.3-mysql,, php7.3-imagick,, php7.3-gd,, php7.3-mbstring,, php7.3-soap,, php7.3-curl,, php7.3-intl,, php7.3-opcache,, php7.3-calendar,, php7.3-zip,, php7.3-xml,, php7.3-fileinfo, php7.3-mysql, 						php7.3-imagick, 						php7.3-gd, 						php7.3-mbstring, 						php7.3-soap, 						php7.3-curl, 						php7.3-intl, 						php7.3-opcache, 						php7.3-calendar, 						php7.3-zip, 						php7.3-xml, 						php7.3-fileinfo =~ [<=>] ]]
2021-09-24 17:50:23,319: DEBUG - + echo php7.3-mysql,, php7.3-imagick,, php7.3-gd,, php7.3-mbstring,, php7.3-soap,, php7.3-curl,, php7.3-intl,, php7.3-opcache,, php7.3-calendar,, php7.3-zip,, php7.3-xml,, php7.3-fileinfo, php7.3-mysql, php7.3-imagick, php7.3-gd, php7.3-mbstring, php7.3-soap, php7.3-curl, php7.3-intl, php7.3-opcache, php7.3-calendar, php7.3-zip, php7.3-xml, php7.3-fileinfo
2021-09-24 17:50:23,321: DEBUG - + grep --quiet php
2021-09-24 17:50:23,325: DEBUG - + dpkg --list
2021-09-24 17:50:23,328: DEBUG - + grep php7.0
2021-09-24 17:50:23,331: DEBUG - + grep --quiet --invert-match 7.0.33-0+deb9
2021-09-24 17:50:23,482: DEBUG - + cat
2021-09-24 17:50:23,540: DEBUG - + ynh_package_install_from_equivs /tmp/dolibarr-ynh-deps.control
2021-09-24 17:50:23,543: DEBUG - + local controlfile=/tmp/dolibarr-ynh-deps.control
2021-09-24 17:50:23,545: DEBUG - ++ grep '^Package: ' /tmp/dolibarr-ynh-deps.control
2021-09-24 17:50:23,548: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-09-24 17:50:23,602: DEBUG - + local pkgname=dolibarr-ynh-deps
2021-09-24 17:50:23,606: DEBUG - ++ grep '^Version: ' /tmp/dolibarr-ynh-deps.control
2021-09-24 17:50:23,609: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-09-24 17:50:23,622: DEBUG - + local pkgversion=14.0.2~ynh1
2021-09-24 17:50:23,624: DEBUG - + [[ -z dolibarr-ynh-deps ]]
2021-09-24 17:50:23,625: DEBUG - + [[ -z 14.0.2~ynh1 ]]
2021-09-24 17:50:23,627: DEBUG - + ynh_package_update
2021-09-24 17:50:23,628: DEBUG - + ynh_apt update
2021-09-24 17:50:23,630: DEBUG - + ynh_wait_dpkg_free
2021-09-24 17:50:24,145: DEBUG - + return 0
2021-09-24 17:50:24,147: DEBUG - + LC_ALL=C
2021-09-24 17:50:24,149: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-09-24 17:50:24,150: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-09-24 17:50:50,217: DEBUG - Hit:1 http://archive.raspberrypi.org/debian buster InRelease
2021-09-24 17:50:50,220: DEBUG - Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
2021-09-24 17:50:50,221: DEBUG - Hit:3 http://forge.yunohost.org/debian buster InRelease
2021-09-24 17:51:20,136: DEBUG - Reading package lists...
2021-09-24 17:51:20,306: DEBUG - ++ mktemp --directory
2021-09-24 17:51:21,545: DEBUG - + local TMPDIR=/tmp/tmp.XaNCEC9s5V
2021-09-24 17:51:21,547: DEBUG - + echo 10
2021-09-24 17:51:22,958: DEBUG - + ynh_wait_dpkg_free
2021-09-24 17:51:23,491: DEBUG - + return 0
2021-09-24 17:51:23,493: DEBUG - + cp /tmp/dolibarr-ynh-deps.control /tmp/tmp.XaNCEC9s5V/control
2021-09-24 17:51:23,504: DEBUG - + cd /tmp/tmp.XaNCEC9s5V
2021-09-24 17:51:23,507: DEBUG - + LC_ALL=C
2021-09-24 17:51:23,509: DEBUG - + equivs-build ./control
2021-09-24 17:52:00,340: DEBUG - + LC_ALL=C
2021-09-24 17:52:00,344: DEBUG - + dpkg --force-depends --install ./dolibarr-ynh-deps_14.0.2~ynh1_all.deb
2021-09-24 17:52:00,347: DEBUG - + tee ./dpkg_log
2021-09-24 17:52:02,995: DEBUG - (Reading database ... 58208 files and directories currently installed.)
2021-09-24 17:52:03,014: DEBUG - Preparing to unpack .../dolibarr-ynh-deps_14.0.2~ynh1_all.deb ...
2021-09-24 17:52:03,137: DEBUG - Unpacking dolibarr-ynh-deps (14.0.2~ynh1) over (14.0.2~ynh1) ...
2021-09-24 17:52:03,383: DEBUG - Setting up dolibarr-ynh-deps (14.0.2~ynh1) ...
2021-09-24 17:52:03,687: DEBUG - + ynh_package_install --fix-broken
2021-09-24 17:52:03,689: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-09-24 17:52:03,690: DEBUG - + ynh_wait_dpkg_free
2021-09-24 17:52:04,221: DEBUG - + return 0
2021-09-24 17:52:04,223: DEBUG - + LC_ALL=C
2021-09-24 17:52:04,225: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-09-24 17:52:04,226: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-09-24 17:52:05,584: DEBUG - Reading package lists...
2021-09-24 17:52:07,006: DEBUG - Building dependency tree...
2021-09-24 17:52:07,015: DEBUG - Reading state information...
2021-09-24 17:52:08,896: DEBUG - The following packages were automatically installed and are no longer required:
2021-09-24 17:52:11,181: DEBUG -   libjs-sphinxdoc libjs-underscore libpython-all-dev libpython-dev
2021-09-24 17:52:11,184: DEBUG -   libpython2-dev libpython2.7-dev python-all python-all-dev python-argcomplete
2021-09-24 17:52:11,186: DEBUG -   python-asn1crypto python-bottle python-certifi python-cffi-backend
2021-09-24 17:52:11,187: DEBUG -   python-chardet python-configparser python-cryptography python-dbus
2021-09-24 17:52:11,189: DEBUG -   python-dev python-dnspython python-entrypoints python-enum34 python-gevent
2021-09-24 17:52:11,191: DEBUG -   python-gevent-websocket python-gi python-greenlet python-idna
2021-09-24 17:52:11,193: DEBUG -   python-ipaddress python-jinja2 python-keyring python-keyrings.alt
2021-09-24 17:52:11,195: DEBUG -   python-ldap python-markupsafe python-miniupnpc python-openssl
2021-09-24 17:52:11,197: DEBUG -   python-packaging python-pip python-pkg-resources python-psutil
2021-09-24 17:52:11,198: DEBUG -   python-publicsuffix python-pyasn1 python-pyasn1-modules python-pyparsing
2021-09-24 17:52:11,200: DEBUG -   python-requests python-secretstorage python-setuptools python-six
2021-09-24 17:52:11,201: DEBUG -   python-toml python-tz python-urllib3 python-wheel python-xdg python-yaml
2021-09-24 17:52:11,203: DEBUG -   python2-dev python2.7-dev
2021-09-24 17:52:11,204: DEBUG - Use 'apt autoremove' to remove them.
2021-09-24 17:52:11,491: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2021-09-24 17:52:11,498: DEBUG - + [[ -n /tmp/tmp.XaNCEC9s5V ]]
2021-09-24 17:52:11,499: DEBUG - + rm --recursive --force /tmp/tmp.XaNCEC9s5V
2021-09-24 17:52:11,508: DEBUG - + ynh_package_is_installed dolibarr-ynh-deps
2021-09-24 17:52:11,562: DEBUG - + ynh_wait_dpkg_free
2021-09-24 17:52:12,155: DEBUG - + return 0
2021-09-24 17:52:12,160: DEBUG - + dpkg-query --show '--showformat=${Status}' dolibarr-ynh-deps
2021-09-24 17:52:12,163: DEBUG - + grep --count 'ok installed'
2021-09-24 17:52:12,258: DEBUG - + rm /tmp/dolibarr-ynh-deps.control
2021-09-24 17:52:12,267: DEBUG - + ynh_app_setting_set --app=dolibarr --key=apt_dependencies '--value=php7.3-mysql,, php7.3-imagick,, php7.3-gd,, php7.3-mbstring,, php7.3-soap,, php7.3-curl,, php7.3-intl,, php7.3-opcache,, php7.3-calendar,, php7.3-zip,, php7.3-xml,, php7.3-fileinfo, php7.3-mysql, 						php7.3-imagick, 						php7.3-gd, 						php7.3-mbstring, 						php7.3-soap, 						php7.3-curl, 						php7.3-intl, 						php7.3-opcache, 						php7.3-calendar, 						php7.3-zip, 						php7.3-xml, 						php7.3-fileinfo'
2021-09-24 17:52:12,666: DEBUG - + [[ apt_dependencies =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:52:12,669: DEBUG - + ynh_app_setting set dolibarr apt_dependencies 'php7.3-mysql,, php7.3-imagick,, php7.3-gd,, php7.3-mbstring,, php7.3-soap,, php7.3-curl,, php7.3-intl,, php7.3-opcache,, php7.3-calendar,, php7.3-zip,, php7.3-xml,, php7.3-fileinfo, php7.3-mysql, 						php7.3-imagick, 						php7.3-gd, 						php7.3-mbstring, 						php7.3-soap, 						php7.3-curl, 						php7.3-intl, 						php7.3-opcache, 						php7.3-calendar, 						php7.3-zip, 						php7.3-xml, 						php7.3-fileinfo'
2021-09-24 17:52:13,165: DEBUG - + '[' 0 -eq 1 ']'
2021-09-24 17:52:13,167: DEBUG - + local fpm_service=php7.3-fpm
2021-09-24 17:52:13,169: DEBUG - + local fpm_config_dir=/etc/php/7.3/fpm
2021-09-24 17:52:13,171: DEBUG - + mkdir --parents /etc/php/7.3/fpm/pool.d
2021-09-24 17:52:14,850: DEBUG - + ynh_app_setting_set --app=dolibarr --key=fpm_config_dir --value=/etc/php/7.3/fpm
2021-09-24 17:52:15,337: DEBUG - + [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:52:15,340: DEBUG - + ynh_app_setting set dolibarr fpm_config_dir /etc/php/7.3/fpm
2021-09-24 17:52:15,909: DEBUG - + ynh_app_setting_set --app=dolibarr --key=fpm_service --value=php7.3-fpm
2021-09-24 17:52:16,323: DEBUG - + [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:52:16,326: DEBUG - + ynh_app_setting set dolibarr fpm_service php7.3-fpm
2021-09-24 17:52:17,054: DEBUG - + ynh_app_setting_set --app=dolibarr --key=fpm_dedicated_service --value=0
2021-09-24 17:52:17,465: DEBUG - + [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:52:17,468: DEBUG - + ynh_app_setting set dolibarr fpm_dedicated_service 0
2021-09-24 17:52:17,978: DEBUG - + ynh_app_setting_set --app=dolibarr --key=phpversion --value=7.3
2021-09-24 17:52:18,368: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:52:18,371: DEBUG - + ynh_app_setting set dolibarr phpversion 7.3
2021-09-24 17:52:18,898: DEBUG - + '[' 0 -eq 1 ']'
2021-09-24 17:52:18,901: DEBUG - + '[' 0 -eq 1 ']'
2021-09-24 17:52:18,903: DEBUG - + ynh_app_setting_set --app=dolibarr --key=fpm_footprint --value=medium
2021-09-24 17:52:19,291: DEBUG - + [[ fpm_footprint =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:52:19,293: DEBUG - + ynh_app_setting set dolibarr fpm_footprint medium
2021-09-24 17:52:19,806: DEBUG - + ynh_app_setting_set --app=dolibarr --key=fpm_usage --value=medium
2021-09-24 17:52:20,194: DEBUG - + [[ fpm_usage =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:52:20,196: DEBUG - + ynh_app_setting set dolibarr fpm_usage medium
2021-09-24 17:52:20,712: DEBUG - + ynh_get_scalable_phpfpm --usage=medium --footprint=medium
2021-09-24 17:52:20,979: DEBUG - + footprint=medium
2021-09-24 17:52:20,982: DEBUG - + usage=medium
2021-09-24 17:52:20,985: DEBUG - + print=0
2021-09-24 17:52:20,987: DEBUG - + '[' medium = low ']'
2021-09-24 17:52:20,989: DEBUG - + '[' medium = medium ']'
2021-09-24 17:52:20,991: DEBUG - + footprint=35
2021-09-24 17:52:20,993: DEBUG - + '[' 35 -le 20 ']'
2021-09-24 17:52:20,994: DEBUG - + '[' 35 -le 35 ']'
2021-09-24 17:52:20,996: DEBUG - + min_spare_servers_factor=5
2021-09-24 17:52:20,998: DEBUG - + '[' medium = low ']'
2021-09-24 17:52:20,999: DEBUG - + '[' medium = medium ']'
2021-09-24 17:52:21,002: DEBUG - + php_pm=dynamic
2021-09-24 17:52:21,004: DEBUG - ++ ynh_get_ram --total --ignore_swap
2021-09-24 17:52:21,318: DEBUG - ++ ignore_swap=1
2021-09-24 17:52:21,321: DEBUG - ++ only_swap=0
2021-09-24 17:52:21,323: DEBUG - ++ free=0
2021-09-24 17:52:21,326: DEBUG - ++ total=1
2021-09-24 17:52:21,330: DEBUG - ++ '[' 0 -eq 1 ']'
2021-09-24 17:52:21,332: DEBUG - ++ '[' 0 -eq 1 ']'
2021-09-24 17:52:21,334: DEBUG - ++ '[' 1 -eq 1 ']'
2021-09-24 17:52:21,337: DEBUG - +++ vmstat --stats --unit M
2021-09-24 17:52:21,339: DEBUG - +++ grep 'total memory'
2021-09-24 17:52:21,340: DEBUG - +++ awk '{print $1}'
2021-09-24 17:52:21,356: DEBUG - ++ local total_ram=923
2021-09-24 17:52:21,361: DEBUG - +++ vmstat --stats --unit M
2021-09-24 17:52:21,364: DEBUG - +++ grep 'total swap'
2021-09-24 17:52:21,367: DEBUG - +++ awk '{print $1}'
2021-09-24 17:52:21,382: DEBUG - ++ local total_swap=99
2021-09-24 17:52:21,384: DEBUG - ++ local total_ram_swap=1022
2021-09-24 17:52:21,386: DEBUG - ++ local ram=1022
2021-09-24 17:52:21,388: DEBUG - ++ '[' 1 -eq 1 ']'
2021-09-24 17:52:21,390: DEBUG - ++ ram=923
2021-09-24 17:52:21,392: DEBUG - ++ echo 923
2021-09-24 17:52:21,395: DEBUG - + local max_ram=923
2021-09-24 17:52:21,396: DEBUG - + php_max_children=13
2021-09-24 17:52:21,397: DEBUG - + '[' dynamic = static ']'
2021-09-24 17:52:21,399: DEBUG - ++ at_least_one 13
2021-09-24 17:52:21,400: DEBUG - ++ '[' 13 -le 0 ']'
2021-09-24 17:52:21,402: DEBUG - ++ echo 13
2021-09-24 17:52:21,403: DEBUG - + php_max_children=13
2021-09-24 17:52:21,405: DEBUG - ++ nproc
2021-09-24 17:52:21,407: DEBUG - + local core_number=4
2021-09-24 17:52:21,410: DEBUG - + local max_proc=16
2021-09-24 17:52:21,412: DEBUG - + '[' 13 -gt 16 ']'
2021-09-24 17:52:21,414: DEBUG - ++ ynh_app_setting_get --app=dolibarr --key=php_forced_max_children
2021-09-24 17:52:21,618: DEBUG - ++ [[ php_forced_max_children =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:52:21,621: DEBUG - ++ ynh_app_setting get dolibarr php_forced_max_children
2021-09-24 17:52:22,127: DEBUG - + local php_forced_max_children=
2021-09-24 17:52:22,128: DEBUG - + '[' -n '' ']'
2021-09-24 17:52:22,129: DEBUG - + '[' dynamic = dynamic ']'
2021-09-24 17:52:22,130: DEBUG - + php_min_spare_servers=2
2021-09-24 17:52:22,133: DEBUG - ++ at_least_one 2
2021-09-24 17:52:22,136: DEBUG - ++ '[' 2 -le 0 ']'
2021-09-24 17:52:22,137: DEBUG - ++ echo 2
2021-09-24 17:52:22,139: DEBUG - + php_min_spare_servers=2
2021-09-24 17:52:22,142: DEBUG - + php_max_spare_servers=6
2021-09-24 17:52:22,144: DEBUG - ++ at_least_one 6
2021-09-24 17:52:22,146: DEBUG - ++ '[' 6 -le 0 ']'
2021-09-24 17:52:22,148: DEBUG - ++ echo 6
2021-09-24 17:52:22,150: DEBUG - + php_max_spare_servers=6
2021-09-24 17:52:22,154: DEBUG - + php_start_servers=4
2021-09-24 17:52:22,156: DEBUG - ++ at_least_one 4
2021-09-24 17:52:22,157: DEBUG - ++ '[' 4 -le 0 ']'
2021-09-24 17:52:22,159: DEBUG - ++ echo 4
2021-09-24 17:52:22,160: DEBUG - + php_start_servers=4
2021-09-24 17:52:22,163: DEBUG - + '[' 0 -eq 1 ']'
2021-09-24 17:52:22,165: DEBUG - + local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/php-fpm.conf
2021-09-24 17:52:22,167: DEBUG - + echo '
2021-09-24 17:52:22,168: DEBUG - [__APP__]
2021-09-24 17:52:22,170: DEBUG - 
2021-09-24 17:52:22,171: DEBUG - user = __APP__
2021-09-24 17:52:22,173: DEBUG - group = __APP__
2021-09-24 17:52:22,175: DEBUG - 
2021-09-24 17:52:22,176: DEBUG - chdir = __FINALPATH__
2021-09-24 17:52:22,178: DEBUG - 
2021-09-24 17:52:22,180: DEBUG - listen = /var/run/php/php__PHPVERSION__-fpm-__APP__.sock
2021-09-24 17:52:22,183: DEBUG - listen.owner = www-data
2021-09-24 17:52:22,185: DEBUG - listen.group = www-data
2021-09-24 17:52:22,186: DEBUG - 
2021-09-24 17:52:22,188: DEBUG - pm = __PHP_PM__
2021-09-24 17:52:22,189: DEBUG - pm.max_children = __PHP_MAX_CHILDREN__
2021-09-24 17:52:22,191: DEBUG - pm.max_requests = 500
2021-09-24 17:52:22,193: DEBUG - request_terminate_timeout = 1d
2021-09-24 17:52:22,194: DEBUG - '
2021-09-24 17:52:22,196: DEBUG - + '[' dynamic = dynamic ']'
2021-09-24 17:52:22,198: DEBUG - + echo '
2021-09-24 17:52:22,200: DEBUG - pm.start_servers = __PHP_START_SERVERS__
2021-09-24 17:52:22,202: DEBUG - pm.min_spare_servers = __PHP_MIN_SPARE_SERVERS__
2021-09-24 17:52:22,204: DEBUG - pm.max_spare_servers = __PHP_MAX_SPARE_SERVERS__
2021-09-24 17:52:22,206: DEBUG - '
2021-09-24 17:52:22,207: DEBUG - + '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/extra_php-fpm.conf ']'
2021-09-24 17:52:22,209: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/extra_php-fpm.conf
2021-09-24 17:52:22,210: DEBUG - + local finalphpconf=/etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:22,212: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:22,360: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf//var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/php-fpm.conf ']'
2021-09-24 17:52:22,362: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/php-fpm.conf ']'
2021-09-24 17:52:22,364: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/php-fpm.conf
2021-09-24 17:52:22,366: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:22,421: DEBUG - + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_dolibarr.conf
2021-09-24 17:52:22,424: DEBUG - ++ ynh_app_setting_get --app=dolibarr --key=checksum__etc_php_7.3_fpm_pool.d_dolibarr.conf
2021-09-24 17:52:22,622: DEBUG - ++ [[ checksum__etc_php_7.3_fpm_pool.d_dolibarr.conf =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:52:22,625: DEBUG - ++ ynh_app_setting get dolibarr checksum__etc_php_7.3_fpm_pool.d_dolibarr.conf
2021-09-24 17:52:23,114: DEBUG - + local checksum_value=
2021-09-24 17:52:23,117: DEBUG - + backup_file_checksum=
2021-09-24 17:52:23,119: DEBUG - + '[' -n '' ']'
2021-09-24 17:52:23,120: DEBUG - + touch /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:23,122: DEBUG - + chown root:root /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:23,131: DEBUG - + chmod 640 /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:23,137: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:23,148: DEBUG - + _ynh_apply_default_permissions /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:23,150: DEBUG - + local target=/etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:23,155: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/manifest.json
2021-09-24 17:52:23,158: DEBUG - ++ tr -d '>= '
2021-09-24 17:52:23,189: DEBUG - + local ynh_requirement=4.0.0
2021-09-24 17:52:23,191: DEBUG - + '[' -z 4.0.0 ']'
2021-09-24 17:52:23,193: DEBUG - + '[' 4.0.0 == null ']'
2021-09-24 17:52:23,194: DEBUG - + dpkg --compare-versions 4.0.0 ge 4.2
2021-09-24 17:52:23,202: DEBUG - + ynh_replace_vars --file=/etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:23,262: DEBUG - + test -n /dolibarr
2021-09-24 17:52:23,265: DEBUG - + local path_url_slash_less=/dolibarr
2021-09-24 17:52:23,267: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/dolibarr/ --target_file=/etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:23,661: DEBUG - + local delimit=@
2021-09-24 17:52:23,678: DEBUG - + match_string=__PATH__/
2021-09-24 17:52:23,680: DEBUG - + replace_string=/dolibarr/
2021-09-24 17:52:23,682: DEBUG - + sed --in-place s@__PATH__/@/dolibarr/@g /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:23,684: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/dolibarr --target_file=/etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:24,136: DEBUG - + local delimit=@
2021-09-24 17:52:24,140: DEBUG - + match_string=__PATH__
2021-09-24 17:52:24,142: DEBUG - + replace_string=/dolibarr
2021-09-24 17:52:24,144: DEBUG - + sed --in-place s@__PATH__@/dolibarr@g /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:24,153: DEBUG - + test -n dolibarr
2021-09-24 17:52:24,156: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=dolibarr --target_file=/etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:24,586: DEBUG - + local delimit=@
2021-09-24 17:52:24,589: DEBUG - + match_string=__NAME__
2021-09-24 17:52:24,591: DEBUG - + replace_string=dolibarr
2021-09-24 17:52:24,593: DEBUG - + sed --in-place s@__NAME__@dolibarr@g /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:24,601: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=dolibarr --target_file=/etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:25,000: DEBUG - + local delimit=@
2021-09-24 17:52:25,002: DEBUG - + match_string=__NAMETOCHANGE__
2021-09-24 17:52:25,004: DEBUG - + replace_string=dolibarr
2021-09-24 17:52:25,005: DEBUG - + sed --in-place s@__NAMETOCHANGE__@dolibarr@g /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:25,013: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=dolibarr --target_file=/etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:25,493: DEBUG - + local delimit=@
2021-09-24 17:52:25,496: DEBUG - + match_string=__USER__
2021-09-24 17:52:25,497: DEBUG - + replace_string=dolibarr
2021-09-24 17:52:25,499: DEBUG - + sed --in-place s@__USER__@dolibarr@g /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:25,509: DEBUG - + test -n /var/www/dolibarr
2021-09-24 17:52:25,512: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/dolibarr --target_file=/etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:25,996: DEBUG - + local delimit=@
2021-09-24 17:52:25,999: DEBUG - + match_string=__FINALPATH__
2021-09-24 17:52:26,000: DEBUG - + replace_string=/var/www/dolibarr
2021-09-24 17:52:26,002: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/dolibarr@g /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:26,012: DEBUG - + test -n 7.3
2021-09-24 17:52:26,015: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:26,479: DEBUG - + local delimit=@
2021-09-24 17:52:26,481: DEBUG - + match_string=__PHPVERSION__
2021-09-24 17:52:26,483: DEBUG - + replace_string=7.3
2021-09-24 17:52:26,484: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:26,492: DEBUG - + test -n ''
2021-09-24 17:52:26,494: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g" ))
2021-09-24 17:52:26,499: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:26,503: DEBUG - ++ sort --unique
2021-09-24 17:52:26,505: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2021-09-24 17:52:26,522: DEBUG - + local delimit=@
2021-09-24 17:52:26,523: DEBUG - + for one_var in "${uniques_vars[@]}"
2021-09-24 17:52:26,525: DEBUG - + [[ -v app ]]
2021-09-24 17:52:26,526: DEBUG - + match_string=__APP__
2021-09-24 17:52:26,528: DEBUG - + match_string=__APP__
2021-09-24 17:52:26,529: DEBUG - + replace_string=dolibarr
2021-09-24 17:52:26,534: DEBUG - + replace_string=dolibarr
2021-09-24 17:52:26,535: DEBUG - + replace_string=dolibarr
2021-09-24 17:52:26,537: DEBUG - + sed --in-place s@__APP__@dolibarr@g /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:26,539: DEBUG - + for one_var in "${uniques_vars[@]}"
2021-09-24 17:52:26,540: DEBUG - + [[ -v php_max_children ]]
2021-09-24 17:52:26,542: DEBUG - + match_string=__PHP_MAX_CHILDREN__
2021-09-24 17:52:26,543: DEBUG - + match_string=__PHP_MAX_CHILDREN__
2021-09-24 17:52:26,545: DEBUG - + replace_string=13
2021-09-24 17:52:26,548: DEBUG - + replace_string=13
2021-09-24 17:52:26,549: DEBUG - + replace_string=13
2021-09-24 17:52:26,551: DEBUG - + sed --in-place s@__PHP_MAX_CHILDREN__@13@g /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:26,553: DEBUG - + for one_var in "${uniques_vars[@]}"
2021-09-24 17:52:26,555: DEBUG - + [[ -v php_max_spare_servers ]]
2021-09-24 17:52:26,556: DEBUG - + match_string=__PHP_MAX_SPARE_SERVERS__
2021-09-24 17:52:26,558: DEBUG - + match_string=__PHP_MAX_SPARE_SERVERS__
2021-09-24 17:52:26,559: DEBUG - + replace_string=6
2021-09-24 17:52:26,562: DEBUG - + replace_string=6
2021-09-24 17:52:26,564: DEBUG - + replace_string=6
2021-09-24 17:52:26,566: DEBUG - + sed --in-place s@__PHP_MAX_SPARE_SERVERS__@6@g /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:26,568: DEBUG - + for one_var in "${uniques_vars[@]}"
2021-09-24 17:52:26,569: DEBUG - + [[ -v php_min_spare_servers ]]
2021-09-24 17:52:26,571: DEBUG - + match_string=__PHP_MIN_SPARE_SERVERS__
2021-09-24 17:52:26,573: DEBUG - + match_string=__PHP_MIN_SPARE_SERVERS__
2021-09-24 17:52:26,574: DEBUG - + replace_string=2
2021-09-24 17:52:26,576: DEBUG - + replace_string=2
2021-09-24 17:52:26,578: DEBUG - + replace_string=2
2021-09-24 17:52:26,580: DEBUG - + sed --in-place s@__PHP_MIN_SPARE_SERVERS__@2@g /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:26,582: DEBUG - + for one_var in "${uniques_vars[@]}"
2021-09-24 17:52:26,584: DEBUG - + [[ -v php_pm ]]
2021-09-24 17:52:26,586: DEBUG - + match_string=__PHP_PM__
2021-09-24 17:52:26,587: DEBUG - + match_string=__PHP_PM__
2021-09-24 17:52:26,589: DEBUG - + replace_string=dynamic
2021-09-24 17:52:26,590: DEBUG - + replace_string=dynamic
2021-09-24 17:52:26,592: DEBUG - + replace_string=dynamic
2021-09-24 17:52:26,595: DEBUG - + sed --in-place s@__PHP_PM__@dynamic@g /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:26,596: DEBUG - + for one_var in "${uniques_vars[@]}"
2021-09-24 17:52:26,598: DEBUG - + [[ -v php_start_servers ]]
2021-09-24 17:52:26,600: DEBUG - + match_string=__PHP_START_SERVERS__
2021-09-24 17:52:26,601: DEBUG - + match_string=__PHP_START_SERVERS__
2021-09-24 17:52:26,603: DEBUG - + replace_string=4
2021-09-24 17:52:26,605: DEBUG - + replace_string=4
2021-09-24 17:52:26,607: DEBUG - + replace_string=4
2021-09-24 17:52:26,608: DEBUG - + sed --in-place s@__PHP_START_SERVERS__@4@g /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:26,611: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:26,674: DEBUG - + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_dolibarr.conf
2021-09-24 17:52:26,680: DEBUG - ++ md5sum /etc/php/7.3/fpm/pool.d/dolibarr.conf
2021-09-24 17:52:26,683: DEBUG - ++ cut '--delimiter= ' --fields=1
2021-09-24 17:52:26,693: DEBUG - + ynh_app_setting_set --app=dolibarr --key=checksum__etc_php_7.3_fpm_pool.d_dolibarr.conf --value=6912181b8029f8ee17ec090e412eb11a
2021-09-24 17:52:27,107: DEBUG - + [[ checksum__etc_php_7.3_fpm_pool.d_dolibarr.conf =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:52:27,110: DEBUG - + ynh_app_setting set dolibarr checksum__etc_php_7.3_fpm_pool.d_dolibarr.conf 6912181b8029f8ee17ec090e412eb11a
2021-09-24 17:52:27,638: DEBUG - + '[' -n '' ']'
2021-09-24 17:52:27,640: DEBUG - + unset backup_file_checksum
2021-09-24 17:52:27,642: DEBUG - + '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/php-fpm.ini ']'
2021-09-24 17:52:27,643: DEBUG - + '[' 0 -eq 1 ']'
2021-09-24 17:52:27,644: DEBUG - + php-fpm7.3 --test
2021-09-24 17:52:30,635: DEBUG - + ynh_systemd_action --service_name=php7.3-fpm --action=reload
2021-09-24 17:52:31,264: DEBUG - + service_name=php7.3-fpm
2021-09-24 17:52:31,268: DEBUG - + action=reload
2021-09-24 17:52:31,270: DEBUG - + line_match=
2021-09-24 17:52:31,272: DEBUG - + length=20
2021-09-24 17:52:31,273: DEBUG - + log_path=/var/log/php7.3-fpm/php7.3-fpm.log
2021-09-24 17:52:31,274: DEBUG - + timeout=300
2021-09-24 17:52:31,275: DEBUG - + '[' reload == stop ']'
2021-09-24 17:52:31,277: DEBUG - + [[ -n '' ]]
2021-09-24 17:52:31,278: DEBUG - + '[' reload == reload ']'
2021-09-24 17:52:31,279: DEBUG - + action=reload-or-restart
2021-09-24 17:52:31,280: DEBUG - + systemctl reload-or-restart php7.3-fpm
2021-09-24 17:52:31,478: DEBUG - + [[ -n '' ]]
2021-09-24 17:52:31,486: DEBUG - ++ ynh_app_setting_get --app=dolibarr --key=phpversion
2021-09-24 17:52:31,739: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:52:31,743: DEBUG - ++ ynh_app_setting get dolibarr phpversion
2021-09-24 17:52:32,282: DEBUG - + phpversion=7.3
2021-09-24 17:52:32,284: DEBUG - + '[' -z 7.3 ']'
2021-09-24 17:52:32,755: DEBUG - + echo '[#########...........] > Configuring NGINX web server...'
2021-09-24 17:52:32,757: INFO - [#########...........] > Configuring NGINX web server...
2021-09-24 17:52:32,764: DEBUG - + ynh_add_nginx_config
2021-09-24 17:52:32,766: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:32,768: DEBUG - + '[' /dolibarr '!=' / ']'
2021-09-24 17:52:32,770: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/nginx.conf
2021-09-24 17:52:33,213: DEBUG - + local delimit=@
2021-09-24 17:52:33,215: DEBUG - + match_string='^#sub_path_only'
2021-09-24 17:52:33,217: DEBUG - + replace_string=
2021-09-24 17:52:33,219: DEBUG - + sed --in-place 's@^#sub_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/nginx.conf
2021-09-24 17:52:33,228: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/nginx.conf --destination=/etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:33,438: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf//var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/nginx.conf ']'
2021-09-24 17:52:33,440: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/nginx.conf ']'
2021-09-24 17:52:33,442: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/nginx.conf
2021-09-24 17:52:33,444: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:33,503: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_dolibarr.conf
2021-09-24 17:52:33,507: DEBUG - ++ ynh_app_setting_get --app=dolibarr --key=checksum__etc_nginx_conf.d_maindomain.tld.d_dolibarr.conf
2021-09-24 17:52:33,712: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_dolibarr.conf =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:52:33,715: DEBUG - ++ ynh_app_setting get dolibarr checksum__etc_nginx_conf.d_maindomain.tld.d_dolibarr.conf
2021-09-24 17:52:36,023: DEBUG - + local checksum_value=
2021-09-24 17:52:36,027: DEBUG - + backup_file_checksum=
2021-09-24 17:52:36,029: DEBUG - + '[' -n '' ']'
2021-09-24 17:52:36,031: DEBUG - + touch /etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:36,034: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:36,044: DEBUG - + chmod 640 /etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:36,054: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:36,066: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:36,069: DEBUG - + local target=/etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:36,074: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_9_pjckzq/manifest.json
2021-09-24 17:52:36,077: DEBUG - ++ tr -d '>= '
2021-09-24 17:52:36,115: DEBUG - + local ynh_requirement=4.0.0
2021-09-24 17:52:36,119: DEBUG - + '[' -z 4.0.0 ']'
2021-09-24 17:52:36,120: DEBUG - + '[' 4.0.0 == null ']'
2021-09-24 17:52:36,122: DEBUG - + dpkg --compare-versions 4.0.0 ge 4.2
2021-09-24 17:52:36,132: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:36,202: DEBUG - + test -n /dolibarr
2021-09-24 17:52:36,205: DEBUG - + local path_url_slash_less=/dolibarr
2021-09-24 17:52:36,207: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/dolibarr/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:36,619: DEBUG - + local delimit=@
2021-09-24 17:52:36,622: DEBUG - + match_string=__PATH__/
2021-09-24 17:52:36,624: DEBUG - + replace_string=/dolibarr/
2021-09-24 17:52:36,625: DEBUG - + sed --in-place s@__PATH__/@/dolibarr/@g /etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:37,275: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/dolibarr --target_file=/etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:37,719: DEBUG - + local delimit=@
2021-09-24 17:52:37,722: DEBUG - + match_string=__PATH__
2021-09-24 17:52:37,724: DEBUG - + replace_string=/dolibarr
2021-09-24 17:52:37,726: DEBUG - + sed --in-place s@__PATH__@/dolibarr@g /etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:37,734: DEBUG - + test -n dolibarr
2021-09-24 17:52:37,737: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=dolibarr --target_file=/etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:38,168: DEBUG - + local delimit=@
2021-09-24 17:52:38,172: DEBUG - + match_string=__NAME__
2021-09-24 17:52:38,174: DEBUG - + replace_string=dolibarr
2021-09-24 17:52:38,175: DEBUG - + sed --in-place s@__NAME__@dolibarr@g /etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:38,186: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=dolibarr --target_file=/etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:38,698: DEBUG - + local delimit=@
2021-09-24 17:52:38,701: DEBUG - + match_string=__NAMETOCHANGE__
2021-09-24 17:52:38,703: DEBUG - + replace_string=dolibarr
2021-09-24 17:52:38,705: DEBUG - + sed --in-place s@__NAMETOCHANGE__@dolibarr@g /etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:38,715: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=dolibarr --target_file=/etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:39,149: DEBUG - + local delimit=@
2021-09-24 17:52:39,152: DEBUG - + match_string=__USER__
2021-09-24 17:52:39,153: DEBUG - + replace_string=dolibarr
2021-09-24 17:52:39,155: DEBUG - + sed --in-place s@__USER__@dolibarr@g /etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:39,163: DEBUG - + test -n /var/www/dolibarr
2021-09-24 17:52:39,166: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/dolibarr --target_file=/etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:39,610: DEBUG - + local delimit=@
2021-09-24 17:52:39,613: DEBUG - + match_string=__FINALPATH__
2021-09-24 17:52:39,615: DEBUG - + replace_string=/var/www/dolibarr
2021-09-24 17:52:39,616: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/dolibarr@g /etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:39,627: DEBUG - + test -n 7.3
2021-09-24 17:52:39,630: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:40,124: DEBUG - + local delimit=@
2021-09-24 17:52:40,127: DEBUG - + match_string=__PHPVERSION__
2021-09-24 17:52:40,129: DEBUG - + replace_string=7.3
2021-09-24 17:52:40,131: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:40,139: DEBUG - + test -n ''
2021-09-24 17:52:40,141: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g" ))
2021-09-24 17:52:40,150: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:40,154: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2021-09-24 17:52:40,158: DEBUG - ++ sort --unique
2021-09-24 17:52:40,181: DEBUG - + local delimit=@
2021-09-24 17:52:40,183: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:40,250: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_dolibarr.conf
2021-09-24 17:52:40,259: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/dolibarr.conf
2021-09-24 17:52:40,263: DEBUG - ++ cut '--delimiter= ' --fields=1
2021-09-24 17:52:40,282: DEBUG - + ynh_app_setting_set --app=dolibarr --key=checksum__etc_nginx_conf.d_maindomain.tld.d_dolibarr.conf --value=42d09e8e1951e6c69dd9b5afb91b2f14
2021-09-24 17:52:40,740: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_dolibarr.conf =~ (unprotected|protected|skipped)_ ]]
2021-09-24 17:52:40,744: DEBUG - + ynh_app_setting set dolibarr checksum__etc_nginx_conf.d_maindomain.tld.d_dolibarr.conf 42d09e8e1951e6c69dd9b5afb91b2f14
2021-09-24 17:52:41,338: DEBUG - + '[' -n '' ']'
2021-09-24 17:52:41,340: DEBUG - + unset backup_file_checksum
2021-09-24 17:52:41,343: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2021-09-24 17:52:41,939: DEBUG - + service_name=nginx
2021-09-24 17:52:41,941: DEBUG - + action=reload
2021-09-24 17:52:41,944: DEBUG - + line_match=
2021-09-24 17:52:41,946: DEBUG - + length=20
2021-09-24 17:52:41,949: DEBUG - + log_path=/var/log/nginx/nginx.log
2021-09-24 17:52:41,951: DEBUG - + timeout=300
2021-09-24 17:52:41,956: DEBUG - + '[' reload == stop ']'
2021-09-24 17:52:41,958: DEBUG - + [[ -n '' ]]
2021-09-24 17:52:41,960: DEBUG - + '[' reload == reload ']'
2021-09-24 17:52:41,962: DEBUG - + action=reload-or-restart
2021-09-24 17:52:41,964: DEBUG - + systemctl reload-or-restart nginx
2021-09-24 17:52:42,533: DEBUG - + [[ -n '' ]]
2021-09-24 17:52:42,535: DEBUG - + finstall=/var/www/dolibarr/htdocs/install/install.forced.php
2021-09-24 17:52:42,537: DEBUG - + cp ../conf/install.forced.php /var/www/dolibarr/htdocs/install/install.forced.php
2021-09-24 17:52:42,557: DEBUG - + ynh_replace_string --match_string=__DB_NAME__ --replace_string=dolibarr --target_file=/var/www/dolibarr/htdocs/install/install.forced.php
2021-09-24 17:52:43,055: DEBUG - + local delimit=@
2021-09-24 17:52:43,058: DEBUG - + match_string=__DB_NAME__
2021-09-24 17:52:43,060: DEBUG - + replace_string=dolibarr
2021-09-24 17:52:43,063: DEBUG - + sed --in-place s@__DB_NAME__@dolibarr@g /var/www/dolibarr/htdocs/install/install.forced.php
2021-09-24 17:52:43,074: DEBUG - + ynh_replace_string --match_string=__DB_USER__ --replace_string=dolibarr --target_file=/var/www/dolibarr/htdocs/install/install.forced.php
2021-09-24 17:52:43,601: DEBUG - + local delimit=@
2021-09-24 17:52:43,604: DEBUG - + match_string=__DB_USER__
2021-09-24 17:52:43,607: DEBUG - + replace_string=dolibarr
2021-09-24 17:52:43,609: DEBUG - + sed --in-place s@__DB_USER__@dolibarr@g /var/www/dolibarr/htdocs/install/install.forced.php
2021-09-24 17:52:43,617: DEBUG - + ynh_replace_string --match_string=__DB_PWD__ --replace_string=********** --target_file=/var/www/dolibarr/htdocs/install/install.forced.php
2021-09-24 17:52:44,092: DEBUG - + local delimit=@
2021-09-24 17:52:44,095: DEBUG - + match_string=__DB_PWD__
2021-09-24 17:52:44,098: DEBUG - + replace_string=**********
2021-09-24 17:52:44,104: DEBUG - + sed --in-place s@__DB_PWD__@**********@g /var/www/dolibarr/htdocs/install/install.forced.php
2021-09-24 17:52:44,110: DEBUG - + ynh_replace_string --match_string=__ADMIN__ --replace_string=anthony --target_file=/var/www/dolibarr/htdocs/install/install.forced.php
2021-09-24 17:52:44,588: DEBUG - + local delimit=@
2021-09-24 17:52:44,590: DEBUG - + match_string=__ADMIN__
2021-09-24 17:52:44,593: DEBUG - + replace_string=anthony
2021-09-24 17:52:44,594: DEBUG - + sed --in-place s@__ADMIN__@anthony@g /var/www/dolibarr/htdocs/install/install.forced.php
2021-09-24 17:52:44,602: DEBUG - + fhook=../hooks/post_user_create
2021-09-24 17:52:44,605: DEBUG - + ynh_replace_string --match_string=__APP__ --replace_string=dolibarr --target_file=../hooks/post_user_create
2021-09-24 17:52:45,033: DEBUG - + local delimit=@
2021-09-24 17:52:45,036: DEBUG - + match_string=__APP__
2021-09-24 17:52:45,038: DEBUG - + replace_string=dolibarr
2021-09-24 17:52:45,040: DEBUG - + sed --in-place s@__APP__@dolibarr@g ../hooks/post_user_create
2021-09-24 17:52:45,048: DEBUG - + ynh_replace_string --match_string=__MEMBER__ --replace_string=0 --target_file=../hooks/post_user_create
2021-09-24 17:52:45,493: DEBUG - + local delimit=@
2021-09-24 17:52:45,496: DEBUG - + match_string=__MEMBER__
2021-09-24 17:52:45,498: DEBUG - + replace_string=0
2021-09-24 17:52:45,500: DEBUG - + sed --in-place s@__MEMBER__@0@g ../hooks/post_user_create
2021-09-24 17:52:45,510: DEBUG - + ynh_replace_string --match_string=__SRCPATH__ --replace_string=/var/www/dolibarr --target_file=../hooks/post_user_create
2021-09-24 17:52:46,032: DEBUG - + local delimit=@
2021-09-24 17:52:46,036: DEBUG - + match_string=__SRCPATH__
2021-09-24 17:52:46,037: DEBUG - + replace_string=/var/www/dolibarr
2021-09-24 17:52:46,039: DEBUG - + sed --in-place s@__SRCPATH__@/var/www/dolibarr@g ../hooks/post_user_create
2021-09-24 17:52:46,050: DEBUG - + chown -R dolibarr: /var/www/dolibarr
2021-09-24 17:52:47,215: DEBUG - + echo '[#########...........] > Configuring permissions...'
2021-09-24 17:52:47,219: INFO - [#########...........] > Configuring permissions...
2021-09-24 17:52:47,224: DEBUG - + ynh_permission_update --permission=main --add=visitors
2021-09-24 17:52:47,823: DEBUG - + add=visitors
2021-09-24 17:52:47,827: DEBUG - + remove=
2021-09-24 17:52:47,829: DEBUG - + label=
2021-09-24 17:52:47,830: DEBUG - + show_tile=
2021-09-24 17:52:47,833: DEBUG - + protected=
2021-09-24 17:52:47,834: DEBUG - + [[ -n visitors ]]
2021-09-24 17:52:47,836: DEBUG - + add=',add=['\''visitors'\'']'
2021-09-24 17:52:47,838: DEBUG - + [[ -n '' ]]
2021-09-24 17:52:47,840: DEBUG - + [[ -n '' ]]
2021-09-24 17:52:47,841: DEBUG - + [[ -n '' ]]
2021-09-24 17:52:47,843: DEBUG - + [[ -n '' ]]
2021-09-24 17:52:47,844: DEBUG - + yunohost tools shell -c 'from yunohost.permission import user_permission_update; user_permission_update('\''dolibarr.main'\'' ,add=['\''visitors'\'']     , force=True)'
2021-09-24 17:52:54,089: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2021-09-24 17:52:54,610: DEBUG - + service_name=nginx
2021-09-24 17:53:05,585: DEBUG - + action=reload
2021-09-24 17:53:05,588: DEBUG - + line_match=
2021-09-24 17:53:05,591: DEBUG - + length=20
2021-09-24 17:53:05,593: DEBUG - + log_path=/var/log/nginx/nginx.log
2021-09-24 17:53:05,596: DEBUG - + timeout=300
2021-09-24 17:53:05,598: DEBUG - + '[' reload == stop ']'
2021-09-24 17:53:05,600: DEBUG - + [[ -n '' ]]
2021-09-24 17:53:05,603: DEBUG - + '[' reload == reload ']'
2021-09-24 17:53:05,605: DEBUG - + action=reload-or-restart
2021-09-24 17:53:05,607: DEBUG - + systemctl reload-or-restart nginx
2021-09-24 17:53:05,609: DEBUG - + [[ -n '' ]]
2021-09-24 17:53:05,611: DEBUG - + mkdir -p /var/log/dolibarr/
2021-09-24 17:53:06,127: DEBUG - + echo '[#########...........] > Finalizing installation...'
2021-09-24 17:53:06,129: INFO - [#########...........] > Finalizing installation...
2021-09-24 17:53:06,596: DEBUG - + echo '[#########...........] > Generate fileconf'
2021-09-24 17:53:06,599: INFO - [#########...........] > Generate fileconf
2021-09-24 17:53:06,606: DEBUG - + ynh_local_curl /install/fileconf.php testpost=ok
2021-09-24 17:53:06,608: DEBUG - ++ ynh_normalize_url_path /install/fileconf.php
2021-09-24 17:53:06,668: DEBUG - ++ test -n /install/fileconf.php
2021-09-24 17:53:06,671: DEBUG - ++ '[' / '!=' / ']'
2021-09-24 17:53:06,677: DEBUG - ++ '[' p == / ']'
2021-09-24 17:53:06,679: DEBUG - ++ echo /install/fileconf.php
2021-09-24 17:53:06,681: DEBUG - + local local_page=/install/fileconf.php
2021-09-24 17:53:06,682: DEBUG - + local full_path=/dolibarr/install/fileconf.php
2021-09-24 17:53:06,683: DEBUG - + '[' /dolibarr == / ']'
2021-09-24 17:53:06,684: DEBUG - + local full_page_url=https://localhost/dolibarr/install/fileconf.php
2021-09-24 17:53:06,685: DEBUG - + local POST_data=
2021-09-24 17:53:06,686: DEBUG - + local arg=
2021-09-24 17:53:06,687: DEBUG - + for arg in "${@:2}"
2021-09-24 17:53:06,688: DEBUG - + POST_data='testpost=ok&'
2021-09-24 17:53:06,689: DEBUG - + '[' -n 'testpost=ok&' ']'
2021-09-24 17:53:06,690: DEBUG - + POST_data='--data testpost=ok'
2021-09-24 17:53:06,691: DEBUG - + sleep 2
2021-09-24 17:53:08,685: DEBUG - + local cookiefile=/tmp/ynh-dolibarr-cookie.txt
2021-09-24 17:53:08,688: DEBUG - + touch /tmp/ynh-dolibarr-cookie.txt
2021-09-24 17:53:08,695: DEBUG - + chown root /tmp/ynh-dolibarr-cookie.txt
2021-09-24 17:53:08,719: DEBUG - + chmod 700 /tmp/ynh-dolibarr-cookie.txt
2021-09-24 17:53:08,728: DEBUG - + curl --silent --show-error --insecure --location --header 'Host: maindomain.tld' --resolve maindomain.tld:443:127.0.0.1 --data testpost=ok https://localhost/dolibarr/install/fileconf.php --cookie-jar /tmp/ynh-dolibarr-cookie.txt --cookie /tmp/ynh-dolibarr-cookie.txt
2021-09-24 17:53:09,648: DEBUG - <!DOCTYPE HTML>
2021-09-24 17:53:09,649: DEBUG - <html>
2021-09-24 17:53:09,650: DEBUG - <head>
2021-09-24 17:53:09,664: DEBUG - <meta charset="UTF-8">
2021-09-24 17:53:09,666: DEBUG - <meta name="viewport" content="width=device-width, initial-scale=1.0">
2021-09-24 17:53:09,667: DEBUG - <meta name="generator" content="Dolibarr installer">
2021-09-24 17:53:09,669: DEBUG - <link rel="stylesheet" type="text/css" href="default.css">
2021-09-24 17:53:09,670: DEBUG - <!-- Includes CSS for JQuery -->
2021-09-24 17:53:09,672: DEBUG - <link rel="stylesheet" type="text/css" href="../includes/jquery/css/base/jquery-ui.min.css" />
2021-09-24 17:53:09,675: DEBUG - <!-- Includes JS for JQuery -->
2021-09-24 17:53:09,677: DEBUG - <script type="text/javascript" src="../includes/jquery/js/jquery.min.js"></script>
2021-09-24 17:53:09,679: DEBUG - <script type="text/javascript" src="../includes/jquery/js/jquery-ui.min.js"></script>
2021-09-24 17:53:09,681: DEBUG - <title>Dolibarr install or upgrade</title>
2021-09-24 17:53:09,683: DEBUG - <script type="text/javascript" src="/ynh_portal.js"></script><link type="text/css" rel="stylesheet" href="/ynh_overlay.css"><script type="text/javascript" src="/ynhtheme/custom_portal.js"></script><link type="text/css" rel="stylesheet" href="/ynhtheme/custom_overlay.css"></head>
2021-09-24 17:53:09,684: DEBUG - <body>
2021-09-24 17:53:09,686: DEBUG - <div class="divlogoinstall" style="text-align:center"><img class="imglogoinstall" src="../theme/dolibarr_logo.svg" alt="Dolibarr logo" width="300px"><br>14.0.2</div><br><span class="titre">Dolibarr install or upgrade - Configuration file</span>
2021-09-24 17:53:09,688: DEBUG - <form name="forminstall" style="width: 100%" action="step1.php" method="POST">
2021-09-24 17:53:09,689: DEBUG - <input type="hidden" name="testpost" value="ok">
2021-09-24 17:53:09,691: DEBUG - <input type="hidden" name="action" value="set">
2021-09-24 17:53:09,693: DEBUG - <table class="main" width="100%"><tr><td>
2021-09-24 17:53:09,695: DEBUG - <table class="main-inside-bis" width="100%"><tr><td>
2021-09-24 17:53:09,697: DEBUG - <div><br>Welcome to your Dolibarr install</div><div>
2021-09-24 17:53:09,699: DEBUG - 
2021-09-24 17:53:09,701: DEBUG - 
2021-09-24 17:53:09,703: DEBUG - <table class="nobordernopadding hidewhennoedit">
2021-09-24 17:53:09,705: DEBUG - 
2021-09-24 17:53:09,706: DEBUG - 	<tr>
2021-09-24 17:53:09,708: DEBUG - 		<td colspan="3" class="label">
2021-09-24 17:53:09,709: DEBUG - 		<h3><img class="valignmiddle inline-block paddingright" src="../theme/common/octicons/build/svg/globe.svg" width="20" alt="webserver"> Web server</h3>
2021-09-24 17:53:09,711: DEBUG - 		</td>
2021-09-24 17:53:09,713: DEBUG - 	</tr>
2021-09-24 17:53:09,714: DEBUG - 
2021-09-24 17:53:09,716: DEBUG - 	<!-- Documents root $dolibarr_main_document_root -->
2021-09-24 17:53:09,718: DEBUG - 	<tr>
2021-09-24 17:53:09,721: DEBUG - 		<td class="label"><label for="main_dir"><b>Directory where web pages are stored</b></label></td>
2021-09-24 17:53:09,723: DEBUG - 		<td class="label">
2021-09-24 17:53:09,724: DEBUG - 			<input type="text"
2021-09-24 17:53:09,726: DEBUG - 				   class="minwidth300"
2021-09-24 17:53:09,728: DEBUG - 				   id="main_dir"
2021-09-24 17:53:09,729: DEBUG - 				   name="main_dir"
2021-09-24 17:53:09,731: DEBUG - 				   value="/var/www/dolibarr/htdocs"
2021-09-24 17:53:09,733: DEBUG -  disabled			>
2021-09-24 17:53:09,734: DEBUG - 		</td>
2021-09-24 17:53:09,736: DEBUG - 		<td class="comment"><span class="opacitymedium">Without the slash "/" at the end</span><br>Examples:<br>		<ul>
2021-09-24 17:53:09,738: DEBUG - 			<li>/var/www/dolibarr/htdocs</li>
2021-09-24 17:53:09,741: DEBUG - 			<li>C:/wwwroot/dolibarr/htdocs</li>
2021-09-24 17:53:09,743: DEBUG - 		</ul>
2021-09-24 17:53:09,745: DEBUG - 		</td>
2021-09-24 17:53:09,746: DEBUG - 	</tr>
2021-09-24 17:53:09,748: DEBUG - 
2021-09-24 17:53:09,749: DEBUG - 	<!-- Documents URL $dolibarr_main_data_root -->
2021-09-24 17:53:09,751: DEBUG - 	<tr>
2021-09-24 17:53:09,752: DEBUG - 		<td class="label"><label for="main_data_dir"><b>Directory to store uploaded and generated documents</b></label></td>
2021-09-24 17:53:09,754: DEBUG - 				<td class="label">
2021-09-24 17:53:09,756: DEBUG - 			<input type="text"
2021-09-24 17:53:09,757: DEBUG - 				   class="minwidth300"
2021-09-24 17:53:09,759: DEBUG - 				   id="main_data_dir"
2021-09-24 17:53:09,761: DEBUG - 				   name="main_data_dir"
2021-09-24 17:53:09,763: DEBUG - 				   value="/var/www/dolibarr/documents"
2021-09-24 17:53:09,764: DEBUG -  disabled			>
2021-09-24 17:53:09,766: DEBUG - 		</td>
2021-09-24 17:53:09,767: DEBUG - 		<td class="comment"><span class="opacitymedium">Without the slash "/" at the end</span><br><span class="warning">IMPORTANT</span>: You must use a directory that is outside of the web pages (so do not use a subdirectory of previous parameter).<br>Examples:<br>		<ul>
2021-09-24 17:53:09,769: DEBUG - 			<li>/var/lib/dolibarr/documents</li>
2021-09-24 17:53:09,772: DEBUG - 			<li>C:/My Documents/dolibarr/documents</li>
2021-09-24 17:53:09,774: DEBUG - 		</ul>
2021-09-24 17:53:09,776: DEBUG - 		</td>
2021-09-24 17:53:09,778: DEBUG - 	</tr>
2021-09-24 17:53:09,779: DEBUG - 
2021-09-24 17:53:09,781: DEBUG - 	<!-- Root URL $dolibarr_main_url_root -->
2021-09-24 17:53:09,782: DEBUG - 		<tr>
2021-09-24 17:53:09,784: DEBUG - 		<td class="label"><label for="main_url"><b>URL Root</b></label>
2021-09-24 17:53:09,785: DEBUG - 		</td>
2021-09-24 17:53:09,787: DEBUG - 		<td class="label">
2021-09-24 17:53:09,788: DEBUG - 			<input type="text"
2021-09-24 17:53:09,790: DEBUG - 				   class="minwidth300"
2021-09-24 17:53:09,792: DEBUG - 				   id="main_url"
2021-09-24 17:53:09,794: DEBUG - 				   name="main_url"
2021-09-24 17:53:09,796: DEBUG - 				   value="https://maindomain.tld/dolibarr "
2021-09-24 17:53:09,798: DEBUG -  disabled			>
2021-09-24 17:53:09,800: DEBUG - 		</td>
2021-09-24 17:53:09,802: DEBUG - 		<td class="comment">Examples:<br>		<ul>
2021-09-24 17:53:09,803: DEBUG - 			<li>http://localhost/</li>
2021-09-24 17:53:09,805: DEBUG - 			<li>http://www.myserver.com:8180/dolibarr</li>
2021-09-24 17:53:09,806: DEBUG - 			<li>https://www.myvirtualfordolibarr.com/</li>
2021-09-24 17:53:09,808: DEBUG - 		</ul>
2021-09-24 17:53:09,809: DEBUG - 		</td>
2021-09-24 17:53:09,811: DEBUG - 	</tr>
2021-09-24 17:53:09,812: DEBUG - 
2021-09-24 17:53:09,814: DEBUG - 		<tr>
2021-09-24 17:53:09,816: DEBUG - 					<td class="label"><label for="main_force_https">Force secure connections (https)</label></td>
2021-09-24 17:53:09,819: DEBUG - 					<td class="label">
2021-09-24 17:53:09,821: DEBUG - 						<input type="checkbox"
2021-09-24 17:53:09,822: DEBUG - 							   id="main_force_https"
2021-09-24 17:53:09,824: DEBUG - 							   name="main_force_https"
2021-09-24 17:53:09,826: DEBUG - 				 checked				 disabled			>
2021-09-24 17:53:09,828: DEBUG - 		</td>
2021-09-24 17:53:09,829: DEBUG - 		<td class="comment">Check this option to force secure connections (https).<br>This requires that the web server is configured with an SSL certificate.		</td>
2021-09-24 17:53:09,831: DEBUG - 
2021-09-24 17:53:09,832: DEBUG - 	</tr>
2021-09-24 17:53:09,834: DEBUG - 
2021-09-24 17:53:09,836: DEBUG - 	<!-- Dolibarr database -->
2021-09-24 17:53:09,838: DEBUG - 
2021-09-24 17:53:09,840: DEBUG - 	<tr>
2021-09-24 17:53:09,842: DEBUG - 		<td colspan="3" class="label"><br>
2021-09-24 17:53:09,844: DEBUG - 		<h3><img class="valignmiddle inline-block paddingright" src="../theme/common/octicons/build/svg/database.svg" width="20" alt="webserver"> Dolibarr Database</h3>
2021-09-24 17:53:09,846: DEBUG - 		</td>
2021-09-24 17:53:09,847: DEBUG - 	</tr>
2021-09-24 17:53:09,849: DEBUG - 
2021-09-24 17:53:09,850: DEBUG - 	<tr>
2021-09-24 17:53:09,852: DEBUG - 		<td class="label"><label for="db_name"><b>Database name</b></label></td>
2021-09-24 17:53:09,853: DEBUG - 		<td class="label">
2021-09-24 17:53:09,855: DEBUG - 			<input type="text"
2021-09-24 17:53:09,857: DEBUG - 				   id="db_name"
2021-09-24 17:53:09,858: DEBUG - 				   name="db_name"
2021-09-24 17:53:09,860: DEBUG - 				   value="dolibarr"
2021-09-24 17:53:09,862: DEBUG - 				 disabled			>
2021-09-24 17:53:09,863: DEBUG - 		</td>
2021-09-24 17:53:09,865: DEBUG - 		<td class="comment">Database name</td>
2021-09-24 17:53:09,867: DEBUG - 	</tr>
2021-09-24 17:53:09,868: DEBUG - 
2021-09-24 17:53:09,871: DEBUG - 
2021-09-24 17:53:09,873: DEBUG - 		<tr>
2021-09-24 17:53:09,875: DEBUG - 		<!-- Driver type -->
2021-09-24 17:53:09,876: DEBUG - 		<td class="label"><label for="db_type"><b>Driver type</b></label></td>
2021-09-24 17:53:09,878: DEBUG - 
2021-09-24 17:53:09,879: DEBUG - 		<td class="label">
2021-09-24 17:53:09,881: DEBUG - 					<select id="db_type"
2021-09-24 17:53:09,883: DEBUG - 					name="db_type"
2021-09-24 17:53:09,884: DEBUG - 				 disabled			>
2021-09-24 17:53:09,886: DEBUG - 				<option value="mysqli" selected>mysqli&nbsp; &nbsp; (MySQL or MariaDB >= 5.0.3)</option><option value="pgsql" disabled>pgsql&nbsp; &nbsp; (PostgreSQL >= 9.0.0) - Not available in this PHP</option>			</select>
2021-09-24 17:53:09,888: DEBUG - 
2021-09-24 17:53:09,889: DEBUG - 		</td>
2021-09-24 17:53:09,892: DEBUG - 		<td class="comment">Database type</td>
2021-09-24 17:53:09,895: DEBUG - 
2021-09-24 17:53:09,897: DEBUG - 	</tr>
2021-09-24 17:53:09,898: DEBUG - 
2021-09-24 17:53:09,900: DEBUG - 	<tr class="hidesqlite">
2021-09-24 17:53:09,901: DEBUG - 		<td class="label"><label for="db_host"><b>Database server</b></label></td>
2021-09-24 17:53:09,903: DEBUG - 		<td class="label">
2021-09-24 17:53:09,904: DEBUG - 			<input type="text"
2021-09-24 17:53:09,906: DEBUG - 				   id="db_host"
2021-09-24 17:53:09,907: DEBUG - 				   name="db_host"
2021-09-24 17:53:09,909: DEBUG - 				   value="localhost"
2021-09-24 17:53:09,911: DEBUG - 				 disabled			>
2021-09-24 17:53:09,914: DEBUG - 		</td>
2021-09-24 17:53:09,916: DEBUG - 		<td class="comment">Name or ip address for the database server. Usually 'localhost' when the database server is hosted on the same server as the web server.		</td>
2021-09-24 17:53:09,918: DEBUG - 
2021-09-24 17:53:09,919: DEBUG - 	</tr>
2021-09-24 17:53:09,921: DEBUG - 
2021-09-24 17:53:09,923: DEBUG - 	<tr class="hidesqlite">
2021-09-24 17:53:09,924: DEBUG - 		<td class="label"><label for="db_port">Port</label></td>
2021-09-24 17:53:09,926: DEBUG - 		<td class="label">
2021-09-24 17:53:09,927: DEBUG - 			<input type="text"
2021-09-24 17:53:09,929: DEBUG - 				   name="db_port"
2021-09-24 17:53:09,931: DEBUG - 				   id="db_port"
2021-09-24 17:53:09,933: DEBUG - 				   value="3306"
2021-09-24 17:53:09,936: DEBUG - 				 disabled			>
2021-09-24 17:53:09,938: DEBUG - 		</td>
2021-09-24 17:53:09,940: DEBUG - 		<td class="comment">Database server port. Keep empty if unknown.		</td>
2021-09-24 17:53:09,941: DEBUG - 
2021-09-24 17:53:09,943: DEBUG - 	</tr>
2021-09-24 17:53:09,945: DEBUG - 
2021-09-24 17:53:09,946: DEBUG - 	<tr class="hidesqlite">
2021-09-24 17:53:09,947: DEBUG - 		<td class="label"><label for="db_prefix">Database table prefix</label></td>
2021-09-24 17:53:09,949: DEBUG - 		<td class="label">
2021-09-24 17:53:09,950: DEBUG - 			<input type="text"
2021-09-24 17:53:09,952: DEBUG - 				   id="db_prefix"
2021-09-24 17:53:09,954: DEBUG - 				   name="db_prefix"
2021-09-24 17:53:09,956: DEBUG - 				   value="llx_"
2021-09-24 17:53:09,957: DEBUG - 				 disabled			>
2021-09-24 17:53:09,959: DEBUG - 		</td>
2021-09-24 17:53:09,960: DEBUG - 		<td class="comment">Database table prefix. If empty, defaults to llx_.</td>
2021-09-24 17:53:09,962: DEBUG - 	</tr>
2021-09-24 17:53:09,964: DEBUG - 
2021-09-24 17:53:09,966: DEBUG - 	<tr class="hidesqlite">
2021-09-24 17:53:09,968: DEBUG - 		<td class="label"><label for="db_create_database">Create database</label></td>
2021-09-24 17:53:09,970: DEBUG - 		<td class="label">
2021-09-24 17:53:09,972: DEBUG - 			<input type="checkbox"
2021-09-24 17:53:09,974: DEBUG - 				   id="db_create_database"
2021-09-24 17:53:09,975: DEBUG - 				   name="db_create_database"
2021-09-24 17:53:09,977: DEBUG - 								 disabled			>
2021-09-24 17:53:09,978: DEBUG - 		</td>
2021-09-24 17:53:09,980: DEBUG - 		<td class="comment">Check the box if the database does not exist yet and so must be created.<br>In this case, you must also fill in the user name and password for the superuser account at the bottom of this page.		</td>
2021-09-24 17:53:09,982: DEBUG - 	</tr>
2021-09-24 17:53:09,983: DEBUG - 
2021-09-24 17:53:09,985: DEBUG - 	<tr class="hidesqlite">
2021-09-24 17:53:09,987: DEBUG - 		<td class="label"><label for="db_user"><b>Login</b></label></td>
2021-09-24 17:53:09,989: DEBUG - 		<td class="label">
2021-09-24 17:53:09,991: DEBUG - 			<input type="text"
2021-09-24 17:53:09,993: DEBUG - 				   id="db_user"
2021-09-24 17:53:09,995: DEBUG - 				   name="db_user"
2021-09-24 17:53:09,997: DEBUG - 				   value="dolibarr"
2021-09-24 17:53:09,998: DEBUG - 				 disabled			>
2021-09-24 17:53:10,000: DEBUG - 		</td>
2021-09-24 17:53:10,002: DEBUG - 		<td class="comment">User account for the Dolibarr database owner.</td>
2021-09-24 17:53:10,003: DEBUG - 	</tr>
2021-09-24 17:53:10,005: DEBUG - 
2021-09-24 17:53:10,006: DEBUG - 	<tr class="hidesqlite">
2021-09-24 17:53:10,008: DEBUG - 		<td class="label"><label for="db_pass"><b>Password</b></label></td>
2021-09-24 17:53:10,010: DEBUG - 		<td class="label">
2021-09-24 17:53:10,013: DEBUG - 			<input type="password" class="text-security";
2021-09-24 17:53:10,015: DEBUG - 				   id="db_pass" autocomplete="off"
2021-09-24 17:53:10,016: DEBUG - 				   name="db_pass"
2021-09-24 17:53:10,018: DEBUG - 				   value="************************"
2021-09-24 17:53:10,019: DEBUG - 				 disabled			>
2021-09-24 17:53:10,021: DEBUG - 		</td>
2021-09-24 17:53:10,022: DEBUG - 		<td class="comment">Password for Dolibarr database owner.</td>
2021-09-24 17:53:10,024: DEBUG - 	</tr>
2021-09-24 17:53:10,025: DEBUG - 
2021-09-24 17:53:10,027: DEBUG - 	<tr class="hidesqlite">
2021-09-24 17:53:10,029: DEBUG - 		<td class="label"><label for="db_create_user">Create user account or grant user account permission on the Dolibarr database</label></td>
2021-09-24 17:53:10,032: DEBUG - 		<td class="label">
2021-09-24 17:53:10,034: DEBUG - 			<input type="checkbox"
2021-09-24 17:53:10,036: DEBUG - 				   id="db_create_user"
2021-09-24 17:53:10,038: DEBUG - 				   name="db_create_user"
2021-09-24 17:53:10,039: DEBUG - 								 disabled			>
2021-09-24 17:53:10,041: DEBUG - 		</td>
2021-09-24 17:53:10,042: DEBUG - 		<td class="comment">Check the box if:<br>the database user account does not yet exist and so must be created, or<br>if the user account exists but the database does not exist and permissions must be granted.<br>In this case, you must enter the user account and password and <b>also</b> the superuser account name and password at the bottom of this page. If this box is unchecked, database owner and password must already exist.		</td>
2021-09-24 17:53:10,044: DEBUG - 	</tr>
2021-09-24 17:53:10,046: DEBUG - 
2021-09-24 17:53:10,047: DEBUG - 
2021-09-24 17:53:10,049: DEBUG - 	<!-- Super access -->
2021-09-24 17:53:10,050: DEBUG - 		<tr class="hidesqlite hideroot">
2021-09-24 17:53:10,052: DEBUG - 		<td colspan="3" class="label"><br>
2021-09-24 17:53:10,054: DEBUG - 		<h3><img class="valignmiddle inline-block paddingright" src="../theme/common/octicons/build/svg/shield.svg" width="20" alt="webserver"> Database server - Superuser access</h3>
2021-09-24 17:53:10,056: DEBUG - 		</td>
2021-09-24 17:53:10,057: DEBUG - 	</tr>
2021-09-24 17:53:10,059: DEBUG - 
2021-09-24 17:53:10,060: DEBUG - 	<tr class="hidesqlite hideroot">
2021-09-24 17:53:10,062: DEBUG - 		<td class="label"><label for="db_user_root"><b>Login</b></label></td>
2021-09-24 17:53:10,063: DEBUG - 		<td class="label">
2021-09-24 17:53:10,065: DEBUG - 			<input type="text"
2021-09-24 17:53:10,067: DEBUG - 				   id="db_user_root"
2021-09-24 17:53:10,069: DEBUG - 				   name="db_user_root"
2021-09-24 17:53:10,070: DEBUG - 				   class="needroot"
2021-09-24 17:53:10,072: DEBUG - 				   value=""
2021-09-24 17:53:10,074: DEBUG - 							>
2021-09-24 17:53:10,075: DEBUG - 		</td>
2021-09-24 17:53:10,077: DEBUG - 		<td class="comment">Superuser account name (to create new databases or new users), mandatory if the database or its owner does not already exist.		<!--
2021-09-24 17:53:10,079: DEBUG - 		<br>Examples:<br>		<ul>
2021-09-24 17:53:10,080: DEBUG - 			<li>root (Mysql)</li>
2021-09-24 17:53:10,083: DEBUG - 			<li>postgres (PostgreSql)</li>
2021-09-24 17:53:10,084: DEBUG - 		</ul>
2021-09-24 17:53:10,086: DEBUG - 		</td>
2021-09-24 17:53:10,087: DEBUG - 		 -->
2021-09-24 17:53:10,089: DEBUG - 
2021-09-24 17:53:10,090: DEBUG - 	</tr>
2021-09-24 17:53:10,092: DEBUG - 	<tr class="hidesqlite hideroot">
2021-09-24 17:53:10,095: DEBUG - 		<td class="label"><label for="db_pass_root"><b>Password</b></label></td>
2021-09-24 17:53:10,097: DEBUG - 		<td class="label">
2021-09-24 17:53:10,098: DEBUG - 			<input type="password"
2021-09-24 17:53:10,100: DEBUG - 				   autocomplete="off"
2021-09-24 17:53:10,101: DEBUG - 				   id="db_pass_root"
2021-09-24 17:53:10,103: DEBUG - 				   name="db_pass_root"
2021-09-24 17:53:10,104: DEBUG - 				   class="needroot text-security"
2021-09-24 17:53:10,106: DEBUG - 				   value=""
2021-09-24 17:53:10,108: DEBUG - 							>
2021-09-24 17:53:10,109: DEBUG - 		</td>
2021-09-24 17:53:10,111: DEBUG - 		<td class="comment">Leave empty if superuser has no password (NOT recommended)		</td>
2021-09-24 17:53:10,113: DEBUG - 	</tr>
2021-09-24 17:53:10,114: DEBUG - 
2021-09-24 17:53:10,116: DEBUG - </table>
2021-09-24 17:53:10,118: DEBUG - </div>
2021-09-24 17:53:10,120: DEBUG - 
2021-09-24 17:53:10,122: DEBUG - <script type="text/javascript">
2021-09-24 17:53:10,124: DEBUG - jQuery(document).ready(function() {
2021-09-24 17:53:10,126: DEBUG - 
2021-09-24 17:53:10,127: DEBUG - 	var dbtype = jQuery("#db_type");
2021-09-24 17:53:10,130: DEBUG - 
2021-09-24 17:53:10,132: DEBUG - 	dbtype.change(function () {
2021-09-24 17:53:10,133: DEBUG - 		if (dbtype.val() == 'sqlite' || dbtype.val() == 'sqlite3') {
2021-09-24 17:53:10,135: DEBUG - 			jQuery(".hidesqlite").hide();
2021-09-24 17:53:10,136: DEBUG - 		} else {
2021-09-24 17:53:10,138: DEBUG - 			jQuery(".hidesqlite").show();
2021-09-24 17:53:10,140: DEBUG - 		}
2021-09-24 17:53:10,142: DEBUG - 
2021-09-24 17:53:10,144: DEBUG - 		// Automatically set default database ports and admin user
2021-09-24 17:53:10,146: DEBUG - 		if (dbtype.val() == 'mysql' || dbtype.val() == 'mysqli') {
2021-09-24 17:53:10,148: DEBUG - 			jQuery("#db_port").val(3306);
2021-09-24 17:53:10,149: DEBUG - 			jQuery("#db_user_root").val('root');
2021-09-24 17:53:10,151: DEBUG - 		} else if (dbtype.val() == 'pgsql') {
2021-09-24 17:53:10,153: DEBUG - 			jQuery("#db_port").val(5432);
2021-09-24 17:53:10,154: DEBUG - 			jQuery("#db_user_root").val('postgres');
2021-09-24 17:53:10,156: DEBUG - 		} else if (dbtype.val() == 'mssql') {
2021-09-24 17:53:10,157: DEBUG - 			jQuery("#db_port").val(1433);
2021-09-24 17:53:10,159: DEBUG - 			jQuery("#db_user_root").val('sa');
2021-09-24 17:53:10,161: DEBUG - 		}
2021-09-24 17:53:10,163: DEBUG - 
2021-09-24 17:53:10,164: DEBUG - 	});
2021-09-24 17:53:10,166: DEBUG - 
2021-09-24 17:53:10,167: DEBUG - 	function init_needroot()
2021-09-24 17:53:10,169: DEBUG - 	{
2021-09-24 17:53:10,170: DEBUG - 		/*alert(jQuery("#db_create_database").prop("checked")); */
2021-09-24 17:53:10,173: DEBUG - 		if (jQuery("#db_create_database").is(":checked") || jQuery("#db_create_user").is(":checked"))
2021-09-24 17:53:10,175: DEBUG - 		{
2021-09-24 17:53:10,176: DEBUG - 			jQuery(".hideroot").show();
2021-09-24 17:53:10,179: DEBUG - 					}
2021-09-24 17:53:10,182: DEBUG - 		else
2021-09-24 17:53:10,183: DEBUG - 		{
2021-09-24 17:53:10,185: DEBUG - 			jQuery(".hideroot").hide();
2021-09-24 17:53:10,187: DEBUG - 			jQuery(".needroot").prop('disabled', true);
2021-09-24 17:53:10,188: DEBUG - 		}
2021-09-24 17:53:10,190: DEBUG - 	}
2021-09-24 17:53:10,192: DEBUG - 
2021-09-24 17:53:10,193: DEBUG - 	init_needroot();
2021-09-24 17:53:10,195: DEBUG - 	jQuery("#db_create_database").click(function() {
2021-09-24 17:53:10,197: DEBUG - 		init_needroot();
2021-09-24 17:53:10,200: DEBUG - 	});
2021-09-24 17:53:10,202: DEBUG - 	jQuery("#db_create_user").click(function() {
2021-09-24 17:53:10,203: DEBUG - 		init_needroot();
2021-09-24 17:53:10,205: DEBUG - 	});
2021-09-24 17:53:10,206: DEBUG - 	});
2021-09-24 17:53:10,208: DEBUG - 
2021-09-24 17:53:10,209: DEBUG - function checkDatabaseName(databasename) {
2021-09-24 17:53:10,211: DEBUG - 	if (databasename.match(/[;\.]/)) { return false; }
2021-09-24 17:53:10,212: DEBUG - 	return true;
2021-09-24 17:53:10,214: DEBUG - }
2021-09-24 17:53:10,216: DEBUG - 
2021-09-24 17:53:10,217: DEBUG - function jscheckparam()
2021-09-24 17:53:10,220: DEBUG - {
2021-09-24 17:53:10,222: DEBUG - 	ok=true;
2021-09-24 17:53:10,224: DEBUG - 
2021-09-24 17:53:10,225: DEBUG - 	if (document.forminstall.main_dir.value == '')
2021-09-24 17:53:10,227: DEBUG - 	{
2021-09-24 17:53:10,228: DEBUG - 		ok=false;
2021-09-24 17:53:10,230: DEBUG - 		alert('Field \'Directory where web pages are stored\' is required');
2021-09-24 17:53:10,232: DEBUG - 	}
2021-09-24 17:53:10,234: DEBUG - 	else if (document.forminstall.main_data_dir.value == '')
2021-09-24 17:53:10,235: DEBUG - 	{
2021-09-24 17:53:10,237: DEBUG - 		ok=false;
2021-09-24 17:53:10,239: DEBUG - 		alert('Field \'Directory to store uploaded and generated documents\' is required');
2021-09-24 17:53:10,241: DEBUG - 	}
2021-09-24 17:53:10,243: DEBUG - 	else if (document.forminstall.main_url.value == '')
2021-09-24 17:53:10,244: DEBUG - 	{
2021-09-24 17:53:10,246: DEBUG - 		ok=false;
2021-09-24 17:53:10,248: DEBUG - 		alert('Field \'URL Root\' is required');
2021-09-24 17:53:10,250: DEBUG - 	}
2021-09-24 17:53:10,251: DEBUG - 	else if (document.forminstall.db_host.value == '')
2021-09-24 17:53:10,253: DEBUG - 	{
2021-09-24 17:53:10,255: DEBUG - 		ok=false;
2021-09-24 17:53:10,257: DEBUG - 		alert('Field \'Server\' is required');
2021-09-24 17:53:10,259: DEBUG - 	}
2021-09-24 17:53:10,260: DEBUG - 	else if (document.forminstall.db_name.value == '')
2021-09-24 17:53:10,261: DEBUG - 	{
2021-09-24 17:53:10,262: DEBUG - 		ok=false;
2021-09-24 17:53:10,263: DEBUG - 		alert('Field \'Database name\' is required');
2021-09-24 17:53:10,264: DEBUG - 	}
2021-09-24 17:53:10,265: DEBUG - 	else if (! checkDatabaseName(document.forminstall.db_name.value))
2021-09-24 17:53:10,266: DEBUG - 	{
2021-09-24 17:53:10,267: DEBUG - 		ok=false;
2021-09-24 17:53:10,268: DEBUG - 		alert('Special characters are not allowed for field \'Database name\'');
2021-09-24 17:53:10,269: DEBUG - 	}
2021-09-24 17:53:10,270: DEBUG - 	// If create database asked
2021-09-24 17:53:10,270: DEBUG - 	else if (document.forminstall.db_create_database.checked == true && (document.forminstall.db_user_root.value == ''))
2021-09-24 17:53:10,272: DEBUG - 	{
2021-09-24 17:53:10,272: DEBUG - 		ok=false;
2021-09-24 17:53:10,273: DEBUG - 		alert('You checked the box \'Create database\'. For this, you need to provide the login/password of superuser (bottom of form).');
2021-09-24 17:53:10,274: DEBUG - 	}
2021-09-24 17:53:10,275: DEBUG - 	// If create user asked
2021-09-24 17:53:10,276: DEBUG - 	else if (document.forminstall.db_create_user.checked == true && (document.forminstall.db_user_root.value == ''))
2021-09-24 17:53:10,277: DEBUG - 	{
2021-09-24 17:53:10,278: DEBUG - 		ok=false;
2021-09-24 17:53:10,279: DEBUG - 		alert('You checked the box \'Create database owner\'. For this, you need to provide the login/password of superuser (bottom of form).');
2021-09-24 17:53:10,280: DEBUG - 	}
2021-09-24 17:53:10,281: DEBUG - 
2021-09-24 17:53:10,282: DEBUG - 	return ok;
2021-09-24 17:53:10,283: DEBUG - }
2021-09-24 17:53:10,283: DEBUG - </script>
2021-09-24 17:53:10,284: DEBUG - 
2021-09-24 17:53:10,285: DEBUG - 
2021-09-24 17:53:10,286: DEBUG - </td></tr></table>
2021-09-24 17:53:10,287: DEBUG - </td></tr></table>
2021-09-24 17:53:10,288: DEBUG - <!-- pFooter -->
2021-09-24 17:53:10,289: DEBUG - <div class="nextbutton" id="nextbutton"><input type="submit" value="Next step ->" onClick="return jscheckparam();"></div><input type="hidden" name="selectlang" value="auto"></form>
2021-09-24 17:53:10,290: DEBUG - 
2021-09-24 17:53:10,291: DEBUG - <!-- Start of log output
2021-09-24 17:53:10,292: DEBUG - 2021-09-24 17:53:09 DEBUG - fileconf: entering fileconf.php page<br>
2021-09-24 17:53:10,293: DEBUG - 2021-09-24 17:53:09 DEBUG - fileconf: end<br>
2021-09-24 17:53:10,293: DEBUG - End of log output -->
2021-09-24 17:53:10,294: DEBUG - 
2021-09-24 17:53:10,295: DEBUG - </body>
2021-09-24 17:53:10,296: DEBUG - </html>
2021-09-24 17:53:10,301: DEBUG - + echo '[#########+..........] > installation - step 1'
2021-09-24 17:53:10,304: INFO - [#########+..........] > installation - step 1
2021-09-24 17:53:10,306: DEBUG - + ynh_local_curl /install/step1.php testpost=ok action=set
2021-09-24 17:53:10,307: DEBUG - ++ ynh_normalize_url_path /install/step1.php
2021-09-24 17:53:10,316: DEBUG - ++ test -n /install/step1.php
2021-09-24 17:53:10,317: DEBUG - ++ '[' / '!=' / ']'
2021-09-24 17:53:10,318: DEBUG - ++ '[' p == / ']'
2021-09-24 17:53:10,319: DEBUG - ++ echo /install/step1.php
2021-09-24 17:53:10,320: DEBUG - + local local_page=/install/step1.php
2021-09-24 17:53:10,321: DEBUG - + local full_path=/dolibarr/install/step1.php
2021-09-24 17:53:10,322: DEBUG - + '[' /dolibarr == / ']'
2021-09-24 17:53:10,323: DEBUG - + local full_page_url=https://localhost/dolibarr/install/step1.php
2021-09-24 17:53:10,324: DEBUG - + local POST_data=
2021-09-24 17:53:10,325: DEBUG - + local arg=
2021-09-24 17:53:10,326: DEBUG - + for arg in "${@:2}"
2021-09-24 17:53:10,327: DEBUG - + POST_data='testpost=ok&'
2021-09-24 17:53:10,327: DEBUG - + for arg in "${@:2}"
2021-09-24 17:53:10,328: DEBUG - + POST_data='testpost=ok&action=set&'
2021-09-24 17:53:10,329: DEBUG - + '[' -n 'testpost=ok&action=set&' ']'
2021-09-24 17:53:10,331: DEBUG - + POST_data='--data testpost=ok&action=set'
2021-09-24 17:53:10,332: DEBUG - + sleep 2
2021-09-24 17:53:12,262: DEBUG - + local cookiefile=/tmp/ynh-dolibarr-cookie.txt
2021-09-24 17:53:12,265: DEBUG - + touch /tmp/ynh-dolibarr-cookie.txt
2021-09-24 17:53:12,272: DEBUG - + chown root /tmp/ynh-dolibarr-cookie.txt
2021-09-24 17:53:12,282: DEBUG - + chmod 700 /tmp/ynh-dolibarr-cookie.txt
2021-09-24 17:53:12,292: DEBUG - + curl --silent --show-error --insecure --location --header 'Host: maindomain.tld' --resolve maindomain.tld:443:127.0.0.1 --data 'testpost=ok&action=set' https://localhost/dolibarr/install/step1.php --cookie-jar /tmp/ynh-dolibarr-cookie.txt --cookie /tmp/ynh-dolibarr-cookie.txt
2021-09-24 17:53:13,179: DEBUG - + echo '[##########++++++++..] > installation - step 2 (may take a while)...'
2021-09-24 17:53:13,184: DEBUG - + ynh_local_curl /install/step2.php testpost=ok action=set
2021-09-24 17:53:13,188: INFO - [##########++++++++..] > installation - step 2 (may take a while)...
2021-09-24 17:53:13,193: DEBUG - ++ ynh_normalize_url_path /install/step2.php
2021-09-24 17:53:13,268: DEBUG - ++ test -n /install/step2.php
2021-09-24 17:53:13,271: DEBUG - ++ '[' / '!=' / ']'
2021-09-24 17:53:13,274: DEBUG - ++ '[' p == / ']'
2021-09-24 17:53:13,276: DEBUG - ++ echo /install/step2.php
2021-09-24 17:53:13,277: DEBUG - + local local_page=/install/step2.php
2021-09-24 17:53:13,279: DEBUG - + local full_path=/dolibarr/install/step2.php
2021-09-24 17:53:13,280: DEBUG - + '[' /dolibarr == / ']'
2021-09-24 17:53:13,281: DEBUG - + local full_page_url=https://localhost/dolibarr/install/step2.php
2021-09-24 17:53:13,282: DEBUG - + local POST_data=
2021-09-24 17:53:13,283: DEBUG - + local arg=
2021-09-24 17:53:13,284: DEBUG - + for arg in "${@:2}"
2021-09-24 17:53:13,285: DEBUG - + POST_data='testpost=ok&'
2021-09-24 17:53:13,286: DEBUG - + for arg in "${@:2}"
2021-09-24 17:53:13,287: DEBUG - + POST_data='testpost=ok&action=set&'
2021-09-24 17:53:13,287: DEBUG - + '[' -n 'testpost=ok&action=set&' ']'
2021-09-24 17:53:13,288: DEBUG - + POST_data='--data testpost=ok&action=set'
2021-09-24 17:53:13,289: DEBUG - + sleep 2
2021-09-24 17:53:15,281: DEBUG - + local cookiefile=/tmp/ynh-dolibarr-cookie.txt
2021-09-24 17:53:15,284: DEBUG - + touch /tmp/ynh-dolibarr-cookie.txt
2021-09-24 17:53:15,291: DEBUG - + chown root /tmp/ynh-dolibarr-cookie.txt
2021-09-24 17:53:15,301: DEBUG - + chmod 700 /tmp/ynh-dolibarr-cookie.txt
2021-09-24 17:53:15,311: DEBUG - + curl --silent --show-error --insecure --location --header 'Host: maindomain.tld' --resolve maindomain.tld:443:127.0.0.1 --data 'testpost=ok&action=set' https://localhost/dolibarr/install/step2.php --cookie-jar /tmp/ynh-dolibarr-cookie.txt --cookie /tmp/ynh-dolibarr-cookie.txt
2021-09-24 18:03:17,098: DEBUG - + echo '[##################..] > installation - step 4'
2021-09-24 18:03:17,103: INFO - [##################..] > installation - step 4
2021-09-24 18:03:17,110: DEBUG - + ynh_local_curl /install/step4.php testpost=ok action=set
2021-09-24 18:03:17,112: DEBUG - ++ ynh_normalize_url_path /install/step4.php
2021-09-24 18:03:18,333: DEBUG - ++ test -n /install/step4.php
2021-09-24 18:03:18,335: DEBUG - ++ '[' / '!=' / ']'
2021-09-24 18:03:18,337: DEBUG - ++ '[' p == / ']'
2021-09-24 18:03:18,338: DEBUG - ++ echo /install/step4.php
2021-09-24 18:03:18,339: DEBUG - + local local_page=/install/step4.php
2021-09-24 18:03:18,341: DEBUG - + local full_path=/dolibarr/install/step4.php
2021-09-24 18:03:18,342: DEBUG - + '[' /dolibarr == / ']'
2021-09-24 18:03:18,356: DEBUG - + local full_page_url=https://localhost/dolibarr/install/step4.php
2021-09-24 18:03:18,358: DEBUG - + local POST_data=
2021-09-24 18:03:18,359: DEBUG - + local arg=
2021-09-24 18:03:18,361: DEBUG - + for arg in "${@:2}"
2021-09-24 18:03:18,362: DEBUG - + POST_data='testpost=ok&'
2021-09-24 18:03:18,364: DEBUG - + for arg in "${@:2}"
2021-09-24 18:03:18,365: DEBUG - + POST_data='testpost=ok&action=set&'
2021-09-24 18:03:18,375: DEBUG - + '[' -n 'testpost=ok&action=set&' ']'
2021-09-24 18:03:18,376: DEBUG - + POST_data='--data testpost=ok&action=set'
2021-09-24 18:03:18,378: DEBUG - + sleep 2
2021-09-24 18:03:19,208: DEBUG - + local cookiefile=/tmp/ynh-dolibarr-cookie.txt
2021-09-24 18:03:19,211: DEBUG - + touch /tmp/ynh-dolibarr-cookie.txt
2021-09-24 18:03:19,217: DEBUG - + chown root /tmp/ynh-dolibarr-cookie.txt
2021-09-24 18:03:19,241: DEBUG - + chmod 700 /tmp/ynh-dolibarr-cookie.txt
2021-09-24 18:03:19,251: DEBUG - + curl --silent --show-error --insecure --location --header 'Host: maindomain.tld' --resolve maindomain.tld:443:127.0.0.1 --data 'testpost=ok&action=set' https://localhost/dolibarr/install/step4.php --cookie-jar /tmp/ynh-dolibarr-cookie.txt --cookie /tmp/ynh-dolibarr-cookie.txt
2021-09-24 18:03:19,522: DEBUG - ++ ynh_string_random 8
2021-09-24 18:03:19,593: DEBUG - ++ length=8
2021-09-24 18:03:19,596: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2021-09-24 18:03:19,600: DEBUG - ++ tr --complement --delete A-Za-z0-9
2021-09-24 18:03:19,603: DEBUG - ++ sed --quiet 's/\(.\{8\}\).*/\1/p'
2021-09-24 18:03:19,625: DEBUG - + password=**********
2021-09-24 18:03:20,099: DEBUG - + echo '[##################+.] > installation - step 5'
2021-09-24 18:03:20,104: DEBUG - + ynh_local_curl /install/step5.php testpost=ok action=set pass=********** pass_verif=**********
2021-09-24 18:03:20,107: INFO - [##################+.] > installation - step 5
2021-09-24 18:03:20,112: DEBUG - ++ ynh_normalize_url_path /install/step5.php
2021-09-24 18:03:20,182: DEBUG - ++ test -n /install/step5.php
2021-09-24 18:03:20,185: DEBUG - ++ '[' / '!=' / ']'
2021-09-24 18:03:20,187: DEBUG - ++ '[' p == / ']'
2021-09-24 18:03:20,190: DEBUG - ++ echo /install/step5.php
2021-09-24 18:03:20,192: DEBUG - + local local_page=/install/step5.php
2021-09-24 18:03:20,193: DEBUG - + local full_path=/dolibarr/install/step5.php
2021-09-24 18:03:20,194: DEBUG - + '[' /dolibarr == / ']'
2021-09-24 18:03:20,195: DEBUG - + local full_page_url=https://localhost/dolibarr/install/step5.php
2021-09-24 18:03:20,196: DEBUG - + local POST_data=
2021-09-24 18:03:20,197: DEBUG - + local arg=
2021-09-24 18:03:20,198: DEBUG - + for arg in "${@:2}"
2021-09-24 18:03:20,199: DEBUG - + POST_data='testpost=ok&'
2021-09-24 18:03:20,200: DEBUG - + for arg in "${@:2}"
2021-09-24 18:03:20,201: DEBUG - + POST_data='testpost=ok&action=set&'
2021-09-24 18:03:20,202: DEBUG - + for arg in "${@:2}"
2021-09-24 18:03:20,203: DEBUG - + POST_data='testpost=ok&action=set&pass=**********&'
2021-09-24 18:03:20,204: DEBUG - + for arg in "${@:2}"
2021-09-24 18:03:20,205: DEBUG - + POST_data='testpost=ok&action=set&pass=**********&pass_verif=**********&'
2021-09-24 18:03:20,206: DEBUG - + '[' -n 'testpost=ok&action=set&pass=**********&pass_verif=**********&' ']'
2021-09-24 18:03:20,207: DEBUG - + POST_data='--data testpost=ok&action=set&pass=**********&pass_verif=**********'
2021-09-24 18:03:20,208: DEBUG - + sleep 2
2021-09-24 18:03:22,196: DEBUG - + local cookiefile=/tmp/ynh-dolibarr-cookie.txt
2021-09-24 18:03:22,199: DEBUG - + touch /tmp/ynh-dolibarr-cookie.txt
2021-09-24 18:03:22,207: DEBUG - + chown root /tmp/ynh-dolibarr-cookie.txt
2021-09-24 18:03:22,217: DEBUG - + chmod 700 /tmp/ynh-dolibarr-cookie.txt
2021-09-24 18:03:22,227: DEBUG - + curl --silent --show-error --insecure --location --header 'Host: maindomain.tld' --resolve maindomain.tld:443:127.0.0.1 --data 'testpost=ok&action=set&pass=**********&pass_verif=**********' https://localhost/dolibarr/install/step5.php --cookie-jar /tmp/ynh-dolibarr-cookie.txt --cookie /tmp/ynh-dolibarr-cookie.txt
2021-09-24 18:03:24,415: DEBUG - + echo '[###################.] > configuring LDAP'
2021-09-24 18:03:24,417: INFO - [###################.] > configuring LDAP
2021-09-24 18:03:24,423: DEBUG - + ynh_mysql_connect_as --user=dolibarr --password=********** --database=dolibarr
2021-09-24 18:03:24,823: DEBUG - + database=dolibarr
2021-09-24 18:03:24,825: DEBUG - + mysql --user=dolibarr --password=********** --batch dolibarr
2021-09-24 18:03:25,490: WARNING - ERROR 1146 (42S02) at line 1: Table 'dolibarr.llx_const' doesn't exist
2021-09-24 18:03:25,494: DEBUG - + ynh_exit_properly
2021-09-24 18:03:25,496: DEBUG - + local exit_code=1
2021-09-24 18:03:25,497: DEBUG - + rm -rf /var/cache/yunohost/download/
2021-09-24 18:03:25,498: DEBUG - + '[' 1 -eq 0 ']'
2021-09-24 18:03:25,499: DEBUG - + trap '' EXIT
2021-09-24 18:03:25,500: DEBUG - + set +o errexit
2021-09-24 18:03:25,501: DEBUG - + set +o nounset
2021-09-24 18:03:25,503: DEBUG - + sleep 0.5
2021-09-24 18:03:25,999: DEBUG - + type -t ynh_clean_setup
2021-09-24 18:03:26,002: DEBUG - + exit 1
2021-09-24 18:03:29,403: ERROR - Impossible d’installer dolibarr : Une erreur est survenue dans le script d’installation de l’application

Autre bizarrerie : J’ai accès sans problème au web admin, mais le ssh échoue (hier ça marchait en local. Là on tente de se connecter en ssh depuis l’extérieur. Impossible également de pinger l’URL du serveur depuis l’extérieur “délai d’attente dépassé”.

Auriez-vous des pistes ? Un grand merci d’avance ! :slight_smile:

[RÉSOLU] Le problème venait de la carte SD qui n’étit pas de qualité suffisante !

Prière de partager le log complet, sans quoi on ne peut pas aider… Il suffit de cliquer sur le bouton vert “Partager avec Yunopaste” …

Oups, c’est fait désolé. Message édité.

Merci.

Zblerg c’est pas trivial à debugger … le process d’install a besoin de faire des curls, mais la sortie n’est pas affichée dans le log … j’imagine qu’il y a une erreur pendant l’étape de configuration mais je saurais pas en dire + comme ce n’est pas moi qui ai packagé cette app :confused:

Arf, que faire alors ? Installer autrement qu’avec le paquet Yunohost ?
Ssh re-fonctionne sinon.

Issue ouverte sur le github du paquet : Dolibarr installation fail : ERROR 1146 (42S02) at line 1: Table 'dolibarr.llx_const' doesn't exist · Issue #65 · YunoHost-Apps/dolibarr_ynh · GitHub

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.