WordPress installation error

English:

Hello,
I will try to express myself as best as possible although this is not my language.

I am trying to run a web inside my raspi 2,
for this I have installed the yunohost distro, but I am having problems installing wordpress

someone could help me?
Thanks in advance

Spanish:

Hola,

Estoy tratando de ejecutar una web dentro de mi raspi 2,
para esto he instalado la distro yunohost, pero estoy teniendo problemas instalando wordpress

alguien me podria ayudar?

Gracias por adelantado

MY LOGS:

args:
  app: https://github.com/YunoHost-Apps/wordpress_ynh/
  args: domain=maindomain.tld&path=%2Fblog&admin=franbyte&language=en_US&is_public=1&multisite=0
  force: false
  label: WordPress
  no_remove_on_failure: false
ended_at: 2022-01-15 11:21:44.875819
env:
  YNH_APP_ARG_ADMIN: franbyte
  YNH_APP_ARG_DOMAIN: maindomain.tld
  YNH_APP_ARG_IS_PUBLIC: 1
  YNH_APP_ARG_LANGUAGE: en_US
  YNH_APP_ARG_MULTISITE: 0
  YNH_APP_ARG_PATH: /blog
  YNH_APP_ID: wordpress
  YNH_APP_INSTANCE_NAME: wordpress
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 5.8~ynh1
error: "Ha ocurrido un error en el gui\xF3n de instalaci\xF3n de la aplicaci\xF3n"
interface: api
operation: app_install
parent: null
related_to:
- - app
  - wordpress
started_at: 2022-01-15 11:20:21.747203
success: false
yunohost_version: 4.1.7.2

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

