Hi,
In the manual for the last version:
https://theforeman.org/manuals/1.20/index.html#UpgradingtoForeman1.20
This command is recommended during the migration from 1.19:
foreman-rake tmp:sessions:clear
This failed with the following message:
rake aborted!
Don't know how to build task 'tmp:sessions:clear' (see --tasks)
/opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
(See full trace by running task with --trace)
I think the correct command should be:
foreman-rake db:sessions:clear
Which was in the previous versions.