Cannot start php7.4-fpm

Hello all,

Since yesterday I am getting an error that my service php7.4-fpm is unknown…

I tried to restart it but with no success and I am getting this error message:

Description

Error: failed to get information for this service, it doesn’t exists for systemd

Status

Unknown since almost 52 years ago

Start on boot

Unknown

Configuration

Unknown

Also this is a log entry I got https://paste.yunohost.org/otacepuhil

The only thing i remember performing yesterday was trying to install Lime Survey which was unsuccessful and automatically removed and wrote some questionnaire in Nextcloud’s Forms app. I spotted a glitch while doing this (maybe the Matrix?? :yum: ) but I guess after I restarted my browser all was ok regarding the Forms app.

Any input is highly appreciated!
Any ideas how to further debug or any solution?

Which PHP versions are installed? I’m on Yunohost 4.3.x, I do have PHP 7.4 installed, but PHP 7.3 is configured for use (also for PHP-FPM):

# update-alternatives --display php
php - manual mode
  link best version is /usr/bin/php7.4
  link currently points to /usr/bin/php7.3
  link php is /usr/bin/php
  slave php.1.gz is /usr/share/man/man1/php.1.gz
/usr/bin/php7.0 - priority 70
  slave php.1.gz: /usr/share/man/man1/php7.0.1.gz
/usr/bin/php7.3 - priority 73
  slave php.1.gz: /usr/share/man/man1/php7.3.1.gz
/usr/bin/php7.4 - priority 74
  slave php.1.gz: /usr/share/man/man1/php7.4.1.gz

You could try setting it to 7.3 and see if that makes PHP-FPM startable again.

What else happened yesterday, or the previous days ? It could just be that you uninstalled the only app that required php7.4-fpm

Thanks for your replies.

I do have php7.3-fpm and 8.0-fpm.

There is no app that I have uninstalled in the previous days apart from the attempt to install Limesurvery which was uninstalled automatically. Logs:

args:
  app: limesurvey
  args: domain=wiki.maindomain.tld&path=%2Fpoll&admin=XXX&language=en&is_public=0
  force: false
  label: LimeSurvey
  no_remove_on_failure: false
ended_at: 2021-12-26 22:23:37.991606
env:
  YNH_APP_ARG_ADMIN: XXX
  YNH_APP_ARG_DOMAIN: wiki.maindomain.tld
  YNH_APP_ARG_IS_PUBLIC: '0'
  YNH_APP_ARG_LANGUAGE: en
  YNH_APP_ARG_PATH: /poll
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_u3ng0_2n
  YNH_APP_ID: limesurvey
  YNH_APP_INSTANCE_NAME: limesurvey
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 3.17.1~ynh1
  YNH_ARCH: amd64
error: An error occurred inside the app installation script
interface: api
operation: app_install
parent: null
related_to:
- - app
  - limesurvey
started_at: 2021-12-26 22:23:07.261335
success: false
yunohost_version: 4.3.4.2

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

