Installation FreshRSS impossible

Bonjour.
Sur yunohost fraichement installé, je ne parviens pas a installer FreshRSS.

Attention : Traceback (most recent call last):
Attention : File “/usr/bin/yunohost”, line 213, in
Attention : timeout=opts.timeout,
Attention : File “/usr/lib/python2.7/dist-packages/moulinette/init.py”, line 136, in cli
Attention : moulinette.run(args, output_as=output_as, password=password, timeout=timeout)
Attention : File “/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.py”, line 390, in run
Attention : ret = self.actionsmap.process(args, timeout=timeout)
Attention : File “/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py”, line 498, in process
Attention : return func(**arguments)
Attention : File “/usr/lib/moulinette/yunohost/app.py”, line 1299, in app_ssowatconf
Attention : skipped_urls.append(app_settings[‘domain’] + app_settings[‘path’].rstrip(’/’) + item)
Attention : KeyError: ‘path’
Attention : Traceback (most recent call last):
Attention : File “/usr/bin/yunohost”, line 213, in
Attention : timeout=opts.timeout,
Attention : File “/usr/lib/python2.7/dist-packages/moulinette/init.py”, line 136, in cli
Attention : moulinette.run(args, output_as=output_as, password=password, timeout=timeout)
Attention : File “/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.py”, line 390, in run
Attention : ret = self.actionsmap.process(args, timeout=timeout)
Attention : File “/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py”, line 498, in process
Attention : return func(**arguments)
Attention : File “/usr/lib/moulinette/yunohost/app.py”, line 1299, in app_ssowatconf
Attention : skipped_urls.append(app_settings[‘domain’] + app_settings[‘path’].rstrip(’/’) + item)
Attention : KeyError: ‘path’
Attention : freshrss n’a pas été supprimé correctement
Succès ! La configuration de SSOwat a été générée
Erreur : Échec de l’installation

J’insiste sur le fait que yunohost vient d’etre installé et qu’aucune instence de freshrss n’a été installé avant. D’avance merci pour votre aide.

ping @plopoyop

Salut,
Si tu pouvais mettre les logs complet, ça permettrait de connaitre l’origine de l’erreur.

Tu peux aussi essayer d’install avec --debug pour voir l’intégralité des logs.
Et si tu es sur Ynh 3.0, je te conseil d’installer la branche :

