We are moving are bitbucket data center onto another host which connects to a new PostGres databae. We have replicated database and bitbucket app+bitbucket-home folders, plus other necessary setups. However the bitbucket cannot connect to the new PostGres DB
Here is the error seen in the log:
2024-03-26 16:15:13,120 DEBUG [spring-startup] org.postgresql.Driver Connection error:
org.postgresql.util.PSQLException: Could not find a server with specified targetServerType: primary
at org.postgresql.Driver$ConnectThread.getResult(Driver.java:417)
-------------------------------------------------------
Here is the db properties set in bitbucket.properties
jdbc.driver=org.postgresql.Driver
jdbc.url=jdbc:postgresql://<hostname>.idanalytics.com:5432/<db name>
jdbc.user=<user>
jdbc.password=<passwd>