Échec d'installation de Discourse

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.1.17.1
What app is this about: Discourse

Describe your issue

Bonjour,

J’administre depuis peu un nouveau serveur YunoHost pour le compte d’une association mais je rencontre rapidement des problèmes d’installations. Je viens d’essayer d’installer Discourse à deux reprises mais je reçois à chaque fois une erreur concernant PostgreSQL

Info: DEBUG - + ynh_psql_connect_as --user=discourse --password=********** --database=discourse
Info: DEBUG - + database=discourse
Info: DEBUG - + sudo --login --user=postgres PGUSER=discourse PGPASSWORD=********** psql discourse
Info: WARNING - psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL:  Peer authentication failed for user "discourse"
Info: DEBUG - + ynh_exit_properly
Warning: Removing the app after installation failure…
Info: [++++++++++..........] > Removing system configurations related to discourse...
Info: '/etc/nginx/conf.d/atipiq.fr.d/discourse.conf' wasn't deleted because it doesn't exist.
Warning: /usr/share/yunohost/helpers.v2.d/nodejs: line 165: ynh_safe_rm: command not found
Info: Removing Ruby-3.3.6
Info: Removing rbenv
Info: [##########++++++++++] > Removal of discourse completed
Info: Deprovisioning database...
Warning: cat: /etc/yunohost/psql: No such file or directory
Warning: cat: /etc/yunohost/psql: No such file or directory
Warning: cat: /etc/yunohost/psql: No such file or directory
Warning: cat: /etc/yunohost/psql: No such file or directory
Warning: cat: /etc/yunohost/psql: No such file or directory
Info: Deprovisioning apt...
Warning: lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/4544/gvfs
Warning:       Output information may be incomplete.
Info: Deprovisioning permissions...
Info: Deprovisioning install_dir...
Info: Deprovisioning system_user...
Info: Deprovisioning sources...
Error: The operation 'Install the 'discourse' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20250908-131953-app_install-discourse' to get help

Share relevant logs or error messages

https://paste.yunohost.org/raw/luromohuda

Ce problème devrait avoir été résolu en version 12.1.18 ou .19

1 Like

Hélas non: paste.yunohost.org/raw/oyapolesen

Yeah we made another fix in 12.1.22 …

Ok je vais voir ça, il y a beaucoup de mises à jour du paquet YunoHost en ce moment

Discourse est maintenant installé et opérationnel ! Merci beaucoup !

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.