Merci de bien vouloir te pencher sur mon soucis. J’ai suivi tes instructions en voici le résultat:
29723 DEBUG Exécution de la commande « sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/freshrss_ynh-feature-upgrade-to-stretch/scripts YNH_APP_INSTANCE_NAME=freshrss YNH_APP_ARG_ADMIN=fly YNH_APP_ID=freshrss YNH_APP_ARG_PATH=/rss YNH_APP_ARG_DOMAIN=debyu.via-page.fr BASH_XTRACEFD=7 /bin/bash -x “./install” debyu.via-page.fr /rss fly freshrss 7>&1 »…
29766 DEBUG + set -eu
29767 DEBUG + . ./_common.sh
29769 DEBUG ++ APPNAME=freshrss
29770 DEBUG ++ VERSION=1.11.1
29770 DEBUG ++ FRESHRSS_SOURCE_SHA256=df23af6878a4f4f27245320c9c29e481530c6b205bc03fc92179c625e2dd1c18
29771 DEBUG ++ FRESHRSS_SOURCE_URL=https://github.com/FreshRSS/FreshRSS/archive/1.11.1.tar.gz
29772 DEBUG +++ cd …/
29773 DEBUG +++ pwd
29773 DEBUG ++ PKGDIR=/var/cache/yunohost/from_file/freshrss_ynh-feature-upgrade-to-stretch
29774 DEBUG + domain=debyu.via-page.fr
29775 DEBUG + path=/rss
29776 DEBUG + admin_user=fly
29776 DEBUG + app=freshrss
29777 DEBUG + db_user=freshrss
29778 DEBUG + db_name=freshrss
29778 DEBUG + FINAL_PATH=/var/www/freshrss
29779 DEBUG + . /usr/share/yunohost/helpers
29780 DEBUG +++ run-parts --list /usr/share/yunohost/helpers.d
29781 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
29781 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/backend ‘]’
29782 DEBUG ++ . /usr/share/yunohost/helpers.d/backend
29783 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
29784 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/filesystem ‘]’
29784 DEBUG ++ . /usr/share/yunohost/helpers.d/filesystem
29785 DEBUG +++ CAN_BIND=1
29786 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
29787 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/ip ‘]’
29787 DEBUG ++ . /usr/share/yunohost/helpers.d/ip
29788 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
29789 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
29789 DEBUG ++ . /usr/share/yunohost/helpers.d/mysql
29790 DEBUG +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
29791 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
29792 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
29793 DEBUG ++ . /usr/share/yunohost/helpers.d/network
29793 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
29794 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/nodejs ‘]’
29795 DEBUG ++ . /usr/share/yunohost/helpers.d/nodejs
29796 DEBUG +++ n_install_dir=/opt/node_n
29796 DEBUG +++ node_version_path=/opt/node_n/n/versions/node
29797 DEBUG +++ export N_PREFIX=/opt/node_n
29798 DEBUG +++ N_PREFIX=/opt/node_n
29798 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
29799 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/package ‘]’
29800 DEBUG ++ . /usr/share/yunohost/helpers.d/package
29800 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
29801 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/print ‘]’
29802 DEBUG ++ . /usr/share/yunohost/helpers.d/print
29803 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
29804 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/psql ‘]’
29805 DEBUG ++ . /usr/share/yunohost/helpers.d/psql
29806 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
29807 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
29807 DEBUG ++ . /usr/share/yunohost/helpers.d/setting
29808 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
29809 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
29810 DEBUG ++ . /usr/share/yunohost/helpers.d/string
29811 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
29812 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/system ‘]’
29813 DEBUG ++ . /usr/share/yunohost/helpers.d/system
29814 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
29814 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
29815 DEBUG ++ . /usr/share/yunohost/helpers.d/user
29816 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
29816 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
29817 DEBUG ++ . /usr/share/yunohost/helpers.d/utils
29818 DEBUG + ‘[’ / ‘!=’ / ‘]’
29818 DEBUG + ‘[’ s == / ‘]’
29819 DEBUG + ynh_app_setting_set freshrss domain debyu.via-page.fr
29820 DEBUG + sudo yunohost app setting freshrss domain --value=debyu.via-page.fr --quiet
31120 DEBUG + [[ fly != ‘’ ]]
31122 DEBUG + ynh_user_exists fly
31123 DEBUG + sudo yunohost user list --output-as json
31125 DEBUG + grep -q ‘“username”: “fly”’
32335 DEBUG + ynh_app_setting_set freshrss admin_user fly
32336 DEBUG + sudo yunohost app setting freshrss admin_user --value=fly --quiet
33584 DEBUG + sudo yunohost app register-url freshrss debyu.via-page.fr /rss
35102 WARNING Cette URL n’est pas disponible ou est en conflit avec une application existante
35282 DEBUG Exécution de la commande « sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ID=freshrss YNH_CWD=/var/cache/yunohost/from_file/freshrss_ynh-feature-upgrade-to-stretch/scripts YNH_APP_INSTANCE_NAME=freshrss BASH_XTRACEFD=7 /bin/bash -x “./remove” freshrss 7>&1 »…
35316 DEBUG + set -u
35318 DEBUG + . /usr/share/yunohost/helpers
35319 DEBUG +++ run-parts --list /usr/share/yunohost/helpers.d
35320 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
35320 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/backend ‘]’
35322 DEBUG ++ . /usr/share/yunohost/helpers.d/backend
35327 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
35328 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/filesystem ‘]’
35329 DEBUG ++ . /usr/share/yunohost/helpers.d/filesystem
35329 DEBUG +++ CAN_BIND=1
35337 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
35338 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/ip ‘]’
35339 DEBUG ++ . /usr/share/yunohost/helpers.d/ip
35339 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
35340 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
35341 DEBUG ++ . /usr/share/yunohost/helpers.d/mysql
35342 DEBUG +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
35344 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
35345 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
35345 DEBUG ++ . /usr/share/yunohost/helpers.d/network
35347 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
35348 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/nodejs ‘]’
35348 DEBUG ++ . /usr/share/yunohost/helpers.d/nodejs
35349 DEBUG +++ n_install_dir=/opt/node_n
35350 DEBUG +++ node_version_path=/opt/node_n/n/versions/node
35350 DEBUG +++ export N_PREFIX=/opt/node_n
35351 DEBUG +++ N_PREFIX=/opt/node_n
35353 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
35354 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/package ‘]’
35355 DEBUG ++ . /usr/share/yunohost/helpers.d/package
35358 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
35359 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/print ‘]’
35360 DEBUG ++ . /usr/share/yunohost/helpers.d/print
35361 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
35362 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/psql ‘]’
35362 DEBUG ++ . /usr/share/yunohost/helpers.d/psql
35365 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
35366 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
35367 DEBUG ++ . /usr/share/yunohost/helpers.d/setting
35367 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
35368 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
35369 DEBUG ++ . /usr/share/yunohost/helpers.d/string
35370 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
35371 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/system ‘]’
35372 DEBUG ++ . /usr/share/yunohost/helpers.d/system
35373 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
35373 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
35374 DEBUG ++ . /usr/share/yunohost/helpers.d/user
35375 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
35376 DEBUG ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
35377 DEBUG ++ . /usr/share/yunohost/helpers.d/utils
35382 DEBUG + app=freshrss
35384 DEBUG + db_user=freshrss
35385 DEBUG + db_name=freshrss
35386 DEBUG ++ ynh_app_setting_get freshrss domain
35387 DEBUG ++ sudo yunohost app setting freshrss domain --output-as plain --quiet
36630 DEBUG + domain=debyu.via-page.fr
36631 DEBUG + ynh_mysql_drop_db freshrss
36632 DEBUG + ynh_mysql_execute_as_root ‘DROP DATABASE freshrss;’
36633 DEBUG ++ sudo cat /etc/yunohost/mysql
36714 DEBUG + ynh_mysql_connect_as root ePVTrbYoG6 ‘’
36716 DEBUG + mysql -u root --password=ePVTrbYoG6 -B ‘’
36738 WARNING ERROR 1008 (HY000) at line 1: Can’t drop database ‘freshrss’; database doesn’t exist
36739 DEBUG + ynh_mysql_drop_user freshrss
36741 DEBUG + ynh_mysql_execute_as_root ‘DROP USER ‘’‘freshrss’’’@’’‘localhost’’’;’
36743 DEBUG ++ sudo cat /etc/yunohost/mysql
36822 DEBUG + ynh_mysql_connect_as root ePVTrbYoG6 ‘’
36823 DEBUG + mysql -u root --password=ePVTrbYoG6 -B ‘’
36847 WARNING ERROR 1396 (HY000) at line 1: Operation DROP USER failed for ‘freshrss’@‘localhost’
36849 DEBUG + sudo rm -rf /var/www/freshrss
36920 DEBUG + sudo rm -rf /etc/cron.d/freshrss
36993 DEBUG + sudo rm -f /etc/nginx/conf.d/debyu.via-page.fr.d/freshrss.conf
37066 DEBUG + sudo rm -f /etc/php/7.0/fpm/pool.d/freshrss.conf
37150 DEBUG + sudo service nginx reload
37468 DEBUG + sudo service php7.0-fpm reload
37667 DEBUG + sudo yunohost app ssowatconf
39641 DEBUG La configuration de SSOwat a été générée
40344 SUCCESS La configuration de SSOwat a été générée
40346 DEBUG action [28891.1] executed in 39.303s
40347 DEBUG lock has been released
40348 ERROR Échec de l’installation

