GD library is missing piwigo

Hi sorry for all this question…
I installed piwigo an it start with the error : GD library is missing.

Now its even wors. I found a solution and try
sudo apt-get install php7.0-gd.
after this i havent php7 in yunohost. The servce is not starting

Well then what happens when you try …

The service ‘php7.0-fpm’ could not be started

The systemctl start php7.0-fpm command could not be executed

[22-May-2020 16:44:13] NOTICE: systemd monitor interval set to 10000ms
[22-May-2020 16:48:17] NOTICE: configuration file /etc/php/7.0/fpm/php-fpm.conf test is successful

[22-May-2020 16:51:46] NOTICE: Terminating …
[22-May-2020 16:51:46] NOTICE: exiting, bye-bye!
[22-May-2020 18:17:18] NOTICE: fpm is running, pid 1000
[22-May-2020 18:17:19] NOTICE: ready to handle connections
[22-May-2020 18:17:19] NOTICE: systemd monitor interval set to 10000ms
[22-May-2020 20:17:41] NOTICE: Terminating …
[22-May-2020 20:17:41] NOTICE: exiting, bye-bye!
[22-May-2020 20:18:04] NOTICE: fpm is running, pid 1090
[22-May-2020 20:18:04] NOTICE: ready to handle connections
[22-May-2020 20:18:04] NOTICE: systemd monitor interval set to 10000ms
[23-May-2020 08:49:48] NOTICE: configuration file /etc/php/7.0/fpm/php-fpm.conf test is successful

[23-May-2020 08:50:47] NOTICE: configuration file /etc/php/7.0/fpm/php-fpm.conf test is successful

Wokay but then the logs you are showing do not contain any error, how did you got them ?

Can you try

journalctl --no-hostname --no-pager --unit php7.0-fpm -n 50

journalctl --no-hostname --no-pager --unit php7.0-fpm -n 50
Hint: You are currently not seeing messages from other users and the system.
Users in the ‘systemd-journal’ group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
This was the result, but nothing changed in the php7.0

[22-May-2020 16:44:13] NOTICE: systemd monitor interval set to 10000ms
[22-May-2020 16:48:17] NOTICE: configuration file /etc/php/7.0/fpm/php-fpm.conf test is successful

[22-May-2020 16:51:46] NOTICE: Terminating …
[22-May-2020 16:51:46] NOTICE: exiting, bye-bye!
[22-May-2020 18:17:18] NOTICE: fpm is running, pid 1000
[22-May-2020 18:17:19] NOTICE: ready to handle connections
[22-May-2020 18:17:19] NOTICE: systemd monitor interval set to 10000ms
[22-May-2020 20:17:41] NOTICE: Terminating …
[22-May-2020 20:17:41] NOTICE: exiting, bye-bye!
[22-May-2020 20:18:04] NOTICE: fpm is running, pid 1090
[22-May-2020 20:18:04] NOTICE: ready to handle connections
[22-May-2020 20:18:04] NOTICE: systemd monitor interval set to 10000ms
[23-May-2020 08:49:48] NOTICE: configuration file /etc/php/7.0/fpm/php-fpm.conf test is successful

[23-May-2020 08:50:47] NOTICE: configuration file /etc/php/7.0/fpm/php-fpm.conf test is successful

[23-May-2020 08:51:37] NOTICE: configuration file /etc/php/7.0/fpm/php-fpm.conf test is successful

[23-May-2020 08:51:48] NOTICE: Terminating …
[23-May-2020 08:51:48] NOTICE: exiting, bye-bye!
[23-May-2020 10:17:20] NOTICE: fpm is running, pid 1208
[23-May-2020 10:17:20] NOTICE: ready to handle connections
[23-May-2020 10:17:20] NOTICE: systemd monitor interval set to 10000ms
[23-May-2020 14:24:15] NOTICE: Reloading in progress …
[23-May-2020 14:24:15] NOTICE: reloading: execvp("/usr/sbin/php-fpm7.0", {"/usr/sbin/php-fpm7.0", “–nodaemonize”, “–fpm-config”, “/etc/php/7.0/fpm/php-fpm.conf”})
[23-May-2020 14:24:16] NOTICE: using inherited socket fd=7, “/var/run/php/php7.0-fpm-piwigo.sock”
[23-May-2020 14:24:16] NOTICE: using inherited socket fd=7, “/var/run/php/php7.0-fpm-piwigo.sock”
[23-May-2020 14:24:16] NOTICE: using inherited socket fd=8, “/run/php/php7.0-fpm.sock”
[23-May-2020 14:24:16] NOTICE: using inherited socket fd=8, “/run/php/php7.0-fpm.sock”
[23-May-2020 14:24:16] NOTICE: fpm is running, pid 1208
[23-May-2020 14:24:16] NOTICE: ready to handle connections
[23-May-2020 14:24:16] NOTICE: systemd monitor interval set to 10000ms
[23-May-2020 14:24:25] NOTICE: configuration file /etc/php/7.0/fpm/php-fpm.conf test is successful

[23-May-2020 14:28:11] NOTICE: configuration file /etc/php/7.0/fpm/php-fpm.conf test is successful

[23-May-2020 14:29:37] NOTICE: Reloading in progress …
[23-May-2020 14:29:37] NOTICE: reloading: execvp("/usr/sbin/php-fpm7.0", {"/usr/sbin/php-fpm7.0", “–nodaemonize”, “–fpm-config”, “/etc/php/7.0/fpm/php-fpm.conf”})
[23-May-2020 14:29:38] NOTICE: using inherited socket fd=8, “/run/php/php7.0-fpm.sock”
[23-May-2020 14:29:38] NOTICE: using inherited socket fd=8, “/run/php/php7.0-fpm.sock”
[23-May-2020 14:29:38] NOTICE: fpm is running, pid 1208
[23-May-2020 14:29:38] NOTICE: ready to handle connections
[23-May-2020 14:29:38] NOTICE: systemd monitor interval set to 10000ms
[23-May-2020 14:30:27] NOTICE: configuration file /etc/php/7.0/fpm/php-fpm.conf test is successful

[23-May-2020 14:37:56] NOTICE: configuration file /etc/php/7.0/fpm/php-fpm.conf test is successful

[23-May-2020 14:54:48] NOTICE: Terminating …
[23-May-2020 14:54:48] NOTICE: exiting, bye-bye!

Well then everything seems fine … What happens if you run systemctl restart php7.0-fpm

(then if service is still down, re-run the journalctl command …)

systemctl restart php7.0-fpm
Failed to restart php7.0-fpm.service: The name org.freedesktop.PolicyKit1 was no t provided by any .service files
See system logs and ‘systemctl status php7.0-fpm.service’ for details.

Hint: You are currently not seeing messages from other users and the system.
Users in the ‘systemd-journal’ group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
admin@siggi200:~$ Hint: You are currently not seeing messages from other users and the system .
Could not find the database of available applications, run update-command-not-found as root t o fix this
Hint:: command not found
admin@siggi200:~$ Users in the ‘systemd-journal’ group can see all messages. Pass -q to Could not find the database of available applications, run update-command-not-found as root t o fix this

You should run the commands with sudo :confused:

sudo systemctl restart php7.0-fpm
sudo journalctl --no-hostname --no-pager --unit php7.0-fpm -n 50

Sorry
admin@siggi200:~$ sudo systemctl restart php7.0-fpm
Failed to restart php7.0-fpm.service: Unit php7.0-fpm.service is masked.
admin@siggi200:~$ sudo journalctl --no-hostname --no-pager --unit php7.0-fpm -n 50
– No entries –

