I get the following error while running rake db:migrate
rake aborted! undefined method `reenable' for <Rake::Task db:schema:dump => [environment]>:Rake::Task
this means you have an old version of rake (older than 0.87), you can verify it by typing:
Usually this error is "safe" to ignore, however, it is recommended to upgrade to rake >= 0.87
error: Entry 'some file' not uptodate. Cannot merge.¶
If you downloaded Foreman from source (git), it could be that some of the files you have modified (or were modified automatically) conflicts with another file Foreman wants to upgrade.
If you don't think that you edited this file (e.g. db/schema.rb) it is usually safe to do:
git checkout 'some file'
This will revert the file to its previous condition (as in the repo at the time of checkout) and now you should be able to get the latest version by:
Strange errors with passenger¶Passenger executes foreman, based on the owner of the config/environmnets.rb file, make sure that this use can actually access:
- puppet configuration files
- sqlite database (if using sqlite)
- write to log, tmp directories
see source:extras/puppet/foreman for complete puppet based setup for Foreman.