On Wed, Mar 1, 2017 at 1:27 PM, James Denton <[email protected]> wrote:

> Hi All
>
> I have attempted to update Foreman from 1.12 to 1.13 with the repos
> provided by Eric/Greg however I get the following error after install:
>
> can you try removing the foreman-setup package?

Ohad

> ForemanSetup::Provisioner is using attr_accessible so must either be 
> converted to strong parameters, or add the protected_attributes gem 
> (RuntimeError)
>   /usr/share/foreman/config/initializers/active_record_extensions.rb:21:in 
> `attr_accessible'
>   
> /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_setup-4.0.0/app/models/foreman_setup/provisioner.rb:8:in
>  `<class:Provisioner>'
>   
> /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_setup-4.0.0/app/models/foreman_setup/provisioner.rb:4:in
>  `<module:ForemanSetup>'
>   
> /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_setup-4.0.0/app/models/foreman_setup/provisioner.rb:3: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/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/activesupport-4.2.5.1/lib/active_support/dependencies.rb:360:in
>  `require_or_load'
>   
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:317:in
>  `depend_on'
>   
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:233:in
>  `require_dependency'
>   
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:472:in
>  `block (2 levels) in eager_load!'
>   
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:471:in
>  `each'
>   
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:471:in
>  `block in eager_load!'
>   
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:469:in
>  `each'
>   
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:469:in
>  `eager_load!'
>   
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:346:in
>  `eager_load!'
>   
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application/finisher.rb:56:in
>  `each'
>   
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application/finisher.rb:56: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'
>   config.ru:3:in `block in <main>'
>   
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/builder.rb:55:in
>  `instance_eval'
>   
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/builder.rb:55:in
>  `initialize'
>   config.ru:1:in `new'
>   config.ru:1:in `<main>'
>   
> /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:105:in
>  `eval'
>   
> /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:105:in
>  `preload_app'
>   
> /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:150:in
>  `<module:App>'
>   
> /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:29:in
>  `<module:PhusionPassenger>'
>   
> /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:28:in
>  `<main>'
>
> Please note that i do not have Katello installed only Foreman as a 
> standalone, do I need to have Katello to update Foreman to 1.13 on RHEL6?
>
>
>
> On Thursday, November 10, 2016 at 12:23:14 PM UTC, Greg Sutcliffe wrote:
>>
>> On 10 November 2016 at 09:57, Roman Plevka <[email protected]> wrote:
>> >
>> > Hello there.
>> > Are the el6 packages built already? I can't find them anywhere in
>> https://yum.theforeman.org/releases/1.13/
>>
>> > On Thursday, 27 October 2016 18:01:41 UTC+2, Eric Helms wrote:
>>
>> > The builds are being hosted with Katello's repositories and are signed
>> by the Katello
>> > GPG key. This includes an EL6 plugins repository as well (although, like
>> > usual, they are not signed).
>>
>> As Eric says, they're a separate build stream which can be found in the
>> Katello repos. See https://fedorapeople.org/group
>> s/katello/releases/yum/foreman/ and http://www.katello.org/docs/3.
>> 2/installation/index.html (Required Repositories).
>>
>> Greg
>> IRC: gwmngilfen
>>
> --
> 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.
>

-- 
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.

Reply via email to