I tried to search for another thread first I must have missed my apologies foreman-rake templates:cleanup --trace rake aborted! Don't know how to build task 'templates:cleanup' /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task_manager.rb:62:in `[]' /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:149:in `invoke_task' /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level' /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in `each' /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level' /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads' /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level' /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run' /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling' /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:75:in `run' /opt/rh/rh-ruby22/root/usr/bin/rake:33:in `<main>'
On Wednesday, December 6, 2017 at 3:10:05 PM UTC-5, ohad wrote: > > > > On Wed, Dec 6, 2017 at 10:03 PM, Jeff Stasko <[email protected] > <javascript:>> wrote: > >> foreman-rake db:migrate >> API controllers newer than Apipie cache! Run apipie:cache rake task to >> regenerate cache. >> rake aborted! >> TypeError: no implicit conversion of nil into String >> /usr/share/foreman/config/initializers/assets.rb:73:in `join' >> /usr/share/foreman/config/initializers/assets.rb:73:in `block (4 levels) >> in <top (required)>' >> /usr/share/foreman/config/initializers/assets.rb:72:in `map' >> /usr/share/foreman/config/initializers/assets.rb:72:in `block (3 levels) >> in <top (required)>' >> /usr/share/foreman/config/initializers/assets.rb:69:in `each' >> /usr/share/foreman/config/initializers/assets.rb:69:in `block (2 levels) >> in <top (required)>' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport- >> 4.2.5.1/lib/active_support/lazy_load_hooks.rb:36:in `call' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport- >> 4.2.5.1/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport- >> 4.2.5.1/lib/active_support/lazy_load_hooks.rb:45:in `block in >> run_load_hooks' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport- >> 4.2.5.1/lib/active_support/lazy_load_hooks.rb:44:in `each' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport- >> 4.2.5.1/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application/finisher.rb:62:in >> >> `block in <module:Finisher>' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in >> >> `instance_exec' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in >> >> `run' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in >> >> `block in run_initializers' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in >> >> `run_initializers' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in >> >> `initialize!' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in >> >> `public_send' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in >> >> `method_missing' >> /usr/share/foreman/config/environment.rb:5:in `<top (required)>' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in >> >> `require' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport- >> 4.2.5.1/lib/active_support/dependencies.rb:274:in `block in require' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport- >> 4.2.5.1/lib/active_support/dependencies.rb:240:in `load_dependency' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport- >> 4.2.5.1/lib/active_support/dependencies.rb:274:in `require' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:328:in >> >> `require_environment!' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:457:in >> >> `block in run_tasks_blocks' >> Tasks: TOP => db:migrate => environment >> (See full trace by running task with --trace) >> >> foreman-rake db:migrate --trace >> ** Invoke db:migrate (first_time) >> ** Invoke environment (first_time) >> ** Execute environment >> API controllers newer than Apipie cache! Run apipie:cache rake task to >> regenerate cache. >> rake aborted! >> TypeError: no implicit conversion of nil into String >> /usr/share/foreman/config/initializers/assets.rb:73:in `join' >> /usr/share/foreman/config/initializers/assets.rb:73:in `block (4 levels) >> in <top (required)>' >> /usr/share/foreman/config/initializers/assets.rb:72:in `map' >> /usr/share/foreman/config/initializers/assets.rb:72:in `block (3 levels) >> in <top (required)>' >> /usr/share/foreman/config/initializers/assets.rb:69:in `each' >> /usr/share/foreman/config/initializers/assets.rb:69:in `block (2 levels) >> in <top (required)>' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport- >> 4.2.5.1/lib/active_support/lazy_load_hooks.rb:36:in `call' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport- >> 4.2.5.1/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport- >> 4.2.5.1/lib/active_support/lazy_load_hooks.rb:45:in `block in >> run_load_hooks' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport- >> 4.2.5.1/lib/active_support/lazy_load_hooks.rb:44:in `each' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport- >> 4.2.5.1/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application/finisher.rb:62:in >> >> `block in <module:Finisher>' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in >> >> `instance_exec' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in >> >> `run' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in >> >> `block in run_initializers' >> /opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:226:in `block in >> tsort_each' >> /opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:348:in `block (2 levels) >> in each_strongly_connected_component' >> /opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:429:in >> `each_strongly_connected_component_from' >> /opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:347:in `block in >> each_strongly_connected_component' >> /opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:345:in `each' >> /opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:345:in `call' >> /opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:345:in >> `each_strongly_connected_component' >> /opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:224:in `tsort_each' >> /opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:203:in `tsort_each' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in >> >> `run_initializers' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in >> >> `initialize!' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in >> >> `public_send' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in >> >> `method_missing' >> /usr/share/foreman/config/environment.rb:5:in `<top (required)>' >> /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in >> >> `require' >> /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in >> >> `require' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in >> >> `require' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport- >> 4.2.5.1/lib/active_support/dependencies.rb:274:in `block in require' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport- >> 4.2.5.1/lib/active_support/dependencies.rb:240:in `load_dependency' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport- >> 4.2.5.1/lib/active_support/dependencies.rb:274:in `require' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:328:in >> >> `require_environment!' >> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:457:in >> >> `block in run_tasks_blocks' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:240:in >> >> `call' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:240:in >> >> `block in execute' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:235:in >> >> `each' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:235:in >> >> `execute' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:179:in >> >> `block in invoke_with_call_chain' >> /opt/rh/rh-ruby22/root/usr/share/ruby/monitor.rb:211:in `mon_synchronize' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:172:in >> >> `invoke_with_call_chain' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:201:in >> >> `block in invoke_prerequisites' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:199:in >> >> `each' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:199:in >> >> `invoke_prerequisites' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:178:in >> >> `block in invoke_with_call_chain' >> /opt/rh/rh-ruby22/root/usr/share/ruby/monitor.rb:211:in `mon_synchronize' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:172:in >> >> `invoke_with_call_chain' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:165:in >> >> `invoke' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:150:in >> >> `invoke_task' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in >> >> `block (2 levels) in top_level' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in >> >> `each' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in >> >> `block in top_level' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:115:in >> >> `run_with_threads' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:100:in >> >> `top_level' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:78:in >> >> `block in run' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:176:in >> >> `standard_exception_handling' >> /opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:75:in >> >> `run' >> /opt/rh/rh-ruby22/root/usr/bin/rake:33:in `<main>' >> Tasks: TOP => db:migrate => environment >> > > we had another thread where someone was mentioning that the template > plugin might cause this error - can you try to removing it and see if thats > the issue? > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
