La configuration de SSOwat a été générée
- echo ‘The user flarum was not found’
The user flarum was not found
-
getent passwd flarum
-
ynh_system_user_exists flarum
-
ynh_system_user_delete flarum
-
‘[’ -e /etc/logrotate.d/flarum ‘]’
-
ynh_remove_logrotate
-
sudo systemctl reload php5-fpm
/etc/php5/fpm/conf.d/20-flarum.ini wasn’t deleted because it doesn’t exist.
-
echo ‘/etc/php5/fpm/conf.d/20-flarum.ini wasn’'‘t deleted because it doesn’'‘t exist.’
-
‘[’ -e /etc/php5/fpm/conf.d/20-flarum.ini ‘]’
-
[[ i = / ]]
-
[[ /etc/php5/fpm/conf.d/20-flarum.ini =~ ^/[[:alnum:]]+$ ]]
-
[[ /var/www /home/yunohost.app =~ /etc/php5/fpm/conf.d/20-flarum.ini ]]
-
local ‘forbidden_path= /var/www /home/yunohost.app’
-
local path_to_remove=/etc/php5/fpm/conf.d/20-flarum.ini
-
ynh_secure_remove /etc/php5/fpm/conf.d/20-flarum.ini
-
echo ‘/etc/php5/fpm/pool.d/flarum.conf wasn’'‘t deleted because it doesn’'‘t exist.’
-
‘[’ -e /etc/php5/fpm/pool.d/flarum.conf ‘]’
-
[[ f = / ]]
-
[[ /etc/php5/fpm/pool.d/flarum.conf =~ ^/[[:alnum:]]+$ ]]
-
[[ /var/www /home/yunohost.app =~ /etc/php5/fpm/pool.d/flarum.conf ]]
-
local ‘forbidden_path= /var/www /home/yunohost.app’
-
local path_to_remove=/etc/php5/fpm/pool.d/flarum.conf
-
ynh_secure_remove /etc/php5/fpm/pool.d/flarum.conf
/etc/php5/fpm/pool.d/flarum.conf wasn’t deleted because it doesn’t exist.
-
ynh_remove_fpm_config
-
sudo systemctl reload nginx
-
echo ‘/etc/nginx/conf.d/.d/flarum.conf wasn’'‘t deleted because it doesn’'‘t exist.’
-
‘[’ -e /etc/nginx/conf.d/.d/flarum.conf ‘]’
-
[[ f = / ]]
-
[[ /etc/nginx/conf.d/.d/flarum.conf =~ ^/[[:alnum:]]+$ ]]
-
[[ /var/www /home/yunohost.app =~ /etc/nginx/conf.d/.d/flarum.conf ]]
-
local ‘forbidden_path= /var/www /home/yunohost.app’
-
local path_to_remove=/etc/nginx/conf.d/.d/flarum.conf
-
ynh_secure_remove /etc/nginx/conf.d/.d/flarum.conf
-
ynh_remove_nginx_config
-
echo ‘/tmp/flarum wasn’'‘t deleted because it doesn’'‘t exist.’
-
‘[’ -e /tmp/flarum ‘]’
-
[[ m = / ]]
-
[[ /tmp/flarum =~ ^/[[:alnum:]]+$ ]]
-
[[ /var/www /home/yunohost.app =~ /tmp/flarum ]]
-
local ‘forbidden_path= /var/www /home/yunohost.app’
-
local path_to_remove=/tmp/flarum
-
ynh_secure_remove /tmp/flarum
-
echo ‘Avoid deleting .’
-
[[ /var/www /home/yunohost.app =~ ‘’ ]]
-
local ‘forbidden_path= /var/www /home/yunohost.app’
-
local path_to_remove=
-
ynh_secure_remove ‘’
/etc/nginx/conf.d/.d/flarum.conf wasn’t deleted because it doesn’t exist.
++ return 1
/tmp/flarum wasn’t deleted because it doesn’t exist.
Avoid deleting .
++ [[ -z ‘’ ]]
+++ mysql -u root --password=qdqsdqsd -B ‘’
+++ ynh_mysql_connect_as root qdqsdqsd ‘’
++++ sudo cat /etc/yunohost/mysql
+++ ynh_mysql_execute_as_root ‘SELECT User from mysql.user WHERE User = ‘'’’'‘;’
++ local user=
++ ynh_mysql_user_exists
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘’ at line 1
++ sudo cat /etc/yunohost/mysql
Removing database
-
ynh_mysql_execute_as_root ‘DROP DATABASE ;’
-
ynh_mysql_drop_db
-
echo 'Removing database ’
-
grep -q '^| ’
-
mysqlshow -u root -pqdqsdqsd
-
local mysql_root_password=qdqsdqsd
++ sudo cat /etc/yunohost/mysql
-
local db_name=
-
local db_user=
-
ynh_mysql_remove_db
-
final_path=
++ sudo yunohost app setting flarum final_path --output-as plain --quiet
++ ynh_app_setting_get flarum final_path
++ sudo yunohost app setting flarum db_name --output-as plain --quiet
++ ynh_app_setting_get flarum db_name
++ sudo yunohost app setting flarum domain --output-as plain --quiet
++ ynh_app_setting_get flarum domain
++ . /usr/share/yunohost/helpers.d/utils
++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/user
++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/system
++ ‘[’ -r /usr/share/yunohost/helpers.d/system ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/string
++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/setting
++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/print
++ ‘[’ -r /usr/share/yunohost/helpers.d/print ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/package
++ ‘[’ -r /usr/share/yunohost/helpers.d/package ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/network
++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
+++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
++ . /usr/share/yunohost/helpers.d/mysql
++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/ip
++ ‘[’ -r /usr/share/yunohost/helpers.d/ip ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
+++ CAN_BIND=1
++ . /usr/share/yunohost/helpers.d/filesystem
++ ‘[’ -r /usr/share/yunohost/helpers.d/filesystem ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/backend
++ ‘[’ -r /usr/share/yunohost/helpers.d/backend ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
+++ run-parts --list /usr/share/yunohost/helpers.d
Exécution du script « /var/cache/yunohost/from_file/flarum_ynh-master/scripts/remove »…
-
exit 1
-
echo ‘’
-
ynh_die
-
type -t ynh_clean_setup
-
echo -e ‘!!\n flarum’'‘s script has encountered an error. Its execution was cancelled.\n!!’
-
set +eu
-
trap ‘’ EXIT
-
‘[’ 1 -eq 0 ‘]’
-
local exit_code=1
-
ynh_exit_properly
-
exit 1
-
echo ‘This path already contains a folder’
-
ynh_die ‘This path already contains a folder’
-
test ‘!’ -e /var/www/flarum
-
final_path=/var/www/flarum
-
flarum_version=v0.1.0-beta.7
-
is_public=1
-
title=‘Forum domaine’
-
admin=users01
-
path_url=/flarum
-
domain=domaine.fr
-
app=flarum
-
trap ynh_exit_properly EXIT
-
set -eu
-
ynh_abort_if_errors
++ . /usr/share/yunohost/helpers.d/utils
++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/user
++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
!!
flarum’s script has encountered an error. Its execution was cancelled.
++ . /usr/share/yunohost/helpers.d/system
!!
++ ‘[’ -r /usr/share/yunohost/helpers.d/system ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/string
This path already contains a folder
++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/setting
++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/print
++ ‘[’ -r /usr/share/yunohost/helpers.d/print ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/package
++ ‘[’ -r /usr/share/yunohost/helpers.d/package ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/network
++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
+++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
++ . /usr/share/yunohost/helpers.d/mysql
++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/ip
++ ‘[’ -r /usr/share/yunohost/helpers.d/ip ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
+++ CAN_BIND=1
++ . /usr/share/yunohost/helpers.d/filesystem
++ ‘[’ -r /usr/share/yunohost/helpers.d/filesystem ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ . /usr/share/yunohost/helpers.d/backend
++ ‘[’ -r /usr/share/yunohost/helpers.d/backend ‘]’
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
+++ run-parts --list /usr/share/yunohost/helpers.d
Exécution du script « /var/cache/yunohost/from_file/flarum_ynh-master/scripts/install »…
Vérification des paquets requis pour flarum…
Terminé
Extraction…
Téléchargement…
Connecté
Non autorisé