I was incorrect - I was on 8.0.2 So I took the time to grab 8.0.3 and upgrade to it. Well, I after the upgrade I receive this error when running "gitlab-ctl reconfigure" (it's one of many two similar errors which identify Ldapattributes as being not found)
Recipe: gitlab::database_migrations * execute[initialize gitlab-rails database] action nothing (skipped due to action :nothing) * execute[initialize gitlab-ci database] action nothing (skipped due to action :nothing) * bash[migrate gitlab-rails database] action nothing (skipped due to action :nothing) * bash[migrate gitlab-ci database] action nothing (skipped due to action :nothing) * bash[migrate gitlab-rails database] action run ================================================================================ Error executing action `run` on resource 'bash[migrate gitlab-rails database]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '1' ---- Begin output of "bash" "/tmp/chef-script20150930-26168-19yh8en" ---- STDOUT: 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/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' Tasks: TOP => db:migrate => environment (See full trace by running task with --trace) STDERR: ---- End output of "bash" "/tmp/chef-script20150930-26168-19yh8en" ---- Ran "bash" "/tmp/chef-script20150930-26168-19yh8en" returned 1 Resource Declaration: --------------------- # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/migrate_database.rb 19: bash "migrate #{params[:name]} database" do 20: code <<-EOH 21: set -e 22: log_file="/tmp/#{params[:name]}-db-migrate-$(date +%s)-$$/output.log" 23: umask 077 24: mkdir $(dirname ${log_file}) 25: #{params[:command]} 2>& 1 | tee ${log_file} 26: exit ${PIPESTATUS[0]} 27: EOH 28: action params[:action] 29: params[:restarts].each do |svc| 30: notifies :restart, svc, :immediately 31: end 32: end 33: end Compiled Resource: ------------------ # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/migrate_database.rb:19:in `block in from_file' bash("migrate gitlab-rails database") do params {:command=>"/opt/gitlab/bin/gitlab-rake db:migrate", :action=>:nothing, :restarts=>["service[unicorn]", "service[sidekiq]"], :name=>"gitlab-rails"} action [:nothing] retries 0 retry_delay 2 default_guard_interpreter :default command "migrate gitlab-rails database" backup 5 returns 0 code " set -e\n log_file=\"/tmp/gitlab-rails-db-migrate-$(date +%s)-$$/output.log\"\n umask 077\n mkdir $(dirname ${log_file})\n /opt/gitlab/bin/gitlab-rake db:migrate 2>& 1 | tee ${log_file}\n exit ${PIPESTATUS[0]}\n" interpreter "bash" declared_type :bash cookbook_name "gitlab" recipe_name "database_migrations" end On Wednesday, September 30, 2015 at 10:36:00 AM UTC-4, Logically Rogue wrote: > > 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/ad58911a-531b-4327-a9b6-d633c3b7a940%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.