Réponse à l’arrache vu que je suis dans le tram :joy:

J’arrive pas à copier coller mais le message d’erreur que je vois est /rss url non disponible.
Tu n’as pas installé un autre lecteur rss sur la même url des fois ?

Hello.

Je viens de prendre connaissance de ta réponse. Par url tu entends chemin d’installation ?
j’ai tenté de réinstaller en changeant le chemin d’installation et de nouveau “échec de l’installation” .
Au passage, je viens de me rendre compte que le password root mysql est en clair dans mes logs y a t’il un moyen de le changer sans casser yunohost ?

C’est hyper bizarre, durant l’exécution du script d’install, le helper me renvoie toujours False alors que manuellement, le helper me renvoie True
Je suis en train de debugger.

12387 DEBUG + sudo yunohost domain url-available yunohost.local /rss
12642 DEBUG False
root@yunohost:/tmp/freshrss_ynh# yunohost domain url-available yunohost.local /rss
True

Pour le password mysql, c’est les helper ynh qui font ça. On ne peut rien y faire.

C’est corrigé.
J’ai fusionné les changements dans master.

Merci beaucoup plopoyop !

J’ai donc réussi a installer FreshRSS par SSH, mais avec le web panel de yunohost j’ai toujours: “Attention : freshrss n’a pas été supprimé correctement”

Encore merci.