In the manual for the last version:
This command is recommended during the migration from 1.19:
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:
Which was in the previous versions.