We are migrating our bamboo instance from CentOS to Ubuntu (leaving Crowd, JIRA and Confluence on the existing CentOS host). We have dumped and restored PostGreSQL and copied accross the bamboo-home directory. The delivered properties file from Atlassian has been updated for our file path. The preconditions seemed fine, and the database connection and migrations looked OK, then a HTTP connection to places unknown has failed.
echo "bamboo.home=/atlassian/bamboo/bamboo-home" >> atlassian-bamboo-6.2.2/atlassian-bamboo/WEB-INF/classes/bamboo-init.properties
./atlassian-bamboo-6.2.2/bin/start-bamboo.sh -fg
...
2017-11-17 01:08:44,908 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [AbstractUpgradeManager] --------------------------------------------------------
2017-11-17 01:08:44,909 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [AbstractUpgradeManager] 60201 : Create ACL entries for projects (post-bootstrap)
2017-11-17 01:08:44,909 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [AbstractUpgradeManager] --------------------------------------------------------
2017-11-17 01:08:44,959 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [UpgradeTask60201CreateProjectAcls] Found 4 projects in total
2017-11-17 01:08:45,109 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection refused (Connection refused)
2017-11-17 01:08:45,110 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [HttpMethodDirector] Retrying request
2017-11-17 01:08:45,111 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection refused (Connection refused)
2017-11-17 01:08:45,111 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [HttpMethodDirector] Retrying request
2017-11-17 01:08:45,111 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection refused (Connection refused)
2017-11-17 01:08:45,111 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [HttpMethodDirector] Retrying request
2017-11-17 01:08:45,114 ERROR [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [DefaultUserAccessor] com.atlassian.crowd.exception.OperationFailedException: java.net.ConnectException: Connection refused (Connection refused)
com.atlassian.user.EntityException: com.atlassian.crowd.exception.OperationFailedException: java.net.ConnectException: Connection refused (Connection refused)