ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

Bonjour,

J’ai le message d’erreur en titre quand j’essaye d’installer une appli. En mode console, à un moment, il me demande un mot de passe. Ne sachant pas quoi mettre, je mets quelque chose au pif. Voilà le retour:

root@stemy:~# yunohost app install kanboard --debug
2553 DEBUG loading actions map namespace 'yunohost'
2766 DEBUG extra parameter classes loaded: ['ask', 'password', 'required', 'pattern']
2769 DEBUG initializing base actions map parser for cli
2782 DEBUG registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
3981 DEBUG initialize authenticator 'ldap-anonymous' with: uri='ldap://localhost:389', base_dn='dc=yunohost,dc=org', user_rdn='None'
18583 DEBUG lock has been acquired
18776 DEBUG loading python module yunohost.app took 0.191s
18778 INFO processing action [24632.1]: yunohost.app.install with args={'app': 'kanboard', 'args': None, 'auth': <moulinette.authenticators.ldap.Authenticator object at 0xb65c8b70>, 'label': None, 'no_remove_on_failure': False}
18814 DEBUG Downloading...
20230 DEBUG Extracting...
20289 DEBUG Done
20296 DEBUG Checking required packages for kanboard...
Available domains:
- stemy.me
Choose a domain for Kanboard (default: stemy.me): 
Choose a path for Kanboard (default: /kanboard): 
Choose the admin user for Kanboard: pierre 
Is it a public site ? [0 | 1] (default: 1): 
54872 DEBUG Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/kanboard_ynh-0d90fdfa36d510541e73c027314110c8a35b188f/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_APP_INSTANCE_NAME=kanboard YNH_APP_ARG_ADMIN=pierre YNH_APP_ID=kanboard YNH_APP_ARG_PATH=/kanboard YNH_APP_ARG_DOMAIN=stemy.me BASH_XTRACEFD=7 /bin/bash -x "./install" stemy.me /kanboard pierre 1 kanboard 7>&1'...
55185 DEBUG + source _common.sh
55597 DEBUG + source /usr/share/yunohost/helpers
55601 DEBUG +++ run-parts --list /usr/share/yunohost/helpers.d
55604 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
55607 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
55609 DEBUG ++ . /usr/share/yunohost/helpers.d/backend
55682 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
55686 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
55687 DEBUG ++ . /usr/share/yunohost/helpers.d/filesystem
55837 DEBUG +++ CAN_BIND=1
55854 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
55857 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
55860 DEBUG ++ . /usr/share/yunohost/helpers.d/ip
55964 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
56084 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
56086 DEBUG ++ . /usr/share/yunohost/helpers.d/mysql
56089 DEBUG +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
56092 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
56095 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
56098 DEBUG ++ . /usr/share/yunohost/helpers.d/network
56151 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
56158 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
56173 DEBUG ++ . /usr/share/yunohost/helpers.d/nodejs
56181 DEBUG +++ n_install_dir=/opt/node_n
56185 DEBUG +++ node_version_path=/opt/node_n/n/versions/node
56189 DEBUG +++ export N_PREFIX=/opt/node_n
56193 DEBUG +++ N_PREFIX=/opt/node_n
56199 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
56204 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
56207 DEBUG ++ . /usr/share/yunohost/helpers.d/package
56323 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
56410 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
56413 DEBUG ++ . /usr/share/yunohost/helpers.d/print
56483 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
56486 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
56487 DEBUG ++ . /usr/share/yunohost/helpers.d/psql
56492 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
56495 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
56497 DEBUG ++ . /usr/share/yunohost/helpers.d/setting
56606 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
56750 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
56753 DEBUG ++ . /usr/share/yunohost/helpers.d/string
56756 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
56759 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
56762 DEBUG ++ . /usr/share/yunohost/helpers.d/system
56765 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
56768 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
56771 DEBUG ++ . /usr/share/yunohost/helpers.d/user
56774 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
56777 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
56780 DEBUG ++ . /usr/share/yunohost/helpers.d/utils
56783 DEBUG + ynh_abort_if_errors
56786 DEBUG + set -eu
56789 DEBUG + trap ynh_exit_properly EXIT
56794 DEBUG + domain=stemy.me
56797 DEBUG + path_url=/kanboard
56802 DEBUG + admin=pierre
56807 DEBUG + is_public=1
56810 DEBUG + app=kanboard
56812 DEBUG + final_path=/var/www/kanboard
56814 DEBUG + test '!' -e /var/www/kanboard
56816 DEBUG ++ ynh_normalize_url_path /kanboard
56818 DEBUG ++ local path_url=/kanboard
56821 DEBUG ++ test -n /kanboard
56823 DEBUG ++ '[' / '!=' / ']'
56825 DEBUG ++ '[' d == / ']'
56827 DEBUG ++ echo /kanboard
56829 DEBUG + path_url=/kanboard
56831 DEBUG + ynh_webpath_available stemy.me /kanboard
56833 DEBUG + local domain=stemy.me
56835 DEBUG + local path=/kanboard
56837 DEBUG + sudo yunohost domain url-available stemy.me /kanboard
69221 DEBUG True
69529 DEBUG + ynh_webpath_register kanboard stemy.me /kanboard
69533 DEBUG + local app=kanboard
69537 DEBUG + local domain=stemy.me
69541 DEBUG + local path=/kanboard
69546 DEBUG + sudo yunohost app register-url kanboard stemy.me /kanboard
73814 DEBUG + ynh_app_setting_set kanboard domain stemy.me
73817 DEBUG + sudo yunohost app setting kanboard domain --value=stemy.me --quiet
76312 DEBUG + ynh_app_setting_set kanboard final_path /var/www/kanboard
76317 DEBUG + sudo yunohost app setting kanboard final_path --value=/var/www/kanboard --quiet
78777 DEBUG + ynh_app_setting_set kanboard adminusername pierre
78781 DEBUG + sudo yunohost app setting kanboard adminusername --value=pierre --quiet
81292 DEBUG + ynh_app_setting_set kanboard is_public 1
81408 DEBUG + sudo yunohost app setting kanboard is_public --value=1 --quiet
83829 DEBUG + pkg_dependencies=php7.0-gd
83837 DEBUG ++ lsb_release --codename --short
87288 DEBUG + '[' stretch '!=' jessie ']'
87294 DEBUG + pkg_dependencies='php7.0-gd php-zip'
87297 DEBUG + ynh_install_app_dependencies php7.0-gd php-zip
87302 DEBUG + local 'dependencies=php7.0-gd php-zip'
87307 DEBUG + local 'dependencies=php7.0-gd, php-zip'
87311 DEBUG + local 'dependencies=php7.0-gd, php-zip'
87314 DEBUG + local manifest_path=../manifest.json
87317 DEBUG + '[' '!' -e ../manifest.json ']'
87324 DEBUG ++ cut -d '"' -f 4
87326 DEBUG ++ grep '\"version\": ' ../manifest.json
87329 DEBUG + local version=1.2.3~ynh1
87335 DEBUG + '[' 10 -eq 0 ']'
87343 DEBUG + local dep_app=kanboard
87351 DEBUG + cat
87355 DEBUG + ynh_package_install_from_equivs /tmp/kanboard-ynh-deps.control
87359 DEBUG + local controlfile=/tmp/kanboard-ynh-deps.control
87361 DEBUG + ynh_package_is_installed equivs
87363 DEBUG + grep -c 'ok installed'
87365 DEBUG + dpkg-query -W -f '${Status}' equivs
87700 DEBUG ++ cut '-d ' -f 2
87708 DEBUG ++ grep '^Package: ' /tmp/kanboard-ynh-deps.control
87720 DEBUG + local pkgname=kanboard-ynh-deps
87737 DEBUG ++ grep '^Version: ' /tmp/kanboard-ynh-deps.control
87740 DEBUG ++ cut '-d ' -f 2
87755 DEBUG + local pkgversion=1.2.3~ynh1
87759 DEBUG + [[ -z kanboard-ynh-deps ]]
87766 DEBUG + [[ -z 1.2.3~ynh1 ]]
87775 DEBUG + ynh_package_update
87784 DEBUG + ynh_apt update
87799 DEBUG + DEBIAN_FRONTEND=noninteractive
87922 DEBUG + sudo apt-get -y update
89588 DEBUG Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
89711 DEBUG Hit:2 http://security.debian.org stretch/updates InRelease
89715 DEBUG Hit:3 http://ftp.fr.debian.org/debian stretch Release
89892 DEBUG Hit:4 http://forge.yunohost.org/debian stretch InRelease
121189 DEBUG Reading package lists...
126440 DEBUG ++ mktemp -d
126497 DEBUG + local TMPDIR=/tmp/tmp.Qh5jg188t4
126501 DEBUG + echo 10
126548 DEBUG + cp /tmp/kanboard-ynh-deps.control /tmp/tmp.Qh5jg188t4/control
126631 DEBUG + cd /tmp/tmp.Qh5jg188t4
126635 DEBUG + equivs-build ./control
136009 DEBUG + sudo dpkg --force-depends -i ./kanboard-ynh-deps_1.2.3~ynh1_all.deb
136841 DEBUG Selecting previously unselected package kanboard-ynh-deps.
138132 DEBUG (Reading database ... 83366 files and directories currently installed.)
138166 DEBUG Preparing to unpack .../kanboard-ynh-deps_1.2.3~ynh1_all.deb ...
138517 DEBUG Unpacking kanboard-ynh-deps (1.2.3~ynh1) ...
140165 DEBUG Setting up kanboard-ynh-deps (1.2.3~ynh1) ...
142087 DEBUG + ynh_package_install -f
142091 DEBUG + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
142094 DEBUG + DEBIAN_FRONTEND=noninteractive
142098 DEBUG + sudo apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
152880 DEBUG Reading package lists...
154573 DEBUG Building dependency tree...
154592 DEBUG Reading state information...
158519 DEBUG 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
159827 DEBUG + [[ -n /tmp/tmp.Qh5jg188t4 ]]
159828 DEBUG + rm -rf /tmp/tmp.Qh5jg188t4
160032 DEBUG + ynh_package_is_installed kanboard-ynh-deps
160037 DEBUG + dpkg-query -W -f '${Status}' kanboard-ynh-deps
160045 DEBUG + grep -c 'ok installed'
160772 DEBUG + rm /tmp/kanboard-ynh-deps.control
160773 DEBUG + ynh_app_setting_set kanboard apt_dependencies php7.0-gd, php-zip
160774 DEBUG + sudo yunohost app setting kanboard apt_dependencies --value=php7.0-gd, --quiet
168331 DEBUG ++ ynh_string_random
168470 DEBUG ++ dd if=/dev/urandom bs=1 count=200
168474 DEBUG ++ tr -c -d A-Za-z0-9
168477 DEBUG ++ sed -n 's/\(.\{24\}\).*/\1/p'
168908 DEBUG + dbpass=JmX6DND17gFNF3Cyiy5jOZV0
168912 DEBUG + dbname=kanboard
168916 DEBUG + dbuser=kanboard
168921 DEBUG + ynh_mysql_create_db kanboard kanboard JmX6DND17gFNF3Cyiy5jOZV0
168925 DEBUG + local db=kanboard
168929 DEBUG + local 'sql=CREATE DATABASE kanboard;'
168932 DEBUG + [[ 3 -gt 1 ]]
168934 DEBUG + sql+=' GRANT ALL PRIVILEGES ON kanboard.* TO '\''kanboard'\''@'\''localhost'\'''
168937 DEBUG + [[ -n JmX6DND17gFNF3Cyiy5jOZV0 ]]
168939 DEBUG + sql+=' IDENTIFIED BY '\''JmX6DND17gFNF3Cyiy5jOZV0'\'''
168942 DEBUG + sql+=' WITH GRANT OPTION;'
168944 DEBUG + ynh_mysql_execute_as_root 'CREATE DATABASE kanboard; GRANT ALL PRIVILEGES ON kanboard.* TO '\''kanboard'\''@'\''localhost'\'' IDENTIFIED BY '\''JmX6DND17gFNF3Cyiy5jOZV0'\'' WITH GRANT OPTION;'
168947 DEBUG ++ sudo cat /etc/yunohost/mysql
169412 WARNING cat: /etc/yunohost/mysql: No such file or directory
169432 DEBUG + ynh_mysql_connect_as root '' ''
169487 DEBUG + mysql -u root --password= -B ''
170031 WARNING ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
170181 DEBUG + ynh_exit_properly
170185 WARNING !!
170185 DEBUG + local exit_code=1
170188 WARNING   kanboard's script has encountered an error. Its execution was cancelled.
170189 DEBUG + '[' 1 -eq 0 ']'
170197 DEBUG + trap '' EXIT
170197 WARNING !!
170199 DEBUG + set +eu
170199 WARNING 
170215 DEBUG + echo -e '!!\n  kanboard'\''s script has encountered an error. Its execution was cancelled.\n!!'
170218 DEBUG + type -t ynh_clean_setup
170220 DEBUG + ynh_die
170222 DEBUG + echo ''
170223 DEBUG + exit 1
170480 DEBUG Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ID=kanboard YNH_CWD=/var/cache/yunohost/from_file/kanboard_ynh-0d90fdfa36d510541e73c027314110c8a35b188f/scripts YNH_APP_INSTANCE_NAME=kanboard BASH_XTRACEFD=7 /bin/bash -x "./remove" kanboard 7>&1'...
170644 DEBUG + source _common.sh
170710 DEBUG + source /usr/share/yunohost/helpers
170712 DEBUG +++ run-parts --list /usr/share/yunohost/helpers.d
170787 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
170789 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
170791 DEBUG ++ . /usr/share/yunohost/helpers.d/backend
170882 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
170971 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
170973 DEBUG ++ . /usr/share/yunohost/helpers.d/filesystem
171104 DEBUG +++ CAN_BIND=1
171175 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
171179 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
171180 DEBUG ++ . /usr/share/yunohost/helpers.d/ip
171302 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
171305 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
171308 DEBUG ++ . /usr/share/yunohost/helpers.d/mysql
171314 DEBUG +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
171319 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
171322 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
171332 DEBUG ++ . /usr/share/yunohost/helpers.d/network
171379 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
171474 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
171476 DEBUG ++ . /usr/share/yunohost/helpers.d/nodejs
171478 DEBUG +++ n_install_dir=/opt/node_n
171479 DEBUG +++ node_version_path=/opt/node_n/n/versions/node
171481 DEBUG +++ export N_PREFIX=/opt/node_n
171483 DEBUG +++ N_PREFIX=/opt/node_n
171485 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
171487 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
171489 DEBUG ++ . /usr/share/yunohost/helpers.d/package
171561 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
171562 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
171566 DEBUG ++ . /usr/share/yunohost/helpers.d/print
171575 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
171579 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
171585 DEBUG ++ . /usr/share/yunohost/helpers.d/psql
171590 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
171595 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
171599 DEBUG ++ . /usr/share/yunohost/helpers.d/setting
171633 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
171636 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
171638 DEBUG ++ . /usr/share/yunohost/helpers.d/string
171643 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
171645 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
171647 DEBUG ++ . /usr/share/yunohost/helpers.d/system
171702 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
171706 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
171710 DEBUG ++ . /usr/share/yunohost/helpers.d/user
171715 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
171719 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
171723 DEBUG ++ . /usr/share/yunohost/helpers.d/utils
171728 DEBUG + app=kanboard
171733 DEBUG ++ ynh_app_setting_get kanboard domain
171737 DEBUG ++ sudo yunohost app setting kanboard domain --output-as plain --quiet
174565 DEBUG + domain=stemy.me
174573 DEBUG ++ ynh_app_setting_get kanboard final_path
174576 DEBUG ++ sudo yunohost app setting kanboard final_path --output-as plain --quiet
177042 DEBUG + final_path=/var/www/kanboard
177044 DEBUG + dbname=kanboard
177051 DEBUG + dbuser=kanboard
177057 DEBUG + ynh_remove_app_dependencies
177061 DEBUG + local dep_app=kanboard
177065 DEBUG + ynh_package_autopurge kanboard-ynh-deps
177068 DEBUG + ynh_apt autoremove --purge kanboard-ynh-deps
177071 DEBUG + DEBIAN_FRONTEND=noninteractive
177073 DEBUG + sudo apt-get -y autoremove --purge kanboard-ynh-deps
181687 DEBUG Reading package lists...
183042 DEBUG Building dependency tree...
183058 DEBUG Reading state information...
185032 DEBUG The following packages will be REMOVED:
185054 DEBUG   kanboard-ynh-deps*
198261 DEBUG 0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
                                                                           198265 DEBUG After this operation, 9,216 B disk space will be freed.
