Infos:
- Used Zammad version: 5.0.2-1637076120.1ba497d6.centos7
- Used Zammad installation type: yum from repo
- Operating system: CentOS 7.9
- Browser + version: Firefox 94.0.1
Problem Description:
We have updated our Zammad 4.1.0-1626855612.90b59692.centos7 to 5.0.2-1637076120.1ba497d6.centos7 with yum update. The setup is using MariaDB, but we have installed PostgreSQL 10 beforehand, to fulfill the zammad package prerequisites.
The update printed out quite some call traces, but still seemed to be successful in the end (full output can be seen here). However now nobody can login any more. Instead we see

In /var/log/zammad/production.log we get the following messages at login:
I, [2021-11-17T16:46:09.096556 #4170-173600] INFO -- : Started POST "/api/v1/signin" for 172.22.167.42 at 2021-11-17 16:46:09 +0100
I, [2021-11-17T16:46:09.106465 #4170-173600] INFO -- : Processing by SessionsController#create as JSON
I, [2021-11-17T16:46:09.106554 #4170-173600] INFO -- : Parameters: {"username"=>"xxxxxxx@xxxx.xxxxx", "password"=>"[FILTERED]", "fingerprint"=>"-245901113"}
E, [2021-11-17T16:46:09.152213 #4170-173600] ERROR -- : Failed to load Auth::Backend from Setting '{"adapter"=>"Auth::Ldap", "host"=>"localhost", "port"=>389, "bind_dn"=>"cn=Manager,dc=example,dc=org", "bind_pw"=>"example", "uid"=>"mail", "base"=>"dc=example,dc=org", "always_filter"=>"", "always_roles"=>["Admin", "Agent"], "always_groups"=>["Users"], "sync_params"=>{"firstname"=>"sn", "lastname"=>"givenName", "email"=>"mail", "login"=>"mail"}}'
E, [2021-11-17T16:46:09.152325 #4170-173600] ERROR -- : uninitialized constant Auth::Ldap (NameError)
lib/auth/backend.rb:26:in `block in instances'
lib/auth/backend.rb:25:in `each'
lib/auth/backend.rb:25:in `filter_map'
lib/auth/backend.rb:25:in `instances'
lib/auth/backend.rb:13:in `valid?'
lib/auth.rb:37:in `valid?'
app/controllers/sessions_controller.rb:219:in `authenticate_with_password'
app/controllers/sessions_controller.rb:10:in `create'
app/controllers/application_controller/has_download.rb:21:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:20:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:19:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
I, [2021-11-17T16:46:10.169668 #4170-173600] INFO -- : Login failed. Have you double-checked your credentials and completed the email verification step? (Exceptions::NotAuthorized)
app/controllers/application_controller/authenticates.rb:173:in `raise_unified_login_error'
app/controllers/sessions_controller.rb:219:in `authenticate_with_password'
app/controllers/sessions_controller.rb:10:in `create'
app/controllers/application_controller/has_download.rb:21:in `block (4 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:20:in `block (3 levels) in <module:HasDownload>'
app/controllers/application_controller/has_download.rb:19:in `block (2 levels) in <module:HasDownload>'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
I, [2021-11-17T16:46:10.173194 #4170-173600] INFO -- : Completed 401 Unauthorized in 1065ms (Views: 0.2ms | ActiveRecord: 2.8ms | Allocations: 7917)
Note, that we donāt have LDAP authentication activated (it never worked for us). There are no obvious errors at service start.
Any, even the slightest, hint about how to fix this is highly appreciated, as currently our ticketing system is down and inaccessible.
Cheers

. Thank you