Below is the error shown when we upgrade bamboo from 6.5.0 to 6.7.0, can someone please advise.
Bamboo bootstrap failed: failed to find config at: /var/atlassian/application-data/bamboo/bamboo.cfg.xml
Below is the catalina.out log details:
18-Jan-2019 15:31:11.901 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2019-01-18 15:31:12,219 INFO [localhost-startStop-1] [BootstrapLoaderListener] Starting BootstrapLoaderListener
2019-01-18 15:31:12,219 INFO [localhost-startStop-1] [lifecycle] *******************************
2019-01-18 15:31:12,219 INFO [localhost-startStop-1] [lifecycle] * Bamboo is starting up *
2019-01-18 15:31:12,219 INFO [localhost-startStop-1] [lifecycle] *******************************
2019-01-18 15:31:12,220 INFO [localhost-startStop-1] [ServletContextHolder] Setting servlet context: Bamboo
2019-01-18 15:31:12,275 INFO [localhost-startStop-1] [lifecycle] atlassian.org.osgi.framework.bootdelegation set to javax.servlet,javax.servlet.*,sun.*,com.sun.*,org.w3c.dom.*,org.apache.xerces.*,org.jboss.byteman.*,jdk.internal.reflect
2019-01-18 15:31:12,535 INFO [localhost-startStop-1] [BootstrapLoaderListener] App classloader is the same as web app classloader
2019-01-18 15:31:13,670 INFO [localhost-startStop-1] [lifecycle] Starting Bamboo 6.7.0 (build #60704 Tue Oct 16 09:54:07 EDT 2018) using Java 1.8.0_161 from Oracle Corporation
2019-01-18 15:31:13,671 INFO [localhost-startStop-1] [lifecycle] Real path of servlet context: /usr/local/bamboo-6.7.0/atlassian-bamboo/
2019-01-18 15:31:13,672 ERROR [localhost-startStop-1] [DefaultAtlassianBootstrapManager] Home is not configured properly:
com.atlassian.config.ConfigurationException: failed to find config at: /var/atlassian/application-data/bamboo/bamboo.cfg.xml
at com.atlassian.config.xml.DefaultDom4jXmlConfigurationPersister.load(DefaultDom4jXmlConfigurationPersister.java:69)
at com.atlassian.config.ApplicationConfig.load(ApplicationConfig.java:365)
at com.atlassian.bamboo.setup.BambooApplicationConfig.load(BambooApplicationConfig.java:61)
at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:68)
at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:116)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4792)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1421)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1411)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.FileNotFoundException: /var/atlassian/application-data/bamboo/bamboo.cfg.xml (Permission denied)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at com.atlassian.config.xml.DefaultDom4jXmlConfigurationPersister.load(DefaultDom4jXmlConfigurationPersister.java:65)
... 13 more
and we also see the below error after fixing the permissions on bamboo.cfg.xml
Caused by: com.atlassian.bamboo.upgrade.exception.ValidationException: Bamboo can't migrate Atlassian User repositories due to validation errors. Please refer to logs for more information