2021-12-27 00:23:07,267: INFO - Installing limesurvey...
2021-12-27 00:23:07,441: DEBUG - Nothing to update in LDAP
2021-12-27 00:23:07,441: DEBUG - Permission 'limesurvey.main' updated
2021-12-27 00:23:07,599: DEBUG - Full log of this operation: '<a href="#/tools/logs/20211226-222307-permission_url-limesurvey" style="text-decoration:underline">Update URL related to permission 'limesurvey'</a>'
2021-12-27 00:23:07,897: DEBUG - The permission database has been resynchronized
2021-12-27 00:23:08,090: DEBUG - SSOwat configuration regenerated
2021-12-27 00:23:08,248: DEBUG - Permission 'limesurvey.main' created
2021-12-27 00:23:08,248: DEBUG - Full log of this operation: '<a href="#/tools/logs/20211226-222307-permission_create-limesurvey" style="text-decoration:underline">Create permission 'limesurvey'</a>'
2021-12-27 00:23:08,261: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2021-12-27 00:23:08,269: DEBUG - + source /usr/share/yunohost/helpers
2021-12-27 00:23:08,269: DEBUG - +++ set +o
2021-12-27 00:23:08,269: DEBUG - +++ grep xtrace
2021-12-27 00:23:08,270: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-12-27 00:23:08,271: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-12-27 00:23:08,298: DEBUG - + source _common.sh
2021-12-27 00:23:08,298: DEBUG - +++ cd ../
2021-12-27 00:23:08,299: DEBUG - +++ pwd
2021-12-27 00:23:08,299: DEBUG - ++ PKG_DIR=/var/cache/yunohost/app_tmp_work_dirs/app_u3ng0_2n
2021-12-27 00:23:08,299: DEBUG - ++ pkg_dependencies='php7.3-cli php7.3-imap python-pip php7.3-gd php7.3-ldap'
2021-12-27 00:23:08,300: DEBUG - + ynh_abort_if_errors
2021-12-27 00:23:08,301: DEBUG - + trap ynh_exit_properly EXIT
2021-12-27 00:23:08,301: DEBUG - + export app=limesurvey
2021-12-27 00:23:08,301: DEBUG - + app=limesurvey
2021-12-27 00:23:08,302: DEBUG - + ynh_export domain path_url admin is_public language
2021-12-27 00:23:08,302: DEBUG - + local ynh_arg=
2021-12-27 00:23:08,302: DEBUG - + for var in $@
2021-12-27 00:23:08,302: DEBUG - ++ echo domain
2021-12-27 00:23:08,302: DEBUG - ++ awk '{print toupper($0)}'
2021-12-27 00:23:08,304: DEBUG - + ynh_arg=DOMAIN
2021-12-27 00:23:08,304: DEBUG - + '[' domain == path_url ']'
2021-12-27 00:23:08,304: DEBUG - + ynh_arg=YNH_APP_ARG_DOMAIN
2021-12-27 00:23:08,305: DEBUG - + export domain=wiki.maindomain.tld
2021-12-27 00:23:08,305: DEBUG - + domain=wiki.maindomain.tld
2021-12-27 00:23:08,305: DEBUG - + for var in $@
2021-12-27 00:23:08,305: DEBUG - ++ echo path_url
2021-12-27 00:23:08,305: DEBUG - ++ awk '{print toupper($0)}'
2021-12-27 00:23:08,307: DEBUG - + ynh_arg=PATH_URL
2021-12-27 00:23:08,307: DEBUG - + '[' path_url == path_url ']'
2021-12-27 00:23:08,307: DEBUG - + ynh_arg=PATH
2021-12-27 00:23:08,308: DEBUG - + ynh_arg=YNH_APP_ARG_PATH
2021-12-27 00:23:08,308: DEBUG - + export path_url=/poll
2021-12-27 00:23:08,308: DEBUG - + path_url=/poll
2021-12-27 00:23:08,308: DEBUG - + for var in $@
2021-12-27 00:23:08,308: DEBUG - ++ echo admin
2021-12-27 00:23:08,308: DEBUG - ++ awk '{print toupper($0)}'
2021-12-27 00:23:08,310: DEBUG - + ynh_arg=ADMIN
2021-12-27 00:23:08,311: DEBUG - + '[' admin == path_url ']'
2021-12-27 00:23:08,311: DEBUG - + ynh_arg=YNH_APP_ARG_ADMIN
2021-12-27 00:23:08,311: DEBUG - + export admin=XXX
2021-12-27 00:23:08,311: DEBUG - + admin=XXX
2021-12-27 00:23:08,311: DEBUG - + for var in $@
2021-12-27 00:23:08,311: DEBUG - ++ echo is_public
2021-12-27 00:23:08,312: DEBUG - ++ awk '{print toupper($0)}'
2021-12-27 00:23:08,314: DEBUG - + ynh_arg=IS_PUBLIC
2021-12-27 00:23:08,314: DEBUG - + '[' is_public == path_url ']'
2021-12-27 00:23:08,314: DEBUG - + ynh_arg=YNH_APP_ARG_IS_PUBLIC
2021-12-27 00:23:08,314: DEBUG - + export is_public=0
2021-12-27 00:23:08,314: DEBUG - + is_public=0
2021-12-27 00:23:08,314: DEBUG - + for var in $@
2021-12-27 00:23:08,315: DEBUG - ++ echo language
2021-12-27 00:23:08,315: DEBUG - ++ awk '{print toupper($0)}'
2021-12-27 00:23:08,317: DEBUG - + ynh_arg=LANGUAGE
2021-12-27 00:23:08,317: DEBUG - + '[' language == path_url ']'
2021-12-27 00:23:08,317: DEBUG - + ynh_arg=YNH_APP_ARG_LANGUAGE
2021-12-27 00:23:08,317: DEBUG - + export language=en
2021-12-27 00:23:08,317: DEBUG - + language=en
2021-12-27 00:23:08,318: DEBUG - + export prefix=lime_
2021-12-27 00:23:08,318: DEBUG - + prefix=lime_
2021-12-27 00:23:08,318: DEBUG - ++ ynh_sanitize_dbid limesurvey
2021-12-27 00:23:08,328: DEBUG - ++ echo limesurvey
2021-12-27 00:23:08,328: DEBUG - + export db_name=limesurvey
2021-12-27 00:23:08,329: DEBUG - + db_name=limesurvey
2021-12-27 00:23:08,329: DEBUG - + export db_user=limesurvey
2021-12-27 00:23:08,329: DEBUG - + db_user=limesurvey
2021-12-27 00:23:08,454: INFO - [+...................] > Validating installation parameters... [00h00m,00s]
2021-12-27 00:23:08,455: DEBUG - + export final_path=/var/www/limesurvey
2021-12-27 00:23:08,455: DEBUG - + final_path=/var/www/limesurvey
2021-12-27 00:23:08,455: DEBUG - + test '!' -e /var/www/limesurvey
2021-12-27 00:23:08,455: DEBUG - + ynh_webpath_register limesurvey wiki.maindomain.tld /poll
2021-12-27 00:23:08,523: DEBUG - + yunohost app register-url limesurvey wiki.maindomain.tld /poll
2021-12-27 00:23:10,436: INFO - [#++.................] > Storing installation settings... [00h00m,02s]
2021-12-27 00:23:10,437: DEBUG - + ynh_save_args domain admin is_public language final_path prefix path_url db_name db_user
2021-12-27 00:23:10,437: DEBUG - + for var in $@
2021-12-27 00:23:10,437: DEBUG - + local setting_var=domain
2021-12-27 00:23:10,438: DEBUG - + '[' domain == path_url ']'
2021-12-27 00:23:10,438: DEBUG - + ynh_app_setting_set limesurvey domain wiki.maindomain.tld
2021-12-27 00:23:10,438: DEBUG - + local _globalapp=limesurvey
2021-12-27 00:23:10,510: DEBUG - + app=limesurvey
2021-12-27 00:23:10,510: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2021-12-27 00:23:10,510: DEBUG - + ynh_app_setting set limesurvey domain wiki.maindomain.tld
2021-12-27 00:23:10,553: DEBUG - + for var in $@
2021-12-27 00:23:10,553: DEBUG - + local setting_var=admin
2021-12-27 00:23:10,553: DEBUG - + '[' admin == path_url ']'
2021-12-27 00:23:10,553: DEBUG - + ynh_app_setting_set limesurvey admin XXX
2021-12-27 00:23:10,553: DEBUG - + local _globalapp=limesurvey
2021-12-27 00:23:10,620: DEBUG - + app=limesurvey
2021-12-27 00:23:10,620: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2021-12-27 00:23:10,621: DEBUG - + ynh_app_setting set limesurvey admin XXX
2021-12-27 00:23:10,663: DEBUG - + for var in $@
2021-12-27 00:23:10,664: DEBUG - + local setting_var=is_public
2021-12-27 00:23:10,664: DEBUG - + '[' is_public == path_url ']'
2021-12-27 00:23:10,664: DEBUG - + ynh_app_setting_set limesurvey is_public 0
2021-12-27 00:23:10,664: DEBUG - + local _globalapp=limesurvey
2021-12-27 00:23:10,731: DEBUG - + app=limesurvey
2021-12-27 00:23:10,732: DEBUG - + [[ is_public =~ (unprotected|protected|skipped)_ ]]
2021-12-27 00:23:10,732: DEBUG - + ynh_app_setting set limesurvey is_public 0
2021-12-27 00:23:10,778: DEBUG - + for var in $@
2021-12-27 00:23:10,778: DEBUG - + local setting_var=language
2021-12-27 00:23:10,778: DEBUG - + '[' language == path_url ']'
2021-12-27 00:23:10,779: DEBUG - + ynh_app_setting_set limesurvey language en
2021-12-27 00:23:10,779: DEBUG - + local _globalapp=limesurvey
2021-12-27 00:23:10,847: DEBUG - + app=limesurvey
2021-12-27 00:23:10,848: DEBUG - + [[ language =~ (unprotected|protected|skipped)_ ]]
2021-12-27 00:23:10,848: DEBUG - + ynh_app_setting set limesurvey language en
2021-12-27 00:23:10,893: DEBUG - + for var in $@
2021-12-27 00:23:10,893: DEBUG - + local setting_var=final_path
2021-12-27 00:23:10,893: DEBUG - + '[' final_path == path_url ']'
2021-12-27 00:23:10,894: DEBUG - + ynh_app_setting_set limesurvey final_path /var/www/limesurvey
2021-12-27 00:23:10,894: DEBUG - + local _globalapp=limesurvey
2021-12-27 00:23:10,959: DEBUG - + app=limesurvey
2021-12-27 00:23:10,960: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2021-12-27 00:23:10,960: DEBUG - + ynh_app_setting set limesurvey final_path /var/www/limesurvey
2021-12-27 00:23:11,007: DEBUG - + for var in $@
2021-12-27 00:23:11,007: DEBUG - + local setting_var=prefix
2021-12-27 00:23:11,008: DEBUG - + '[' prefix == path_url ']'
2021-12-27 00:23:11,008: DEBUG - + ynh_app_setting_set limesurvey prefix lime_
2021-12-27 00:23:11,008: DEBUG - + local _globalapp=limesurvey
2021-12-27 00:23:11,072: DEBUG - + app=limesurvey
2021-12-27 00:23:11,073: DEBUG - + [[ prefix =~ (unprotected|protected|skipped)_ ]]
2021-12-27 00:23:11,073: DEBUG - + ynh_app_setting set limesurvey prefix lime_
2021-12-27 00:23:11,118: DEBUG - + for var in $@
2021-12-27 00:23:11,118: DEBUG - + local setting_var=path_url
2021-12-27 00:23:11,118: DEBUG - + '[' path_url == path_url ']'
2021-12-27 00:23:11,118: DEBUG - + setting_var=path
2021-12-27 00:23:11,118: DEBUG - + ynh_app_setting_set limesurvey path /poll
2021-12-27 00:23:11,119: DEBUG - + local _globalapp=limesurvey
2021-12-27 00:23:11,187: DEBUG - + app=limesurvey
2021-12-27 00:23:11,187: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2021-12-27 00:23:11,187: DEBUG - + ynh_app_setting set limesurvey path /poll
2021-12-27 00:23:11,231: DEBUG - + for var in $@
2021-12-27 00:23:11,232: DEBUG - + local setting_var=db_name
2021-12-27 00:23:11,232: DEBUG - + '[' db_name == path_url ']'
2021-12-27 00:23:11,232: DEBUG - + ynh_app_setting_set limesurvey db_name limesurvey
2021-12-27 00:23:11,232: DEBUG - + local _globalapp=limesurvey
2021-12-27 00:23:11,297: DEBUG - + app=limesurvey
2021-12-27 00:23:11,297: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]]
2021-12-27 00:23:11,297: DEBUG - + ynh_app_setting set limesurvey db_name limesurvey
2021-12-27 00:23:11,343: DEBUG - + for var in $@
2021-12-27 00:23:11,344: DEBUG - + local setting_var=db_user
2021-12-27 00:23:11,344: DEBUG - + '[' db_user == path_url ']'
2021-12-27 00:23:11,344: DEBUG - + ynh_app_setting_set limesurvey db_user limesurvey
2021-12-27 00:23:11,344: DEBUG - + local _globalapp=limesurvey
2021-12-27 00:23:11,413: DEBUG - + app=limesurvey
2021-12-27 00:23:11,413: DEBUG - + [[ db_user =~ (unprotected|protected|skipped)_ ]]
2021-12-27 00:23:11,413: DEBUG - + ynh_app_setting set limesurvey db_user limesurvey
2021-12-27 00:23:11,566: DEBUG - + ynh_install_app_dependencies php7.3-cli php7.3-imap python-pip php7.3-gd php7.3-ldap
2021-12-27 00:23:11,567: INFO - [###+................] > Installing dependencies... [00h00m,01s]
2021-12-27 00:23:11,568: DEBUG - + local 'dependencies=php7.3-cli php7.3-imap python-pip php7.3-gd php7.3-ldap'
2021-12-27 00:23:11,568: DEBUG - ++ echo 'php7.3-cli php7.3-imap python-pip php7.3-gd php7.3-ldap'
2021-12-27 00:23:11,568: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2021-12-27 00:23:11,571: DEBUG - + dependencies='php7.3-cli, php7.3-imap, python-pip, php7.3-gd, php7.3-ldap'
2021-12-27 00:23:11,571: DEBUG - + local 'dependencies=php7.3-cli, php7.3-imap, python-pip, php7.3-gd, php7.3-ldap'
2021-12-27 00:23:11,571: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_u3ng0_2n/manifest.json
2021-12-27 00:23:11,572: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_u3ng0_2n/manifest.json
2021-12-27 00:23:11,577: DEBUG - + local version=3.17.1~ynh1
2021-12-27 00:23:11,577: DEBUG - + '[' -z 3.17.1~ynh1 ']'
2021-12-27 00:23:11,577: DEBUG - + '[' 3.17.1~ynh1 == null ']'
2021-12-27 00:23:11,577: DEBUG - + local dep_app=limesurvey
2021-12-27 00:23:11,578: DEBUG - + [[ php7.3-cli, php7.3-imap, python-pip, php7.3-gd, php7.3-ldap =~ [<=>] ]]
2021-12-27 00:23:11,578: DEBUG - ++ echo php7.3-cli, php7.3-imap, python-pip, php7.3-gd, php7.3-ldap
2021-12-27 00:23:11,579: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
2021-12-27 00:23:11,579: DEBUG - ++ sort -u
2021-12-27 00:23:11,581: DEBUG - + local specific_php_version=7.3
2021-12-27 00:23:11,582: DEBUG - + [[ 7.3 != \7\.\3 ]]
2021-12-27 00:23:11,582: DEBUG - + specific_php_version=
2021-12-27 00:23:11,582: DEBUG - + [[ true == \t\r\u\e ]]
2021-12-27 00:23:11,582: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2021-12-27 00:23:11,583: DEBUG - + grep --quiet php
2021-12-27 00:23:11,584: DEBUG - + dpkg --list
2021-12-27 00:23:11,584: DEBUG - + grep php7.0
2021-12-27 00:23:11,584: DEBUG - + grep --quiet --invert-match 7.0.33-0+deb9
2021-12-27 00:23:11,607: DEBUG - + grep --recursive --quiet '^ *deb.*sury' /etc/apt/sources.list /etc/apt/sources.list~ /etc/apt/sources.list.d
2021-12-27 00:23:11,608: DEBUG - + cat
2021-12-27 00:23:11,610: DEBUG - + ynh_package_install_from_equivs /tmp/limesurvey-ynh-deps.control
2021-12-27 00:23:11,610: DEBUG - + local controlfile=/tmp/limesurvey-ynh-deps.control
2021-12-27 00:23:11,611: DEBUG - ++ grep '^Package: ' /tmp/limesurvey-ynh-deps.control
2021-12-27 00:23:11,611: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-12-27 00:23:11,612: DEBUG - + local pkgname=limesurvey-ynh-deps
2021-12-27 00:23:11,613: DEBUG - ++ grep '^Version: ' /tmp/limesurvey-ynh-deps.control
2021-12-27 00:23:11,613: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-12-27 00:23:11,615: DEBUG - + local pkgversion=3.17.1~ynh1
2021-12-27 00:23:11,615: DEBUG - + [[ -z limesurvey-ynh-deps ]]
2021-12-27 00:23:11,616: DEBUG - + [[ -z 3.17.1~ynh1 ]]
2021-12-27 00:23:11,616: DEBUG - + ynh_package_update
2021-12-27 00:23:11,616: DEBUG - + ynh_apt update
2021-12-27 00:23:11,616: DEBUG - + ynh_wait_dpkg_free
2021-12-27 00:23:11,830: DEBUG - + return 0
2021-12-27 00:23:11,831: DEBUG - + LC_ALL=C
2021-12-27 00:23:11,831: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-27 00:23:11,831: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-12-27 00:23:12,104: DEBUG - Hit:1 http://security.debian.org/debian-security buster/updates InRelease
2021-12-27 00:23:12,105: DEBUG - Hit:2 http://ftp.debian.org/debian buster InRelease
2021-12-27 00:23:12,140: DEBUG - Hit:3 http://ftp.debian.org/debian buster-updates InRelease
2021-12-27 00:23:12,148: DEBUG - Hit:4 http://forge.yunohost.org/debian buster InRelease
2021-12-27 00:23:12,205: DEBUG - Hit:5 https://packages.sury.org/php buster InRelease
2021-12-27 00:23:15,565: DEBUG - Reading package lists...
2021-12-27 00:23:15,591: DEBUG - ++ mktemp --directory
2021-12-27 00:23:15,592: DEBUG - + local TMPDIR=/tmp/tmp.zCUTPfbyiX
2021-12-27 00:23:15,592: DEBUG - + echo 10
2021-12-27 00:23:15,592: DEBUG - + ynh_wait_dpkg_free
2021-12-27 00:23:15,808: DEBUG - + return 0
2021-12-27 00:23:15,808: DEBUG - + cp /tmp/limesurvey-ynh-deps.control /tmp/tmp.zCUTPfbyiX/control
2021-12-27 00:23:15,810: DEBUG - + cd /tmp/tmp.zCUTPfbyiX
2021-12-27 00:23:15,810: DEBUG - + LC_ALL=C
2021-12-27 00:23:15,810: DEBUG - + equivs-build ./control
2021-12-27 00:23:16,526: DEBUG - + tee ./dpkg_log
2021-12-27 00:23:16,527: DEBUG - + LC_ALL=C
2021-12-27 00:23:16,527: DEBUG - + dpkg --force-depends --install ./limesurvey-ynh-deps_3.17.1~ynh1_all.deb
2021-12-27 00:23:16,564: DEBUG - Selecting previously unselected package limesurvey-ynh-deps.
2021-12-27 00:23:16,619: DEBUG - (Reading database ... 131903 files and directories currently installed.)
2021-12-27 00:23:16,623: DEBUG - Preparing to unpack .../limesurvey-ynh-deps_3.17.1~ynh1_all.deb ...
2021-12-27 00:23:16,627: DEBUG - Unpacking limesurvey-ynh-deps (3.17.1~ynh1) ...
2021-12-27 00:23:16,664: DEBUG - dpkg: limesurvey-ynh-deps: dependency problems, but configuring anyway as you requested:
2021-12-27 00:23:16,665: DEBUG -  limesurvey-ynh-deps depends on python-pip; however:
2021-12-27 00:23:16,665: DEBUG -   Package python-pip is not installed.
2021-12-27 00:23:16,665: DEBUG - 
2021-12-27 00:23:16,665: DEBUG - Setting up limesurvey-ynh-deps (3.17.1~ynh1) ...
2021-12-27 00:23:16,703: DEBUG - + ynh_package_install --fix-broken
2021-12-27 00:23:16,704: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-12-27 00:23:16,704: DEBUG - + ynh_wait_dpkg_free
2021-12-27 00:23:16,914: DEBUG - + return 0
2021-12-27 00:23:16,915: DEBUG - + LC_ALL=C
2021-12-27 00:23:16,915: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-12-27 00:23:16,915: 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-12-27 00:23:17,170: DEBUG - Reading package lists...
2021-12-27 00:23:17,309: DEBUG - Building dependency tree...
2021-12-27 00:23:17,310: DEBUG - Reading state information...
2021-12-27 00:23:17,417: DEBUG - Correcting dependencies... Done
2021-12-27 00:23:17,579: DEBUG - The following additional packages will be installed:
2021-12-27 00:23:17,579: DEBUG -   libjs-sphinxdoc libjs-underscore libpython-all-dev libpython-dev
2021-12-27 00:23:17,579: DEBUG -   libpython2-dev libpython2.7-dev python-all python-all-dev python-asn1crypto
2021-12-27 00:23:17,579: DEBUG -   python-cffi-backend python-configparser python-cryptography python-dbus
2021-12-27 00:23:17,580: DEBUG -   python-dev python-entrypoints python-enum34 python-gi python-ipaddress
2021-12-27 00:23:17,580: DEBUG -   python-keyring python-keyrings.alt python-pip python-secretstorage
2021-12-27 00:23:17,580: DEBUG -   python-six python-wheel python-xdg python2-dev python2.7-dev
2021-12-27 00:23:17,581: DEBUG - Suggested packages:
2021-12-27 00:23:17,581: DEBUG -   python-cryptography-doc python-cryptography-vectors python-dbus-dbg
2021-12-27 00:23:17,581: DEBUG -   python-dbus-doc python-enum34-doc python-gi-cairo gnome-keyring
2021-12-27 00:23:17,582: DEBUG -   libkf5wallet-bin gir1.2-gnomekeyring-1.0 python-gdata python-keyczar
2021-12-27 00:23:17,582: DEBUG -   python-secretstorage-doc
2021-12-27 00:23:17,594: DEBUG - The following NEW packages will be installed:
2021-12-27 00:23:17,594: DEBUG -   libjs-sphinxdoc libjs-underscore libpython-all-dev libpython-dev
2021-12-27 00:23:17,594: DEBUG -   libpython2-dev libpython2.7-dev python-all python-all-dev python-asn1crypto
2021-12-27 00:23:17,595: DEBUG -   python-cffi-backend python-configparser python-cryptography python-dbus
2021-12-27 00:23:17,595: DEBUG -   python-dev python-entrypoints python-enum34 python-gi python-ipaddress
2021-12-27 00:23:17,595: DEBUG -   python-keyring python-keyrings.alt python-pip python-secretstorage
2021-12-27 00:23:17,595: DEBUG -   python-six python-wheel python-xdg python2-dev python2.7-dev
2021-12-27 00:23:18,037: DEBUG - 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded.
2021-12-27 00:23:18,037: DEBUG - Need to get 0 B/33.3 MB of archives.
2021-12-27 00:23:18,037: DEBUG - After this operation, 61.2 MB of additional disk space will be used.
2021-12-27 00:23:18,062: DEBUG - Selecting previously unselected package libjs-underscore.
2021-12-27 00:23:18,109: DEBUG - (Reading database ... 131907 files and directories currently installed.)
2021-12-27 00:23:18,113: DEBUG - Preparing to unpack .../00-libjs-underscore_1.9.1~dfsg-1+deb10u1_all.deb ...
2021-12-27 00:23:18,117: DEBUG - Unpacking libjs-underscore (1.9.1~dfsg-1+deb10u1) ...
2021-12-27 00:23:18,164: DEBUG - Selecting previously unselected package libjs-sphinxdoc.
2021-12-27 00:23:18,177: DEBUG - Preparing to unpack .../01-libjs-sphinxdoc_1.8.4-1_all.deb ...
2021-12-27 00:23:18,181: DEBUG - Unpacking libjs-sphinxdoc (1.8.4-1) ...
2021-12-27 00:23:18,226: DEBUG - Selecting previously unselected package libpython2.7-dev:amd64.
2021-12-27 00:23:18,234: DEBUG - Preparing to unpack .../02-libpython2.7-dev_2.7.16-2+deb10u1_amd64.deb ...
2021-12-27 00:23:18,238: DEBUG - Unpacking libpython2.7-dev:amd64 (2.7.16-2+deb10u1) ...
2021-12-27 00:23:20,297: DEBUG - Selecting previously unselected package libpython2-dev:amd64.
2021-12-27 00:23:20,306: DEBUG - Preparing to unpack .../03-libpython2-dev_2.7.16-1_amd64.deb ...
2021-12-27 00:23:20,309: DEBUG - Unpacking libpython2-dev:amd64 (2.7.16-1) ...
2021-12-27 00:23:20,341: DEBUG - Selecting previously unselected package libpython-dev:amd64.
2021-12-27 00:23:20,350: DEBUG - Preparing to unpack .../04-libpython-dev_2.7.16-1_amd64.deb ...
2021-12-27 00:23:20,353: DEBUG - Unpacking libpython-dev:amd64 (2.7.16-1) ...
2021-12-27 00:23:20,385: DEBUG - Selecting previously unselected package libpython-all-dev:amd64.
2021-12-27 00:23:20,393: DEBUG - Preparing to unpack .../05-libpython-all-dev_2.7.16-1_amd64.deb ...
2021-12-27 00:23:20,397: DEBUG - Unpacking libpython-all-dev:amd64 (2.7.16-1) ...
2021-12-27 00:23:20,425: DEBUG - Selecting previously unselected package python-all.
2021-12-27 00:23:20,434: DEBUG - Preparing to unpack .../06-python-all_2.7.16-1_amd64.deb ...
2021-12-27 00:23:20,437: DEBUG - Unpacking python-all (2.7.16-1) ...
2021-12-27 00:23:20,467: DEBUG - Selecting previously unselected package python2.7-dev.
2021-12-27 00:23:20,478: DEBUG - Preparing to unpack .../07-python2.7-dev_2.7.16-2+deb10u1_amd64.deb ...
2021-12-27 00:23:20,482: DEBUG - Unpacking python2.7-dev (2.7.16-2+deb10u1) ...
2021-12-27 00:23:20,535: DEBUG - Selecting previously unselected package python2-dev.
2021-12-27 00:23:20,547: DEBUG - Preparing to unpack .../08-python2-dev_2.7.16-1_amd64.deb ...
2021-12-27 00:23:20,552: DEBUG - Unpacking python2-dev (2.7.16-1) ...
2021-12-27 00:23:20,588: DEBUG - Selecting previously unselected package python-dev.
2021-12-27 00:23:20,600: DEBUG - Preparing to unpack .../09-python-dev_2.7.16-1_amd64.deb ...
2021-12-27 00:23:20,604: DEBUG - Unpacking python-dev (2.7.16-1) ...
2021-12-27 00:23:20,640: DEBUG - Selecting previously unselected package python-all-dev.
2021-12-27 00:23:20,648: DEBUG - Preparing to unpack .../10-python-all-dev_2.7.16-1_amd64.deb ...
2021-12-27 00:23:20,652: DEBUG - Unpacking python-all-dev (2.7.16-1) ...
2021-12-27 00:23:20,690: DEBUG - Selecting previously unselected package python-asn1crypto.
2021-12-27 00:23:20,698: DEBUG - Preparing to unpack .../11-python-asn1crypto_0.24.0-1_all.deb ...
2021-12-27 00:23:20,702: DEBUG - Unpacking python-asn1crypto (0.24.0-1) ...
2021-12-27 00:23:20,751: DEBUG - Selecting previously unselected package python-cffi-backend.
2021-12-27 00:23:20,760: DEBUG - Preparing to unpack .../12-python-cffi-backend_1.12.2-1_amd64.deb ...
2021-12-27 00:23:20,764: DEBUG - Unpacking python-cffi-backend (1.12.2-1) ...
2021-12-27 00:23:20,814: DEBUG - Selecting previously unselected package python-configparser.
2021-12-27 00:23:20,827: DEBUG - Preparing to unpack .../13-python-configparser_3.5.0b2-1_all.deb ...
2021-12-27 00:23:20,831: DEBUG - Unpacking python-configparser (3.5.0b2-1) ...
2021-12-27 00:23:20,891: DEBUG - Selecting previously unselected package python-enum34.
2021-12-27 00:23:20,903: DEBUG - Preparing to unpack .../14-python-enum34_1.1.6-2_all.deb ...
2021-12-27 00:23:20,907: DEBUG - Unpacking python-enum34 (1.1.6-2) ...
2021-12-27 00:23:20,953: DEBUG - Selecting previously unselected package python-ipaddress.
2021-12-27 00:23:20,961: DEBUG - Preparing to unpack .../15-python-ipaddress_1.0.17-1_all.deb ...
2021-12-27 00:23:20,965: DEBUG - Unpacking python-ipaddress (1.0.17-1) ...
2021-12-27 00:23:21,012: DEBUG - Selecting previously unselected package python-six.
2021-12-27 00:23:21,023: DEBUG - Preparing to unpack .../16-python-six_1.12.0-1_all.deb ...
2021-12-27 00:23:21,027: DEBUG - Unpacking python-six (1.12.0-1) ...
2021-12-27 00:23:21,071: DEBUG - Selecting previously unselected package python-cryptography.
2021-12-27 00:23:21,083: DEBUG - Preparing to unpack .../17-python-cryptography_2.6.1-3+deb10u2_amd64.deb ...
2021-12-27 00:23:21,087: DEBUG - Unpacking python-cryptography (2.6.1-3+deb10u2) ...
2021-12-27 00:23:21,184: DEBUG - Selecting previously unselected package python-dbus.
2021-12-27 00:23:21,196: DEBUG - Preparing to unpack .../18-python-dbus_1.2.8-3_amd64.deb ...
2021-12-27 00:23:21,200: DEBUG - Unpacking python-dbus (1.2.8-3) ...
2021-12-27 00:23:21,255: DEBUG - Selecting previously unselected package python-entrypoints.
2021-12-27 00:23:21,268: DEBUG - Preparing to unpack .../19-python-entrypoints_0.3-1_all.deb ...
2021-12-27 00:23:21,271: DEBUG - Unpacking python-entrypoints (0.3-1) ...
2021-12-27 00:23:21,312: DEBUG - Selecting previously unselected package python-gi.
2021-12-27 00:23:21,321: DEBUG - Preparing to unpack .../20-python-gi_3.30.4-1_amd64.deb ...
2021-12-27 00:23:21,325: DEBUG - Unpacking python-gi (3.30.4-1) ...
2021-12-27 00:23:21,391: DEBUG - Selecting previously unselected package python-secretstorage.
2021-12-27 00:23:21,399: DEBUG - Preparing to unpack .../21-python-secretstorage_2.3.1-2_all.deb ...
2021-12-27 00:23:21,403: DEBUG - Unpacking python-secretstorage (2.3.1-2) ...
2021-12-27 00:23:21,446: DEBUG - Selecting previously unselected package python-keyring.
2021-12-27 00:23:21,454: DEBUG - Preparing to unpack .../22-python-keyring_17.1.1-1_all.deb ...
2021-12-27 00:23:21,457: DEBUG - Unpacking python-keyring (17.1.1-1) ...
2021-12-27 00:23:21,512: DEBUG - Selecting previously unselected package python-keyrings.alt.
2021-12-27 00:23:21,522: DEBUG - Preparing to unpack .../23-python-keyrings.alt_3.1.1-1_all.deb ...
2021-12-27 00:23:21,526: DEBUG - Unpacking python-keyrings.alt (3.1.1-1) ...
2021-12-27 00:23:21,578: DEBUG - Selecting previously unselected package python-pip.
2021-12-27 00:23:21,590: DEBUG - Preparing to unpack .../24-python-pip_18.1-5_all.deb ...
2021-12-27 00:23:21,595: DEBUG - Unpacking python-pip (18.1-5) ...
2021-12-27 00:23:21,678: DEBUG - Selecting previously unselected package python-wheel.
2021-12-27 00:23:21,690: DEBUG - Preparing to unpack .../25-python-wheel_0.32.3-2_all.deb ...
2021-12-27 00:23:21,694: DEBUG - Unpacking python-wheel (0.32.3-2) ...
2021-12-27 00:23:21,743: DEBUG - Selecting previously unselected package python-xdg.
2021-12-27 00:23:21,756: DEBUG - Preparing to unpack .../26-python-xdg_0.25-5_all.deb ...
2021-12-27 00:23:21,760: DEBUG - Unpacking python-xdg (0.25-5) ...
2021-12-27 00:23:21,840: DEBUG - Setting up python-enum34 (1.1.6-2) ...
2021-12-27 00:23:21,933: DEBUG - Setting up python-gi (3.30.4-1) ...
2021-12-27 00:23:22,043: DEBUG - Setting up libpython2.7-dev:amd64 (2.7.16-2+deb10u1) ...
2021-12-27 00:23:22,055: DEBUG - Setting up python-wheel (0.32.3-2) ...
2021-12-27 00:23:22,136: DEBUG - Setting up python-asn1crypto (0.24.0-1) ...
2021-12-27 00:23:22,259: DEBUG - Setting up python-all (2.7.16-1) ...
2021-12-27 00:23:22,271: DEBUG - Setting up python-six (1.12.0-1) ...
2021-12-27 00:23:22,346: DEBUG - Setting up python-xdg (0.25-5) ...
2021-12-27 00:23:22,441: DEBUG - Setting up python-dbus (1.2.8-3) ...
2021-12-27 00:23:22,538: DEBUG - Setting up python-pip (18.1-5) ...
2021-12-27 00:23:22,680: DEBUG - Setting up libpython2-dev:amd64 (2.7.16-1) ...
2021-12-27 00:23:22,692: DEBUG - Setting up python-ipaddress (1.0.17-1) ...
2021-12-27 00:23:22,778: DEBUG - Setting up libjs-underscore (1.9.1~dfsg-1+deb10u1) ...
2021-12-27 00:23:22,789: DEBUG - Setting up python-cffi-backend (1.12.2-1) ...
2021-12-27 00:23:22,803: DEBUG - Setting up python2.7-dev (2.7.16-2+deb10u1) ...
2021-12-27 00:23:22,815: DEBUG - Setting up python2-dev (2.7.16-1) ...
2021-12-27 00:23:22,825: DEBUG - Setting up python-keyrings.alt (3.1.1-1) ...
2021-12-27 00:23:22,909: DEBUG - Setting up python-cryptography (2.6.1-3+deb10u2) ...
2021-12-27 00:23:23,063: DEBUG - Setting up libpython-dev:amd64 (2.7.16-1) ...
2021-12-27 00:23:23,074: DEBUG - Setting up libjs-sphinxdoc (1.8.4-1) ...
2021-12-27 00:23:23,084: DEBUG - Setting up python-dev (2.7.16-1) ...
2021-12-27 00:23:23,095: DEBUG - Setting up python-secretstorage (2.3.1-2) ...
2021-12-27 00:23:23,170: DEBUG - Setting up libpython-all-dev:amd64 (2.7.16-1) ...
2021-12-27 00:23:23,181: DEBUG - Setting up python-configparser (3.5.0b2-1) ...
2021-12-27 00:23:23,260: DEBUG - Setting up python-all-dev (2.7.16-1) ...
2021-12-27 00:23:23,272: DEBUG - Setting up python-entrypoints (0.3-1) ...
2021-12-27 00:23:23,352: DEBUG - Setting up python-keyring (17.1.1-1) ...
2021-12-27 00:23:23,447: DEBUG - Processing triggers for man-db (2.8.5-2) ...
2021-12-27 00:23:23,922: DEBUG - + [[ -n /tmp/tmp.zCUTPfbyiX ]]
2021-12-27 00:23:23,922: DEBUG - + rm --recursive --force /tmp/tmp.zCUTPfbyiX
2021-12-27 00:23:23,923: DEBUG - + ynh_package_is_installed limesurvey-ynh-deps
2021-12-27 00:23:23,933: DEBUG - + ynh_wait_dpkg_free
2021-12-27 00:23:24,153: DEBUG - + return 0
2021-12-27 00:23:24,153: DEBUG - + dpkg-query --show '--showformat=${Status}' limesurvey-ynh-deps
2021-12-27 00:23:24,153: DEBUG - + grep --count 'ok installed'
2021-12-27 00:23:24,168: DEBUG - + rm /tmp/limesurvey-ynh-deps.control
2021-12-27 00:23:24,170: DEBUG - + grep --quiet php
2021-12-27 00:23:24,172: DEBUG - + ynh_app_setting_set --app=limesurvey --key=phpversion --value=7.3
2021-12-27 00:23:24,172: DEBUG - + local _globalapp=limesurvey
2021-12-27 00:23:24,250: DEBUG - + app=limesurvey
2021-12-27 00:23:24,250: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2021-12-27 00:23:24,251: DEBUG - + ynh_app_setting set limesurvey phpversion 7.3
2021-12-27 00:23:24,415: INFO - [####++..............] > Creating a MySQL database... [00h00m,13s]
2021-12-27 00:23:24,416: DEBUG - + ynh_mysql_setup_db limesurvey limesurvey
2021-12-27 00:23:24,418: DEBUG - + db_pwd=
2021-12-27 00:23:24,473: DEBUG - ++ ynh_string_random
2021-12-27 00:23:24,475: DEBUG - ++ length=24
2021-12-27 00:23:24,475: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2021-12-27 00:23:24,475: DEBUG - ++ tr --complement --delete A-Za-z0-9
2021-12-27 00:23:24,475: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2021-12-27 00:23:24,485: DEBUG - + local new_db_pwd=**********
2021-12-27 00:23:24,485: DEBUG - + db_pwd=**********
2021-12-27 00:23:24,485: DEBUG - + ynh_mysql_create_db limesurvey limesurvey **********
2021-12-27 00:23:24,485: DEBUG - + local db=limesurvey
2021-12-27 00:23:24,485: DEBUG - + local 'sql=CREATE DATABASE limesurvey;'
2021-12-27 00:23:24,486: DEBUG - + [[ 3 -gt 1 ]]
2021-12-27 00:23:24,486: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON limesurvey.* TO '\''limesurvey'\''@'\''localhost'\'''
2021-12-27 00:23:24,486: DEBUG - + [[ -n ********** ]]
2021-12-27 00:23:24,486: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\'''
2021-12-27 00:23:24,486: DEBUG - + sql+=' WITH GRANT OPTION;'
2021-12-27 00:23:24,486: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE limesurvey; GRANT ALL PRIVILEGES ON limesurvey.* TO '\''limesurvey'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2021-12-27 00:23:24,504: DEBUG - + database=
2021-12-27 00:23:24,504: DEBUG - + '[' -n '' ']'
2021-12-27 00:23:24,505: DEBUG - + mysql -B ''
2021-12-27 00:23:24,513: DEBUG - + ynh_app_setting_set --app=limesurvey --key=mysqlpwd --value=**********
2021-12-27 00:23:24,513: DEBUG - + local _globalapp=limesurvey
2021-12-27 00:23:24,592: DEBUG - + app=limesurvey
2021-12-27 00:23:24,593: DEBUG - + [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]]
2021-12-27 00:23:24,593: DEBUG - + ynh_app_setting set limesurvey mysqlpwd **********
2021-12-27 00:23:24,638: DEBUG - ++ ynh_app_setting_get limesurvey mysqlpwd
2021-12-27 00:23:24,639: DEBUG - ++ local _globalapp=limesurvey
2021-12-27 00:23:24,670: DEBUG - ++ app=limesurvey
2021-12-27 00:23:24,671: DEBUG - ++ [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]]
2021-12-27 00:23:24,671: DEBUG - ++ ynh_app_setting get limesurvey mysqlpwd
2021-12-27 00:23:24,715: DEBUG - + export db_pwd=**********
2021-12-27 00:23:24,715: DEBUG - + db_pwd=**********
2021-12-27 00:23:24,832: INFO - [######+.............] > Setting up source files... [00h00m,00s]
2021-12-27 00:23:24,833: DEBUG - + ynh_setup_source /var/www/limesurvey
2021-12-27 00:23:24,862: DEBUG - + source_id=app
2021-12-27 00:23:24,862: DEBUG - + keep=
2021-12-27 00:23:24,862: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_u3ng0_2n/conf/app.src
2021-12-27 00:23:24,862: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_u3ng0_2n/conf/app.src
2021-12-27 00:23:24,863: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-27 00:23:24,866: DEBUG - + local src_url=https://github.com/LimeSurvey/LimeSurvey/archive/3.17.1+190408.tar.gz
2021-12-27 00:23:24,867: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_u3ng0_2n/conf/app.src
2021-12-27 00:23:24,867: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-27 00:23:24,869: DEBUG - + local src_sum=a2c63a5a28f7f724f5bd7017959caf76e845c7fce9d8b1177075d030641fdbac
2021-12-27 00:23:24,870: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_u3ng0_2n/conf/app.src
2021-12-27 00:23:24,871: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-27 00:23:24,873: DEBUG - + local src_sumprg=
2021-12-27 00:23:24,874: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_u3ng0_2n/conf/app.src
2021-12-27 00:23:24,875: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-27 00:23:24,877: DEBUG - + local src_format=
2021-12-27 00:23:24,878: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_u3ng0_2n/conf/app.src
2021-12-27 00:23:24,878: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-27 00:23:24,880: DEBUG - + local src_extract=
2021-12-27 00:23:24,881: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_u3ng0_2n/conf/app.src
2021-12-27 00:23:24,881: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-27 00:23:24,883: DEBUG - + local src_in_subdir=
2021-12-27 00:23:24,884: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_u3ng0_2n/conf/app.src
2021-12-27 00:23:24,885: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-27 00:23:24,887: DEBUG - + local src_filename=limesurvey-3.17.1+190408.tar.gz
2021-12-27 00:23:24,887: DEBUG - + src_sumprg=sha256sum
2021-12-27 00:23:24,887: DEBUG - + src_in_subdir=true
2021-12-27 00:23:24,887: DEBUG - + src_format=tar.gz
2021-12-27 00:23:24,888: DEBUG - ++ echo tar.gz
2021-12-27 00:23:24,888: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2021-12-27 00:23:24,889: DEBUG - + src_format=tar.gz
2021-12-27 00:23:24,890: DEBUG - + src_extract=true
2021-12-27 00:23:24,890: DEBUG - + '[' limesurvey-3.17.1+190408.tar.gz = '' ']'
2021-12-27 00:23:24,890: DEBUG - + local local_src=/opt/yunohost-apps-src/limesurvey/limesurvey-3.17.1+190408.tar.gz
2021-12-27 00:23:24,890: DEBUG - + mkdir -p /var/cache/yunohost/download/limesurvey/
2021-12-27 00:23:24,891: DEBUG - + src_filename=/var/cache/yunohost/download/limesurvey/limesurvey-3.17.1+190408.tar.gz
2021-12-27 00:23:24,891: DEBUG - + test -e /opt/yunohost-apps-src/limesurvey/limesurvey-3.17.1+190408.tar.gz
2021-12-27 00:23:24,891: DEBUG - + '[' -n https://github.com/LimeSurvey/LimeSurvey/archive/3.17.1+190408.tar.gz ']'
2021-12-27 00:23:24,892: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/limesurvey/limesurvey-3.17.1+190408.tar.gz https://github.com/LimeSurvey/LimeSurvey/archive/3.17.1+190408.tar.gz
2021-12-27 00:23:34,261: DEBUG - + out='2021-12-27 00:23:34 URL:https://codeload.github.com/LimeSurvey/LimeSurvey/tar.gz/3.17.1%2B190408 [70225682] -> "/var/cache/yunohost/download/limesurvey/limesurvey-3.17.1+190408.tar.gz" [1]'
2021-12-27 00:23:34,261: DEBUG - + sha256sum --check --status
2021-12-27 00:23:34,715: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2021-12-27 00:23:34,716: DEBUG - + '[' -n '' ']'
2021-12-27 00:23:34,717: DEBUG - + mkdir --parents /var/www/limesurvey
2021-12-27 00:23:34,718: DEBUG - + '[' -n /var/www/limesurvey ']'
2021-12-27 00:23:34,718: DEBUG - + '[' /var/www/limesurvey == /var/www/limesurvey ']'
2021-12-27 00:23:34,718: DEBUG - + _ynh_apply_default_permissions /var/www/limesurvey
2021-12-27 00:23:34,719: DEBUG - + local target=/var/www/limesurvey
2021-12-27 00:23:34,719: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_u3ng0_2n/manifest.json
2021-12-27 00:23:34,719: DEBUG - ++ tr -d '>= '
2021-12-27 00:23:34,724: DEBUG - + local ynh_requirement=3.5.2
2021-12-27 00:23:34,724: DEBUG - + '[' -z 3.5.2 ']'
2021-12-27 00:23:34,724: DEBUG - + '[' 3.5.2 == null ']'
2021-12-27 00:23:34,725: DEBUG - + dpkg --compare-versions 3.5.2 ge 4.2
2021-12-27 00:23:34,727: DEBUG - + true
2021-12-27 00:23:34,727: DEBUG - + '[' tar.gz = zip ']'
2021-12-27 00:23:34,727: DEBUG - + local strip=
2021-12-27 00:23:34,727: DEBUG - + '[' true '!=' false ']'
2021-12-27 00:23:34,727: DEBUG - + '[' true == true ']'
2021-12-27 00:23:34,728: DEBUG - + local sub_dirs=1
2021-12-27 00:23:34,728: DEBUG - + strip='--strip-components 1'
2021-12-27 00:23:34,728: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2021-12-27 00:23:34,728: DEBUG - + tar --extract --file=/var/cache/yunohost/download/limesurvey/limesurvey-3.17.1+190408.tar.gz --directory=/var/www/limesurvey --strip-components 1
2021-12-27 00:23:36,114: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/limesurvey/limesurvey-3.17.1+190408.tar.gz
2021-12-27 00:23:36,147: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_u3ng0_2n/sources/patches/ ']'
2021-12-27 00:23:36,147: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_u3ng0_2n/sources/extra_files/app
2021-12-27 00:23:36,147: DEBUG - + '[' -n '' ']'
2021-12-27 00:23:36,147: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2021-12-27 00:23:36,273: INFO - [#######++...........] > Configuring nginx web server... [00h00m,12s]
2021-12-27 00:23:36,274: DEBUG - + ynh_add_nginx_config
2021-12-27 00:23:36,274: DEBUG - + finalnginxconf=/etc/nginx/conf.d/wiki.maindomain.tld.d/limesurvey.conf
2021-12-27 00:23:36,275: DEBUG - + ynh_backup_if_checksum_is_different /etc/nginx/conf.d/wiki.maindomain.tld.d/limesurvey.conf
2021-12-27 00:23:36,288: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_wiki.maindomain.tld.d_limesurvey.conf
2021-12-27 00:23:36,289: DEBUG - ++ ynh_app_setting_get --app=limesurvey --key=checksum__etc_nginx_conf.d_wiki.maindomain.tld.d_limesurvey.conf
2021-12-27 00:23:36,289: DEBUG - ++ local _globalapp=limesurvey
2021-12-27 00:23:36,331: DEBUG - ++ app=limesurvey
2021-12-27 00:23:36,332: DEBUG - ++ [[ checksum__etc_nginx_conf.d_wiki.maindomain.tld.d_limesurvey.conf =~ (unprotected|protected|skipped)_ ]]
2021-12-27 00:23:36,332: DEBUG - ++ ynh_app_setting get limesurvey checksum__etc_nginx_conf.d_wiki.maindomain.tld.d_limesurvey.conf
2021-12-27 00:23:36,376: DEBUG - + local checksum_value=
2021-12-27 00:23:36,376: DEBUG - + backup_file_checksum=
2021-12-27 00:23:36,377: DEBUG - + '[' -n '' ']'
2021-12-27 00:23:36,377: DEBUG - + ynh_configure nginx.conf /etc/nginx/conf.d/wiki.maindomain.tld.d/limesurvey.conf
2021-12-27 00:23:36,377: DEBUG - + local TEMPLATE=nginx.conf
2021-12-27 00:23:36,377: DEBUG - + local DEST=/etc/nginx/conf.d/wiki.maindomain.tld.d/limesurvey.conf
2021-12-27 00:23:36,377: DEBUG - + type j2
2021-12-27 00:23:36,377: DEBUG - j2 is /usr/local/bin/j2
2021-12-27 00:23:36,378: DEBUG - + j2 /var/cache/yunohost/app_tmp_work_dirs/app_u3ng0_2n/conf/nginx.conf.j2
2021-12-27 00:23:36,473: WARNING - Traceback (most recent call last):
2021-12-27 00:23:36,474: WARNING -   File "/usr/local/bin/j2", line 6, in <module>
2021-12-27 00:23:36,475: WARNING -     from j2cli import main
2021-12-27 00:23:36,476: WARNING -   File "/usr/local/lib/python2.7/dist-packages/j2cli/__init__.py", line 10, in <module>
2021-12-27 00:23:36,477: WARNING -     from j2cli.cli import main
2021-12-27 00:23:36,477: WARNING -   File "/usr/local/lib/python2.7/dist-packages/j2cli/cli.py", line 4, in <module>
2021-12-27 00:23:36,478: WARNING -     import jinja2
2021-12-27 00:23:36,478: WARNING - ImportError: No module named jinja2
2021-12-27 00:23:36,485: DEBUG - + ynh_exit_properly
2021-12-27 00:23:37,990: ERROR - Unable to install limesurvey: An error occurred inside the app installation script

One other thing that I installed and unistalled was an app through Nextcloud named Polls. But I did this via Nextcloud ‘app store’.

I dont think this caused the issue ?!

Did you try

$ sudo update-alternatives --set php /usr/bin/php7.3

to select PHP7.3 and see if the problem persists (I think not all apps are tested for PHP8 yet, stay with 7 for the moment)?

I haven’t installed any database by myself. All of them were installed by apps I currently use.

So i feel kinda reluctant of doing what you mentioned above and what might cause. If I face any problems by running the above, can I revert back to the previous state?

EDIT: In any case the 8.0 as best version points to 7.3

Yes, I understand. I realized a better option is to use --config. You can revert with the same steps. What does the --display show? For me it is set to manual, after I had a PHP-problem because of a Nextcloud upgrade:

$ sudo update-alternatives --display php
php - manual mode
  link best version is /usr/bin/php7.4
  link currently points to /usr/bin/php7.3
  link php is /usr/bin/php
  slave php.1.gz is /usr/share/man/man1/php.1.gz
/usr/bin/php7.0 - priority 70
  slave php.1.gz: /usr/share/man/man1/php7.0.1.gz
/usr/bin/php7.3 - priority 73
  slave php.1.gz: /usr/share/man/man1/php7.3.1.gz
/usr/bin/php7.4 - priority 74
  slave php.1.gz: /usr/share/man/man1/php7.4.1.gz

$ sudo update-alternatives --config php
There are 3 choices for the alternative php (providing /usr/bin/php).

  Selection    Path             Priority   Status
------------------------------------------------------------
  0            /usr/bin/php7.4   74        auto mode
  1            /usr/bin/php7.0   70        manual mode
* 2            /usr/bin/php7.3   73        manual mode
  3            /usr/bin/php7.4   74        manual mode

Press <enter> to keep the current choice[*], or type selection number: 2

$  

I think yours has the asterisk in front of 0, auto mode. So when you try 7.3, you can after that use the same command to set it back to either the right number for 7.4 manually, or auto (if that is also 7.4).

1 Like

Mine is like below. So it is linked to 7.3

So what you suggest is to set it to 7.4 and see if this wakes up 7.4?

I didn’t think so far ahead yet :wink:

Does php-fpm start now? Maybe you are right and switching back repairs 7.4.

– edit – or, you mean it already was 7.3 before changing anything? That would explain php-fpm 7.4 not starting!

No I didn’t change anything and it was set to 7.3…

If I set it to 7.4, the others ie 7.3 will wake up?

Maybe let’s have a look at dpkg --list | grep php7.4 and systemctl status php7.4-fpm

> dpkg --list | grep php7.4
> ii  php7.4-apcu                           5.1.21+4.0.11-2+0~20211113.30+debian10~1.gbp4aed2f                       amd64        APC User Cache for PHP
> ii  php7.4-apcu-bc                        1.0.5-14+0~20211115.22+debian10~1.gbpa00758                              amd64        APCu Backwards Compatibility Module
> ii  php7.4-cli                            7.4.27-1+0~20211220.57+debian10~1.gbp832572                              amd64        command-line interpreter for the PHP scripting language
> ii  php7.4-common                         7.4.27-1+0~20211220.57+debian10~1.gbp832572                              amd64        documentation, examples and common module for PHP
> ii  php7.4-curl                           7.4.27-1+0~20211220.57+debian10~1.gbp832572                              amd64        CURL module for PHP
> ii  php7.4-gd                             7.4.27-1+0~20211220.57+debian10~1.gbp832572                              amd64        GD module for PHP
> ii  php7.4-igbinary                       3.2.6+2.0.8-2+0~20211115.31+debian10~1.gbpfaf284                         amd64        igbinary PHP serializer
> ii  php7.4-json                           7.4.27-1+0~20211220.57+debian10~1.gbp832572                              amd64        JSON module for PHP
> ii  php7.4-mbstring                       7.4.27-1+0~20211220.57+debian10~1.gbp832572                              amd64        MBSTRING module for PHP
> ii  php7.4-mysql                          7.4.27-1+0~20211220.57+debian10~1.gbp832572                              amd64        MySQL module for PHP
> ii  php7.4-opcache                        7.4.27-1+0~20211220.57+debian10~1.gbp832572                              amd64        Zend OpCache module for PHP
> ii  php7.4-readline                       7.4.27-1+0~20211220.57+debian10~1.gbp832572                              amd64        readline module for PHP
> ii  php7.4-redis                          5.3.4+4.3.0-5+0~20211118.38+debian10~1.gbpf06028                         amd64        PHP extension for interfacing with Redis
> rc  php7.4-smbclient                      1.0.0-3+0~20201204.10+debian10~1.gbp4e5196                               amd64        PHP wrapper for libsmbclient
> ii  php7.4-tidy                           7.4.27-1+0~20211220.57+debian10~1.gbp832572                              amd64        tidy module for PHP
> ii  php7.4-xml                            7.4.27-1+0~20211220.57+debian10~1.gbp832572                              amd64        DOM, SimpleXML, XML, and XSL module for PHP

**> systemctl status php7.4-fpm** Unit php7.4-fpm.service could not be found

Yeah so there’s no php7.4-fpm installed, hence the issue. This may or may not be expected, it depends wether or not an app needs it …

Like do you have any files (besides www.conf) in /etc/php/7.4/fpm/pool.d/ ?

Ok so, yes I have firefly-iii.conf.

I have upgraded successfully Firefly like 1-2 days ago without producing any errors during upgrade.

EDIT from the log:

2021-12-25 18:48:43,221: DEBUG - The following packages were automatically installed and are no longer required:
2021-12-25 18:48:43,222: DEBUG -   php7.4 php7.4-bcmath php7.4-fpm php7.4-intl php7.4-ldap php7.4-zip
2021-12-25 18:48:43,222: DEBUG - Use 'apt autoremove' to remove them.

EDIT 2: It seems that Firefly newest version requires php8.0

Hi guys,

Not trying to be a pain in the a@@ but, do you have any ideas as to what to do?

I tried apt autoremove but there wasn’t anything to be removed.

Well it’s not clear what the issue is, except that maybe php7.4-fpm was legitimately uninstalled, but the service integration wasnt removed. In that case, just run yunohost service remove php7.4-fpm

In case this removal screws my system (ie any other app using it), can I reinstall or revert back?

What apps are installed in your yunohost server?
Do you need it?

Is there a way to check which apps require this php7.4-fpm?

I have many apps installed.

cf. earlier:

do you have any files (besides www.conf) in /etc/php/7.4/fpm/pool.d/ ?

You said something regarding firefly-iii which you upgraded, and apparently doesnt need php7.4-fpm anymore.

Running yunohost service remove php7.4-fpm really isn’t a huge deal, it only removes the integration on the (non existent anymore) php7.4-fpm service from the “Services” list in the webadmin and diagnosis checks …

1 Like