Howdy!

I have just reinstalled my GitLab-CE Server.  It's running on Scientific 
Linux 6.7 and using the 8.0.3-ce.1 version.  I have also setup LDAP for 
user authentication.

I'm preparing to backup the server using the command "gitlab-rake 
gitlab:backup:create".  I'm under the impression that I can schedule this 
for a daily backup.  Unfortunately, the command has other plans as you can 
see by the trace enable output below...

[bjhiggins@gitlab2 ~]$ sudo gitlab-rake gitlab:backup:create --trace
[sudo] password for bjhiggins: 
** Invoke gitlab:backup:create (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Devise::OmniAuth::StrategyNotFound: Could not find a strategy with name 
`Ldapattributes'. Please ensure it is required or explicitly set it using 
the :strategy_class option.
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/devise-3.5.2/lib/devise/omniauth/config.rb:40:in
 
`autoload_strategy'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/devise-3.5.2/lib/devise/omniauth/config.rb:25:in
 
`strategy_class'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/devise-3.5.2/lib/devise/rails.rb:22:in
 
`block (2 levels) in <class:Engine>'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/devise-3.5.2/lib/devise/rails.rb:21:in
 
`each'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/devise-3.5.2/lib/devise/rails.rb:21:in
 
`block in <class:Engine>'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.1.12/lib/rails/initializable.rb:30:in
 
`instance_exec'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.1.12/lib/rails/initializable.rb:30:in
 
`run'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.1.12/lib/rails/initializable.rb:55:in
 
`block in run_initializers'
/opt/gitlab/embedded/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
/opt/gitlab/embedded/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in 
each_strongly_connected_component'
/opt/gitlab/embedded/lib/ruby/2.1.0/tsort.rb:427:in 
`each_strongly_connected_component_from'
/opt/gitlab/embedded/lib/ruby/2.1.0/tsort.rb:347:in `block in 
each_strongly_connected_component'
/opt/gitlab/embedded/lib/ruby/2.1.0/tsort.rb:345:in `each'
/opt/gitlab/embedded/lib/ruby/2.1.0/tsort.rb:345:in `call'
/opt/gitlab/embedded/lib/ruby/2.1.0/tsort.rb:345:in 
`each_strongly_connected_component'
/opt/gitlab/embedded/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
/opt/gitlab/embedded/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.1.12/lib/rails/initializable.rb:54:in
 
`run_initializers'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.1.12/lib/rails/application.rb:300:in
 
`initialize!'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.1.12/lib/rails/railtie.rb:194:in
 
`public_send'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.1.12/lib/rails/railtie.rb:194:in
 
`method_missing'
/opt/gitlab/embedded/service/gitlab-rails/config/environment.rb:5:in `<top 
(required)>'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in
 
`require'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in
 
`block in require'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:232:in
 
`load_dependency'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in
 
`require'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.1.12/lib/rails/application.rb:276:in
 
`require_environment!'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.1.12/lib/rails/application.rb:405:in
 
`block in run_tasks_blocks'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in
 
`call'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in
 
`block in execute'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in
 
`each'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in
 
`execute'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:179:in
 
`block in invoke_with_call_chain'
/opt/gitlab/embedded/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in
 
`invoke_with_call_chain'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:201:in
 
`block in invoke_prerequisites'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:199:in
 
`each'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:199:in
 
`invoke_prerequisites'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:178:in
 
`block in invoke_with_call_chain'
/opt/gitlab/embedded/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in
 
`invoke_with_call_chain'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:165:in
 
`invoke'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:150:in
 
`invoke_task'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in
 
`block (2 levels) in top_level'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in
 
`each'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in
 
`block in top_level'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:115:in
 
`run_with_threads'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:100:in
 
`top_level'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:78:in
 
`block in run'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:176:in
 
`standard_exception_handling'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:75:in
 
`run'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rake-10.4.2/bin/rake:33:in 
`<top (required)>'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/bin/rake:23:in `load'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/bin/rake:23:in `<main>'
Tasks: TOP => gitlab:backup:create => environment


I'm not sure what "Ldapattributes" are or how they should be defined.  I've 
googled around and haven't found anything.  Does anyone have any advice?

Thanks!

--ben

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/0a5119e8-85e9-4b2e-92cf-500706abc2f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to