Bamboo - Express installation with failure
Asked by G?nther B?r:

Hello,

I tried to install Bamboo on my local computer for an evaluation. Unfortunately I got the following error message:

![2019_10_10_14_44_01_Bamboo_error_reporting_Atlassian_Bamboo.png](https://community.atlassian.com/t5/image/serverpage/image-id/69054iECC853F7BAF08423/image-size/large?v=v2&px=999 "2019_10_10_14_44_01_Bamboo_error_reporting_Atlassian_Bamboo.png")

I already use jdk 1.8. So this could not be the problem. If any log files are needed please let me know which one.

I appreciate any help to solve this problem!

Thanks for your help in advance!

G?nther


Answers:
author: Daniel Santos
body: Hi [@G?nther B?r](/t5/user/viewprofilepage/user-id/3593006)

If this is a new installation and you have nothing to lose, please try the following:

1. Stop the process
2. Delete the Bamboo home directory
3. Delete the DB created for Bamboo (in case you configured it with an external DB)
4. Start the process again
5. Configure your instance

This problem happens when one of the encryption keys (from DB or filesystem) is not available. It could be an issue caused by an interrupted installation, wrong filesystem permissions when restarting the process with a different user or another issue.

Considering that you have nothing to lose I would just try another installation with a clean environment.

Let me know how it goes. =\]

comments: author: G?nther B?r
body: Hi [@Daniel Santos](/t5/user/viewprofilepage/user-id/502125)

I followed your instructions but unfortunately it didn't work. The same effect as before.

The log file says something like

2019-10-14 09:15:38,794 INFO \[AtlassianEvent::0-BAM::EVENTS:pool-1-thread-2\] \[BambooSmackClient\] No IM server specified. Bamboo Smack client not initialised.  
2019-10-14 09:15:40,167 INFO \[http-nio-8085-exec-15\] \[JohnsonFilter\] The application is still starting up, or there are errors. Redirecting request from '/setup/finishsetup.action' to '/error/errorEvents.action'  
2019-10-14 09:15:40,198 INFO \[http-nio-8085-exec-13\] \[AccessLogFilter\] admin GET http://localhost:8085/error/errorEvents.action?next=%2Fsetup%2Ffinishsetup.action 380029kb

or

2019-10-14 09:15:38,794 ERROR \[finishsetupBackgroundThread\] \[FinishSetupAction\] Failed to set up Bamboo  
java.lang.RuntimeException: Failed to upgrade  
at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:150)  
at com.atlassian.bamboo.ww2.actions.setup.FinishSetupAction.execute(FinishSetupAction.java:41)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.lang.reflect.Method.invoke(Unknown Source)  
at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:899)  
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1544)  
at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68)  
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:98)  
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:90)  
at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1620)  
at ognl.ASTMethod.getValueBody(ASTMethod.java:91)  
at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)  
at ognl.SimpleNode.getValue(SimpleNode.java:258)  
at ognl.Ognl.getValue(Ognl.java:470)  
at ognl.Ognl.getValue(Ognl.java:434)  
at com.opensymphony.xwork2.ognl.OgnlUtil$3.execute(OgnlUtil.java:401)  
at com.opensymphony.xwork2.ognl.OgnlUtil.compileAndExecuteMethod(OgnlUtil.java:453)  
at com.opensymphony.xwork2.ognl.OgnlUtil.callMethod(OgnlUtil.java:399)  
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:438)  
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:293)  
at org.apache.struts2.interceptor.BackgroundProcess$1.run(BackgroundProcess.java:55)  
at java.lang.Thread.run(Unknown Source)  
Caused by: java.lang.IllegalArgumentException: Unable to read cipher data for 0


author: Daniel Santos
body: Hi [@G?nther B?r](/t5/user/viewprofilepage/user-id/3593006)

The error you shared means that Bamboo is attempting an upgrade. That would happen only if the home directory is set with a DB configuration.

* Are you attempting an upgrade or a clean installation?

The steps I shared before should lead you to the Bamboo installation wizard where you would need to configure the instance path, DB connection, admin user etc.

* Did you get through those after following the steps I shared?