Well … then the service is masked … Why the hell is it masked …

Let’s start where we should have started then …

  • piwigo does supposedly install php-gd because it’s declared here
  • so instead of trying to assume we know the solution to the problem, let’s make sure the problem we are trying to address is the right one … So as the support ticket template which is automatically adversited in at least 3 different places in this forum suggest :roll_eyes: … :

PKjdXuNAkb

of the initial failed(?) piwigo install

Sorry this is my first installation of yunohost. I havent experince with linux. I installed piwigo and it show me the error that php-gt is not installed. I tried to find the solution
sudo apt-get install php7.0-gd. An after this my problem start.
what does it mean the service is masked

I try this sudo systemctl unmask php7.0-fpm. and it work.
now the service is working again. thankyou for your help. I hope now i can install piwigo wihout problems :gespült:

With th configuration is somthing not OK.

description
Runs apps written in PHP with NGINX
status
exited 6 minutes ago
Start at startup
Activated
configuration
broken.
How can i change the configuration

In exchange for free support, you have to pay me with logs

You are trying to fix the issue yourself, which is fine, but if you’re asking for my help, you need to listen closely to what I say and what I’m asking.

I mentioned the piwigo install logs. Now I strongly suspect that the install failed somehow, which is the root cause of the issue. To understand and fix the issue, we have to look at that log and not wait to encounter every small quirks on the system and fix them without understanding the root issue.

The piwigo install log should be available in the webadmin in Tools > Logs, then something called “Install app piwigo” (possibly with a red mark or something…). Then there’s a green button “Share with Yunopaste”

Any other failed operation that you will see in Tools > Logs, and that is flagged as red/failed and that might be related to this would be nice to know about as well.

434/5000

Ok i do.
I think that’s where the problem came from. I installed Piwigo and then uninstalled it again. It looks like there was an error in the uninstallation and my problem then appeared in the second installation.
I only see an uninstallation error in my logs.
The green button “Share with Yunopaste” opens a second tab, do I have to copy the content? or how does it work.

args:
app: piwigo
ended_at: 2020-05-23 14:57:04.242159
env:
YNH_APP_ID: piwigo
YNH_APP_INSTANCE_NAME: piwigo
YNH_APP_INSTANCE_NUMBER: ‘1’
YNH_CWD: /tmp/yunohost_remove/scripts
YNH_INTERFACE: api
YNH_STDINFO: /tmp/tmpdWp9Si/stdinfo
YNH_STDRETURN: /tmp/tmpYwrjdS/stdreturn
error: ‘Diese Aktion scheint diese wichtigen Dienste unterbrochen zu haben: php7.0-fpm’
operation: app_remove
related_to:

    • app
    • piwigo
      started_at: 2020-05-23 14:55:20.886629
      success: false

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

