Unable to upgrade katello master with remote databases

Hello,
I have one katello master without smart proxy installed on Rhel 7.
Postgres databases are on a different server. Mongo too.
I have updated the packages with the command ‘yum update’
Then, I’m trying to upgrade katello master with this command :
foreman-installer -v --scenario=katello --upgrade
But I have this error :

systemctl start postgresql failed! Check the output for error!
[ERROR 2019-08-27T13:27:39 verbose] systemctl start postgresql failed! Check the output for error!
Upgrade step start_postgresql failed. Check logs for more information.
[ERROR 2019-08-27T13:27:39 verbose] Upgrade step start_postgresql failed. Check logs for more information.
[ INFO 2019-08-27T13:27:39 verbose] Installer finished in 10.822044672 seconds

How can I upgrade katello without the postgresql check (because postgres databases are on another server)

Thanks for advance

Foreman version : foreman-1.22.0-1
katello version : katello-3.12.3-1
foreman installer : foreman-installer-katello-1.22.0-1

hey @kalistuf,

Thanks for bringing this up. How did you set up the remote databases? Did you use this guide? Foreman :: Plugin Manuals

Sounds like Bug #27540: Installer tries to start local postgresql service when its externally hosted - Installer - Foreman for which we merged a fix but haven’t released it yet.

1 Like

Hello,
yes thank you, I think that’s it !

Hi John,
`Thanks for bringing this up. How did you set up the remote databases? Did you use this guide?
Foreman :: Plugin Manuals’
Yes I have apply this topic.

1 Like