Db rake error

I are currently facing an error when I use foreman-installer -I and accepting changes and save. Kindly see the error below;

We are currently running on the latest version of Foreman and Katello

2023-09-20 18:49:20 [NOTICE] [configure] Starting system configuration.
2023-09-20 18:49:28 [NOTICE] [configure] 250 configuration steps out of 1443 steps complete.
2023-09-20 18:49:31 [NOTICE] [configure] 500 configuration steps out of 1445 steps complete.
2023-09-20 18:49:33 [NOTICE] [configure] 750 configuration steps out of 1448 steps complete.
2023-09-20 18:49:33 [NOTICE] [configure] 1000 configuration steps out of 1454 steps complete.
2023-09-20 18:49:48 [ERROR ] [configure] ‘/usr/sbin/foreman-rake db:migrate’ returned 1 instead of one of [0]
2023-09-20 18:49:48 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/returns: change from ‘notrun’ to [‘0’] failed: ‘/usr/sbin/foreman-rake db:migrate’ returned 1 instead of one of [0]
2023-09-20 18:49:56 [NOTICE] [configure] 1250 configuration steps out of 1454 steps complete.
2023-09-20 18:50:02 [NOTICE] [configure] System configuration has finished.

There were errors detected during install.
Please address the errors and re-run the installer to ensure the system is properly configured.
Failing to do so is likely to result in broken functionality.

The full log is at /var/log/foreman-installer/katello.log

Hi @groundmouse,

Thanks for your posting.

Would you please provide more information so your issue could be better addressed? Like the version of Foreman/Katello you are installing? What is the exact command that you are using? Is there any more related log information?