2020-05-23 14:55:20,903: INFO - Anwendung piwigo wird entfernt…
2020-05-23 14:55:21,716: DEBUG - Führe den Behfehl ‘sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/tmp/yunohost_remove/scripts YNH_STDINFO=/tmp/tmpdWp9Si/stdinfo YNH_APP_INSTANCE_NAME=piwigo YNH_INTERFACE=api YNH_APP_ID=piwigo YNH_STDRETURN=/tmp/tmpYwrjdS/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./remove” piwigo 7>&1’ aus…
2020-05-23 14:55:21,719: DEBUG - About to run the command ‘[‘sh’, ‘-c’, ‘YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/tmp/yunohost_remove/scripts YNH_STDINFO=/tmp/tmpdWp9Si/stdinfo YNH_APP_INSTANCE_NAME=piwigo YNH_INTERFACE=api YNH_APP_ID=piwigo YNH_STDRETURN=/tmp/tmpYwrjdS/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./remove” piwigo 7>&1’]’
2020-05-23 14:55:21,932: DEBUG - + source common.sh
2020-05-23 14:55:21,945: DEBUG - ++ pkg_dependencies=‘php-gd php-imagick imagemagick’
2020-05-23 14:55:21,948: DEBUG - + source /usr/share/yunohost/helpers
2020-05-23 14:55:21,951: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2020-05-23 14:55:21,954: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:21,956: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/apt ‘]’
2020-05-23 14:55:21,959: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2020-05-23 14:55:21,961: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:21,963: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/backup ‘]’
2020-05-23 14:55:21,966: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2020-05-23 14:55:21,968: DEBUG - +++ CAN_BIND=1
2020-05-23 14:55:21,971: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:21,973: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/fail2ban ‘]’
2020-05-23 14:55:21,977: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2020-05-23 14:55:21,979: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:21,981: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/getopts ‘]’
2020-05-23 14:55:21,983: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2020-05-23 14:55:21,986: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:21,987: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/hardware ‘]’
2020-05-23 14:55:21,997: DEBUG - ++ . /usr/share/yunohost/helpers.d/hardware
2020-05-23 14:55:22,000: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:22,002: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logging ‘]’
2020-05-23 14:55:22,004: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2020-05-23 14:55:22,006: DEBUG - +++ increment_progression=0
2020-05-23 14:55:22,008: DEBUG - +++ previous_weight=0
2020-05-23 14:55:22,011: DEBUG - +++ max_progression=-1
2020-05-23 14:55:22,012: DEBUG - +++ progress_scale=20
2020-05-23 14:55:22,023: DEBUG - +++ progress_string2=’####################’
2020-05-23 14:55:22,025: DEBUG - +++ progress_string1=++++++++++++++++++++
2020-05-23 14:55:22,027: DEBUG - +++ progress_string0=…
2020-05-23 14:55:22,029: DEBUG - ++++ date +%s
2020-05-23 14:55:22,038: DEBUG - +++ base_time=1590245721
2020-05-23 14:55:22,040: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:22,042: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logrotate ‘]’
2020-05-23 14:55:22,044: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2020-05-23 14:55:22,050: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:22,051: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
2020-05-23 14:55:22,062: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2020-05-23 14:55:22,064: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2020-05-23 14:55:22,067: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:22,073: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
2020-05-23 14:55:22,076: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2020-05-23 14:55:22,080: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:22,082: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nginx ‘]’
2020-05-23 14:55:22,084: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2020-05-23 14:55:22,090: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:22,092: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nodejs ‘]’
2020-05-23 14:55:22,094: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2020-05-23 14:55:22,096: DEBUG - +++ n_install_dir=/opt/node_n
2020-05-23 14:55:22,099: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2020-05-23 14:55:22,101: DEBUG - +++ export N_PREFIX=/opt/node_n
2020-05-23 14:55:22,103: DEBUG - +++ N_PREFIX=/opt/node_n
2020-05-23 14:55:22,105: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:22,107: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/php ‘]’
2020-05-23 14:55:22,109: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2020-05-23 14:55:22,119: DEBUG - +++ readonly YNH_DEFAULT_PHP_VERSION=7.0
2020-05-23 14:55:22,121: DEBUG - +++ YNH_DEFAULT_PHP_VERSION=7.0
2020-05-23 14:55:22,123: DEBUG - +++ YNH_PHP_VERSION=7.0
2020-05-23 14:55:22,124: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:22,127: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/postgresql ‘]’
2020-05-23 14:55:22,129: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2020-05-23 14:55:22,131: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2020-05-23 14:55:22,133: DEBUG - +++ PSQL_VERSION=9.6
2020-05-23 14:55:22,140: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:22,142: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
2020-05-23 14:55:22,144: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2020-05-23 14:55:22,148: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:22,150: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
2020-05-23 14:55:22,152: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2020-05-23 14:55:22,154: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:22,156: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/systemd ‘]’
2020-05-23 14:55:22,159: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2020-05-23 14:55:22,161: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:22,170: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
2020-05-23 14:55:22,172: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2020-05-23 14:55:22,174: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-05-23 14:55:22,176: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
2020-05-23 14:55:22,182: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2020-05-23 14:55:22,284: DEBUG - + ynh_script_progression ‘–message=Loading installation settings…’
2020-05-23 14:55:22,287: DEBUG - + set +o xtrace
2020-05-23 14:55:22,289: DEBUG - + set +o xtrace
2020-05-23 14:55:22,493: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-23 14:55:22,496: DEBUG - + set +x
2020-05-23 14:55:22,498: DEBUG - + echo ‘[+…] > Loading installation settings…’
2020-05-23 14:55:22,501: DEBUG - + set -o xtrace
2020-05-23 14:55:22,503: DEBUG - + app=piwigo
2020-05-23 14:55:22,506: DEBUG - ++ ynh_app_setting_get --app=piwigo --key=domain
2020-05-23 14:55:22,510: DEBUG - ++ local legacy_args=ak
2020-05-23 14:55:22,512: DEBUG - ++ args_array=([a]=app= [k]=key=)
2020-05-23 14:55:22,515: DEBUG - ++ local -A args_array
2020-05-23 14:55:22,526: INFO - [+…] > Loading installation settings…
2020-05-23 14:55:22,540: DEBUG - ++ local app
2020-05-23 14:55:22,542: DEBUG - ++ local key
2020-05-23 14:55:22,545: DEBUG - ++ ynh_handle_getopts_args --app=piwigo --key=domain
2020-05-23 14:55:22,555: DEBUG - ++ set +o xtrace
2020-05-23 14:55:22,568: DEBUG - ++ ynh_app_setting get piwigo domain
2020-05-23 14:55:22,570: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-05-23 14:55:22,573: DEBUG - ++ ACTION=get
2020-05-23 14:55:22,575: DEBUG - ++ APP=piwigo
2020-05-23 14:55:22,585: DEBUG - ++ KEY=domain
2020-05-23 14:55:22,588: DEBUG - ++ VALUE=
2020-05-23 14:55:22,590: DEBUG - ++ python2.7 -
2020-05-23 14:55:23,597: DEBUG - ++ [[ domain =~ ^(unprotected|skipped)
]]
2020-05-23 14:55:23,599: DEBUG - + domain=maindomain.tld
2020-05-23 14:55:23,602: DEBUG - ++ ynh_app_setting_get --app=piwigo --key=db_name
2020-05-23 14:55:23,604: DEBUG - ++ local legacy_args=ak
2020-05-23 14:55:23,611: DEBUG - ++ args_array=([a]=app= [k]=key=)
2020-05-23 14:55:23,622: DEBUG - ++ local -A args_array
2020-05-23 14:55:23,625: DEBUG - ++ local app
2020-05-23 14:55:23,627: DEBUG - ++ local key
2020-05-23 14:55:23,630: DEBUG - ++ ynh_handle_getopts_args --app=piwigo --key=db_name
2020-05-23 14:55:23,632: DEBUG - ++ set +o xtrace
2020-05-23 14:55:23,643: DEBUG - ++ ynh_app_setting get piwigo db_name
2020-05-23 14:55:23,645: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-05-23 14:55:23,647: DEBUG - ++ ACTION=get
2020-05-23 14:55:23,659: DEBUG - ++ APP=piwigo
2020-05-23 14:55:23,662: DEBUG - ++ KEY=db_name
2020-05-23 14:55:23,664: DEBUG - ++ VALUE=
2020-05-23 14:55:23,666: DEBUG - ++ python2.7 -
2020-05-23 14:55:24,674: DEBUG - ++ [[ db_name =~ ^(unprotected|skipped)_ ]]
2020-05-23 14:55:24,676: DEBUG - + db_name=piwigo
2020-05-23 14:55:24,678: DEBUG - ++ ynh_app_setting_get --app=piwigo --key=final_path
2020-05-23 14:55:24,681: DEBUG - ++ local legacy_args=ak
2020-05-23 14:55:24,691: DEBUG - ++ args_array=([a]=app= [k]=key=)
2020-05-23 14:55:24,694: DEBUG - ++ local -A args_array
2020-05-23 14:55:24,696: DEBUG - ++ local app
2020-05-23 14:55:24,706: DEBUG - ++ local key
2020-05-23 14:55:24,708: DEBUG - ++ ynh_handle_getopts_args --app=piwigo --key=final_path
2020-05-23 14:55:24,710: DEBUG - ++ set +o xtrace
2020-05-23 14:55:24,712: DEBUG - ++ ynh_app_setting get piwigo final_path
2020-05-23 14:55:24,719: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-05-23 14:55:24,725: DEBUG - ++ ACTION=get
2020-05-23 14:55:24,728: DEBUG - ++ APP=piwigo
2020-05-23 14:55:24,730: DEBUG - ++ KEY=final_path
2020-05-23 14:55:24,732: DEBUG - ++ VALUE=
2020-05-23 14:55:24,743: DEBUG - ++ python2.7 -
2020-05-23 14:55:25,750: DEBUG - ++ [[ final_path =~ ^(unprotected|skipped)_ ]]
2020-05-23 14:55:25,752: DEBUG - + final_path=/var/www/piwigo
2020-05-23 14:55:25,755: DEBUG - + ynh_script_progression ‘–message=Removing dependencies…’
2020-05-23 14:55:25,761: DEBUG - + set +o xtrace
2020-05-23 14:55:25,763: DEBUG - + set +o xtrace
2020-05-23 14:55:25,866: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-23 14:55:25,868: INFO - [#+…] > Removing dependencies…
2020-05-23 14:55:25,872: DEBUG - + set +x
2020-05-23 14:55:25,878: DEBUG - + echo ‘[#+…] > Removing dependencies…’
2020-05-23 14:55:25,881: DEBUG - + set -o xtrace
2020-05-23 14:55:25,883: DEBUG - + ynh_remove_app_dependencies
2020-05-23 14:55:25,885: DEBUG - + local dep_app=piwigo
2020-05-23 14:55:25,895: DEBUG - + ynh_package_autopurge piwigo-ynh-deps
2020-05-23 14:55:25,898: DEBUG - + ynh_apt autoremove --purge piwigo-ynh-deps
2020-05-23 14:55:25,900: DEBUG - + ynh_wait_dpkg_free
2020-05-23 14:55:25,910: DEBUG - + local try
2020-05-23 14:55:25,913: DEBUG - + set +o xtrace
2020-05-23 14:55:26,614: DEBUG - apt is already in use…
2020-05-23 14:55:28,022: DEBUG - apt is already in use…
2020-05-23 14:55:32,709: DEBUG - apt is already in use…
2020-05-23 14:55:42,366: DEBUG - apt is already in use…
2020-05-23 14:55:59,039: DEBUG - apt is already in use…
2020-05-23 14:56:24,547: DEBUG - + return 0
2020-05-23 14:56:24,550: DEBUG - + LC_ALL=C
2020-05-23 14:56:24,552: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-05-23 14:56:24,554: DEBUG - + apt-get --assume-yes --quiet -o=Dpkg::Use-Pty=0 autoremove --purge piwigo-ynh-deps
2020-05-23 14:56:25,159: DEBUG - Reading package lists…
2020-05-23 14:56:26,363: DEBUG - Building dependency tree…
2020-05-23 14:56:26,366: DEBUG - Reading state information…
2020-05-23 14:56:28,288: DEBUG - The following packages will be REMOVED:
2020-05-23 14:56:28,291: DEBUG - php7.0-json* php7.0-opcache* php7.0-readline* piwigo-ynh-deps*
2020-05-23 14:56:30,944: DEBUG - 0 upgraded, 0 newly installed, 4 to remove and 2 not upgraded.
2020-05-23 14:56:30,946: DEBUG - After this operation, 264 kB disk space will be freed.
2020-05-23 14:56:31,251: DEBUG - (Reading database … 43729 files and directories currently installed.)
2020-05-23 14:56:31,253: DEBUG - Removing php7.0-json (7.0.33-29+0~20200514.36+debian9~1.gbp126f6f) …
2020-05-23 14:56:31,356: DEBUG - Removing php7.0-opcache (7.0.33-29+0~20200514.36+debian9~1.gbp126f6f) …
2020-05-23 14:56:31,560: DEBUG - Removing php7.0-readline (7.0.33-29+0~20200514.36+debian9~1.gbp126f6f) …
2020-05-23 14:56:31,663: DEBUG - Removing piwigo-ynh-deps (2.10.2~ynh1) …
2020-05-23 14:56:32,469: DEBUG - (Reading database … 43698 files and directories currently installed.)
2020-05-23 14:56:32,471: DEBUG - Purging configuration files for php7.0-readline (7.0.33-29+0~20200514.36+debian9~1.gbp126f6f) …
2020-05-23 14:56:32,575: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2020-05-23 14:56:32,778: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2020-05-23 14:56:33,785: DEBUG - Purging configuration files for php7.0-opcache (7.0.33-29+0~20200514.36+debian9~1.gbp126f6f) …
2020-05-23 14:56:33,888: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2020-05-23 14:56:34,092: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2020-05-23 14:56:35,099: DEBUG - Purging configuration files for php7.0-json (7.0.33-29+0~20200514.36+debian9~1.gbp126f6f) …
2020-05-23 14:56:35,101: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2020-05-23 14:56:35,409: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2020-05-23 14:56:37,865: DEBUG - + ynh_script_progression ‘–message=Removing the MySQL database…’
2020-05-23 14:56:37,869: DEBUG - + set +o xtrace
2020-05-23 14:56:37,972: DEBUG - + set +o xtrace
2020-05-23 14:56:37,974: INFO - [##+…] > Removing the MySQL database…
2020-05-23 14:56:37,979: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-23 14:56:37,981: DEBUG - + set +x
2020-05-23 14:56:37,984: DEBUG - + echo ‘[##+…] > Removing the MySQL database…’
2020-05-23 14:56:37,989: DEBUG - + set -o xtrace
2020-05-23 14:56:37,992: DEBUG - + ynh_mysql_remove_db --db_user=piwigo --db_name=piwigo
2020-05-23 14:56:37,994: DEBUG - + local legacy_args=un
2020-05-23 14:56:37,996: DEBUG - + args_array=([u]=db_user= [n]=db_name=)
2020-05-23 14:56:37,999: DEBUG - + local -A args_array
2020-05-23 14:56:38,001: DEBUG - + local db_user
2020-05-23 14:56:38,004: DEBUG - + local db_name
2020-05-23 14:56:38,007: DEBUG - + ynh_handle_getopts_args --db_user=piwigo --db_name=piwigo
2020-05-23 14:56:38,009: DEBUG - + set +o xtrace
2020-05-23 14:56:38,012: DEBUG - ++ cat /etc/yunohost/mysql
2020-05-23 14:56:38,013: DEBUG - + local mysql_root_password=**********
2020-05-23 14:56:38,015: DEBUG - + grep --quiet ‘^| piwigo’
2020-05-23 14:56:38,017: DEBUG - + mysqlshow --user=root --password=**********
2020-05-23 14:56:38,119: DEBUG - + ynh_mysql_drop_db piwigo
2020-05-23 14:56:38,122: DEBUG - + ynh_mysql_execute_as_root ‘–sql=DROP DATABASE piwigo;’
2020-05-23 14:56:38,124: DEBUG - + local legacy_args=sd
2020-05-23 14:56:38,127: DEBUG - + args_array=([s]=sql= [d]=database=)
2020-05-23 14:56:38,130: DEBUG - + local -A args_array
2020-05-23 14:56:38,132: DEBUG - + local sql
2020-05-23 14:56:38,134: DEBUG - + local database
2020-05-23 14:56:38,137: DEBUG - + ynh_handle_getopts_args ‘–sql=DROP DATABASE piwigo;’
2020-05-23 14:56:38,139: DEBUG - + set +o xtrace
2020-05-23 14:56:38,142: DEBUG - + database=
2020-05-23 14:56:38,144: DEBUG - ++ cat /etc/yunohost/mysql
2020-05-23 14:56:38,147: DEBUG - + ynh_mysql_connect_as --user=root --password=********** --database=
2020-05-23 14:56:38,150: DEBUG - + local legacy_args=upd
2020-05-23 14:56:38,152: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
2020-05-23 14:56:38,155: DEBUG - + local -A args_array
2020-05-23 14:56:38,157: DEBUG - + local user
2020-05-23 14:56:38,159: DEBUG - + local password
2020-05-23 14:56:38,162: DEBUG - + local database
2020-05-23 14:56:38,164: DEBUG - + ynh_handle_getopts_args --user=root --password=********** --database=
2020-05-23 14:56:38,166: DEBUG - + set +o xtrace
2020-05-23 14:56:38,168: DEBUG - + database=
2020-05-23 14:56:38,171: DEBUG - + mysql --user=root --password=********** --batch ‘’
2020-05-23 14:56:38,274: DEBUG - + ynh_mysql_user_exists --user=piwigo
2020-05-23 14:56:38,277: DEBUG - + local legacy_args=u
2020-05-23 14:56:38,279: DEBUG - + args_array=([u]=user=)
2020-05-23 14:56:38,282: DEBUG - + local -A args_array
2020-05-23 14:56:38,284: DEBUG - + local user
2020-05-23 14:56:38,286: DEBUG - + ynh_handle_getopts_args --user=piwigo
2020-05-23 14:56:38,289: DEBUG - + set +o xtrace
2020-05-23 14:56:38,292: DEBUG - ++ ynh_mysql_execute_as_root ‘–sql=SELECT User from mysql.user WHERE User = ‘’‘piwigo’’’;’
2020-05-23 14:56:38,294: DEBUG - ++ local legacy_args=sd
2020-05-23 14:56:38,297: DEBUG - ++ args_array=([s]=sql= [d]=database=)
2020-05-23 14:56:38,299: DEBUG - ++ local -A args_array
2020-05-23 14:56:38,302: DEBUG - ++ local sql
2020-05-23 14:56:38,304: DEBUG - ++ local database
2020-05-23 14:56:38,308: DEBUG - ++ ynh_handle_getopts_args ‘–sql=SELECT User from mysql.user WHERE User = ‘’‘piwigo’’’;’
2020-05-23 14:56:38,310: DEBUG - ++ set +o xtrace
2020-05-23 14:56:38,313: DEBUG - ++ database=
2020-05-23 14:56:38,315: DEBUG - +++ cat /etc/yunohost/mysql
2020-05-23 14:56:38,319: DEBUG - ++ ynh_mysql_connect_as --user=root --password=********** --database=
2020-05-23 14:56:38,322: DEBUG - ++ local legacy_args=upd
2020-05-23 14:56:38,325: DEBUG - ++ args_array=([u]=user= [p]=password= [d]=database=)
2020-05-23 14:56:38,328: DEBUG - ++ local -A args_array
2020-05-23 14:56:38,330: DEBUG - ++ local user
2020-05-23 14:56:38,333: DEBUG - ++ local password
2020-05-23 14:56:38,335: DEBUG - ++ local database
2020-05-23 14:56:38,337: DEBUG - ++ ynh_handle_getopts_args --user=root --password=********** --database=
2020-05-23 14:56:38,340: DEBUG - ++ set +o xtrace
2020-05-23 14:56:38,482: DEBUG - ++ database=
2020-05-23 14:56:38,484: DEBUG - ++ mysql --user=root --password=********** --batch ‘’
2020-05-23 14:56:38,487: DEBUG - + [[ -z User
2020-05-23 14:56:38,489: DEBUG - piwigo ]]
2020-05-23 14:56:38,492: DEBUG - + return 0
2020-05-23 14:56:38,494: DEBUG - + ynh_mysql_drop_user piwigo
2020-05-23 14:56:38,496: DEBUG - + ynh_mysql_execute_as_root ‘–sql=DROP USER ‘’‘piwigo’’’@’’‘localhost’’’;’
2020-05-23 14:56:38,499: DEBUG - + local legacy_args=sd
2020-05-23 14:56:38,502: DEBUG - + args_array=([s]=sql= [d]=database=)
2020-05-23 14:56:38,504: DEBUG - + local -A args_array
2020-05-23 14:56:38,506: DEBUG - + local sql
2020-05-23 14:56:38,509: DEBUG - + local database
2020-05-23 14:56:38,511: DEBUG - + ynh_handle_getopts_args ‘–sql=DROP USER ‘’‘piwigo’’’@’’‘localhost’’’;’
2020-05-23 14:56:38,514: DEBUG - + set +o xtrace
2020-05-23 14:56:38,516: DEBUG - + database=
2020-05-23 14:56:38,519: DEBUG - ++ cat /etc/yunohost/mysql
2020-05-23 14:56:38,622: DEBUG - + ynh_mysql_connect_as --user=root --password=********** --database=
2020-05-23 14:56:38,624: DEBUG - + local legacy_args=upd
2020-05-23 14:56:38,626: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
2020-05-23 14:56:38,629: DEBUG - + local -A args_array
2020-05-23 14:56:38,631: DEBUG - + local user
2020-05-23 14:56:38,634: DEBUG - + local password
2020-05-23 14:56:38,636: DEBUG - + local database
2020-05-23 14:56:38,641: DEBUG - + ynh_handle_getopts_args --user=root --password=********** --database=
2020-05-23 14:56:38,644: DEBUG - + set +o xtrace
2020-05-23 14:56:38,646: DEBUG - + database=
2020-05-23 14:56:38,649: DEBUG - + mysql --user=root --password=********** --batch ‘’
2020-05-23 14:56:38,651: DEBUG - + ynh_script_progression ‘–message=Removing app main directory…’
2020-05-23 14:56:38,654: DEBUG - + set +o xtrace
2020-05-23 14:56:38,758: DEBUG - + set +o xtrace
2020-05-23 14:56:38,760: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-23 14:56:38,762: DEBUG - + set +x
2020-05-23 14:56:38,765: DEBUG - + echo ‘[###+…] > Removing app main directory…’
2020-05-23 14:56:38,767: DEBUG - + set -o xtrace
2020-05-23 14:56:38,769: DEBUG - + ynh_secure_remove --file=/var/www/piwigo
2020-05-23 14:56:38,772: DEBUG - + local legacy_args=f
2020-05-23 14:56:38,774: DEBUG - + args_array=([f]=file=)
2020-05-23 14:56:38,777: DEBUG - + local -A args_array
2020-05-23 14:56:38,779: DEBUG - + local file
2020-05-23 14:56:38,781: DEBUG - + ynh_handle_getopts_args --file=/var/www/piwigo
2020-05-23 14:56:38,783: DEBUG - + set +o xtrace
2020-05-23 14:56:38,785: DEBUG - + local ‘forbidden_path= /var/www /home/yunohost.app’
2020-05-23 14:56:38,788: DEBUG - + ‘[’ 1 -ge 2 ‘]’
2020-05-23 14:56:38,790: DEBUG - + [[ -z /var/www/piwigo ]]
2020-05-23 14:56:38,792: DEBUG - + [[ /var/www /home/yunohost.app =~ /var/www/piwigo ]]
2020-05-23 14:56:38,794: DEBUG - + [[ /var/www/piwigo =~ ^/[[:alnum:]]+$ ]]
2020-05-23 14:56:38,796: DEBUG - + [[ o = / ]]
2020-05-23 14:56:38,798: DEBUG - + ‘[’ -e /var/www/piwigo ‘]’
2020-05-23 14:56:38,800: DEBUG - + rm --recursive /var/www/piwigo
2020-05-23 14:56:39,405: DEBUG - + ynh_script_progression ‘–message=Removing nginx web server configuration…’ --weight=2
2020-05-23 14:56:39,408: INFO - [###+…] > Removing app main directory…
2020-05-23 14:56:39,412: DEBUG - + set +o xtrace
2020-05-23 14:56:39,515: DEBUG - + set +o xtrace
2020-05-23 14:56:39,517: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-23 14:56:39,519: DEBUG - + set +x
2020-05-23 14:56:39,522: DEBUG - + echo ‘[####+++…] > Removing nginx web server configuration…’
2020-05-23 14:56:39,524: DEBUG - + set -o xtrace
2020-05-23 14:56:39,527: DEBUG - + ynh_remove_nginx_config
2020-05-23 14:56:39,529: DEBUG - + ynh_secure_remove --file=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2020-05-23 14:56:39,532: DEBUG - + local legacy_args=f
2020-05-23 14:56:39,534: DEBUG - + args_array=([f]=file=)
2020-05-23 14:56:39,536: DEBUG - + local -A args_array
2020-05-23 14:56:39,537: DEBUG - + local file
2020-05-23 14:56:39,539: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2020-05-23 14:56:39,541: DEBUG - + set +o xtrace
2020-05-23 14:56:39,543: INFO - [####+++…] > Removing nginx web server configuration…
2020-05-23 14:56:39,546: DEBUG - + local ‘forbidden_path= /var/www /home/yunohost.app’
2020-05-23 14:56:39,548: DEBUG - + ‘[’ 1 -ge 2 ‘]’
2020-05-23 14:56:39,549: DEBUG - + [[ -z /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf ]]
2020-05-23 14:56:39,551: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/nginx/conf.d/siggi200.nohost.me.d/piwigo.conf ]]
2020-05-23 14:56:39,552: DEBUG - + [[ /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf =~ ^/[[:alnum:]]+$ ]]
2020-05-23 14:56:39,554: DEBUG - + [[ f = / ]]
2020-05-23 14:56:39,556: DEBUG - + ‘[’ -e /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf ‘]’
2020-05-23 14:56:39,557: DEBUG - + rm --recursive /etc/nginx/conf.d/maindomain.tld.d/piwigo.conf
2020-05-23 14:56:39,559: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2020-05-23 14:56:39,560: DEBUG - + local legacy_args=nalpte
2020-05-23 14:56:39,562: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2020-05-23 14:56:39,564: DEBUG - + local -A args_array
2020-05-23 14:56:39,565: DEBUG - + local service_name
2020-05-23 14:56:39,567: DEBUG - + local action
2020-05-23 14:56:39,568: DEBUG - + local line_match
2020-05-23 14:56:39,570: DEBUG - + local length
2020-05-23 14:56:39,571: DEBUG - + local log_path
2020-05-23 14:56:39,573: DEBUG - + local timeout
2020-05-23 14:56:39,574: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
2020-05-23 14:56:39,576: DEBUG - + set +o xtrace
2020-05-23 14:56:39,678: DEBUG - + service_name=nginx
2020-05-23 14:56:39,681: DEBUG - + action=reload
2020-05-23 14:56:39,683: DEBUG - + line_match=
2020-05-23 14:56:39,685: DEBUG - + length=20
2020-05-23 14:56:39,687: DEBUG - + log_path=/var/log/nginx/nginx.log
2020-05-23 14:56:39,689: DEBUG - + timeout=300
2020-05-23 14:56:39,691: DEBUG - + [[ -n ‘’ ]]
2020-05-23 14:56:39,693: DEBUG - + ‘[’ reload == reload ‘]’
2020-05-23 14:56:39,695: DEBUG - + action=reload-or-restart
2020-05-23 14:56:39,698: DEBUG - + systemctl reload-or-restart nginx
2020-05-23 14:56:40,102: DEBUG - + [[ -n ‘’ ]]
2020-05-23 14:56:40,104: DEBUG - + ynh_script_progression ‘–message=Removing php-fpm configuration…’
2020-05-23 14:56:40,106: DEBUG - + set +o xtrace
2020-05-23 14:56:40,212: DEBUG - + set +o xtrace
2020-05-23 14:56:40,215: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-23 14:56:40,217: DEBUG - + set +x
2020-05-23 14:56:40,219: DEBUG - + echo ‘[#######+…] > Removing php-fpm configuration…’
2020-05-23 14:56:40,222: DEBUG - + set -o xtrace
2020-05-23 14:56:40,224: DEBUG - + ynh_remove_fpm_config
2020-05-23 14:56:40,238: DEBUG - ++ ynh_app_setting_get --app=piwigo --key=fpm_config_dir
2020-05-23 14:56:40,240: DEBUG - ++ local legacy_args=ak
2020-05-23 14:56:40,243: DEBUG - ++ args_array=([a]=app= [k]=key=)
2020-05-23 14:56:40,247: INFO - [#######+…] > Removing php-fpm configuration…
2020-05-23 14:56:40,252: DEBUG - ++ local -A args_array
2020-05-23 14:56:40,261: DEBUG - ++ local app
2020-05-23 14:56:40,264: DEBUG - ++ local key
2020-05-23 14:56:40,267: DEBUG - ++ ynh_handle_getopts_args --app=piwigo --key=fpm_config_dir
2020-05-23 14:56:40,270: DEBUG - ++ set +o xtrace
2020-05-23 14:56:40,380: DEBUG - ++ ynh_app_setting get piwigo fpm_config_dir
2020-05-23 14:56:40,384: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-05-23 14:56:40,386: DEBUG - ++ ACTION=get
2020-05-23 14:56:40,388: DEBUG - ++ APP=piwigo
2020-05-23 14:56:40,398: DEBUG - ++ KEY=fpm_config_dir
2020-05-23 14:56:40,400: DEBUG - ++ VALUE=
2020-05-23 14:56:40,402: DEBUG - ++ python2.7 -
2020-05-23 14:56:41,329: DEBUG - ++ [[ fpm_config_dir =~ ^(unprotected|skipped)_ ]]
2020-05-23 14:56:41,331: DEBUG - + local fpm_config_dir=/etc/php/7.0/fpm
2020-05-23 14:56:41,334: DEBUG - ++ ynh_app_setting_get --app=piwigo --key=fpm_service
2020-05-23 14:56:41,337: DEBUG - ++ local legacy_args=ak
2020-05-23 14:56:41,340: DEBUG - ++ args_array=([a]=app= [k]=key=)
2020-05-23 14:56:41,342: DEBUG - ++ local -A args_array
2020-05-23 14:56:41,344: DEBUG - ++ local app
2020-05-23 14:56:41,347: DEBUG - ++ local key
2020-05-23 14:56:41,349: DEBUG - ++ ynh_handle_getopts_args --app=piwigo --key=fpm_service
2020-05-23 14:56:41,352: DEBUG - ++ set +o xtrace
2020-05-23 14:56:41,455: DEBUG - ++ ynh_app_setting get piwigo fpm_service
2020-05-23 14:56:41,457: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-05-23 14:56:41,459: DEBUG - ++ ACTION=get
2020-05-23 14:56:41,461: DEBUG - ++ APP=piwigo
2020-05-23 14:56:41,463: DEBUG - ++ KEY=fpm_service
2020-05-23 14:56:41,465: DEBUG - ++ VALUE=
2020-05-23 14:56:41,468: DEBUG - ++ python2.7 -
2020-05-23 14:56:42,274: DEBUG - ++ [[ fpm_service =~ ^(unprotected|skipped)_ ]]
2020-05-23 14:56:42,276: DEBUG - + local fpm_service=php7.0-fpm
2020-05-23 14:56:42,279: DEBUG - ++ ynh_app_setting_get --app=piwigo --key=fpm_dedicated_service
2020-05-23 14:56:42,282: DEBUG - ++ local legacy_args=ak
2020-05-23 14:56:42,284: DEBUG - ++ args_array=([a]=app= [k]=key=)
2020-05-23 14:56:42,287: DEBUG - ++ local -A args_array
2020-05-23 14:56:42,289: DEBUG - ++ local app
2020-05-23 14:56:42,292: DEBUG - ++ local key
2020-05-23 14:56:42,296: DEBUG - ++ ynh_handle_getopts_args --app=piwigo --key=fpm_dedicated_service
2020-05-23 14:56:42,299: DEBUG - ++ set +o xtrace
2020-05-23 14:56:42,301: DEBUG - ++ ynh_app_setting get piwigo fpm_dedicated_service
2020-05-23 14:56:42,304: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-05-23 14:56:42,307: DEBUG - ++ ACTION=get
2020-05-23 14:56:42,309: DEBUG - ++ APP=piwigo
2020-05-23 14:56:42,312: DEBUG - ++ KEY=fpm_dedicated_service
2020-05-23 14:56:42,314: DEBUG - ++ VALUE=
2020-05-23 14:56:42,316: DEBUG - ++ python2.7 -
2020-05-23 14:56:43,151: DEBUG - ++ [[ fpm_dedicated_service =~ ^(unprotected|skipped)_ ]]
2020-05-23 14:56:43,154: DEBUG - + local dedicated_service=0
2020-05-23 14:56:43,159: DEBUG - + dedicated_service=0
2020-05-23 14:56:43,161: DEBUG - ++ ynh_app_setting_get piwigo phpversion
2020-05-23 14:56:43,164: DEBUG - ++ local legacy_args=ak
2020-05-23 14:56:43,167: DEBUG - ++ args_array=([a]=app= [k]=key=)
2020-05-23 14:56:43,169: DEBUG - ++ local -A args_array
2020-05-23 14:56:43,171: DEBUG - ++ local app
2020-05-23 14:56:43,174: DEBUG - ++ local key
2020-05-23 14:56:43,176: DEBUG - ++ ynh_handle_getopts_args piwigo phpversion
2020-05-23 14:56:43,179: DEBUG - ++ set +o xtrace
2020-05-23 14:56:43,282: DEBUG - ++ echo ‘! Helper used in legacy mode !’
2020-05-23 14:56:43,284: DEBUG - ++ set +x
2020-05-23 14:56:43,286: DEBUG - ++ ynh_app_setting get piwigo phpversion
2020-05-23 14:56:43,288: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-05-23 14:56:43,291: DEBUG - ++ ACTION=get
2020-05-23 14:56:43,293: DEBUG - ++ APP=piwigo
2020-05-23 14:56:43,295: DEBUG - ++ KEY=phpversion
2020-05-23 14:56:43,298: DEBUG - ++ VALUE=
2020-05-23 14:56:43,300: DEBUG - ++ python2.7 -
2020-05-23 14:56:44,206: DEBUG - ++ [[ phpversion =~ ^(unprotected|skipped)_ ]]
2020-05-23 14:56:44,208: DEBUG - + local phpversion=7.0
2020-05-23 14:56:44,211: DEBUG - + phpversion=7.0
2020-05-23 14:56:44,214: DEBUG - + ‘[’ -z /etc/php/7.0/fpm ‘]’
2020-05-23 14:56:44,216: DEBUG - + ‘[’ 0 -eq 1 ‘]’
2020-05-23 14:56:44,218: DEBUG - + ynh_package_is_installed --package=php7.0-fpm
2020-05-23 14:56:44,220: DEBUG - + local legacy_args=p
2020-05-23 14:56:44,222: DEBUG - + args_array=([p]=package=)
2020-05-23 14:56:44,224: DEBUG - + local -A args_array
2020-05-23 14:56:44,226: DEBUG - + local package
2020-05-23 14:56:44,228: DEBUG - + ynh_handle_getopts_args --package=php7.0-fpm
2020-05-23 14:56:44,230: DEBUG - + set +o xtrace
2020-05-23 14:56:44,232: DEBUG - + ynh_wait_dpkg_free
2020-05-23 14:56:44,234: DEBUG - + local try
2020-05-23 14:56:44,236: DEBUG - + set +o xtrace
2020-05-23 14:56:44,740: DEBUG - + return 0
2020-05-23 14:56:44,742: DEBUG - + dpkg-query --show ‘–showformat=${Status}’ php7.0-fpm
2020-05-23 14:56:44,745: DEBUG - + grep --count ‘ok installed’
2020-05-23 14:56:44,848: DEBUG - + ynh_secure_remove --file=/etc/php/7.0/fpm/pool.d/piwigo.conf
2020-05-23 14:56:44,850: DEBUG - + local legacy_args=f
2020-05-23 14:56:44,853: DEBUG - + args_array=([f]=file=)
2020-05-23 14:56:44,855: DEBUG - + local -A args_array
2020-05-23 14:56:44,858: DEBUG - + local file
2020-05-23 14:56:44,860: DEBUG - + ynh_handle_getopts_args --file=/etc/php/7.0/fpm/pool.d/piwigo.conf
2020-05-23 14:56:44,863: DEBUG - + set +o xtrace
2020-05-23 14:56:44,866: DEBUG - + local ‘forbidden_path= /var/www /home/yunohost.app’
2020-05-23 14:56:44,868: DEBUG - + ‘[’ 1 -ge 2 ‘]’
2020-05-23 14:56:44,871: DEBUG - + [[ -z /etc/php/7.0/fpm/pool.d/piwigo.conf ]]
2020-05-23 14:56:44,873: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/php/7.0/fpm/pool.d/piwigo.conf ]]
2020-05-23 14:56:44,876: DEBUG - + [[ /etc/php/7.0/fpm/pool.d/piwigo.conf =~ ^/[[:alnum:]]+$ ]]
2020-05-23 14:56:44,879: DEBUG - + [[ f = / ]]
2020-05-23 14:56:44,881: DEBUG - + ‘[’ -e /etc/php/7.0/fpm/pool.d/piwigo.conf ‘]’
2020-05-23 14:56:44,884: DEBUG - + rm --recursive /etc/php/7.0/fpm/pool.d/piwigo.conf
2020-05-23 14:56:44,886: DEBUG - + ‘[’ -e /etc/php/7.0/fpm/conf.d/20-piwigo.ini ‘]’
2020-05-23 14:56:44,888: DEBUG - + ‘[’ 7.0 ‘!=’ 7.0 ‘]’
2020-05-23 14:56:44,892: DEBUG - + ynh_script_progression ‘–message=Removing fail2ban configuration…’ --weight=8
2020-05-23 14:56:44,894: DEBUG - + set +o xtrace
2020-05-23 14:56:44,897: DEBUG - + set +o xtrace
2020-05-23 14:56:44,999: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-23 14:56:45,002: DEBUG - + set +x
2020-05-23 14:56:45,005: DEBUG - + echo ‘[########+++++++++…] > Removing fail2ban configuration…’
2020-05-23 14:56:45,007: DEBUG - + set -o xtrace
2020-05-23 14:56:45,010: INFO - [########+++++++++…] > Removing fail2ban configuration…
2020-05-23 14:56:45,014: DEBUG - + ynh_remove_fail2ban_config
2020-05-23 14:56:45,017: DEBUG - + ynh_secure_remove /etc/fail2ban/jail.d/piwigo.conf
2020-05-23 14:56:45,019: DEBUG - + local legacy_args=f
2020-05-23 14:56:45,022: DEBUG - + args_array=([f]=file=)
2020-05-23 14:56:45,024: DEBUG - + local -A args_array
2020-05-23 14:56:45,027: DEBUG - + local file
2020-05-23 14:56:45,029: DEBUG - + ynh_handle_getopts_args /etc/fail2ban/jail.d/piwigo.conf
2020-05-23 14:56:45,032: DEBUG - + set +o xtrace
2020-05-23 14:56:45,034: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-23 14:56:45,037: DEBUG - + set +x
2020-05-23 14:56:45,039: DEBUG - + local ‘forbidden_path= /var/www /home/yunohost.app’
2020-05-23 14:56:45,041: DEBUG - + ‘[’ 1 -ge 2 ‘]’
2020-05-23 14:56:45,044: DEBUG - + [[ -z /etc/fail2ban/jail.d/piwigo.conf ]]
2020-05-23 14:56:45,046: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/fail2ban/jail.d/piwigo.conf ]]
2020-05-23 14:56:45,049: DEBUG - + [[ /etc/fail2ban/jail.d/piwigo.conf =~ ^/[[:alnum:]]+$ ]]
2020-05-23 14:56:45,051: DEBUG - + [[ f = / ]]
2020-05-23 14:56:45,054: DEBUG - + ‘[’ -e /etc/fail2ban/jail.d/piwigo.conf ‘]’
2020-05-23 14:56:45,056: DEBUG - + rm --recursive /etc/fail2ban/jail.d/piwigo.conf
2020-05-23 14:56:45,058: DEBUG - + ynh_secure_remove /etc/fail2ban/filter.d/piwigo.conf
2020-05-23 14:56:45,061: DEBUG - + local legacy_args=f
2020-05-23 14:56:45,063: DEBUG - + args_array=([f]=file=)
2020-05-23 14:56:45,066: DEBUG - + local -A args_array
2020-05-23 14:56:45,068: DEBUG - + local file
2020-05-23 14:56:45,070: DEBUG - + ynh_handle_getopts_args /etc/fail2ban/filter.d/piwigo.conf
2020-05-23 14:56:45,072: DEBUG - + set +o xtrace
2020-05-23 14:56:45,074: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-23 14:56:45,077: DEBUG - + set +x
2020-05-23 14:56:45,079: DEBUG - + local ‘forbidden_path= /var/www /home/yunohost.app’
2020-05-23 14:56:45,082: DEBUG - + ‘[’ 1 -ge 2 ‘]’
2020-05-23 14:56:45,084: DEBUG - + [[ -z /etc/fail2ban/filter.d/piwigo.conf ]]
2020-05-23 14:56:45,087: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/fail2ban/filter.d/piwigo.conf ]]
2020-05-23 14:56:45,089: DEBUG - + [[ /etc/fail2ban/filter.d/piwigo.conf =~ ^/[[:alnum:]]+$ ]]
2020-05-23 14:56:45,094: DEBUG - + [[ f = / ]]
2020-05-23 14:56:45,096: DEBUG - + ‘[’ -e /etc/fail2ban/filter.d/piwigo.conf ‘]’
2020-05-23 14:56:45,099: DEBUG - + rm --recursive /etc/fail2ban/filter.d/piwigo.conf
2020-05-23 14:56:45,101: DEBUG - + ynh_systemd_action --service_name=fail2ban --action=reload
2020-05-23 14:56:45,103: DEBUG - + local legacy_args=nalpte
2020-05-23 14:56:45,106: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2020-05-23 14:56:45,108: DEBUG - + local -A args_array
2020-05-23 14:56:45,111: DEBUG - + local service_name
2020-05-23 14:56:45,113: DEBUG - + local action
2020-05-23 14:56:45,115: DEBUG - + local line_match
2020-05-23 14:56:45,118: DEBUG - + local length
2020-05-23 14:56:45,120: DEBUG - + local log_path
2020-05-23 14:56:45,122: DEBUG - + local timeout
2020-05-23 14:56:45,124: DEBUG - + ynh_handle_getopts_args --service_name=fail2ban --action=reload
2020-05-23 14:56:45,126: DEBUG - + set +o xtrace
2020-05-23 14:56:45,127: DEBUG - + service_name=fail2ban
2020-05-23 14:56:45,129: DEBUG - + action=reload
2020-05-23 14:56:45,131: DEBUG - + line_match=
2020-05-23 14:56:45,133: DEBUG - + length=20
2020-05-23 14:56:45,135: DEBUG - + log_path=/var/log/fail2ban/fail2ban.log
2020-05-23 14:56:45,136: DEBUG - + timeout=300
2020-05-23 14:56:45,138: DEBUG - + [[ -n ‘’ ]]
2020-05-23 14:56:45,139: DEBUG - + ‘[’ reload == reload ‘]’
2020-05-23 14:56:45,141: DEBUG - + action=reload-or-restart
2020-05-23 14:56:45,142: DEBUG - + systemctl reload-or-restart fail2ban
2020-05-23 14:56:58,131: DEBUG - + [[ -n ‘’ ]]
2020-05-23 14:56:58,133: DEBUG - + ynh_script_progression ‘–message=Removing the dedicated system user…’
2020-05-23 14:56:58,135: DEBUG - + set +o xtrace
2020-05-23 14:56:58,246: DEBUG - + set +o xtrace
2020-05-23 14:56:58,249: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-23 14:56:58,251: DEBUG - + set +x
2020-05-23 14:56:58,354: DEBUG - + echo ‘[#################+…] > Removing the dedicated system user…’
2020-05-23 14:56:58,357: INFO - [#################+…] > Removing the dedicated system user…
2020-05-23 14:56:58,376: DEBUG - + set -o xtrace
2020-05-23 14:56:58,379: DEBUG - + ynh_system_user_delete --username=piwigo
2020-05-23 14:56:58,384: DEBUG - + local legacy_args=u
2020-05-23 14:56:58,391: DEBUG - + args_array=([u]=username=)
2020-05-23 14:56:58,395: DEBUG - + local -A args_array
2020-05-23 14:56:58,403: DEBUG - + local username
2020-05-23 14:56:58,407: DEBUG - + ynh_handle_getopts_args --username=piwigo
2020-05-23 14:56:58,409: DEBUG - + set +o xtrace
2020-05-23 14:56:58,410: DEBUG - + ynh_system_user_exists piwigo
2020-05-23 14:56:58,412: DEBUG - + local legacy_args=u
2020-05-23 14:56:58,420: DEBUG - + args_array=([u]=username=)
2020-05-23 14:56:58,436: DEBUG - + local -A args_array
2020-05-23 14:56:58,439: DEBUG - + local username
2020-05-23 14:56:58,441: DEBUG - + ynh_handle_getopts_args piwigo
2020-05-23 14:56:58,455: DEBUG - + set +o xtrace
2020-05-23 14:56:58,458: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-23 14:56:58,460: DEBUG - + set +x
2020-05-23 14:56:58,462: DEBUG - + getent passwd piwigo
2020-05-23 14:56:58,464: DEBUG - + deluser piwigo
2020-05-23 14:56:59,690: DEBUG - Removing user piwigo' ... 2020-05-23 14:56:59,692: DEBUG - Warning: group piwigo’ has no more members.
2020-05-23 14:57:00,098: DEBUG - Done.
2020-05-23 14:57:00,100: DEBUG - + ynh_system_group_exists piwigo
2020-05-23 14:57:00,102: DEBUG - + local legacy_args=g
2020-05-23 14:57:00,103: DEBUG - + args_array=([g]=group=)
2020-05-23 14:57:00,105: DEBUG - + local -A args_array
2020-05-23 14:57:00,115: DEBUG - + local group
2020-05-23 14:57:00,116: DEBUG - + ynh_handle_getopts_args piwigo
2020-05-23 14:57:00,118: DEBUG - + set +o xtrace
2020-05-23 14:57:00,120: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-23 14:57:00,133: DEBUG - + set +x
2020-05-23 14:57:00,236: DEBUG - + getent group piwigo
2020-05-23 14:57:00,238: DEBUG - + ynh_script_progression ‘–message=Removal of piwigo completed’ --last
2020-05-23 14:57:00,244: DEBUG - + set +o xtrace
2020-05-23 14:57:00,354: DEBUG - + set +o xtrace
2020-05-23 14:57:00,356: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-05-23 14:57:00,363: DEBUG - + set +x
2020-05-23 14:57:00,374: DEBUG - + echo ‘[####################] > Removal of piwigo completed’
2020-05-23 14:57:00,376: DEBUG - + set -o xtrace
2020-05-23 14:57:00,379: INFO - [####################] > Removal of piwigo completed
2020-05-23 14:57:00,541: SUCCESS - piwigo wurde entfernt
2020-05-23 14:57:00,545: DEBUG - No default hook for action ‘post_app_remove’ in /usr/share/yunohost/hooks/
2020-05-23 14:57:00,547: DEBUG - No custom hook for action ‘post_app_remove’ in /etc/yunohost/hooks.d/
2020-05-23 14:57:00,646: DEBUG - Permission ‘piwigo.main’ deleted
2020-05-23 14:57:00,653: DEBUG - Vollständiges Log dieser Operation: ‘Delete permission ‘piwigo’
2020-05-23 14:57:00,685: DEBUG - The permission database has been resynchronized
2020-05-23 14:57:00,941: DEBUG - Die Konfiguration von SSOwat war erfolgreich
2020-05-23 14:57:01,088: DEBUG - Checking that required services are up and running…

Hi you see a way to fix this Problem with the php configuration, ore i need to install all new.
Thankyou for your help