(Reading database ... 83369 files and directories currently installed.)
                                                                       200146 DEBUG Removing kanboard-ynh-deps (1.2.3~ynh1) ...
         219130 DEBUG + ynh_mysql_remove_db kanboard kanboard
219145 DEBUG + local db_user=kanboard
219149 DEBUG + local db_name=kanboard
219152 DEBUG ++ sudo cat /etc/yunohost/mysql
219436 WARNING cat: /etc/yunohost/mysql: No such file or directory
219462 DEBUG + local mysql_root_password=
219469 DEBUG + grep -q '^| kanboard'
219474 DEBUG + mysqlshow -u root -p
Enter password: 
254482 WARNING mysqlshow: Access denied for user 'root'@'localhost' (using password: YES)
254486 DEBUG + echo 'Database kanboard not found'
254496 WARNING Database kanboard not found
254504 DEBUG ++ ynh_mysql_user_exists kanboard
254509 DEBUG ++ local user=kanboard
254518 DEBUG +++ ynh_mysql_execute_as_root 'SELECT User from mysql.user WHERE User = '\''kanboard'\'';'
254527 DEBUG ++++ sudo cat /etc/yunohost/mysql
254704 WARNING cat: /etc/yunohost/mysql: No such file or directory
254729 DEBUG +++ ynh_mysql_connect_as root '' ''
254734 DEBUG +++ mysql -u root --password= -B ''
254915 WARNING ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
254942 WARNING /var/www/kanboard wasn't deleted because it doesn't exist.
254927 DEBUG ++ [[ -z '' ]]
254961 DEBUG ++ return 1
254971 DEBUG + ynh_secure_remove /var/www/kanboard
254955 WARNING /etc/nginx/conf.d/stemy.me.d/kanboard.conf wasn't deleted because it doesn't exist.
254978 DEBUG + local path_to_remove=/var/www/kanboard
254989 DEBUG + local 'forbidden_path= 	/var/www 	/home/yunohost.app'
254999 DEBUG + [[  	/var/www 	/home/yunohost.app =~ /var/www/kanboard ]]
255010 DEBUG + [[ /var/www/kanboard =~ ^/[[:alnum:]]+$ ]]
255019 DEBUG + [[ d = \/ ]]
255025 DEBUG + '[' -e /var/www/kanboard ']'
255030 DEBUG + echo '/var/www/kanboard wasn'\''t deleted because it doesn'\''t exist.'
255040 DEBUG + ynh_remove_nginx_config
255049 DEBUG + ynh_secure_remove /etc/nginx/conf.d/stemy.me.d/kanboard.conf
255055 DEBUG + local path_to_remove=/etc/nginx/conf.d/stemy.me.d/kanboard.conf
255059 DEBUG + local 'forbidden_path= 	/var/www 	/home/yunohost.app'
255062 DEBUG + [[  	/var/www 	/home/yunohost.app =~ /etc/nginx/conf\.d/stemy\.me\.d/kanboard\.conf ]]
255078 DEBUG + [[ /etc/nginx/conf.d/stemy.me.d/kanboard.conf =~ ^/[[:alnum:]]+$ ]]
255085 DEBUG + [[ f = \/ ]]
255094 DEBUG + '[' -e /etc/nginx/conf.d/stemy.me.d/kanboard.conf ']'
255098 DEBUG + echo '/etc/nginx/conf.d/stemy.me.d/kanboard.conf wasn'\''t deleted because it doesn'\''t exist.'
255102 DEBUG + sudo systemctl reload nginx
256931 DEBUG + ynh_remove_fpm_config
256942 DEBUG ++ ynh_app_setting_get kanboard fpm_config_dir
256949 DEBUG ++ sudo yunohost app setting kanboard fpm_config_dir --output-as plain --quiet
260941 DEBUG + local fpm_config_dir=
260950 DEBUG ++ ynh_app_setting_get kanboard fpm_service
260961 DEBUG ++ sudo yunohost app setting kanboard fpm_service --output-as plain --quiet
263930 DEBUG + local fpm_service=
263935 DEBUG + '[' -z '' ']'
263938 WARNING /etc/php5/fpm/pool.d/kanboard.conf wasn't deleted because it doesn't exist.
263946 DEBUG + fpm_config_dir=/etc/php5/fpm
263955 DEBUG + fpm_service=php5-fpm
263959 DEBUG + ynh_secure_remove /etc/php5/fpm/pool.d/kanboard.conf
263971 DEBUG + local path_to_remove=/etc/php5/fpm/pool.d/kanboard.conf
263981 DEBUG + local 'forbidden_path= 	/var/www 	/home/yunohost.app'
263993 DEBUG + [[  	/var/www 	/home/yunohost.app =~ /etc/php5/fpm/pool\.d/kanboard\.conf ]]
263995 DEBUG + [[ /etc/php5/fpm/pool.d/kanboard.conf =~ ^/[[:alnum:]]+$ ]]
263998 DEBUG + [[ f = \/ ]]
264005 DEBUG + '[' -e /etc/php5/fpm/pool.d/kanboard.conf ']'
264008 DEBUG + echo '/etc/php5/fpm/pool.d/kanboard.conf wasn'\''t deleted because it doesn'\''t exist.'
264011 DEBUG + ynh_secure_remove /etc/php5/fpm/conf.d/20-kanboard.ini
264014 DEBUG + local path_to_remove=/etc/php5/fpm/conf.d/20-kanboard.ini
264017 DEBUG + local 'forbidden_path= 	/var/www 	/home/yunohost.app'
264021 DEBUG + [[  	/var/www 	/home/yunohost.app =~ /etc/php5/fpm/conf\.d/20-kanboard\.ini ]]
264024 DEBUG + [[ /etc/php5/fpm/conf.d/20-kanboard.ini =~ ^/[[:alnum:]]+$ ]]
264027 DEBUG + [[ i = \/ ]]
264030 DEBUG + '[' -e /etc/php5/fpm/conf.d/20-kanboard.ini ']'
264032 DEBUG + echo '/etc/php5/fpm/conf.d/20-kanboard.ini wasn'\''t deleted because it doesn'\''t exist.'
264034 DEBUG /etc/php5/fpm/conf.d/20-kanboard.ini wasn't deleted because it doesn't exist.
264037 DEBUG + sudo systemctl reload php5-fpm
264227 WARNING php5-fpm.service is not active, cannot reload.
264313 WARNING kanboard has not been properly removed
269408 SUCCESS The SSOwat configuration has been generated
269411 DEBUG action [24632.1] executed in 250.630s
269413 DEBUG lock has been released
269417 ERROR Installation failed
root@stemy:~#

[edit] English translation on demand!

Bonjour,
J’avais le même typer de problème.
Voilà ce que j’ai fait :
Sous les distributions Debian et Ubuntu, il existe un compte d’administrateur pour mysql de secours: debian-sys-maint.
Le mot de passe associé à ce compte se trouve dans le fichier /etc/mysql/debian.cnf.

Donc je cherche les identifiants avec :
cat /etc/mysql/debian.cnf
Ensuite je me suis connecté à mysql avec ce compte :
mysql -u debian-sys-maint -p
Là j’entre le mot de passe trouvé précédemment.

Puis je change le mot de passe du compte root avec cette commande
SET PASSWORD FOR root@'localhost'=PASSWORD('mon_nouveau_mot-de_passe');

Pour info j’ai mis le mot de passe root qui était indiqué dans le fichier /etc/yunohost/mysql
cat /etc/yunohost/mysql
Nath’

5 Likes

Bonjour !
Je me permets de rajouter mon grain de sel au cas où d’autres personnes passeraient par là.
J’avais le même problème en Yunohost 3.2.2 et pour moi le mot de passe root était bien celui indiqué dans /etc/yunohost/mysql