If you didn't, please make sure you are really removing the Bamboo home directory specified by **\<BAMBOO_INSTALL\>/atlassian-bamboo/WEB-INF/classes/bamboo-init.properties**.

?? Is you are attempting an upgrade, please make sure you have a backup of your previous instance before removing any data from this server.


author: G?nther B?r
body: Hi [@Daniel Santos](/t5/user/viewprofilepage/user-id/502125)

I just tried to make a complete new express installation (no update) and not using an external database. During the installation process I just could enter the credentials for the administration user. Afterwards nothing happens.

I also followed the steps you described later on and removed the whole Bamboo home directory but this didn't work either.


author: Daniel Santos
body: Hi [@G?nther B?r](/t5/user/viewprofilepage/user-id/3593006)  

Some times we have different errors in sequence and we might think that they are the same thing. The errors you shared are clearly affected by the encryption configuration that is performed when we are upgrading Bamboo or even reinstalling it without cleaning the folders.  

Would you mind sharing the errors you see now?  
Can you share some more details like:

* What is the OS used?
* What is the machine specification? (memory, cpu)
* What is the Java version installed?
* Are you using a shared folder to do this configuration?   
  Shared folders could have special permissions defined by the network and this could affect Bamboo installation.
* Did you see extra progress in the new attempts?
* What are the errors you see in the last attempts?

Sorry for the number of questions, I want to reduce the back and forth.


author: G?nther B?r
body: Hi [@Daniel Santos](/t5/user/viewprofilepage/user-id/502125)

I have the following configuration:

* OS: Windows 7
* Memory 16 GB
* CPU: Intel i7
* Java: 1.8.0_221
* No
* The same

Hope this information will help!


author: Daniel Santos
body: Hi [@G?nther B?r](/t5/user/viewprofilepage/user-id/3593006)

I'm led to think you are facing permission issues when Bamboo is trying to create the cipher file in your filesystem.   

Please check this thread:

* [Solved: bamboo cipher keys are seemingly not generated (](https://community.atlassian.com/t5/Bamboo-questions/bamboo-cipher-keys-are-seemingly-not-generated/qaq-p/277225)[Kiran01BM's](https://community.atlassian.com/t5/user/viewprofilepage/user-id/387663) comment)

Are you using a service to run the Bamboo process?  
Can you assign a local user with permissions to edit all folders in Bamboo home directory?

In case you are running Bamboo with system user and you want to change it, please check this document:

* [Running Bamboo as a Windows service as the local user](https://confluence.atlassian.com/bamboo/running-bamboo-as-a-windows-service-as-the-local-user-416580754.html)


author: G?nther B?r
body: Hi [@Daniel Santos](/t5/user/viewprofilepage/user-id/502125)

Thanks a lot! Now I could finish the installation but afterwards I got the following message in Bamboo:

![2019_10_18_10_20_53_Configure_Job_Create_plan_Atlassian_Bamboo.png](https://community.atlassian.com/t5/image/serverpage/image-id/69899iCB3FEE56056FC0B3/image-size/large?v=v2&px=999 "2019_10_18_10_20_53_Configure_Job_Create_plan_Atlassian_Bamboo.png")

I guess there is something to improve in the installation process!


author: Daniel Santos
body: Hi [@G?nther B?r](/t5/user/viewprofilepage/user-id/3593006)

I'm very glad that you were able to finish the installation.  
I found this issue reported, but it was closed with a fix in our docs:

* [\[BAM-18438\] AccessDeniedException when storing the cipher on Windows if bamboo.home is within Program Files](https://jira.atlassian.com/browse/BAM-18438?jql=project%20%3DBamboo%20%20and%20text~%22Unable%20to%20read%20cipher%20data%20for%200%22%20order%20by%20createdDate%20)

This was the document changed:

* [Installing Bamboo on Windows - Atlassian Documentation](https://confluence.atlassian.com/bamboo/installing-bamboo-on-windows-289276813.html)

<br />

<br />

Regarding the embedded DB health check, this DB should only be used for evaluation purposes. Only instances with external DBs should become production ones. That is why the health check fails.