[Discourse] Unable to login with admin

I am running yunohost (stable) version on VPS.
Have ssh access to the admin account.

Description of my issue

Installed discourse Application, selected the default admin user. Discourse is runnning at the designated URL. Unable to login through both LDAP. The message I get is the following:

Sorry, there was an error authorizing your account. Please try again.

The log file shows the following error:

Started POST "/discourse/auth/ldap/callback" for at 2024-03-26 03:38:17 +0000
(ldap) Setup endpoint detected, running now.
(ldap) Callback phase initiated.
(ldap) Authentication failure! ldap_error: TypeError, no implicit conversion of Hash into String
Started GET "/discourse/auth/failure?message=ldap_error&origin=https%3A%2F%2Fazadmaidan.in%2Fdiscourse%2F&strategy=ldap" for at 2024-03-26 03:38:17 +0000
Processing by Users::OmniauthCallbacksController#failure as HTML
  Parameters: {"message"=>"ldap_error", "origin"=>"https://ourdomain.org/discourse/", "strategy"=>"ldap"}
  Rendered users/omniauth_callbacks/failure.html.erb within layouts/no_ember (Duration: 0.1ms | Allocations: 11)

Any idea of how I can fix this error.

Forget password does not send any email, though it says email is sent successfully. Emails are sent properly from the webmail client.

Thanks for any clues on how to fix this problem.

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