2022-01-15 11:20:21,802: INFO - Instalando «wordpress»…
2022-01-15 11:20:22,221: DEBUG - Actualizado el permiso «wordpress.main»
2022-01-15 11:20:22,236: DEBUG - Registro completo de esta operación: «<a href="#/tools/logs/20220115-112022-permission_url-wordpress" style="text-decoration:underline">Actualizar la URL relacionada con el permiso «wordpress»</a>»
2022-01-15 11:20:22,328: DEBUG - The permission database has been resynchronized
2022-01-15 11:20:22,398: DEBUG - Generada la configuración de SSOwat
2022-01-15 11:20:22,495: DEBUG - Creado el permiso «wordpress.main»
2022-01-15 11:20:22,499: DEBUG - Registro completo de esta operación: «<a href="#/tools/logs/20220115-112022-permission_create-wordpress" style="text-decoration:underline">Crear permiso «wordpress»</a>»
2022-01-15 11:20:22,584: DEBUG - Executing command 'sh -c YNH_APP_ARG_MULTISITE=0 YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=en_US YNH_APP_MANIFEST_VERSION='5.8~ynh1' YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpFUYqVq/stdinfo YNH_CWD=/var/cache/yunohost/from_file/scripts YNH_APP_INSTANCE_NAME=wordpress YNH_APP_ARG_ADMIN=franbyte YNH_INTERFACE=api YNH_APP_ID=wordpress YNH_APP_ARG_PATH=/blog YNH_STDRETURN=/tmp/tmpwTryqj/stdreturn YNH_APP_ARG_DOMAIN=maindomain.tld BASH_XTRACEFD=7 /bin/bash -x "./install" maindomain.tld /blog franbyte en_US 0 1 wordpress 7>&1'
2022-01-15 11:20:22,667: DEBUG - + source _common.sh
2022-01-15 11:20:22,672: DEBUG - ++ YNH_PHP_VERSION=7.3
2022-01-15 11:20:22,673: DEBUG - ++ extra_php_dependencies='php7.3-mysql php7.3-curl php7.3-json php7.3-mbstring php7.3-xml php7.3-zip php7.3-gd php7.3-soap php7.3-ssh2 php7.3-tokenizer php7.3-ldap'
2022-01-15 11:20:22,675: DEBUG - + source /usr/share/yunohost/helpers
2022-01-15 11:20:22,778: DEBUG - +++ set +o
2022-01-15 11:20:22,780: DEBUG - +++ grep xtrace
2022-01-15 11:20:22,782: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2022-01-15 11:20:22,784: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2022-01-15 11:20:22,987: DEBUG - + ynh_abort_if_errors
2022-01-15 11:20:22,989: DEBUG - + set -o errexit
2022-01-15 11:20:22,990: DEBUG - + set -o nounset
2022-01-15 11:20:22,991: DEBUG - + trap ynh_exit_properly EXIT
2022-01-15 11:20:22,992: DEBUG - + domain=maindomain.tld
2022-01-15 11:20:22,994: DEBUG - + path_url=/blog
2022-01-15 11:20:22,995: DEBUG - + admin_wordpress=franbyte
2022-01-15 11:20:22,997: DEBUG - + language=en_US
2022-01-15 11:20:22,999: DEBUG - + multisite=0
2022-01-15 11:20:23,001: DEBUG - + is_public=1
2022-01-15 11:20:23,003: DEBUG - + app=wordpress
2022-01-15 11:20:23,515: DEBUG - + echo '[....................] > Validating installation parameters...'
2022-01-15 11:20:23,517: DEBUG - + final_path=/var/www/wordpress
2022-01-15 11:20:23,518: DEBUG - + test '!' -e /var/www/wordpress
2022-01-15 11:20:23,519: DEBUG - + ynh_webpath_register --app=wordpress --domain=maindomain.tld --path_url=/blog
2022-01-15 11:20:23,936: DEBUG - + yunohost app register-url wordpress maindomain.tld /blog
2022-01-15 11:20:23,938: INFO - [....................] > Validating installation parameters...
2022-01-15 11:20:26,855: DEBUG - + '[' /blog == / ']'
2022-01-15 11:20:27,266: INFO - [+...................] > Storing installation settings...
2022-01-15 11:20:27,271: DEBUG - + echo '[+...................] > Storing installation settings...'
2022-01-15 11:20:27,274: DEBUG - + ynh_app_setting_set --app=wordpress --key=domain --value=maindomain.tld
2022-01-15 11:20:27,692: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2022-01-15 11:20:27,694: DEBUG - + ynh_app_setting set wordpress domain maindomain.tld
2022-01-15 11:20:28,300: DEBUG - + ynh_app_setting_set --app=wordpress --key=path --value=/blog
2022-01-15 11:20:28,718: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2022-01-15 11:20:28,719: DEBUG - + ynh_app_setting set wordpress path /blog
2022-01-15 11:20:29,325: DEBUG - + ynh_app_setting_set --app=wordpress --key=admin --value=franbyte
2022-01-15 11:20:29,737: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2022-01-15 11:20:29,739: DEBUG - + ynh_app_setting set wordpress admin franbyte
2022-01-15 11:20:30,445: DEBUG - + ynh_app_setting_set --app=wordpress --key=language --value=en_US
2022-01-15 11:20:30,763: DEBUG - + [[ language =~ (unprotected|protected|skipped)_ ]]
2022-01-15 11:20:30,765: DEBUG - + ynh_app_setting set wordpress language en_US
2022-01-15 11:20:31,471: DEBUG - + ynh_app_setting_set --app=wordpress --key=multisite --value=0
2022-01-15 11:20:31,884: DEBUG - + [[ multisite =~ (unprotected|protected|skipped)_ ]]
2022-01-15 11:20:31,885: DEBUG - + ynh_app_setting set wordpress multisite 0
2022-01-15 11:20:32,491: DEBUG - + ynh_app_setting_set --app=wordpress --key=overwrite_nginx --value=1
2022-01-15 11:20:32,910: DEBUG - + [[ overwrite_nginx =~ (unprotected|protected|skipped)_ ]]
2022-01-15 11:20:32,911: DEBUG - + ynh_app_setting set wordpress overwrite_nginx 1
2022-01-15 11:20:33,517: DEBUG - + ynh_app_setting_set --app=wordpress --key=overwrite_phpfpm --value=1
2022-01-15 11:20:33,934: DEBUG - + [[ overwrite_phpfpm =~ (unprotected|protected|skipped)_ ]]
2022-01-15 11:20:33,935: DEBUG - + ynh_app_setting set wordpress overwrite_phpfpm 1
2022-01-15 11:20:34,540: DEBUG - + ynh_app_setting_set --app=wordpress --key=admin_mail_html --value=1
2022-01-15 11:20:34,959: DEBUG - + [[ admin_mail_html =~ (unprotected|protected|skipped)_ ]]
2022-01-15 11:20:34,960: DEBUG - + ynh_app_setting set wordpress admin_mail_html 1
2022-01-15 11:20:35,876: DEBUG - + echo '[#...................] > Creating a MySQL database...'
2022-01-15 11:20:35,879: DEBUG - ++ ynh_sanitize_dbid --db_name=wordpress
2022-01-15 11:20:35,994: DEBUG - ++ echo wordpress
2022-01-15 11:20:35,997: INFO - [#...................] > Creating a MySQL database...
2022-01-15 11:20:36,000: DEBUG - + db_name=wordpress
2022-01-15 11:20:36,002: DEBUG - + ynh_app_setting_set --app=wordpress --key=db_name --value=wordpress
2022-01-15 11:20:36,421: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]]
2022-01-15 11:20:36,423: DEBUG - + ynh_app_setting set wordpress db_name wordpress
2022-01-15 11:20:37,129: DEBUG - + ynh_mysql_setup_db --db_user=wordpress --db_name=wordpress
2022-01-15 11:20:37,139: DEBUG - + db_pwd=
2022-01-15 11:20:37,345: DEBUG - ++ ynh_string_random
2022-01-15 11:20:37,358: DEBUG - ++ length=24
2022-01-15 11:20:37,360: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2022-01-15 11:20:37,362: DEBUG - ++ tr --complement --delete A-Za-z0-9
2022-01-15 11:20:37,364: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2022-01-15 11:20:37,366: DEBUG - + local new_db_pwd=**********
2022-01-15 11:20:37,367: DEBUG - + db_pwd=**********
2022-01-15 11:20:37,369: DEBUG - + ynh_mysql_create_db wordpress wordpress **********
2022-01-15 11:20:37,371: DEBUG - + local db=wordpress
2022-01-15 11:20:37,372: DEBUG - + local 'sql=CREATE DATABASE wordpress;'
2022-01-15 11:20:37,374: DEBUG - + [[ 3 -gt 1 ]]
2022-01-15 11:20:37,375: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON wordpress.* TO '\''wordpress'\''@'\''localhost'\'''
2022-01-15 11:20:37,377: DEBUG - + [[ -n ********** ]]
2022-01-15 11:20:37,379: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\'''
2022-01-15 11:20:37,382: DEBUG - + sql+=' WITH GRANT OPTION;'
2022-01-15 11:20:37,384: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE wordpress; GRANT ALL PRIVILEGES ON wordpress.* TO '\''wordpress'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2022-01-15 11:20:37,498: DEBUG - + database=
2022-01-15 11:20:37,500: DEBUG - + '[' -n '' ']'
2022-01-15 11:20:37,501: DEBUG - ++ cat /etc/yunohost/mysql
2022-01-15 11:20:37,502: DEBUG - + ynh_mysql_connect_as --user=root --password=**********
2022-01-15 11:20:37,820: DEBUG - + database=
2022-01-15 11:20:37,821: DEBUG - + mysql --user=root --password=********** --batch ''
2022-01-15 11:20:37,823: DEBUG - + ynh_app_setting_set --app=wordpress --key=mysqlpwd --value=**********
2022-01-15 11:20:38,343: DEBUG - + [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]]
2022-01-15 11:20:38,345: DEBUG - + ynh_app_setting set wordpress mysqlpwd **********
2022-01-15 11:20:39,461: DEBUG - + echo '[#+..................] > Setting up source files...'
2022-01-15 11:20:39,464: DEBUG - + ynh_app_setting_set --app=wordpress --key=final_path --value=/var/www/wordpress
2022-01-15 11:20:39,983: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2022-01-15 11:20:39,984: INFO - [#+..................] > Setting up source files...
2022-01-15 11:20:39,987: DEBUG - + ynh_app_setting set wordpress final_path /var/www/wordpress
2022-01-15 11:20:40,593: DEBUG - + ynh_setup_source --dest_dir=/var/www/wordpress
2022-01-15 11:20:40,707: DEBUG - + source_id=app
2022-01-15 11:20:40,709: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/scripts/../conf/app.src
2022-01-15 11:20:40,711: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/scripts/../conf/app.src ']'
2022-01-15 11:20:40,713: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/scripts/../conf/app.src
2022-01-15 11:20:40,714: DEBUG - ++ cut --delimiter== --fields=2-
2022-01-15 11:20:40,716: DEBUG - + local src_url=https://wordpress.org/wordpress-5.8.tar.gz
2022-01-15 11:20:40,718: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/scripts/../conf/app.src
2022-01-15 11:20:40,720: DEBUG - ++ cut --delimiter== --fields=2-
2022-01-15 11:20:40,721: DEBUG - + local src_sum=d29813ab55361318f519f2a8fa6631126a0a8f91ac30f62cb6002c108577e87f
2022-01-15 11:20:40,724: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/scripts/../conf/app.src
2022-01-15 11:20:40,727: DEBUG - ++ cut --delimiter== --fields=2-
2022-01-15 11:20:40,729: DEBUG - + local src_sumprg=sha256sum
2022-01-15 11:20:40,732: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/scripts/../conf/app.src
2022-01-15 11:20:40,734: DEBUG - ++ cut --delimiter== --fields=2-
2022-01-15 11:20:40,836: DEBUG - + local src_format=
2022-01-15 11:20:40,837: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/scripts/../conf/app.src
2022-01-15 11:20:40,839: DEBUG - ++ cut --delimiter== --fields=2-
2022-01-15 11:20:40,840: DEBUG - + local src_extract=
2022-01-15 11:20:40,841: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/scripts/../conf/app.src
2022-01-15 11:20:40,843: DEBUG - ++ cut --delimiter== --fields=2-
2022-01-15 11:20:40,844: DEBUG - + local src_in_subdir=true
2022-01-15 11:20:40,845: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/scripts/../conf/app.src
2022-01-15 11:20:40,846: DEBUG - ++ cut --delimiter== --fields=2-
2022-01-15 11:20:40,847: DEBUG - + local src_filename=
2022-01-15 11:20:40,849: DEBUG - + src_sumprg=sha256sum
2022-01-15 11:20:40,850: DEBUG - + src_in_subdir=true
2022-01-15 11:20:40,852: DEBUG - + src_format=tar.gz
2022-01-15 11:20:40,853: DEBUG - ++ echo tar.gz
2022-01-15 11:20:40,855: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2022-01-15 11:20:40,856: DEBUG - + src_format=tar.gz
2022-01-15 11:20:40,858: DEBUG - + src_extract=true
2022-01-15 11:20:40,859: DEBUG - + '[' '' = '' ']'
2022-01-15 11:20:40,860: DEBUG - + src_filename=app.tar.gz
2022-01-15 11:20:40,862: DEBUG - + local local_src=/opt/yunohost-apps-src/wordpress/app.tar.gz
2022-01-15 11:20:40,869: DEBUG - + test -e /opt/yunohost-apps-src/wordpress/app.tar.gz
2022-01-15 11:20:40,872: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=app.tar.gz https://wordpress.org/wordpress-5.8.tar.gz
2022-01-15 11:20:48,804: DEBUG - + out='2022-01-15 11:20:48 URL:https://wordpress.org/wordpress-5.8.tar.gz [15073609/15073609] -> "app.tar.gz" [1]'
2022-01-15 11:20:48,806: DEBUG - + echo 'd29813ab55361318f519f2a8fa6631126a0a8f91ac30f62cb6002c108577e87f app.tar.gz'
2022-01-15 11:20:48,807: DEBUG - + sha256sum --check --status
2022-01-15 11:20:49,511: DEBUG - + mkdir --parents /var/www/wordpress
2022-01-15 11:20:49,513: DEBUG - + true
2022-01-15 11:20:49,514: DEBUG - + '[' tar.gz = zip ']'
2022-01-15 11:20:49,515: DEBUG - + local strip=
2022-01-15 11:20:49,517: DEBUG - + '[' true '!=' false ']'
2022-01-15 11:20:49,518: DEBUG - + '[' true == true ']'
2022-01-15 11:20:49,519: DEBUG - + local sub_dirs=1
2022-01-15 11:20:49,521: DEBUG - + strip='--strip-components 1'
2022-01-15 11:20:49,522: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2022-01-15 11:20:49,524: DEBUG - + tar --extract --file=app.tar.gz --directory=/var/www/wordpress --strip-components 1
2022-01-15 11:20:51,935: DEBUG - ++ find /var/cache/yunohost/from_file/scripts/../sources/patches/ -type f -name 'app-*.patch'
2022-01-15 11:20:51,937: DEBUG - ++ wc --lines
2022-01-15 11:20:53,343: DEBUG - + ((  0 > 0  ))
2022-01-15 11:20:53,345: DEBUG - + test -e /var/cache/yunohost/from_file/scripts/../sources/extra_files/app
2022-01-15 11:20:53,858: DEBUG - + echo '[##+.................] > Configuring NGINX web server...'
2022-01-15 11:20:53,860: DEBUG - + ynh_add_nginx_config
2022-01-15 11:20:53,861: DEBUG - + finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:53,863: INFO - [##+.................] > Configuring NGINX web server...
2022-01-15 11:20:53,866: DEBUG - + local others_var=
2022-01-15 11:20:53,868: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:53,880: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_wordpress.conf
2022-01-15 11:20:53,882: DEBUG - ++ ynh_app_setting_get --app=wordpress --key=checksum__etc_nginx_conf.d_maindomain.tld.d_wordpress.conf
2022-01-15 11:20:54,099: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_wordpress.conf =~ (unprotected|protected|skipped)_ ]]
2022-01-15 11:20:54,100: DEBUG - ++ ynh_app_setting get wordpress checksum__etc_nginx_conf.d_maindomain.tld.d_wordpress.conf
2022-01-15 11:20:54,807: DEBUG - + local checksum_value=
2022-01-15 11:20:54,809: DEBUG - + backup_file_checksum=
2022-01-15 11:20:54,810: DEBUG - + '[' -n '' ']'
2022-01-15 11:20:54,812: DEBUG - + cp ../conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:54,814: DEBUG - + test -n /blog
2022-01-15 11:20:54,815: DEBUG - + local path_url_slash_less=/blog
2022-01-15 11:20:54,816: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/blog/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:55,234: DEBUG - + local delimit=@
2022-01-15 11:20:55,236: DEBUG - + match_string=__PATH__/
2022-01-15 11:20:55,238: DEBUG - + replace_string=/blog/
2022-01-15 11:20:55,239: DEBUG - + sed --in-place s@__PATH__/@/blog/@g /etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:55,241: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/blog --target_file=/etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:55,660: DEBUG - + local delimit=@
2022-01-15 11:20:55,662: DEBUG - + match_string=__PATH__
2022-01-15 11:20:55,664: DEBUG - + replace_string=/blog
2022-01-15 11:20:55,666: DEBUG - + sed --in-place s@__PATH__@/blog@g /etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:55,668: DEBUG - + test -n maindomain.tld
2022-01-15 11:20:55,670: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=maindomain.tld --target_file=/etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:56,093: DEBUG - + local delimit=@
2022-01-15 11:20:56,120: DEBUG - + match_string=__DOMAIN__
2022-01-15 11:20:56,122: DEBUG - + replace_string=maindomain.tld
2022-01-15 11:20:56,125: DEBUG - + sed --in-place s@__DOMAIN__@maindomain.tld@g /etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:56,127: DEBUG - + test -n ''
2022-01-15 11:20:56,129: DEBUG - + test -n wordpress
2022-01-15 11:20:56,131: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=wordpress --target_file=/etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:56,653: DEBUG - + local delimit=@
2022-01-15 11:20:56,657: DEBUG - + match_string=__NAME__
2022-01-15 11:20:56,659: DEBUG - + replace_string=wordpress
2022-01-15 11:20:56,661: DEBUG - + sed --in-place s@__NAME__@wordpress@g /etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:56,663: DEBUG - + test -n /var/www/wordpress
2022-01-15 11:20:56,665: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/wordpress --target_file=/etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:57,089: DEBUG - + local delimit=@
2022-01-15 11:20:57,091: DEBUG - + match_string=__FINALPATH__
2022-01-15 11:20:57,093: DEBUG - + replace_string=/var/www/wordpress
2022-01-15 11:20:57,094: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/wordpress@g /etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:57,096: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:57,529: DEBUG - + local delimit=@
2022-01-15 11:20:57,531: DEBUG - + match_string=__PHPVERSION__
2022-01-15 11:20:57,533: DEBUG - + replace_string=7.3
2022-01-15 11:20:57,536: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:57,538: DEBUG - + '[' /blog '!=' / ']'
2022-01-15 11:20:57,540: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:57,962: DEBUG - + local delimit=@
2022-01-15 11:20:57,964: DEBUG - + match_string='^#sub_path_only'
2022-01-15 11:20:57,965: DEBUG - + replace_string=
2022-01-15 11:20:57,966: DEBUG - + sed --in-place 's@^#sub_path_only@@g' /etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:58,469: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:58,590: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_wordpress.conf
2022-01-15 11:20:58,593: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/wordpress.conf
2022-01-15 11:20:58,595: DEBUG - ++ cut '--delimiter= ' --fields=1
2022-01-15 11:20:58,597: DEBUG - + ynh_app_setting_set --app=wordpress --key=checksum__etc_nginx_conf.d_maindomain.tld.d_wordpress.conf --value=2ab0ddb44904d00e9496b39d6764443c
2022-01-15 11:20:59,016: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_wordpress.conf =~ (unprotected|protected|skipped)_ ]]
2022-01-15 11:20:59,018: DEBUG - + ynh_app_setting set wordpress checksum__etc_nginx_conf.d_maindomain.tld.d_wordpress.conf 2ab0ddb44904d00e9496b39d6764443c
2022-01-15 11:20:59,926: DEBUG - + '[' -n '' ']'
2022-01-15 11:20:59,927: DEBUG - + unset backup_file_checksum
2022-01-15 11:20:59,929: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2022-01-15 11:21:00,450: DEBUG - + service_name=nginx
2022-01-15 11:21:00,451: DEBUG - + action=reload
2022-01-15 11:21:00,453: DEBUG - + line_match=
2022-01-15 11:21:00,455: DEBUG - + length=20
2022-01-15 11:21:00,460: DEBUG - + log_path=/var/log/nginx/nginx.log
2022-01-15 11:21:00,462: DEBUG - + timeout=300
2022-01-15 11:21:00,464: DEBUG - + [[ -n '' ]]
2022-01-15 11:21:00,466: DEBUG - + '[' reload == reload ']'
2022-01-15 11:21:00,468: DEBUG - + action=reload-or-restart
2022-01-15 11:21:00,470: DEBUG - + systemctl reload-or-restart nginx
2022-01-15 11:21:00,873: DEBUG - + [[ -n '' ]]
2022-01-15 11:21:01,613: INFO - [###+................] > Configuring system user...
2022-01-15 11:21:01,622: DEBUG - + echo '[###+................] > Configuring system user...'
2022-01-15 11:21:01,628: DEBUG - + ynh_system_user_create --username=wordpress
2022-01-15 11:21:01,637: DEBUG - + use_shell=0
2022-01-15 11:21:01,638: DEBUG - + home_dir=
2022-01-15 11:21:01,639: DEBUG - + ynh_system_user_exists wordpress
2022-01-15 11:21:01,648: DEBUG - + getent passwd wordpress
2022-01-15 11:21:01,649: DEBUG - + '[' -n '' ']'
2022-01-15 11:21:01,649: DEBUG - + local user_home_dir=--no-create-home
2022-01-15 11:21:01,650: DEBUG - + '[' 0 -eq 1 ']'
2022-01-15 11:21:01,651: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2022-01-15 11:21:01,652: DEBUG - + useradd --no-create-home --system --user-group wordpress --shell /usr/sbin/nologin
2022-01-15 11:21:02,666: INFO - [####................] > Configuring PHP-FPM...
2022-01-15 11:21:02,674: DEBUG - + echo '[####................] > Configuring PHP-FPM...'
2022-01-15 11:21:02,678: DEBUG - + '[' 1 -eq 0 ']'
2022-01-15 11:21:02,681: DEBUG - + usage=high
2022-01-15 11:21:02,683: DEBUG - + ynh_add_fpm_config --usage=high --footprint=medium '--package=php7.3-mysql php7.3-curl php7.3-json php7.3-mbstring php7.3-xml php7.3-zip php7.3-gd php7.3-soap php7.3-ssh2 php7.3-tokenizer php7.3-ldap'
2022-01-15 11:21:03,412: DEBUG - + package='php7.3-mysql php7.3-curl php7.3-json php7.3-mbstring php7.3-xml php7.3-zip php7.3-gd php7.3-soap php7.3-ssh2 php7.3-tokenizer php7.3-ldap'
2022-01-15 11:21:03,414: DEBUG - + use_template=1
2022-01-15 11:21:03,416: DEBUG - + usage=high
2022-01-15 11:21:03,417: DEBUG - + footprint=medium
2022-01-15 11:21:03,420: DEBUG - + '[' -n high ']'
2022-01-15 11:21:03,422: DEBUG - + use_template=0
2022-01-15 11:21:03,424: DEBUG - + dedicated_service=0
2022-01-15 11:21:03,425: DEBUG - + phpversion=7.3
2022-01-15 11:21:03,427: DEBUG - ++ ynh_app_setting_get --app=wordpress --key=phpversion
2022-01-15 11:21:03,644: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2022-01-15 11:21:03,646: DEBUG - ++ ynh_app_setting get wordpress phpversion
2022-01-15 11:21:04,251: DEBUG - + local old_phpversion=
2022-01-15 11:21:04,253: DEBUG - + '[' -n '' ']'
2022-01-15 11:21:04,255: DEBUG - + '[' 7.3 '!=' 7.3 ']'
2022-01-15 11:21:04,257: DEBUG - + '[' -n 'php7.3-mysql php7.3-curl php7.3-json php7.3-mbstring php7.3-xml php7.3-zip php7.3-gd php7.3-soap php7.3-ssh2 php7.3-tokenizer php7.3-ldap' ']'
2022-01-15 11:21:04,258: DEBUG - + ynh_add_app_dependencies '--package=php7.3-mysql php7.3-curl php7.3-json php7.3-mbstring php7.3-xml php7.3-zip php7.3-gd php7.3-soap php7.3-ssh2 php7.3-tokenizer php7.3-ldap'
2022-01-15 11:21:04,375: DEBUG - + replace=0
2022-01-15 11:21:04,377: DEBUG - + local current_dependencies=
2022-01-15 11:21:04,379: DEBUG - + '[' 0 -eq 0 ']'
2022-01-15 11:21:04,380: DEBUG - + local dep_app=wordpress
2022-01-15 11:21:04,382: DEBUG - + ynh_package_is_installed --package=wordpress-ynh-deps
2022-01-15 11:21:04,494: DEBUG - + ynh_wait_dpkg_free
2022-01-15 11:21:05,000: DEBUG - + return 0
2022-01-15 11:21:05,002: DEBUG - + dpkg-query --show '--showformat=${Status}' wordpress-ynh-deps
2022-01-15 11:21:05,004: DEBUG - + grep --count 'ok installed'
2022-01-15 11:21:05,106: DEBUG - + current_dependencies=
2022-01-15 11:21:05,108: DEBUG - + ynh_install_app_dependencies 'php7.3-mysql php7.3-curl php7.3-json php7.3-mbstring php7.3-xml php7.3-zip php7.3-gd php7.3-soap php7.3-ssh2 php7.3-tokenizer php7.3-ldap'
2022-01-15 11:21:05,110: DEBUG - + local 'dependencies=php7.3-mysql php7.3-curl php7.3-json php7.3-mbstring php7.3-xml php7.3-zip php7.3-gd php7.3-soap php7.3-ssh2 php7.3-tokenizer php7.3-ldap'
2022-01-15 11:21:05,111: DEBUG - ++ echo 'php7.3-mysql php7.3-curl php7.3-json php7.3-mbstring php7.3-xml php7.3-zip php7.3-gd php7.3-soap php7.3-ssh2 php7.3-tokenizer php7.3-ldap'
2022-01-15 11:21:05,113: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2022-01-15 11:21:05,115: DEBUG - + dependencies='php7.3-mysql, php7.3-curl, php7.3-json, php7.3-mbstring, php7.3-xml, php7.3-zip, php7.3-gd, php7.3-soap, php7.3-ssh2, php7.3-tokenizer, php7.3-ldap'
2022-01-15 11:21:05,117: DEBUG - + local 'dependencies=php7.3-mysql, php7.3-curl, php7.3-json, php7.3-mbstring, php7.3-xml, php7.3-zip, php7.3-gd, php7.3-soap, php7.3-ssh2, php7.3-tokenizer, php7.3-ldap'
2022-01-15 11:21:05,119: DEBUG - + local manifest_path=../manifest.json
2022-01-15 11:21:05,122: DEBUG - + '[' '!' -e ../manifest.json ']'
2022-01-15 11:21:05,124: DEBUG - ++ grep '\"version\": ' ../manifest.json
2022-01-15 11:21:05,127: DEBUG - ++ cut '--delimiter="' --fields=4
2022-01-15 11:21:05,129: DEBUG - + local version=5.8~ynh1
2022-01-15 11:21:05,131: DEBUG - + '[' 8 -eq 0 ']'
2022-01-15 11:21:05,133: DEBUG - + local dep_app=wordpress
2022-01-15 11:21:05,134: DEBUG - + [[ php7.3-mysql, php7.3-curl, php7.3-json, php7.3-mbstring, php7.3-xml, php7.3-zip, php7.3-gd, php7.3-soap, php7.3-ssh2, php7.3-tokenizer, php7.3-ldap =~ [<=>] ]]
2022-01-15 11:21:05,136: DEBUG - + echo php7.3-mysql, php7.3-curl, php7.3-json, php7.3-mbstring, php7.3-xml, php7.3-zip, php7.3-gd, php7.3-soap, php7.3-ssh2, php7.3-tokenizer, php7.3-ldap
2022-01-15 11:21:05,138: DEBUG - + grep --quiet php
2022-01-15 11:21:05,139: DEBUG - + dpkg --list
2022-01-15 11:21:05,141: DEBUG - + grep php7.0
2022-01-15 11:21:05,143: DEBUG - + grep --quiet --invert-match 7.0.33-0+deb9
2022-01-15 11:21:05,346: DEBUG - + cat
2022-01-15 11:21:05,347: DEBUG - + ynh_package_install_from_equivs /tmp/wordpress-ynh-deps.control
2022-01-15 11:21:05,349: DEBUG - + local controlfile=/tmp/wordpress-ynh-deps.control
2022-01-15 11:21:05,350: DEBUG - ++ grep '^Package: ' /tmp/wordpress-ynh-deps.control
2022-01-15 11:21:05,351: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-01-15 11:21:05,352: DEBUG - + local pkgname=wordpress-ynh-deps
2022-01-15 11:21:05,353: DEBUG - ++ grep '^Version: ' /tmp/wordpress-ynh-deps.control
2022-01-15 11:21:05,354: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-01-15 11:21:05,355: DEBUG - + local pkgversion=5.8~ynh1
2022-01-15 11:21:05,356: DEBUG - + [[ -z wordpress-ynh-deps ]]
2022-01-15 11:21:05,357: DEBUG - + [[ -z 5.8~ynh1 ]]
2022-01-15 11:21:05,358: DEBUG - + ynh_package_update
2022-01-15 11:21:05,359: DEBUG - + ynh_apt update
2022-01-15 11:21:05,360: DEBUG - + ynh_wait_dpkg_free
2022-01-15 11:21:05,865: DEBUG - + return 0
2022-01-15 11:21:05,867: DEBUG - + LC_ALL=C
2022-01-15 11:21:05,868: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-01-15 11:21:05,870: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-01-15 11:21:06,275: DEBUG - Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
2022-01-15 11:21:06,377: DEBUG - Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
2022-01-15 11:21:06,379: DEBUG - Hit:3 http://forge.yunohost.org/debian buster InRelease
2022-01-15 11:21:17,629: DEBUG - Reading package lists...
2022-01-15 11:21:17,933: DEBUG - ++ mktemp --directory
2022-01-15 11:21:17,944: WARNING - E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
2022-01-15 11:21:17,948: DEBUG - + local TMPDIR=/tmp/tmp.RPByCDDkxD
2022-01-15 11:21:17,949: WARNING - E: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'oldstable'
2022-01-15 11:21:17,951: DEBUG - + echo 10
2022-01-15 11:21:17,953: DEBUG - + ynh_wait_dpkg_free
2022-01-15 11:21:18,458: DEBUG - + return 0
2022-01-15 11:21:18,460: DEBUG - + cp /tmp/wordpress-ynh-deps.control /tmp/tmp.RPByCDDkxD/control
2022-01-15 11:21:18,461: DEBUG - + cd /tmp/tmp.RPByCDDkxD
2022-01-15 11:21:18,463: DEBUG - + LC_ALL=C
2022-01-15 11:21:18,464: DEBUG - + equivs-build ./control
2022-01-15 11:21:30,115: DEBUG - + LC_ALL=C
2022-01-15 11:21:30,117: DEBUG - + dpkg --force-depends --install ./wordpress-ynh-deps_5.8~ynh1_all.deb
2022-01-15 11:21:30,119: DEBUG - + tee ./dpkg_log
2022-01-15 11:21:30,322: DEBUG - Selecting previously unselected package wordpress-ynh-deps.
2022-01-15 11:21:31,027: DEBUG - (Reading database ... 52724 files and directories currently installed.)
2022-01-15 11:21:31,129: DEBUG - Preparing to unpack .../wordpress-ynh-deps_5.8~ynh1_all.deb ...
2022-01-15 11:21:31,131: DEBUG - Unpacking wordpress-ynh-deps (5.8~ynh1) ...
2022-01-15 11:21:31,233: DEBUG - dpkg: wordpress-ynh-deps: dependency problems, but configuring anyway as you requested:
2022-01-15 11:21:31,235: DEBUG -  wordpress-ynh-deps depends on php7.3-zip; however:
2022-01-15 11:21:31,236: DEBUG -   Package php7.3-zip is not installed.
2022-01-15 11:21:31,237: DEBUG -  wordpress-ynh-deps depends on php7.3-soap; however:
2022-01-15 11:21:31,238: DEBUG -   Package php7.3-soap is not installed.
2022-01-15 11:21:31,239: DEBUG -  wordpress-ynh-deps depends on php7.3-ssh2; however:
2022-01-15 11:21:31,241: DEBUG -   Package php7.3-ssh2 is not installed.
2022-01-15 11:21:31,242: DEBUG - 
2022-01-15 11:21:31,244: DEBUG - Setting up wordpress-ynh-deps (5.8~ynh1) ...
2022-01-15 11:21:31,447: DEBUG - + ynh_package_install --fix-broken
2022-01-15 11:21:31,449: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2022-01-15 11:21:31,451: DEBUG - + ynh_wait_dpkg_free
2022-01-15 11:21:32,058: DEBUG - + return 0
2022-01-15 11:21:32,060: DEBUG - + LC_ALL=C
2022-01-15 11:21:32,062: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-01-15 11:21:32,063: 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
2022-01-15 11:21:33,371: DEBUG - Reading package lists...
2022-01-15 11:21:37,288: DEBUG - Building dependency tree...
2022-01-15 11:21:37,296: DEBUG - Reading state information...
2022-01-15 11:21:38,504: DEBUG - Correcting dependencies... Done
2022-01-15 11:21:40,012: DEBUG - The following additional packages will be installed:
2022-01-15 11:21:40,015: DEBUG -   libzip4 php-ssh2 php7.3-soap php7.3-zip
2022-01-15 11:21:40,218: DEBUG - The following NEW packages will be installed:
2022-01-15 11:21:40,220: DEBUG -   libzip4 php-ssh2 php7.3-soap php7.3-zip
2022-01-15 11:21:40,723: DEBUG - 0 upgraded, 4 newly installed, 0 to remove and 5 not upgraded.
2022-01-15 11:21:40,725: DEBUG - Need to get 183 kB of archives.
2022-01-15 11:21:40,727: DEBUG - After this operation, 580 kB of additional disk space will be used.
2022-01-15 11:21:40,729: DEBUG - Err:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf php7.3-soap armhf 7.3.27-1~deb10u1
2022-01-15 11:21:40,730: DEBUG -   404  Not Found [IP: 93.93.128.193 80]
2022-01-15 11:21:40,731: DEBUG - Get:1 http://ftp.cica.es/mirrors/Linux/raspbian/raspbian buster/main armhf libzip4 armhf 1.5.1-4 [45.4 kB]
2022-01-15 11:21:40,732: DEBUG - Err:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf php7.3-zip armhf 7.3.27-1~deb10u1
2022-01-15 11:21:40,733: DEBUG -   404  Not Found [IP: 93.93.128.193 80]
2022-01-15 11:21:41,036: DEBUG - Get:4 http://ftp.cica.es/mirrors/Linux/raspbian/raspbian buster/main armhf php-ssh2 armhf 1.1.2+0.13-4+b1 [25.0 kB]
2022-01-15 11:21:41,039: WARNING - E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/php7.3/php7.3-soap_7.3.27-1~deb10u1_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
2022-01-15 11:21:41,045: DEBUG - Fetched 70.5 kB in 1s (117 kB/s)
2022-01-15 11:21:41,047: WARNING - E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/php7.3/php7.3-zip_7.3.27-1~deb10u1_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
2022-01-15 11:21:41,053: DEBUG - ++ cat /tmp/tmp.RPByCDDkxD/dpkg_log
2022-01-15 11:21:41,055: WARNING - E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
2022-01-15 11:21:41,060: DEBUG - ++ grep -oP '(?<=-ynh-deps depends on ).*(?=; however)'
2022-01-15 11:21:41,062: DEBUG - ++ tr '\n' ' '
2022-01-15 11:21:41,064: DEBUG - + local 'problematic_dependencies=php7.3-zip php7.3-soap php7.3-ssh2 '
2022-01-15 11:21:41,066: DEBUG - + [[ -n php7.3-zip php7.3-soap php7.3-ssh2  ]]
2022-01-15 11:21:41,068: DEBUG - + ynh_package_install php7.3-zip php7.3-soap php7.3-ssh2 --dry-run
2022-01-15 11:21:41,070: DEBUG - + sed --quiet '/Reading state info/,$p'
2022-01-15 11:21:41,071: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install php7.3-zip php7.3-soap php7.3-ssh2 --dry-run
2022-01-15 11:21:41,073: DEBUG - + grep -v 'fix-broken\|Reading state info'
2022-01-15 11:21:41,076: DEBUG - + ynh_wait_dpkg_free
2022-01-15 11:21:41,583: DEBUG - + return 0
2022-01-15 11:21:41,585: DEBUG - + LC_ALL=C
2022-01-15 11:21:41,586: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-01-15 11:21:41,588: 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 php7.3-zip php7.3-soap php7.3-ssh2 --dry-run
2022-01-15 11:21:44,200: DEBUG - + ynh_die '--message=Unable to install dependencies'
2022-01-15 11:21:44,203: WARNING - The following packages have unmet dependencies:
2022-01-15 11:21:44,210: WARNING -  php7.3-zip : Depends: libzip4 (>= 1.3.2) but it is not going to be installed
2022-01-15 11:21:44,326: DEBUG - + ret_code=1
2022-01-15 11:21:44,328: WARNING - Unable to install dependencies
2022-01-15 11:21:44,331: DEBUG - + echo 'Unable to install dependencies'
2022-01-15 11:21:44,332: DEBUG - + exit 1
2022-01-15 11:21:44,334: DEBUG - + ynh_exit_properly
2022-01-15 11:21:44,335: DEBUG - + local exit_code=1
2022-01-15 11:21:44,335: DEBUG - + '[' 1 -eq 0 ']'
2022-01-15 11:21:44,336: DEBUG - + trap '' EXIT
2022-01-15 11:21:44,337: DEBUG - + set +o errexit
2022-01-15 11:21:44,338: DEBUG - + set +o nounset
2022-01-15 11:21:44,339: DEBUG - + sleep 0.5
2022-01-15 11:21:44,844: DEBUG - + type -t ynh_clean_setup
2022-01-15 11:21:44,846: DEBUG - + exit 1
2022-01-15 11:21:44,871: ERROR - No se pudo instalar wordpress: Ha ocurrido un error en el guión de instalación de la aplicación

Can you share the output of

apt policy libzip4

and

apt policy php7.3-zip
libzip4:
  Installed: (none)
  Candidate: 1.5.1-4
  Version table:
     1.5.1-4 500
        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages

php7.3-zip:
  Installed: (none)
  Candidate: 7.3.27-1~deb10u1
  Version table:
     7.3.27-1~deb10u1 500
        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages

OK thanks for everything,
In the end I found that yunohost repositories were not updated