Bamboo Data Center Installation is failing with exception : ERROR Unable to create file

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

This knowledge base article covers a scenario where Bamboo Installation was failing with exception : ERROR Unable to create file /logs/atlassian-bamboo.log 

Environment

The issue was seen on Bamboo 9.6.4 but the solution will be applicable for any another supported version as well. 

Diagnosis

Looking at <bamboo-install>logs>catalina.out file we can see the below exception

ERROR Unable to create file /logs/atlassian-bamboo.log java.io.IOException: Could not create directory /logs

if we go inside the folder <bamboo-home> directory, we'll not see <bamboo-home>logs folders created.

Cause

Cause 1

Bamboo user which is starting up the service is not having proper read/write access to the <bamboo-home> directory.

Cause 2

<bamboo-home> path not defined under bamboo-init.properties file in the installation directory.

Solution

Solution 1

Please provide full read/write access to the bamboo user which is running the service to <bamboo-home> path and restart the Bamboo service.

Solution 2

Please provide the correct <bamboo-home> path inside <bamboo-install>/atlassian-bamboo/WEB-INF/classes>bamboo-init.properties file and restart the Bamboo service.


Last modified on Aug 26, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.