Impossible de réinstaller baikal

Bonsoir @tous,

Après moult essais de réinstallation de baikal rien n’y fait cela ne marche pas
que ce soit avec l’interface graphique ou la moulinette même résultat.

le résultat de l’installation est le suivant:

The user baikal was not found

  • echo ‘The user baikal was not found’

La configuration de SSOwat a été générée

et après cela tourne sans arrèt (pacman)

une idée? pour résoudre le problème.

Bonne soirée.

didier58

Salut Didier,

malheureusement le système de logging des installs d’apps échouées n’est pas très intuitif pour le moment : ce que tu cites corresponds aux messages de “désinstallation” qui suit l’échec d’installation :s

Est-ce qu’il t’es possible d’avoir le log complet (genre les 100 ou 200 dernières lignes) dans lesquelles devrait se trouver le “vrai” message d’erreur ?

Salut @Aleks,

je te joins le log complet en espérant que cela permettera de trouver la solution.

merci pour ton aide.

didier58

root@didiercl:~# yunohost app install baikal --deb
586 DEBUG loading actions map namespace ‘yunohost’
711 DEBUG extra parameter classes loaded: [‘ask’, ‘password’, ‘required’, ‘pattern’]
713 DEBUG initializing base actions map parser for cli
722 DEBUG registering new callback action ‘yunohost.utils.packages.ynh_packages_version’ to [’-v’, ‘–version’]
1349 DEBUG initialize authenticator ‘ldap-anonymous’ with: uri=‘ldap://localhost:389’, base_dn=‘dc=yunohost,dc=org’, user_rdn=‘None’
1363 DEBUG lock has been acquired
7852 INFO processing action [4875.1]: yunohost.app.install with args={‘app’: ‘baikal’, ‘args’: None, ‘auth’: <moulinette.authenticators.ldap.Authenticator object at 0xb66b1030>, ‘label’: None, ‘no_remove_on_failure’: False}
8046 INFO Téléchargement…
10041 INFO Extraction…
10113 INFO Terminé
10129 INFO Vérification des paquets requis pour baikal…
Domaines disponibles :

  • minhuss.fr
  • didiercl.me
  • pad.didiercl.me
    Choisissez un domaine pour Baïkal (default: didiercl.me) :
    Choisissez un chemin pour Baïkal (default: /baikal) :
    Définissez le mot de passe pour l’administration :
    42313 INFO Exécution de la commande « sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/baikal_ynh-c7eefc2013e2e7b17b9fa664b375439bb96fb288/scripts YNH_APP_ARG_PASSWORD=XXXXXXXXXXX YNH_APP_INSTANCE_NAME=baikal YNH_APP_ID=baikal YNH_APP_ARG_PATH=/baikal YNH_APP_ARG_DOMAIN=didiercl.me BASH_XTRACEFD=7 /bin/bash -x “./install” didiercl.me /baikal XXXXXXXXX baikal 7>&1 »…
    42412 INFO + source /usr/share/yunohost/helpers
    42417 INFO +++ run-parts --list /usr/share/yunohost/helpers.d
    42436 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    42445 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/backend ‘]’
    42449 INFO ++ . /usr/share/yunohost/helpers.d/backend
    42453 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    42454 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/filesystem ‘]’
    42456 INFO ++ . /usr/share/yunohost/helpers.d/filesystem
    42588 INFO +++ CAN_BIND=1
    42600 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    42603 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/ip ‘]’
    42606 INFO ++ . /usr/share/yunohost/helpers.d/ip
    42659 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    42663 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
    42728 INFO ++ . /usr/share/yunohost/helpers.d/mysql
    42731 INFO +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
    42734 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    42739 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
    42742 INFO ++ . /usr/share/yunohost/helpers.d/network
    42747 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    42751 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/package ‘]’
    42753 INFO ++ . /usr/share/yunohost/helpers.d/package
    42756 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    42760 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/print ‘]’
    42763 INFO ++ . /usr/share/yunohost/helpers.d/print
    42811 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    42815 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
    42822 INFO ++ . /usr/share/yunohost/helpers.d/setting
    42825 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    42830 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
    42836 INFO ++ . /usr/share/yunohost/helpers.d/string
    42842 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    42847 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/system ‘]’
    42852 INFO ++ . /usr/share/yunohost/helpers.d/system
    42855 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    42857 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
    42859 INFO ++ . /usr/share/yunohost/helpers.d/user
    42862 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    42865 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
    42866 INFO ++ . /usr/share/yunohost/helpers.d/utils
    42868 INFO + ynh_abort_if_errors
    42870 INFO + set -eu
    42871 INFO + trap ynh_exit_properly EXIT
    42873 INFO + domain=didiercl.me
    42875 INFO + path_url=/baikal
    42876 INFO + password=XXXXXXXXXXXXX
    42878 INFO + app=baikal
    42880 INFO ++ ynh_normalize_url_path /baikal
    42881 INFO ++ local path_url=/baikal
    42883 INFO ++ test -n /baikal
    42885 INFO ++ ‘[’ / ‘!=’ / ‘]’
    42886 INFO ++ ‘[’ l == / ‘]’
    42888 INFO ++ echo /baikal
    42890 INFO + path_url=/baikal
    42891 INFO + final_path=/var/www/baikal
    42892 INFO + test ‘!’ -e /var/www/baikal
    42894 INFO + ynh_webpath_available didiercl.me /baikal
    42896 INFO + local domain=didiercl.me
    42897 INFO + local path=/baikal
    42899 INFO + sudo yunohost domain url-available didiercl.me /baikal
    52387 INFO True
    52732 INFO + ynh_webpath_register baikal didiercl.me /baikal
    52734 INFO + local app=baikal
    52737 INFO + local domain=didiercl.me
    52741 INFO + local path=/baikal
    52745 INFO + sudo yunohost app register-url baikal didiercl.me /baikal
    61634 INFO + ynh_app_setting_set baikal domain didiercl.me
    61636 INFO + sudo yunohost app setting baikal domain --value=didiercl.me --quiet
    69501 INFO + ynh_app_setting_set baikal path /baikal
    69503 INFO + sudo yunohost app setting baikal path --value=/baikal --quiet
    77417 INFO ++ ynh_sanitize_dbid baikal
    77420 INFO ++ local dbid=baikal
    77423 INFO ++ echo baikal
    77427 INFO + db_name=baikal
    77430 INFO + ynh_app_setting_set baikal db_name baikal
    77432 INFO + sudo yunohost app setting baikal db_name --value=baikal --quiet
    85274 INFO + ynh_mysql_setup_db baikal baikal
    85276 INFO + local db_user=baikal
    85279 INFO + local db_name=baikal
    85282 INFO ++ ynh_string_random
    85289 INFO ++ tr -c -d A-Za-z0-9
    85291 INFO ++ sed -n ‘s/(.{24})./\1/p’
    85296 INFO ++ dd if=/dev/urandom bs=1 count=200
    85360 INFO + local new_db_pwd=IccwFUx86jBaaThAGI34M3Zq
    85364 INFO + db_pwd=IccwFUx86jBaaThAGI34M3Zq
    85367 INFO + ynh_mysql_create_db baikal baikal IccwFUx86jBaaThAGI34M3Zq
    85370 INFO + local db=baikal
    85373 INFO + local ‘sql=CREATE DATABASE baikal;’
    85376 INFO + [[ 3 -gt 1 ]]
    85379 INFO + sql+=’ GRANT ALL PRIVILEGES ON baikal.
    TO ‘’‘baikal’’’@’’‘localhost’’’’
    85381 INFO + [[ -n IccwFUx86jBaaThAGI34M3Zq ]]
    85384 INFO + sql+=’ IDENTIFIED BY ‘’‘IccwFUx86jBaaThAGI34M3Zq’’’’
    85387 INFO + sql+=’ WITH GRANT OPTION;’
    85390 INFO + ynh_mysql_execute_as_root ‘CREATE DATABASE baikal; GRANT ALL PRIVILEGES ON baikal.* TO ‘’‘baikal’’’@’’‘localhost’’’ IDENTIFIED BY ‘’‘IccwFUx86jBaaThAGI34M3Zq’’’ WITH GRANT OPTION;’
    85393 INFO ++ sudo cat /etc/yunohost/mysql
    85486 INFO + ynh_mysql_connect_as root XXXXX ‘’
    85489 INFO + mysql -u root --password=XXXXX -B ‘’
    85687 INFO + ynh_exit_properly
    85696 INFO + local exit_code=1
    85700 INFO + ‘[’ 1 -eq 0 ‘]’
    85685 WARNING ERROR 1044 (42000) at line 1: Access denied for user ‘root’@‘localhost’ to database ‘baikal’
    85704 WARNING !!
    85706 INFO + trap ‘’ EXIT
    85709 WARNING baikal’s script has encountered an error. Its execution was cancelled.
    85709 INFO + set +eu
    85711 WARNING !!
    85711 INFO + echo -e ‘!!\n baikal’’‘s script has encountered an error. Its execution was cancelled.\n!!’
    85713 WARNING
    85713 INFO + type -t ynh_clean_setup
    85716 INFO + ynh_die
    85719 INFO + echo ‘’
    85721 INFO + exit 1
    85777 INFO Exécution de la commande « sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ID=baikal YNH_CWD=/var/cache/yunohost/from_file/baikal_ynh-c7eefc2013e2e7b17b9fa664b375439bb96fb288/scripts YNH_APP_INSTANCE_NAME=baikal BASH_XTRACEFD=7 /bin/bash -x “./remove” baikal 7>&1 »…
    85844 INFO + source /usr/share/yunohost/helpers
    85858 INFO +++ run-parts --list /usr/share/yunohost/helpers.d
    85875 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    85877 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/backend ‘]’
    85878 INFO ++ . /usr/share/yunohost/helpers.d/backend
    85885 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    85886 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/filesystem ‘]’
    85889 INFO ++ . /usr/share/yunohost/helpers.d/filesystem
    85891 INFO +++ CAN_BIND=1
    85901 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    85905 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/ip ‘]’
    85907 INFO ++ . /usr/share/yunohost/helpers.d/ip
    85909 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    85912 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
    85915 INFO ++ . /usr/share/yunohost/helpers.d/mysql
    85918 INFO +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
    85921 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    85923 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
    85926 INFO ++ . /usr/share/yunohost/helpers.d/network
    85930 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    85934 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/package ‘]’
    85937 INFO ++ . /usr/share/yunohost/helpers.d/package
    85940 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    85943 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/print ‘]’
    85946 INFO ++ . /usr/share/yunohost/helpers.d/print
    85949 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    85952 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
    85955 INFO ++ . /usr/share/yunohost/helpers.d/setting
    85957 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    85960 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
    85962 INFO ++ . /usr/share/yunohost/helpers.d/string
    85965 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    85967 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/system ‘]’
    85970 INFO ++ . /usr/share/yunohost/helpers.d/system
    85973 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    85976 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
    85979 INFO ++ . /usr/share/yunohost/helpers.d/user
    85982 INFO ++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
    85985 INFO ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
    85988 INFO ++ . /usr/share/yunohost/helpers.d/utils
    85991 INFO + app=baikal
    85993 INFO ++ ynh_app_setting_get baikal domain
    85996 INFO ++ sudo yunohost app setting baikal domain --output-as plain --quiet
    94023 INFO + domain=didiercl.me
    94027 INFO ++ ynh_app_setting_get baikal db_name
    94033 INFO ++ sudo yunohost app setting baikal db_name --output-as plain --quiet
    101881 INFO + db_name=baikal
    101884 INFO ++ ynh_app_setting_get baikal final_path
    101887 INFO ++ sudo yunohost app setting baikal final_path --output-as plain --quiet
    109667 INFO + final_path=
    109668 INFO + ynh_mysql_remove_db baikal baikal
    109670 INFO + local db_user=baikal
    109671 INFO + local db_name=baikal
    109677 INFO ++ sudo cat /etc/yunohost/mysql
    109767 INFO + local mysql_root_password=XXXXX
    109772 INFO + mysqlshow -u root -pXXXXXX
    109780 INFO + grep -q ‘^| baikal’
    109926 INFO + echo ‘Removing database baikal’
    109929 WARNING Removing database baikal
    109933 INFO + ynh_mysql_drop_db baikal
    109937 INFO + ynh_mysql_execute_as_root ‘DROP DATABASE baikal;’
    109941 INFO ++ sudo cat /etc/yunohost/mysql
    110026 INFO + ynh_mysql_connect_as root XXXXXX ‘’
    110028 INFO + mysql -u root --password=XXXXXX -B ‘’
    110124 INFO ++ ynh_mysql_user_exists baikal
    110127 INFO ++ local user=baikal
    110130 INFO +++ ynh_mysql_execute_as_root ‘SELECT User from mysql.user WHERE User = ‘’‘baikal’’’;’
    110134 INFO ++++ sudo cat /etc/yunohost/mysql
    110217 INFO +++ ynh_mysql_connect_as root XXXXXX ‘’
    110220 INFO +++ mysql -u root --password=XXXXXX -B ‘’
    110269 INFO ++ [[ -z ‘’ ]]
    110270 INFO ++ return 1
    110272 WARNING Avoid deleting .
    110273 INFO + ynh_secure_remove ‘’
    110277 INFO + local path_to_remove=
    110278 WARNING /etc/nginx/conf.d/didiercl.me.d/baikal.conf wasn’t deleted because it doesn’t exist.
    110281 INFO + local ‘forbidden_path= /var/www /home/yunohost.app’
    110284 INFO + [[ /var/www /home/yunohost.app =~ ‘’ ]]
    110288 INFO + echo ‘Avoid deleting .’
    110290 INFO + ynh_remove_nginx_config
    110293 INFO + ynh_secure_remove /etc/nginx/conf.d/didiercl.me.d/baikal.conf
    110296 INFO + local path_to_remove=/etc/nginx/conf.d/didiercl.me.d/baikal.conf
    110299 INFO + local ‘forbidden_path= /var/www /home/yunohost.app’
    110302 INFO + [[ /var/www /home/yunohost.app =~ /etc/nginx/conf.d/didiercl.me.d/baikal.conf ]]
    110306 INFO + [[ /etc/nginx/conf.d/didiercl.me.d/baikal.conf =~ ^/[[:alnum:]]+$ ]]
    110309 INFO + [[ f = / ]]
    110311 INFO + ‘[’ -e /etc/nginx/conf.d/didiercl.me.d/baikal.conf ‘]’
    110313 INFO + echo ‘/etc/nginx/conf.d/didiercl.me.d/baikal.conf wasn’’‘t deleted because it doesn’’‘t exist.’
    110316 INFO + sudo systemctl reload nginx
    111161 INFO + ynh_remove_fpm_config
    111163 INFO + ynh_secure_remove /etc/php5/fpm/pool.d/baikal.conf
    111168 WARNING /etc/php5/fpm/pool.d/baikal.conf wasn’t deleted because it doesn’t exist.
    111169 INFO + local path_to_remove=/etc/php5/fpm/pool.d/baikal.conf
    111185 INFO + local ‘forbidden_path= /var/www /home/yunohost.app’
    111189 INFO + [[ /var/www /home/yunohost.app =~ /etc/php5/fpm/pool.d/baikal.conf ]]
    111198 INFO + [[ /etc/php5/fpm/pool.d/baikal.conf =~ ^/[[:alnum:]]+$ ]]
    111209 INFO + [[ f = / ]]
    111214 INFO + ‘[’ -e /etc/php5/fpm/pool.d/baikal.conf ‘]’
    111225 INFO + echo ‘/etc/php5/fpm/pool.d/baikal.conf wasn’’‘t deleted because it doesn’’‘t exist.’
    111233 INFO + ynh_secure_remove /etc/php5/fpm/conf.d/20-baikal.ini
    111235 INFO + local path_to_remove=/etc/php5/fpm/conf.d/20-baikal.ini
    111242 INFO + local ‘forbidden_path= /var/www /home/yunohost.app’
    111246 INFO + [[ /var/www /home/yunohost.app =~ /etc/php5/fpm/conf.d/20-baikal.ini ]]
    111251 INFO + [[ /etc/php5/fpm/conf.d/20-baikal.ini =~ ^/[[:alnum:]]+$ ]]
    111255 INFO + [[ i = / ]]
    111259 INFO + ‘[’ -e /etc/php5/fpm/conf.d/20-baikal.ini ‘]’
    111263 INFO + echo ‘/etc/php5/fpm/conf.d/20-baikal.ini wasn’’‘t deleted because it doesn’’‘t exist.’
    111268 INFO /etc/php5/fpm/conf.d/20-baikal.ini wasn’t deleted because it doesn’t exist.
    111271 INFO + sudo systemctl reload php5-fpm
    111425 INFO + ynh_system_user_delete baikal
    111426 INFO + ynh_system_user_exists baikal
    111433 INFO + getent passwd baikal
    111560 WARNING The user baikal was not found
    111564 INFO + echo ‘The user baikal was not found’
    117630 SUCCESS La configuration de SSOwat a été générée
    117634 DEBUG action [4875.1] ended after 109.779s
    117637 DEBUG lock has been released
    117639 ERROR Échec de l’installation

Super merci

Du coup l’erreur semble être :

85685 WARNING ERROR 1044 (42000) at line 1: Access denied for user ‘root’@‘localhost’ to database ‘baikal’

Ce qui est très similaire aux problèmes qu’on avait cherché à résoudre avec @ljf … La solution qu’on avait trouvé permettait de fixer les apps déjà installées, mais il restait cette situation cheloue ou root n’a pas les permissions sur *.* (au sens de Mysql)

Du coup là tout de suite j’ai malheureusement pas de solution magique, à part reprendre un peu de temps IRL pour essayer de débugger ça définitivement :confused:

Aujourd’hui j’ai également voulu installer Baikal sur Stretch après une nouvelle installation. Je n’ai pas pu l’installer sur le domaine principal, j’avais aussi un warning"The user baikal was not found" mais le problème n’est pas exactement le même car je n’ai pas trouvé de ligne “Access denied for user ‘root’@‘” dans mon log.
En tout cas j’ai réussi à l’installer sur un sous domaine :slight_smile: , c’est déjà ça

Bonjour,
juste pour vous signaler que vos mots de passe apparaissent dans le log , à savoir Dud***********.

J’ai édité le log.

1 Like

Il y a aussi le password du root