Recurrance of a problem i thought was solved

When foreman db:migrate tries to run I get an error
"no such file to load – apipie/middleware/checksum_in_headers"

I thought I made this go away but when i try to install on a different
machine the error has come back. The only thing I can think of is the EPEL
repository I have locally may be missing something since it was "cleaned
out" by my trusty assistant.

Here's the full trace:

su - foreman -s /bin/bash -c "RAILS_ENV=production foreman-rake --trace

db:migrate"
(in /usr/share/foreman)
rake aborted!
no such file to load – apipie/middleware/checksum_in_headers
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire'
/usr/share/foreman/config/application.rb:2
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire'
/usr/share/foreman/Rakefile:1
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2382:in load' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2382:inraw_load_rakefile'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in load_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:instandard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2015:in load_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1999:inrun'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in
standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1997:inrun'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19

Hi Peter,

Are you upgrading skipping a minor version? I see this old thread where
Konstantin had the same problem you're having here in that scenario.

https://groups.google.com/forum/#!topic/foreman-users/EPRhCTomQ1k

Let us know if that helps

··· On 03/25, Peter Berghold wrote: > When foreman db:migrate tries to run I get an error > "no such file to load -- apipie/middleware/checksum_in_headers" > > I thought I made this go away but when i try to install on a different > machine the error has come back. The only thing I can think of is the EPEL > repository I have locally may be missing something since it was "cleaned > out" by my trusty assistant. > > Here's the full trace: > # su - foreman -s /bin/bash -c "RAILS_ENV=production foreman-rake --trace > db:migrate" > (in /usr/share/foreman) > rake aborted! > no such file to load -- apipie/middleware/checksum_in_headers > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' > /usr/share/foreman/config/application.rb:2 > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' > /usr/share/foreman/Rakefile:1 > /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2382:in `load' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2382:in > `raw_load_rakefile' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in `load_rakefile' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in > `standard_exception_handling' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2015:in `load_rakefile' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1999:in `run' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in > `standard_exception_handling' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1997:in `run' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 > /usr/bin/rake:19:in `load' > /usr/bin/rake:19 > > -- > 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 foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Daniel Lobato Garcia

@eLobatoss
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato

Actually after going home and getting a good night's sleep and attacking
the issue again this morning I noticed something I overlooked.

Seems the folks in charge of our RHEL Satellite server failed to add the
entitlement for RHSC and Developer's Tools. Now I am waiting for them to
get that done.

Thanks for the reply at any rate.

··· On Thu, Mar 26, 2015 at 2:59 AM Daniel Lobato Garcia wrote:

Hi Peter,

Are you upgrading skipping a minor version? I see this old thread where
Konstantin had the same problem you’re having here in that scenario.

https://groups.google.com/forum/#!topic/foreman-users/EPRhCTomQ1k

Let us know if that helps

On 03/25, Peter Berghold wrote:

When foreman db:migrate tries to run I get an error
"no such file to load – apipie/middleware/checksum_in_headers"

I thought I made this go away but when i try to install on a different
machine the error has come back. The only thing I can think of is the
EPEL
repository I have locally may be missing something since it was “cleaned
out” by my trusty assistant.

Here’s the full trace:

su - foreman -s /bin/bash -c "RAILS_ENV=production foreman-rake --trace

db:migrate"
(in /usr/share/foreman)
rake aborted!
no such file to load – apipie/middleware/checksum_in_headers
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire’
/usr/share/foreman/config/application.rb:2
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire’
/usr/share/foreman/Rakefile:1
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2382:in load' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2382:inraw_load_rakefile’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in
load_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:instandard_exception_handling’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2015:in
load_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1999:inrun’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in
standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1997:inrun’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load’
/usr/bin/rake:19


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 foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Daniel Lobato Garcia

@eLobatoss
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato


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 foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.