Hi

I'm trying to help a friend out with his Mastodon instance. An upgrade went badly wrong and mastodon would not restart.

We've rebuilt the server using backups and the server is up and running. It is federating. However no one can login.

If I enable debugging log i get the following for a log attempt in the system logs

Errno::ECONNREFUSED (Connection refused - connect(2) for 127.0.0.1:389):
Mar 14 18:47:50 debian-s2-2 bundle[13675]: [0e4f20e2-6069-47ee-8678-e4db5247e075]
Mar 14 18:47:50 debian-s2-2 bundle[13675]: [0e4f20e2-6069-47ee-8678-e4db5247e075] app/models/concerns/user/ldap_authenticable.rb:11:in 'User::LdapAuthenticable::ClassMethods#authenticate_with_ldap'
Mar 14 18:47:50 debian-s2-2 bundle[13675]: [0e4f20e2-6069-47ee-8678-e4db5247e075] app/controllers/auth/sessions_controller.rb:69:in 'Auth::SessionsController#find_user_from_params'
Mar 14 18:47:50 debian-s2-2 bundle[13675]: [0e4f20e2-6069-47ee-8678-e4db5247e075] app/controllers/auth/sessions_controller.rb:62:in 'Auth::SessionsController#find_user'
Mar 14 18:47:50 debian-s2-2 bundle[13675]: [0e4f20e2-6069-47ee-8678-e4db5247e075] app/controllers/concerns/auth/two_factor_authentication_concern.rb:12:in 'Auth::TwoFactorAuthenticationConcern#two_factor_enabled?'
Mar 14 18:47:50 debian-s2-2 bundle[13675]: [0e4f20e2-6069-47ee-8678-e4db5247e075] lib/mastodon/middleware/socket_cleanup.rb:11:in 'Mastodon::Middleware::SocketCleanup#call'

API calls are working. Just the Web logins that are failing.

Any help much appreciated

0

If you have a fediverse account, you can quote this note from your own instance. Search https://ibe.social/notes/aju9dyhbq1 on your instance and quote it. (Note that quoting is not supported in Mastodon.)