Wordpress update from yunohost webinterface

What app is this about, and its version: wordpress
What YunoHost version are you running: 12.1.36
What type of hardware are you using: Virtual machine

Describe your issue

This issue has been bothering me for over a month now.
After upgrading I get an error screen and the first time the database user credentials were modified by the script and I had to restore the correct user and password as seen in wp-config.php
It’s now working but I keep seeing both of my wordpress sites in applications to be upgraded.
And just to make sure I tried again and now the upgrade script reverted automatically back to the working version after displaying the error.
On my other server (not running as a VM but directly on a laptop) this does not happen.
Log included

Christian

Share relevant logs or error message


ended_at: 2025-11-28 10:40:53.297469
env:
YNH_APP_ACTION: upgrade
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_bxl2segk
YNH_APP_CURRENT_VERSION: 6.8.2~ynh1
YNH_APP_ID: wordpress
YNH_APP_INSTANCE_NAME: wordpress__2
YNH_APP_INSTANCE_NUMBER: ‘2’
YNH_APP_MANIFEST_VERSION: 6.8.3~ynh2
YNH_APP_PACKAGING_FORMAT: ‘2.0’
YNH_APP_UPGRADE_TYPE: UPGRADE_APP
YNH_ARCH: amd64
YNH_DEBIAN_VERSION: bookworm
YNH_DEFAULT_PHP_VERSION: ‘8.2’
YNH_HELPERS_VERSION: ‘2.1’
error: Er is een fout opgetreden in het upgradescript van de app
interface: api
operation: app_upgrade
parent: null
related_to:

app

wordpress__2
started_at: 2025-11-28 10:40:28.028193
started_by: ******
success: false
yunohost_version: 12.1.36

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

2025-11-28 11:40:29,067: INFO - Updating sources…
2025-11-28 11:40:29,067: DEBUG - Prefetching asset main: https://downloads.wordpress.org/release/wordpress-6.8.3.zip …
2025-11-28 11:40:31,647: INFO - Updating system_user…
2025-11-28 11:40:31,884: INFO - Updating install_dir…
2025-11-28 11:40:31,895: INFO - Updating permissions…
2025-11-28 11:40:31,902: DEBUG - Permission ‘wordpress__2.main’ updated
2025-11-28 11:40:31,906: DEBUG - Permission ‘wordpress__2.main’ updated
2025-11-28 11:40:31,915: DEBUG - Permission ‘wordpress__2.admin’ updated
2025-11-28 11:40:31,917: DEBUG - Permission ‘wordpress__2.admin’ updated
2025-11-28 11:40:31,956: DEBUG - Permissions were resynchronized to LDAP
2025-11-28 11:40:31,980: DEBUG - Formating result in ‘export’ mode
2025-11-28 11:40:31,984: DEBUG - SSO and portal configurations regenerated
2025-11-28 11:40:31,984: INFO - Updating apt…
2025-11-28 11:40:31,987: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./provision_or_update_apt”  7>&1’]’
2025-11-28 11:40:32,000: DEBUG - + source /usr/share/yunohost/helpers
2025-11-28 11:40:32,001: DEBUG - ++++ dirname – /usr/share/yunohost/helpers
2025-11-28 11:40:32,002: DEBUG - +++ cd – /usr/share/yunohost
2025-11-28 11:40:32,002: DEBUG - +++ pwd
2025-11-28 11:40:32,003: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-11-28 11:40:32,003: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2025-11-28 11:40:32,005: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2025-11-28 11:40:32,006: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2025-11-28 11:40:32,017: DEBUG - + ynh_abort_if_errors
2025-11-28 11:40:32,019: DEBUG - + trap ynh_exit_properly EXIT
2025-11-28 11:40:32,019: DEBUG - + ynh_apt_install_dependencies mariadb-server php8.4-mysql php8.4-curl php8.4-mbstring php8.4-xml php8.4-zip php8.4-gd php8.4-soap php8.4-ssh2 php8.4-tokenizer php8.4-ldap php8.4-imagick php8.4-intl
2025-11-28 11:40:32,020: DEBUG - ++ sed ‘s/([^<=>])\ ([^(])/\1, \2/g’
2025-11-28 11:40:32,020: DEBUG - ++ sed ‘s/|/ | /’
2025-11-28 11:40:32,021: DEBUG - + local ‘dependencies=mariadb-server, php8.4-mysql, php8.4-curl, php8.4-mbstring, php8.4-xml, php8.4-zip, php8.4-gd, php8.4-soap, php8.4-ssh2, php8.4-tokenizer, php8.4-ldap, php8.4-imagick, php8.4-intl’
2025-11-28 11:40:32,022: DEBUG - ++ ynh_read_manifest version
2025-11-28 11:40:32,022: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_bxl2segk/manifest.toml
2025-11-28 11:40:32,023: DEBUG - ++ toml_to_json
2025-11-28 11:40:32,023: DEBUG - ++ python3 -c ‘import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))’
2025-11-28 11:40:32,024: DEBUG - ++ jq .version --raw-output
2025-11-28 11:40:32,061: DEBUG - + local version=6.8.3~ynh2
2025-11-28 11:40:32,061: DEBUG - + local app_ynh_deps=wordpress–2-ynh-deps
2025-11-28 11:40:32,062: DEBUG - + grep ‘[<=>]’
2025-11-28 11:40:32,063: DEBUG - ++ grep -oP ‘(?<=php)[0-9.]+(?=-|>|)’
2025-11-28 11:40:32,063: DEBUG - ++ sort -u
2025-11-28 11:40:32,065: DEBUG - + local specific_php_version=8.4
2025-11-28 11:40:32,065: DEBUG - + [[ -n 8.4 ]]
2025-11-28 11:40:32,066: DEBUG - ++ echo 8.4
2025-11-28 11:40:32,066: DEBUG - ++ wc -l
2025-11-28 11:40:32,067: DEBUG - + [[ 1 -eq 1 ]]
2025-11-28 11:40:32,067: DEBUG - + dependencies+=‘, php8.4, php8.4-fpm, php8.4-common’
2025-11-28 11:40:32,068: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-11-28 11:40:32,123: DEBUG - + local old_php_version=8.4
2025-11-28 11:40:32,123: DEBUG - + ‘[’ -n 8.4 ‘]’
2025-11-28 11:40:32,124: DEBUG - + ‘[’ 8.4 ‘!=’ 8.4 ‘]’
2025-11-28 11:40:32,124: DEBUG - + ynh_app_setting_set --key=php_version --value=8.4
2025-11-28 11:40:32,198: DEBUG - + test -e /usr/bin/php8.2
2025-11-28 11:40:32,198: DEBUG - ++ _ynh_apt_package_is_installed postgresql-15
2025-11-28 11:40:32,198: DEBUG - ++ local package=postgresql-15
2025-11-28 11:40:32,199: DEBUG - ++ dpkg-query --show ‘–showformat=${db:Status-Status}’ postgresql-15
2025-11-28 11:40:32,199: DEBUG - ++ grep --quiet ‘^installed$’
2025-11-28 11:40:32,207: DEBUG - ++ echo no
2025-11-28 11:40:32,208: DEBUG - + local psql_installed=no
2025-11-28 11:40:32,208: DEBUG - + [[ true == \t\r\u\e ]]
2025-11-28 11:40:32,209: DEBUG - + YNH_APT_INSTALL_DEPENDENCIES_REPLACE=false
2025-11-28 11:40:32,209: DEBUG - ++ mktemp --directory
2025-11-28 11:40:32,210: DEBUG - + local TMPDIR=/tmp/tmp.iwU7071Q2Z
2025-11-28 11:40:32,210: DEBUG - + mkdir -p /tmp/tmp.iwU7071Q2Z/wordpress–2-ynh-deps/DEBIAN
2025-11-28 11:40:32,211: DEBUG - + chmod -R 755 /tmp/tmp.iwU7071Q2Z/wordpress–2-ynh-deps
2025-11-28 11:40:32,212: DEBUG - + cat
2025-11-28 11:40:32,214: DEBUG - + _ynh_apt update
2025-11-28 11:40:32,214: DEBUG - + [[ update == \u\p\d\a\t\e ]]
2025-11-28 11:40:32,215: DEBUG - + local aptcache=/var/cache/apt/pkgcache.bin
2025-11-28 11:40:32,215: DEBUG - + sleep 1
2025-11-28 11:40:33,217: DEBUG - + [[ -e /var/cache/apt/pkgcache.bin ]]
2025-11-28 11:40:33,218: DEBUG - ++ find /var/cache/apt/pkgcache.bin -mmin -30
2025-11-28 11:40:33,223: DEBUG - + _ynh_wait_dpkg_free
2025-11-28 11:40:33,317: DEBUG - + return 0
2025-11-28 11:40:33,318: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2025-11-28 11:40:33,589: DEBUG - Hit:1 https://dl.yarnpkg.com/debian stable InRelease
2025-11-28 11:40:33,595: DEBUG - Hit:2 https://packages.sury.org/php bookworm InRelease
2025-11-28 11:40:38,607: DEBUG - Hit:3 
 bookworm-security InRelease
