Rails console errors?


I’m trying to debug a LDAP integration and following the docs I should be able to use the rails console but I get this:

# gitlab-rails console
 GitLab:       12.3.5 (2417d5becc7)
 GitLab Shell: 10.0.0
 PostgreSQL:   10.9
Loading production environment (Rails 5.2.3)
irb(main):001:0> Rails.logger.level = Logger::DEBUG
=> 0
irb(main):002:0> LdapAllGroupsSyncWorker.new.perform
Traceback (most recent call last):
    1: from (irb):2
NameError (uninitialized constant LdapAllGroupsSyncWorker)

What is the issue?



Are you able to perhaps provide more info about your issue (more logs) ?

Thanks for responding. What logs are you referring to?
I believe the issue is self-described: I open console, give the command and get that. I have no idea why, or if it’s supposed to…
These commands are from https://docs.gitlab.com/ee/administration/auth/ldap/ldap-troubleshooting.html