args:
  app: freshrss
  force: false
  label: FreshRSS
  no_remove_on_failure: false
ended_at: 2023-07-03 04:10:39.694422
error: An error occured inside the script snippet
interface: api
operation: app_install
parent: 20230702-135940-resource_snippet-freshrss
related_to:
- - app
  - freshrss
started_at: 2023-07-03 04:10:27.132363
success: false
yunohost_version: 11.1.21.4

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

2023-07-03 12:10:27,137: INFO - Installing freshrss...
2023-07-03 12:10:27,140: INFO - Provisionning sources...
2023-07-03 12:10:27,140: DEBUG - Prefetching asset main: https://github.com/FreshRSS/FreshRSS/archive/1.21.0.tar.gz ...
2023-07-03 12:10:30,946: INFO - Provisionning system_user...
2023-07-03 12:10:31,050: INFO - Provisionning install_dir...
2023-07-03 12:10:31,062: INFO - Provisionning permissions...
2023-07-03 12:10:31,294: DEBUG - Permission 'freshrss.main' updated
2023-07-03 12:10:31,364: DEBUG - Full log of this operation: '<a href="#/tools/logs/20230703-041031-permission_url-freshrss" style="text-decoration:underline">Update URL related to permission 'freshrss'</a>'
2023-07-03 12:10:31,517: DEBUG - Permission 'freshrss.main' created
2023-07-03 12:10:31,517: DEBUG - Full log of this operation: '<a href="#/tools/logs/20230703-041031-permission_create-freshrss" style="text-decoration:underline">Create permission 'freshrss'</a>'
2023-07-03 12:10:31,735: DEBUG - Permission 'freshrss.main' updated
2023-07-03 12:10:31,736: DEBUG - Full log of this operation: '<a href="#/tools/logs/20230703-041031-user_permission_update-freshrss" style="text-decoration:underline">Update accesses for permission 'freshrss'</a>'
2023-07-03 12:10:31,897: DEBUG - Nothing to update in LDAP
2023-07-03 12:10:31,897: DEBUG - Permission 'freshrss.main' updated
2023-07-03 12:10:31,965: DEBUG - Full log of this operation: '<a href="#/tools/logs/20230703-041031-permission_url-freshrss" style="text-decoration:underline">Update URL related to permission 'freshrss'</a>'
2023-07-03 12:10:32,226: DEBUG - Permission 'freshrss.api' updated
2023-07-03 12:10:32,294: DEBUG - Full log of this operation: '<a href="#/tools/logs/20230703-041032-permission_url-freshrss" style="text-decoration:underline">Update URL related to permission 'freshrss'</a>'
2023-07-03 12:10:32,443: DEBUG - Permission 'freshrss.api' created
2023-07-03 12:10:32,444: DEBUG - Full log of this operation: '<a href="#/tools/logs/20230703-041031-permission_create-freshrss" style="text-decoration:underline">Create permission 'freshrss'</a>'
2023-07-03 12:10:32,658: DEBUG - Permission 'freshrss.api' updated
2023-07-03 12:10:32,658: DEBUG - Full log of this operation: '<a href="#/tools/logs/20230703-041032-user_permission_update-freshrss" style="text-decoration:underline">Update accesses for permission 'freshrss'</a>'
2023-07-03 12:10:32,817: DEBUG - Nothing to update in LDAP
2023-07-03 12:10:32,817: DEBUG - Permission 'freshrss.api' updated
2023-07-03 12:10:32,885: DEBUG - Full log of this operation: '<a href="#/tools/logs/20230703-041032-permission_url-freshrss" style="text-decoration:underline">Update URL related to permission 'freshrss'</a>'
2023-07-03 12:10:32,965: DEBUG - The permission database has been resynchronized
2023-07-03 12:10:33,064: DEBUG - SSOwat configuration regenerated
2023-07-03 12:10:33,067: INFO - Provisionning apt...
2023-07-03 12:10:33,079: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt"  7>&1']'
2023-07-03 12:10:33,083: DEBUG - + source /usr/share/yunohost/helpers
2023-07-03 12:10:33,084: DEBUG - +++ set +o
2023-07-03 12:10:33,084: DEBUG - +++ grep xtrace
2023-07-03 12:10:33,085: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-07-03 12:10:33,085: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-07-03 12:10:33,108: DEBUG - + ynh_abort_if_errors
2023-07-03 12:10:33,109: DEBUG - + trap ynh_exit_properly EXIT
2023-07-03 12:10:33,109: DEBUG - + ynh_install_app_dependencies mariadb-server acl php8.2-gd php8.2-zip php8.2-dom php8.2-mbstring php8.2-gmp php8.2-mysql php8.2-sqlite3 php8.2-curl php8.2-intl php8.2-xml
2023-07-03 12:10:33,109: DEBUG - + local 'dependencies=mariadb-server acl php8.2-gd php8.2-zip php8.2-dom php8.2-mbstring php8.2-gmp php8.2-mysql php8.2-sqlite3 php8.2-curl php8.2-intl php8.2-xml'
2023-07-03 12:10:33,109: DEBUG - ++ echo 'mariadb-server acl php8.2-gd php8.2-zip php8.2-dom php8.2-mbstring php8.2-gmp php8.2-mysql php8.2-sqlite3 php8.2-curl php8.2-intl php8.2-xml'
2023-07-03 12:10:33,109: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2023-07-03 12:10:33,110: DEBUG - + dependencies='mariadb-server, acl, php8.2-gd, php8.2-zip, php8.2-dom, php8.2-mbstring, php8.2-gmp, php8.2-mysql, php8.2-sqlite3, php8.2-curl, php8.2-intl, php8.2-xml'
2023-07-03 12:10:33,110: DEBUG - + local 'dependencies=mariadb-server, acl, php8.2-gd, php8.2-zip, php8.2-dom, php8.2-mbstring, php8.2-gmp, php8.2-mysql, php8.2-sqlite3, php8.2-curl, php8.2-intl, php8.2-xml'
2023-07-03 12:10:33,110: DEBUG - ++ ynh_read_manifest --manifest_key=version
2023-07-03 12:10:33,119: DEBUG - ++ '[' '!' -e '' ']'
2023-07-03 12:10:33,119: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_3eotyc82/manifest.json ']'
2023-07-03 12:10:33,119: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_3eotyc82/manifest.toml ']'
2023-07-03 12:10:33,120: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_3eotyc82/manifest.toml
2023-07-03 12:10:33,120: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_3eotyc82/manifest.toml
2023-07-03 12:10:33,120: DEBUG - ++ grep -q '\.json$'
2023-07-03 12:10:33,120: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_3eotyc82/manifest.toml
2023-07-03 12:10:33,121: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2023-07-03 12:10:33,121: DEBUG - ++ jq .version --raw-output
2023-07-03 12:10:33,168: DEBUG - + local version=1.21.0~ynh2
2023-07-03 12:10:33,168: DEBUG - + '[' -z 1.21.0~ynh2 ']'
2023-07-03 12:10:33,168: DEBUG - + '[' 1.21.0~ynh2 == null ']'
2023-07-03 12:10:33,168: DEBUG - + local dep_app=freshrss
2023-07-03 12:10:33,169: DEBUG - + [[ mariadb-server, acl, php8.2-gd, php8.2-zip, php8.2-dom, php8.2-mbstring, php8.2-gmp, php8.2-mysql, php8.2-sqlite3, php8.2-curl, php8.2-intl, php8.2-xml =~ [<=>] ]]
2023-07-03 12:10:33,169: DEBUG - ++ echo mariadb-server, acl, php8.2-gd, php8.2-zip, php8.2-dom, php8.2-mbstring, php8.2-gmp, php8.2-mysql, php8.2-sqlite3, php8.2-curl, php8.2-intl, php8.2-xml
2023-07-03 12:10:33,169: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
2023-07-03 12:10:33,169: DEBUG - ++ sort -u
2023-07-03 12:10:33,169: DEBUG - + local specific_php_version=8.2
2023-07-03 12:10:33,169: DEBUG - + [[ -n 8.2 ]]
2023-07-03 12:10:33,170: DEBUG - ++ echo 8.2
2023-07-03 12:10:33,170: DEBUG - ++ wc -l
2023-07-03 12:10:33,170: DEBUG - + [[ 1 -eq 1 ]]
2023-07-03 12:10:33,170: DEBUG - + dependencies+=', php8.2, php8.2-fpm, php8.2-common'
2023-07-03 12:10:33,171: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=phpversion
2023-07-03 12:10:33,171: DEBUG - ++ local _globalapp=freshrss
2023-07-03 12:10:33,183: DEBUG - ++ app=freshrss
2023-07-03 12:10:33,183: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2023-07-03 12:10:33,184: DEBUG - ++ ynh_app_setting get freshrss phpversion
2023-07-03 12:10:33,242: DEBUG - + local old_phpversion=
2023-07-03 12:10:33,242: DEBUG - + '[' -n '' ']'
2023-07-03 12:10:33,242: DEBUG - + ynh_app_setting_set --app=freshrss --key=phpversion --value=8.2
2023-07-03 12:10:33,243: DEBUG - + local _globalapp=freshrss
2023-07-03 12:10:33,265: DEBUG - + app=freshrss
2023-07-03 12:10:33,265: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2023-07-03 12:10:33,265: DEBUG - + ynh_app_setting set freshrss phpversion 8.2
2023-07-03 12:10:33,321: DEBUG - + test -e /usr/bin/php7.4
2023-07-03 12:10:33,321: DEBUG - + update-alternatives --set php /usr/bin/php7.4
2023-07-03 12:10:33,322: DEBUG - ++ ynh_package_is_installed postgresql-13
2023-07-03 12:10:33,326: DEBUG - ++ ynh_wait_dpkg_free
2023-07-03 12:10:33,438: DEBUG - ++ return 0
2023-07-03 12:10:33,439: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2023-07-03 12:10:33,439: DEBUG - ++ grep --count 'ok installed'
2023-07-03 12:10:33,446: DEBUG - ++ echo yes
2023-07-03 12:10:33,446: DEBUG - + local psql_installed=yes
2023-07-03 12:10:33,446: DEBUG - + [[ true == \t\r\u\e ]]
2023-07-03 12:10:33,447: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2023-07-03 12:10:33,447: DEBUG - + cat
2023-07-03 12:10:33,447: DEBUG - + ynh_package_install_from_equivs /tmp/freshrss-ynh-deps.control
2023-07-03 12:10:33,447: DEBUG - + local controlfile=/tmp/freshrss-ynh-deps.control
2023-07-03 12:10:33,447: DEBUG - ++ grep '^Package: ' /tmp/freshrss-ynh-deps.control
2023-07-03 12:10:33,448: DEBUG - ++ cut '--delimiter= ' --fields=2
2023-07-03 12:10:33,449: DEBUG - + local pkgname=freshrss-ynh-deps
2023-07-03 12:10:33,449: DEBUG - ++ grep '^Version: ' /tmp/freshrss-ynh-deps.control
2023-07-03 12:10:33,449: DEBUG - ++ cut '--delimiter= ' --fields=2
2023-07-03 12:10:33,450: DEBUG - + local pkgversion=1.21.0~ynh2
2023-07-03 12:10:33,450: DEBUG - + [[ -z freshrss-ynh-deps ]]
2023-07-03 12:10:33,450: DEBUG - + [[ -z 1.21.0~ynh2 ]]
2023-07-03 12:10:33,450: DEBUG - + ynh_package_update
2023-07-03 12:10:33,450: DEBUG - + ynh_apt update
2023-07-03 12:10:33,450: DEBUG - + ynh_wait_dpkg_free
2023-07-03 12:10:33,614: DEBUG - + return 0
2023-07-03 12:10:33,615: DEBUG - + LC_ALL=C
2023-07-03 12:10:33,615: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-07-03 12:10:33,615: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2023-07-03 12:10:34,547: DEBUG - Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
2023-07-03 12:10:34,562: DEBUG - Hit:2 http://deb.debian.org/debian bullseye InRelease
2023-07-03 12:10:34,823: DEBUG - Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
2023-07-03 12:10:35,246: DEBUG - Fetched 44.1 kB in 2s (27.7 kB/s)
2023-07-03 12:10:35,560: DEBUG - Reading package lists...
2023-07-03 12:10:35,566: DEBUG - ++ mktemp --directory
2023-07-03 12:10:35,567: DEBUG - + local TMPDIR=/tmp/tmp.Aabe0F7D8F
2023-07-03 12:10:35,567: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2023-07-03 12:10:35,567: DEBUG - + ynh_wait_dpkg_free
2023-07-03 12:10:35,716: DEBUG - + return 0
2023-07-03 12:10:35,716: DEBUG - + cp /tmp/freshrss-ynh-deps.control /tmp/tmp.Aabe0F7D8F/control
2023-07-03 12:10:35,717: DEBUG - + cd /tmp/tmp.Aabe0F7D8F
2023-07-03 12:10:35,717: DEBUG - + LC_ALL=C
2023-07-03 12:10:35,717: DEBUG - + equivs-build ./control
2023-07-03 12:10:35,866: DEBUG - dpkg-buildpackage: info: source package freshrss-ynh-deps
2023-07-03 12:10:35,866: DEBUG - dpkg-buildpackage: info: source version 1.21.0~ynh2
2023-07-03 12:10:35,866: DEBUG - dpkg-buildpackage: info: source distribution unstable
2023-07-03 12:10:35,866: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@maindomain.tld>
2023-07-03 12:10:35,918: DEBUG -  dpkg-source --before-build .
2023-07-03 12:10:35,918: DEBUG - dpkg-buildpackage: info: host architecture amd64
2023-07-03 12:10:36,011: DEBUG -  debian/rules clean
2023-07-03 12:10:36,012: DEBUG - dh clean
2023-07-03 12:10:36,091: DEBUG -    dh_clean
2023-07-03 12:10:36,144: DEBUG -  debian/rules binary
2023-07-03 12:10:36,145: DEBUG - dh binary
2023-07-03 12:10:36,217: DEBUG -    dh_update_autotools_config
2023-07-03 12:10:36,232: DEBUG -    dh_autoreconf
2023-07-03 12:10:36,290: DEBUG -    create-stamp debian/debhelper-build-stamp
2023-07-03 12:10:36,290: DEBUG -    dh_prep
2023-07-03 12:10:36,340: DEBUG -    dh_install
2023-07-03 12:10:36,394: DEBUG -    dh_installdocs
2023-07-03 12:10:36,451: DEBUG -    dh_installchangelogs
2023-07-03 12:10:36,499: DEBUG -    dh_perl
2023-07-03 12:10:36,520: DEBUG -    dh_link
2023-07-03 12:10:36,539: DEBUG -    dh_strip_nondeterminism
2023-07-03 12:10:36,572: DEBUG -    dh_compress
2023-07-03 12:10:36,598: DEBUG -    dh_fixperms
2023-07-03 12:10:36,654: DEBUG -    dh_missing
2023-07-03 12:10:36,669: DEBUG -    dh_installdeb
2023-07-03 12:10:36,722: DEBUG -    dh_gencontrol
2023-07-03 12:10:36,814: DEBUG -    dh_md5sums
2023-07-03 12:10:36,833: DEBUG -    dh_builddeb
2023-07-03 12:10:36,879: DEBUG - dpkg-deb: building package 'freshrss-ynh-deps' in '../freshrss-ynh-deps_1.21.0~ynh2_all.deb'.
2023-07-03 12:10:36,895: DEBUG -  dpkg-genbuildinfo --build=binary
2023-07-03 12:10:37,096: DEBUG -  dpkg-genchanges --build=binary >../freshrss-ynh-deps_1.21.0~ynh2_amd64.changes
2023-07-03 12:10:37,142: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2023-07-03 12:10:37,144: DEBUG -  dpkg-source --after-build .
2023-07-03 12:10:37,201: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2023-07-03 12:10:37,205: DEBUG - 
2023-07-03 12:10:37,205: DEBUG - The package has been created.
2023-07-03 12:10:37,206: DEBUG - Attention, the package has been created in the current directory,
2023-07-03 12:10:37,206: DEBUG - not in ".." as indicated by the message above!
2023-07-03 12:10:37,207: DEBUG - + LC_ALL=C
2023-07-03 12:10:37,207: DEBUG - + dpkg --force-depends --install ./freshrss-ynh-deps_1.21.0~ynh2_all.deb
2023-07-03 12:10:37,208: DEBUG - + tee ./dpkg_log
2023-07-03 12:10:37,255: DEBUG - Selecting previously unselected package freshrss-ynh-deps.
2023-07-03 12:10:37,294: DEBUG - (Reading database ... 65835 files and directories currently installed.)
2023-07-03 12:10:37,297: DEBUG - Preparing to unpack .../freshrss-ynh-deps_1.21.0~ynh2_all.deb ...
2023-07-03 12:10:37,304: DEBUG - Unpacking freshrss-ynh-deps (1.21.0~ynh2) ...
2023-07-03 12:10:37,374: DEBUG - dpkg: freshrss-ynh-deps: dependency problems, but configuring anyway as you requested:
2023-07-03 12:10:37,375: DEBUG -  freshrss-ynh-deps depends on php8.2-gmp; however:
2023-07-03 12:10:37,375: DEBUG -   Package php8.2-gmp is not installed.
2023-07-03 12:10:37,375: DEBUG -  freshrss-ynh-deps depends on php8.2-sqlite3; however:
2023-07-03 12:10:37,375: DEBUG -   Package php8.2-sqlite3 is not installed.
2023-07-03 12:10:37,376: DEBUG - 
2023-07-03 12:10:37,376: DEBUG - Setting up freshrss-ynh-deps (1.21.0~ynh2) ...
2023-07-03 12:10:37,414: DEBUG - + ynh_package_install --fix-broken
2023-07-03 12:10:37,414: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2023-07-03 12:10:37,415: DEBUG - + ynh_wait_dpkg_free
2023-07-03 12:10:37,596: DEBUG - + return 0
2023-07-03 12:10:37,596: DEBUG - + LC_ALL=C
2023-07-03 12:10:37,596: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-07-03 12:10:37,596: 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
2023-07-03 12:10:37,687: DEBUG - Reading package lists...
2023-07-03 12:10:37,769: DEBUG - Building dependency tree...
2023-07-03 12:10:37,769: DEBUG - Reading state information...
2023-07-03 12:10:37,809: DEBUG - Correcting dependencies... Done
2023-07-03 12:10:37,867: DEBUG - The following packages will be REMOVED:
2023-07-03 12:10:37,868: DEBUG -   freshrss-ynh-deps
2023-07-03 12:10:37,871: DEBUG - 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2023-07-03 12:10:37,871: WARNING - E: Packages need to be removed but remove is disabled.
2023-07-03 12:10:37,872: DEBUG - ++ cat /tmp/tmp.Aabe0F7D8F/dpkg_log
2023-07-03 12:10:37,872: DEBUG - ++ grep -oP '(?<=-ynh-deps depends on ).*(?=; however)'
2023-07-03 12:10:37,872: DEBUG - ++ tr '\n' ' '
2023-07-03 12:10:37,873: DEBUG - + local 'problematic_dependencies=php8.2-gmp php8.2-sqlite3 '
2023-07-03 12:10:37,873: DEBUG - + [[ -n php8.2-gmp php8.2-sqlite3  ]]
2023-07-03 12:10:37,873: DEBUG - + ynh_package_install php8.2-gmp php8.2-sqlite3 --dry-run
2023-07-03 12:10:37,873: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install php8.2-gmp php8.2-sqlite3 --dry-run
2023-07-03 12:10:37,873: DEBUG - + ynh_wait_dpkg_free
2023-07-03 12:10:37,873: DEBUG - + sed --quiet '/Reading state info/,$p'
2023-07-03 12:10:37,873: DEBUG - + grep -v 'fix-broken\|Reading state info'
2023-07-03 12:10:38,008: DEBUG - + return 0
2023-07-03 12:10:38,008: DEBUG - + LC_ALL=C
2023-07-03 12:10:38,008: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-07-03 12:10:38,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 php8.2-gmp php8.2-sqlite3 --dry-run
2023-07-03 12:10:38,179: WARNING - Package php8.2-gmp is not available, but is referred to by another package.
2023-07-03 12:10:38,180: WARNING - This may mean that the package is missing, has been obsoleted, or
2023-07-03 12:10:38,180: WARNING - is only available from another source
2023-07-03 12:10:38,180: DEBUG - 
2023-07-03 12:10:38,181: WARNING - Package php8.2-sqlite3 is not available, but is referred to by another package.
2023-07-03 12:10:38,181: WARNING - This may mean that the package is missing, has been obsoleted, or
2023-07-03 12:10:38,181: WARNING - is only available from another source
2023-07-03 12:10:38,181: DEBUG - 
2023-07-03 12:10:38,181: WARNING - E: Package 'php8.2-gmp' has no installation candidate
2023-07-03 12:10:38,181: WARNING - E: Package 'php8.2-sqlite3' has no installation candidate
2023-07-03 12:10:38,182: DEBUG - + ynh_die '--message=Unable to install dependencies'
2023-07-03 12:10:38,189: DEBUG - + ynh_exit_properly
2023-07-03 12:10:38,189: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2023-07-03 12:10:38,190: WARNING - Unable to install dependencies
2023-07-03 12:10:39,693: ERROR - provision_or_update failed for apt : An error occured inside the script snippet