2025-11-28 11:40:38,610: DEBUG - Hit:4 
 bookworm InRelease
2025-11-28 11:40:38,616: DEBUG - Hit:5 http://repo.yunohost.org/debian bookworm InRelease
2025-11-28 11:40:38,643: DEBUG - Get:6 
 bookworm-updates InRelease [55.4 kB]
2025-11-28 11:40:39,301: DEBUG - Fetched 55.4 kB in 6s (9590 B/s)
2025-11-28 11:40:39,974: DEBUG - Reading package lists…
2025-11-28 11:40:39,986: DEBUG - + _ynh_wait_dpkg_free
2025-11-28 11:40:40,058: DEBUG - + return 0
2025-11-28 11:40:40,059: DEBUG - + dpkg-deb --build /tmp/tmp.iwU7071Q2Z/wordpress–2-ynh-deps /tmp/tmp.iwU7071Q2Z/wordpress–2-ynh-deps.deb
2025-11-28 11:40:40,109: DEBUG - + dpkg --force-depends --install /tmp/tmp.iwU7071Q2Z/wordpress–2-ynh-deps.deb
2025-11-28 11:40:40,110: DEBUG - + tee /tmp/tmp.iwU7071Q2Z/dpkg_log
2025-11-28 11:40:40,880: DEBUG - (Reading database … 56383 files and directories currently installed.)
2025-11-28 11:40:40,883: DEBUG - Preparing to unpack …/wordpress–2-ynh-deps.deb …
2025-11-28 11:40:41,087: DEBUG - Unpacking wordpress–2-ynh-deps (6.8.3~ynh2) over (6.8.2~ynh1) …
2025-11-28 11:40:41,524: DEBUG - dpkg: wordpress–2-ynh-deps: dependency problems, but configuring anyway as you requested:
2025-11-28 11:40:41,524: DEBUG -  wordpress–2-ynh-deps depends on php8.4-imagick; however:
2025-11-28 11:40:41,525: DEBUG -   Package php8.4-imagick is not installed.
2025-11-28 11:40:41,525: DEBUG -  wordpress–2-ynh-deps depends on php8.4-intl; however:
2025-11-28 11:40:41,525: DEBUG -   Package php8.4-intl is not installed.
2025-11-28 11:40:41,525: DEBUG -
2025-11-28 11:40:41,526: DEBUG - Setting up wordpress–2-ynh-deps (6.8.3~ynh2) …
2025-11-28 11:40:41,909: DEBUG - + _ynh_apt_install --fix-broken
2025-11-28 11:40:41,909: DEBUG - + _ynh_apt --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken
2025-11-28 11:40:41,910: DEBUG - + [[ --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken == \u\p\d\a\t\e ]]
2025-11-28 11:40:41,911: DEBUG - + _ynh_wait_dpkg_free
2025-11-28 11:40:42,007: DEBUG - + return 0
2025-11-28 11:40:42,008: 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
2025-11-28 11:40:42,129: DEBUG - Reading package lists…
2025-11-28 11:40:42,294: DEBUG - Building dependency tree…
2025-11-28 11:40:42,294: DEBUG - Reading state information…
2025-11-28 11:40:42,367: DEBUG - Correcting dependencies… Done
2025-11-28 11:40:42,538: DEBUG - The following additional packages will be installed:
2025-11-28 11:40:42,539: DEBUG -   gsfonts imagemagick-6-common libfftw3-double3 liblqr-1-0
2025-11-28 11:40:42,539: DEBUG -   libmagickcore-6.q16-6 libmagickwand-6.q16-6 libwebpdemux2 libwebpmux3
2025-11-28 11:40:42,540: DEBUG -   php8.4-imagick php8.4-intl
2025-11-28 11:40:42,541: DEBUG - Suggested packages:
2025-11-28 11:40:42,541: DEBUG -   libfftw3-bin libfftw3-dev libmagickcore-6.q16-6-extra
2025-11-28 11:40:42,559: DEBUG - The following NEW packages will be installed:
2025-11-28 11:40:42,560: DEBUG -   gsfonts imagemagick-6-common libfftw3-double3 liblqr-1-0
2025-11-28 11:40:42,560: DEBUG -   libmagickcore-6.q16-6 libmagickwand-6.q16-6 libwebpdemux2 libwebpmux3
2025-11-28 11:40:42,561: DEBUG -   php8.4-imagick php8.4-intl
2025-11-28 11:40:42,993: DEBUG - 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
2025-11-28 11:40:42,994: DEBUG - Need to get 0 B/3655 kB of archives.
2025-11-28 11:40:42,994: DEBUG - After this operation, 12.6 MB of additional disk space will be used.
2025-11-28 11:40:43,440: DEBUG - Selecting previously unselected package libfftw3-double3:amd64.
2025-11-28 11:40:43,471: DEBUG - (Reading database … 56383 files and directories currently installed.)
2025-11-28 11:40:43,473: DEBUG - Preparing to unpack …/0-libfftw3-double3_3.3.10-1_amd64.deb …
2025-11-28 11:40:43,599: DEBUG - Unpacking libfftw3-double3:amd64 (3.3.10-1) …
2025-11-28 11:40:44,158: DEBUG - Selecting previously unselected package liblqr-1-0:amd64.
2025-11-28 11:40:44,165: DEBUG - Preparing to unpack …/1-liblqr-1-0_0.4.2-2.1_amd64.deb …
2025-11-28 11:40:44,225: DEBUG - Unpacking liblqr-1-0:amd64 (0.4.2-2.1) …
2025-11-28 11:40:44,665: DEBUG - Selecting previously unselected package libwebpdemux2:amd64.
2025-11-28 11:40:44,673: DEBUG - Preparing to unpack …/2-libwebpdemux2_1.2.4-0.2+deb12u1_amd64.deb …
2025-11-28 11:40:44,740: DEBUG - Unpacking libwebpdemux2:amd64 (1.2.4-0.2+deb12u1) …
2025-11-28 11:40:45,036: DEBUG - Selecting previously unselected package libwebpmux3:amd64.
2025-11-28 11:40:45,044: DEBUG - Preparing to unpack …/3-libwebpmux3_1.2.4-0.2+deb12u1_amd64.deb …
2025-11-28 11:40:45,058: DEBUG - Unpacking libwebpmux3:amd64 (1.2.4-0.2+deb12u1) …
2025-11-28 11:40:45,178: DEBUG - Selecting previously unselected package imagemagick-6-common.
2025-11-28 11:40:45,186: DEBUG - Preparing to unpack …/4-imagemagick-6-common_8%3a6.9.11.60+dfsg-1.6+deb12u4_all.deb …
2025-11-28 11:40:45,198: DEBUG - Unpacking imagemagick-6-common (8:6.9.11.60+dfsg-1.6+deb12u4) …
2025-11-28 11:40:45,337: DEBUG - Selecting previously unselected package libmagickcore-6.q16-6:amd64.
2025-11-28 11:40:45,344: DEBUG - Preparing to unpack …/5-libmagickcore-6.q16-6_8%3a6.9.11.60+dfsg-1.6+deb12u4_amd64.deb …
2025-11-28 11:40:45,357: DEBUG - Unpacking libmagickcore-6.q16-6:amd64 (8:6.9.11.60+dfsg-1.6+deb12u4) …
2025-11-28 11:40:45,692: DEBUG - Selecting previously unselected package libmagickwand-6.q16-6:amd64.
2025-11-28 11:40:45,700: DEBUG - Preparing to unpack …/6-libmagickwand-6.q16-6_8%3a6.9.11.60+dfsg-1.6+deb12u4_amd64.deb …
2025-11-28 11:40:45,713: DEBUG - Unpacking libmagickwand-6.q16-6:amd64 (8:6.9.11.60+dfsg-1.6+deb12u4) …
2025-11-28 11:40:45,876: DEBUG - Selecting previously unselected package php8.4-imagick.
2025-11-28 11:40:45,883: DEBUG - Preparing to unpack …/7-php8.4-imagick_3.8.0-4+0~20251124.53+debian12~1.gbp46bd33_amd64.deb …
2025-11-28 11:40:45,900: DEBUG - Unpacking php8.4-imagick (3.8.0-4+0~20251124.53+debian12~1.gbp46bd33) …
2025-11-28 11:40:46,037: DEBUG - Selecting previously unselected package gsfonts.
2025-11-28 11:40:46,045: DEBUG - Preparing to unpack …/8-gsfonts_2%3a20200910-7_all.deb …
2025-11-28 11:40:46,075: DEBUG - Unpacking gsfonts (2:20200910-7) …
2025-11-28 11:40:46,220: DEBUG - Selecting previously unselected package php8.4-intl.
2025-11-28 11:40:46,228: DEBUG - Preparing to unpack …/9-php8.4-intl_8.4.15-1+0~20251120.38+debian12~1.gbp1e3f4c_amd64.deb …
2025-11-28 11:40:46,258: DEBUG - Unpacking php8.4-intl (8.4.15-1+0~20251120.38+debian12~1.gbp1e3f4c) …
2025-11-28 11:40:46,396: DEBUG - Setting up imagemagick-6-common (8:6.9.11.60+dfsg-1.6+deb12u4) …
2025-11-28 11:40:46,660: DEBUG - Setting up libwebpdemux2:amd64 (1.2.4-0.2+deb12u1) …
2025-11-28 11:40:46,702: DEBUG - Setting up gsfonts (2:20200910-7) …
2025-11-28 11:40:46,758: DEBUG - Setting up libfftw3-double3:amd64 (3.3.10-1) …
2025-11-28 11:40:46,798: DEBUG - Setting up liblqr-1-0:amd64 (0.4.2-2.1) …
2025-11-28 11:40:46,841: DEBUG - Setting up libwebpmux3:amd64 (1.2.4-0.2+deb12u1) …
2025-11-28 11:40:46,882: DEBUG - Setting up php8.4-intl (8.4.15-1+0~20251120.38+debian12~1.gbp1e3f4c) …
2025-11-28 11:40:47,077: DEBUG -
2025-11-28 11:40:47,078: DEBUG - Creating config file /etc/php/8.4/mods-available/intl.ini with new version
2025-11-28 11:40:47,343: DEBUG - Setting up libmagickcore-6.q16-6:amd64 (8:6.9.11.60+dfsg-1.6+deb12u4) …
2025-11-28 11:40:47,378: DEBUG - Setting up libmagickwand-6.q16-6:amd64 (8:6.9.11.60+dfsg-1.6+deb12u4) …
2025-11-28 11:40:47,412: DEBUG - Setting up php8.4-imagick (3.8.0-4+0~20251124.53+debian12~1.gbp46bd33) …
2025-11-28 11:40:47,869: DEBUG - Processing triggers for php8.4-fpm (8.4.15-1+0~20251120.38+debian12~1.gbp1e3f4c) …
2025-11-28 11:40:48,261: DEBUG - Processing triggers for libc-bin (2.36-9+deb12u13) …
2025-11-28 11:40:48,493: DEBUG - Processing triggers for php8.4-cli (8.4.15-1+0~20251120.38+debian12~1.gbp1e3f4c) …
2025-11-28 11:40:48,855: DEBUG - + rm --recursive --force /tmp/tmp.iwU7071Q2Z
2025-11-28 11:40:48,856: DEBUG - + _ynh_apt_package_is_installed wordpress–2-ynh-deps
2025-11-28 11:40:48,857: DEBUG - + local package=wordpress–2-ynh-deps
2025-11-28 11:40:48,857: DEBUG - + dpkg-query --show ‘–showformat=${db:Status-Status}’ wordpress–2-ynh-deps
2025-11-28 11:40:48,857: DEBUG - + grep --quiet ‘^installed$’
2025-11-28 11:40:48,867: DEBUG - ++ ynh_apt_package_is_installed postgresql-15
2025-11-28 11:40:48,867: DEBUG - ++ local package=postgresql-15
2025-11-28 11:40:48,868: DEBUG - ++ dpkg-query --show ‘–showformat=${db:Status-Status}’ postgresql-15
2025-11-28 11:40:48,868: DEBUG - ++ grep --quiet ‘^installed$’
2025-11-28 11:40:48,880: DEBUG - ++ echo no
2025-11-28 11:40:48,880: DEBUG - + local psql_installed2=no
2025-11-28 11:40:48,880: DEBUG - + [[ no != \n\o ]]
2025-11-28 11:40:48,881: DEBUG - + ynh_exit_properly
2025-11-28 11:40:48,881: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2025-11-28 11:40:48,984: INFO - Updating database…
2025-11-28 11:40:49,042: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./upgrade”  7>&1’]’
2025-11-28 11:40:49,060: DEBUG - + source common.sh
2025-11-28 11:40:49,061: DEBUG - + source /usr/share/yunohost/helpers
2025-11-28 11:40:49,061: DEBUG - ++++ dirname – /usr/share/yunohost/helpers
2025-11-28 11:40:49,062: DEBUG - +++ cd – /usr/share/yunohost
2025-11-28 11:40:49,063: DEBUG - +++ pwd
2025-11-28 11:40:49,064: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-11-28 11:40:49,064: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2025-11-28 11:40:49,066: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2025-11-28 11:40:49,067: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2025-11-28 11:40:49,079: DEBUG - + ynh_app_setting_set_default --key=php_memory_limit --value=64M
2025-11-28 11:40:49,124: DEBUG - + ‘[’ -z 64M ‘]’
2025-11-28 11:40:49,124: DEBUG - + ynh_maintenance_mode_ON
2025-11-28 11:40:49,124: DEBUG - + ‘[’ -z / ‘]’
2025-11-28 11:40:49,125: DEBUG - + ‘[’ -z domain3.tld ‘]’
2025-11-28 11:40:49,125: DEBUG - + mkdir -p /var/www/html/
2025-11-28 11:40:49,126: DEBUG - ++ date
2025-11-28 11:40:49,128: DEBUG -
2025-11-28 11:40:49,128: DEBUG -
2025-11-28 11:40:49,129: DEBUG -
2025-11-28 11:40:49,130: DEBUG - Your app wordpress__2 is currently under maintenance!
2025-11-28 11:40:49,130: DEBUG -
2025-11-28 11:40:49,130: DEBUG - 	body {
2025-11-28 11:40:49,131: DEBUG - 		width: 70em;
2025-11-28 11:40:49,131: DEBUG - 		margin: 0 auto;
2025-11-28 11:40:49,132: DEBUG - 	}
2025-11-28 11:40:49,132: DEBUG -
2025-11-28 11:40:49,132: DEBUG -
2025-11-28 11:40:49,133: DEBUG -
2025-11-28 11:40:49,133: DEBUG - Your app wordpress__2 is currently under maintenance!
2025-11-28 11:40:49,134: DEBUG - This app has been put under maintenance by your administrator at vr 28 nov 2025 11:40:49 CET
2025-11-28 11:40:49,134: DEBUG - Please wait until the maintenance operation is done. This page will be reloaded as soon as your app will be back.
2025-11-28 11:40:49,135: DEBUG -
2025-11-28 11:40:49,135: DEBUG -
2025-11-28 11:40:49,136: DEBUG - ’
2025-11-28 11:40:49,137: DEBUG - rewrite ^//(.)$ /_maintenance/? redirect;
2025-11-28 11:40:49,137: DEBUG - # Use another location, to not be in conflict with the original config file
2025-11-28 11:40:49,138: DEBUG - location /_maintenance/ {
2025-11-28 11:40:49,138: DEBUG - alias /var/www/html/ ;
2025-11-28 11:40:49,139: DEBUG -
2025-11-28 11:40:49,139: DEBUG - try_files maintenance.wordpress__2.html =503;
2025-11-28 11:40:49,140: DEBUG -
2025-11-28 11:40:49,140: DEBUG - # Include SSOWAT user panel.
2025-11-28 11:40:49,140: DEBUG - include conf.d/yunohost_panel.conf.inc;
2025-11-28 11:40:49,140: DEBUG - }’
2025-11-28 11:40:49,141: DEBUG - + systemctl reload nginx
2025-11-28 11:40:49,268: INFO - [+++…] > Ensuring downward compatibility…
2025-11-28 11:40:49,269: DEBUG - + ‘[’ -z chriz ‘]’
2025-11-28 11:40:49,270: DEBUG - ++ cut ‘-d’'‘’ -f4
2025-11-28 11:40:49,270: DEBUG - ++ grep WPLANG /var/www/wordpress__2/wp-config.php
2025-11-28 11:40:49,272: DEBUG - + ynh_app_setting_set_default --key=language --value=
2025-11-28 11:40:49,309: DEBUG - + ‘[’ -z en_US ‘]’
2025-11-28 11:40:49,309: DEBUG - + ‘[’ 0 = yes ‘]’
2025-11-28 11:40:49,309: DEBUG - + ‘[’ 0 = no ‘]’
2025-11-28 11:40:49,310: DEBUG - + grep 'add_filter.auto_update’ /var/www/wordpress__2/wp-config.php
2025-11-28 11:40:49,310: DEBUG - + ynh_hide_warnings wget --no-verbose https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar --output-document=/var/www/wordpress__2/wp-cli.phar
2025-11-28 11:40:49,310: DEBUG - + wget --no-verbose https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar --output-document=/var/www/wordpress__2/wp-cli.phar
2025-11-28 11:40:49,770: DEBUG - 2025-11-28 11:40:49 URL:https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar [7142777/7142777] → “/var/www/wordpress__2/wp-cli.phar” [1]
2025-11-28 11:40:49,771: DEBUG - + wpcli_alias=‘php8.4 /var/www/wordpress__2/wp-cli.phar --allow-root --path=/var/www/wordpress__2’
2025-11-28 11:40:49,771: DEBUG - + plugin_network=
2025-11-28 11:40:49,771: DEBUG - + php8.4 /var/www/wordpress__2/wp-cli.phar --allow-root --path=/var/www/wordpress__2 plugin is-installed wp-fail2ban
2025-11-28 11:40:50,314: DEBUG - + php8.4 /var/www/wordpress__2/wp-cli.phar --allow-root --path=/var/www/wordpress__2 plugin is-installed wp-fail2ban-redux
2025-11-28 11:40:50,858: DEBUG - + php8.4 /var/www/wordpress__2/wp-cli.phar --allow-root --path=/var/www/wordpress__2 plugin is-installed simple-ldap-login
2025-11-28 11:40:51,355: INFO - [###+++…] > Upgrading NGINX web server configuration…
2025-11-28 11:40:51,355: DEBUG - + ynh_config_add_nginx
2025-11-28 11:40:51,356: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,356: DEBUG - + ynh_config_add --template=nginx.conf --destination=/etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,388: DEBUG - + jinja=0
2025-11-28 11:40:51,389: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_bxl2segk/conf/nginx.conf ‘]’
2025-11-28 11:40:51,389: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_bxl2segk/conf/nginx.conf
2025-11-28 11:40:51,390: DEBUG - + ynh_backup_if_checksum_is_different /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,447: DEBUG - + touch /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,448: DEBUG - + chmod 640 /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,449: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,450: DEBUG - + local target=/etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,450: DEBUG - + ynh_system_user_exists --username=wordpress__2
2025-11-28 11:40:51,458: DEBUG - + getent passwd wordpress__2
2025-11-28 11:40:51,459: DEBUG - + ‘[’ -f /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf ‘]’
2025-11-28 11:40:51,460: DEBUG - + is_in_dir /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf /var/www/wordpress__2
2025-11-28 11:40:51,460: DEBUG - + ‘[’ -n /var/www/wordpress__2 ‘]’
2025-11-28 11:40:51,461: DEBUG - ++ realpath /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,462: DEBUG - + local child=/etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,462: DEBUG - ++ realpath /var/www/wordpress__2
2025-11-28 11:40:51,464: DEBUG - + local parent=/var/www/wordpress__2
2025-11-28 11:40:51,464: DEBUG - + [[ /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf =~ ^/var/www/wordpress__2 ]]
2025-11-28 11:40:51,465: DEBUG - + is_in_dir /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf ‘’
2025-11-28 11:40:51,465: DEBUG - + ‘[’ -n ‘’ ‘]’
2025-11-28 11:40:51,466: DEBUG - + return 1
2025-11-28 11:40:51,466: DEBUG - + is_in_dir /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf /etc/wordpress__2
2025-11-28 11:40:51,466: DEBUG - + ‘[’ -n /etc/wordpress__2 ‘]’
2025-11-28 11:40:51,466: DEBUG - ++ realpath /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,467: DEBUG - + local child=/etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,467: DEBUG - ++ realpath /etc/wordpress__2
2025-11-28 11:40:51,469: DEBUG - + local parent=/etc/wordpress__2
2025-11-28 11:40:51,469: DEBUG - + [[ /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf =~ ^/etc/wordpress__2 ]]
2025-11-28 11:40:51,470: DEBUG - + ‘[’ /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf == /var/www/wordpress__2 ‘]’
2025-11-28 11:40:51,470: DEBUG - + ‘[’ /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf == ‘’ ‘]’
2025-11-28 11:40:51,470: DEBUG - + chmod 400 /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,471: DEBUG - + chown root:root /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,472: DEBUG - + [[ 0 == 1 ]]
2025-11-28 11:40:51,473: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_bxl2segk/conf/nginx.conf /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,474: DEBUG - + ynh_replace_vars /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,475: DEBUG - + local file=/etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,475: DEBUG - + local -a uniques_vars
2025-11-28 11:40:51,476: DEBUG - + mapfile -t uniques_vars
2025-11-28 11:40:51,476: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9]?[A-Z0-9]?’ /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,477: DEBUG - ++ sed 's@([^.])__@\L\1@g’
2025-11-28 11:40:51,478: DEBUG - ++ sort --unique
2025-11-28 11:40:51,492: DEBUG - + ynh_store_file_checksum /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,578: DEBUG - + ‘[’ / ‘!=’ / ‘]’
2025-11-28 11:40:51,578: DEBUG - + ynh_replace ‘–match=^#root_path_only’ --replace= --file=/etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,629: DEBUG - + sed -i '/fastcgi_param\sREMOTE_USER/d’ /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,631: DEBUG - + ynh_store_file_checksum /etc/nginx/conf.d/domain3.tld.d/wordpress__2.conf
2025-11-28 11:40:51,725: DEBUG - + ynh_systemctl --service=nginx --action=reload
2025-11-28 11:40:51,785: DEBUG - + service=nginx
2025-11-28 11:40:51,786: DEBUG - + action=reload
2025-11-28 11:40:51,786: DEBUG - + wait_until=
2025-11-28 11:40:51,787: DEBUG - + length=20
2025-11-28 11:40:51,787: DEBUG - + log_path=/var/log/nginx/nginx.log
2025-11-28 11:40:51,787: DEBUG - + ynh_in_ci_tests
2025-11-28 11:40:51,788: DEBUG - + timeout=300
2025-11-28 11:40:51,788: DEBUG - + ‘[’ reload == stop ‘]’
2025-11-28 11:40:51,789: DEBUG - + ‘[’ reload == reload ‘]’
2025-11-28 11:40:51,790: DEBUG - + action=reload-or-restart
2025-11-28 11:40:51,790: DEBUG - ++ date --utc --rfc-3339=seconds
2025-11-28 11:40:51,790: DEBUG - ++ cut -d+ -f1
2025-11-28 11:40:51,791: DEBUG - + local ‘time_start=2025-11-28 10:40:51 UTC’
2025-11-28 11:40:51,791: DEBUG - + systemctl reload-or-restart nginx
2025-11-28 11:40:51,943: DEBUG - + ynh_config_add_phpfpm
2025-11-28 11:40:51,943: DEBUG - + [[ -n 8.4 ]]
2025-11-28 11:40:51,943: DEBUG - + local php_group=wordpress__2
2025-11-28 11:40:51,944: DEBUG - + local php_upload_max_filesize=50M
2025-11-28 11:40:51,944: DEBUG - + local php_process_management=ondemand
2025-11-28 11:40:51,944: DEBUG - ++ default_php_max_children
2025-11-28 11:40:51,944: DEBUG - +++ ynh_get_ram --total
2025-11-28 11:40:51,958: DEBUG - +++ free=0
2025-11-28 11:40:51,959: DEBUG - +++ total=1
2025-11-28 11:40:51,960: DEBUG - ++++ LC_ALL=C
2025-11-28 11:40:51,960: DEBUG - ++++ vmstat --stats --unit M
2025-11-28 11:40:51,960: DEBUG - ++++ awk ‘{print $1}’
2025-11-28 11:40:51,961: DEBUG - ++++ grep ‘total memory’
2025-11-28 11:40:51,966: DEBUG - +++ local total_ram=7920
2025-11-28 11:40:51,967: DEBUG - ++++ LC_ALL=C
2025-11-28 11:40:51,967: DEBUG - ++++ vmstat --stats --unit M
2025-11-28 11:40:51,968: DEBUG - ++++ awk ‘{print $1}’
2025-11-28 11:40:51,968: DEBUG - ++++ grep ‘total swap’
2025-11-28 11:40:51,970: DEBUG - +++ local total_swap=979
2025-11-28 11:40:51,971: DEBUG - +++ local total_ram_swap=8899
2025-11-28 11:40:51,971: DEBUG - +++ local ram=8899
2025-11-28 11:40:51,972: DEBUG - +++ echo 8899
2025-11-28 11:40:51,972: DEBUG - ++ local total_ram=8899
2025-11-28 11:40:51,972: DEBUG - ++ local php_max_children=222
2025-11-28 11:40:51,973: DEBUG - ++ ‘[’ 222 -le 0 ‘]’
2025-11-28 11:40:51,973: DEBUG - +++ nproc
2025-11-28 11:40:51,973: DEBUG - ++ ‘[’ 222 -gt 16 ‘]’
2025-11-28 11:40:51,974: DEBUG - +++ nproc
2025-11-28 11:40:51,974: DEBUG - ++ php_max_children=16
2025-11-28 11:40:51,975: DEBUG - ++ echo 16
2025-11-28 11:40:51,975: DEBUG - + local php_max_children=16
2025-11-28 11:40:51,975: DEBUG - + local php_memory_limit=64M
2025-11-28 11:40:51,975: DEBUG - ++ mktemp
2025-11-28 11:40:51,976: DEBUG - + local phpfpm_template=/tmp/tmp.88gLnd5EbX
2025-11-28 11:40:51,977: DEBUG - + cat
2025-11-28 11:40:51,978: DEBUG - + ‘[’ ondemand = dynamic ‘]’
2025-11-28 11:40:51,978: DEBUG - + ‘[’ ondemand = ondemand ‘]’
2025-11-28 11:40:51,978: DEBUG - + cat
2025-11-28 11:40:51,979: DEBUG - + cat
2025-11-28 11:40:51,980: DEBUG - + ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_bxl2segk/conf/extra_php-fpm.conf ‘]’
2025-11-28 11:40:51,980: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_bxl2segk/conf/extra_php-fpm.conf
2025-11-28 11:40:51,981: DEBUG - + mkdir --parents /etc/php/8.4/fpm/pool.d
2025-11-28 11:40:51,983: DEBUG - + ynh_config_add --template=/tmp/tmp.88gLnd5EbX --destination=/etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,025: DEBUG - + jinja=0
2025-11-28 11:40:52,026: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_bxl2segk/conf//tmp/tmp.88gLnd5EbX ‘]’
2025-11-28 11:40:52,027: DEBUG - + ‘[’ -f /tmp/tmp.88gLnd5EbX ‘]’
2025-11-28 11:40:52,027: DEBUG - + template_path=/tmp/tmp.88gLnd5EbX
2025-11-28 11:40:52,027: DEBUG - + ynh_backup_if_checksum_is_different /etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,084: DEBUG - + touch /etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,085: DEBUG - + chmod 640 /etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,086: DEBUG - + ynh_apply_default_permissions /etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,086: DEBUG - + local target=/etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,086: DEBUG - + ynh_system_user_exists --username=wordpress__2
2025-11-28 11:40:52,096: DEBUG - + getent passwd wordpress__2
2025-11-28 11:40:52,097: DEBUG - + ‘[’ -f /etc/php/8.4/fpm/pool.d/wordpress__2.conf ‘]’
2025-11-28 11:40:52,097: DEBUG - + is_in_dir /etc/php/8.4/fpm/pool.d/wordpress__2.conf /var/www/wordpress__2
2025-11-28 11:40:52,098: DEBUG - + ‘[’ -n /var/www/wordpress__2 ‘]’
2025-11-28 11:40:52,098: DEBUG - ++ realpath /etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,099: DEBUG - + local child=/etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,100: DEBUG - ++ realpath /var/www/wordpress__2
2025-11-28 11:40:52,101: DEBUG - + local parent=/var/www/wordpress__2
2025-11-28 11:40:52,101: DEBUG - + [[ /etc/php/8.4/fpm/pool.d/wordpress__2.conf =~ ^/var/www/wordpress__2 ]]
2025-11-28 11:40:52,101: DEBUG - + is_in_dir /etc/php/8.4/fpm/pool.d/wordpress__2.conf ‘’
2025-11-28 11:40:52,102: DEBUG - + ‘[’ -n ‘’ ‘]’
2025-11-28 11:40:52,102: DEBUG - + return 1
2025-11-28 11:40:52,102: DEBUG - + is_in_dir /etc/php/8.4/fpm/pool.d/wordpress__2.conf /etc/wordpress__2
2025-11-28 11:40:52,103: DEBUG - + ‘[’ -n /etc/wordpress__2 ‘]’
2025-11-28 11:40:52,103: DEBUG - ++ realpath /etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,103: DEBUG - + local child=/etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,104: DEBUG - ++ realpath /etc/wordpress__2
2025-11-28 11:40:52,106: DEBUG - + local parent=/etc/wordpress__2
2025-11-28 11:40:52,106: DEBUG - + [[ /etc/php/8.4/fpm/pool.d/wordpress__2.conf =~ ^/etc/wordpress__2 ]]
2025-11-28 11:40:52,106: DEBUG - + ‘[’ /etc/php/8.4/fpm/pool.d/wordpress__2.conf == /var/www/wordpress__2 ‘]’
2025-11-28 11:40:52,107: DEBUG - + ‘[’ /etc/php/8.4/fpm/pool.d/wordpress__2.conf == ‘’ ‘]’
2025-11-28 11:40:52,107: DEBUG - + chmod 400 /etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,107: DEBUG - + chown root:root /etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,109: DEBUG - + [[ 0 == 1 ]]
2025-11-28 11:40:52,109: DEBUG - + cp -f /tmp/tmp.88gLnd5EbX /etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,110: DEBUG - + ynh_replace_vars /etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,111: DEBUG - + local file=/etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,111: DEBUG - + local -a uniques_vars
2025-11-28 11:40:52,111: DEBUG - + mapfile -t uniques_vars
2025-11-28 11:40:52,112: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9]?[A-Z0-9]?’ /etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,112: DEBUG - ++ sort --unique
2025-11-28 11:40:52,112: DEBUG - ++ sed 's@([^.])__@\L\1@g’
2025-11-28 11:40:52,128: DEBUG - + ynh_store_file_checksum /etc/php/8.4/fpm/pool.d/wordpress__2.conf
2025-11-28 11:40:52,231: DEBUG - + php-fpm8.4 --test
2025-11-28 11:40:52,293: DEBUG - + ynh_systemctl --service=php8.4-fpm --action=reload
2025-11-28 11:40:52,357: DEBUG - + service=php8.4-fpm
2025-11-28 11:40:52,358: DEBUG - + action=reload
2025-11-28 11:40:52,358: DEBUG - + wait_until=
2025-11-28 11:40:52,359: DEBUG - + length=20
2025-11-28 11:40:52,359: DEBUG - + log_path=/var/log/php8.4-fpm/php8.4-fpm.log
2025-11-28 11:40:52,360: DEBUG - + ynh_in_ci_tests
2025-11-28 11:40:52,361: DEBUG - + timeout=300
2025-11-28 11:40:52,361: DEBUG - + ‘[’ reload == stop ‘]’
2025-11-28 11:40:52,362: DEBUG - + ‘[’ reload == reload ‘]’
2025-11-28 11:40:52,362: DEBUG - + action=reload-or-restart
2025-11-28 11:40:52,362: DEBUG - ++ date --utc --rfc-3339=seconds
2025-11-28 11:40:52,363: DEBUG - ++ cut -d+ -f1
2025-11-28 11:40:52,363: DEBUG - + local ‘time_start=2025-11-28 10:40:52 UTC’
2025-11-28 11:40:52,363: DEBUG - + systemctl reload-or-restart php8.4-fpm
2025-11-28 11:40:52,400: DEBUG - + ynh_backup_if_checksum_is_different /var/www/wordpress__2/wp-config.php
2025-11-28 11:40:52,479: WARNING - File /var/www/wordpress__2/wp-config.php has been manually modified since the installation or last upgrade. So it has been duplicated in /var/cache/yunohost/appconfbackup//var/www/wordpress__2/wp-config.php.backup.20251128.114052
2025-11-28 11:40:52,480: INFO - [######++++…] > Configuring multisite…
2025-11-28 11:40:52,481: DEBUG - /var/cache/yunohost/appconfbackup//var/www/wordpress__2/wp-config.php.backup.20251128.114052
2025-11-28 11:40:52,482: DEBUG - + multisite=0
2025-11-28 11:40:52,482: DEBUG - ++ grep ‘^$table_prefix’ /var/www/wordpress__2/wp-config.php
2025-11-28 11:40:52,483: DEBUG - ++ sed 's/.‘‘’(.)‘'’./\1/’
2025-11-28 11:40:52,484: DEBUG - + db_prefix=’$table_prefix = “wp_na8q734hsm”;’
2025-11-28 11:40:52,484: DEBUG - + ynh_replace --match=DB_PREFIX '–replace=$table_prefix = “wp_na8q734hsm”;’ --file=../conf/sql/single.sql
2025-11-28 11:40:52,531: DEBUG - + ynh_replace --match=APP --replace=wordpress__2 --file=../conf/sql/single.sql
2025-11-28 11:40:52,586: DEBUG - + ynh_replace --match=LENGTH --replace=120 --file=../conf/sql/single.sql
2025-11-28 11:40:52,656: DEBUG - + ynh_mysql_db_shell
2025-11-28 11:40:52,657: DEBUG - + local database=wordpress__2
2025-11-28 11:40:52,657: DEBUG - + default_character_set=()
2025-11-28 11:40:52,658: DEBUG - + [[ -n wordpress__2 ]]
2025-11-28 11:40:52,659: DEBUG - + default_character_set=(–default-character-set “$(mysql -B “$database” <<< ‘show variables like “character_set_database”;’ | tail -n1 | cut -f2)”)
2025-11-28 11:40:52,659: DEBUG - ++ mysql -B wordpress__2
2025-11-28 11:40:52,660: DEBUG - ++ tail -n1
2025-11-28 11:40:52,660: DEBUG - ++ cut -f2
2025-11-28 11:40:52,671: DEBUG - + mysql --default-character-set utf8mb4 -B wordpress__2
2025-11-28 11:40:52,680: WARNING - --------------
2025-11-28 11:40:52,681: WARNING - REPLACE INTO $table_prefix = “wp_na8q734hsm”
2025-11-28 11:40:52,683: DEBUG - + ynh_exit_properly
2025-11-28 11:40:52,683: WARNING - --------------
2025-11-28 11:40:52,684: DEBUG -
2025-11-28 11:40:52,685: DEBUG - + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
2025-11-28 11:40:52,686: WARNING - ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '= “wp_na8q734hsm”’ at line 1
2025-11-28 11:40:53,296: ERROR - Het is niet gelukt app wordpress__2 bij te werken: Er is een fout opgetreden in het upgradescript van de app




There seems to be a problem with double quotes in your wp-config.php. I think they should be single quotes.

1 Like

You have at some point made manual changes to your wp installation. But you didn’t made the same changes in the settings.

1 Like

Instead of reading db_prefix=wp_na8q734hsm it reads db_prefix=’$table_prefix = “wp_na8q734hsm”;’ and throws an error

1 Like

What is doing the reading, the install script, not?
And where do I change this?

Thanks,

Christian

nano /var/www/wordpress__2/wp-config.php

=> Make a backup before doing any changes.

If you didn’t make before any manually change in this file, it could mean something else is going on…

1 Like

I see that we have

That’s funny. (I am not fun of wp).

I don’t know why they used this formatting in config file.

The upgrade script is trying to update a var that is not a var

I got it all working but had to do everything from the terminal, hardly easy.
Also, I needed to change the version number in the manifest.toml by hand after upgrading wp.

But it all works for now,

Thanks,

Christian

Edit manually the manifest.toml

You didn’t say wether there was something wrong with the $table_prefix = value in your wp-config.

1 Like

What was the log for, then ?

:face_without_mouth:??

Yes, I did indeed change to single quotes.
Thanks

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