-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoMethodError undefined method 'fetch' #5
Comments
Hi, sorry for late response due to lots of problems these months. Please check your LDAP settings: Administration - LDAP Authentication |
I'm encountering the same issue when trying to test the ldap sync on the ldap sync test panel. Manually synching users with the plugin works fine as well as ldap authentication for users. However performing an ldap sync test for any existing user results in a similar 500 error:
|
Same issue : NoMethodError (undefined method `fetch' for nil:NilClass): plugins/redmine_ldap_sync/app/controllers/ldap_settings_controller.rb:83:in Environment: Tx, |
same here Env:
when dry-running the sync_users rake task I get the following:
Which seems odd, because I've previously executed Btw: my LDAP authentication configuration is working - users can log in and the users are created at first login. So, the communication Redmine<>LDAP is working and should not be the cause of this. I've tried to migrate down and up again:
But the result is the same... |
Hi,
think to contribute this plugin, it helps a lot!
But there is a problem when I try to test it.
Problem reproduce:
In redmine production.log :
Redmine version:
Environment:
Redmine version 4.1.0.stable
Ruby version 2.4.9-p362 (2019-10-02) [x86_64-linux-gnu]
Rails version 5.2.4.1
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.9.3
Mercurial 3.7.3
Cvs 1.12.13
Bazaar 2.7.0
Git 2.24.1
Filesystem
Redmine plugins:
redmine_dmsf 2.4.2
redmine_ldap_sync 2.2.0
redmine_omniauth_gitlab 0.0.1
The text was updated successfully, but these errors were encountered: