Installing Red Hat Satellite Server 6.4 fails with '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0].

Solution Verified - Updated -

Issue

  • # satellite-installer --scenario satellite fails with:
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: Failed to call refresh: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
 /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
  • Running # foreman-rake db:migrate --trace reveals the below underlying error:
Errno::EACCES: Permission denied @ unlink_internal - /usr/share/foreman/tmp/cache/E5F/140/remote_execution_workers_pool_size

Environment

  • Red Hat Satellite Server 6.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content