Hello,
I tried to install Bamboo on my local computer for an evaluation. Unfortunately I got the following error message:
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
Hi @Günther Bär
If this is a new installation and you have nothing to lose, please try the following:
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. =]
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Günther Bär
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.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Günther Bär
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:
Sorry for the number of questions, I want to reduce the back and forth.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the following configuration:
Hope this information will help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Günther Bär
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:
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot! Now I could finish the installation but afterwards I got the following message in Bamboo:
I guess there is something to improve in the installation process!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Günther Bär
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:
This was the document changed:
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.