Alter Bamboo's Root Directory

I'm trying to install Bamboo, but I'm having a slight issue. I want the website link to be:

http://www.example.com/bamboo

rather than

http://www.example.com:8085

When I try to go to /bamboo I get:

Page not found

Sorry, the page you were trying to reach does not exist. Try going back to the dashboard and browse the site to Find the page you were looking for.

Go to...

And when I try to go to :8085 It just fails.

Anyone have any thoughts? I double checked and bamboo is up and running. I'm also tailing the logs and I do see the request come in (at least for /bamboo, not for :8085)

2013-08-07 21:27:13,352 INFO [qtp1800130962-134] [AccessLogFilter] xxxx  GET http://www.example.com/bamboo 64737kb

Thanks in advance =)

2 answers

1 accepted

Bamboo is most likely up and running (port 8085 is default) but that port isn't exposed to the outside. If you can check localhost:8085 to verify bamboo is up and running that might help troubleshoot.

Not sure what technology you're using but we are using Apache to run a base web server on port 80 and have this config in our httpd-vhosts.conf. Other systems will require virtual hosts or url rewrites as well.

In this example, I added bamboo to our existing test server for http://testjira/ reaches Jira and http://testjira/bamboo/ reaches Bamboo.

<VirtualHost *:80>
    ServerName testjira
    ServerAdmin foo@bar.com
    DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
    ErrorLog "logs/jira-error.log"
    CustomLog "logs/jira-access.log" common
	ProxyRequests Off
	ProxyPreserveHost On
	<Proxy *>
		Order deny,allow
		Allow from all
	</Proxy>
# bamboo
	ProxyPass /bamboo http://testjira:8085/bamboo
	ProxyPassReverse /bamboo http://testjira:8085/bamboo
# jira
	ProxyPass / http://testjira:8082/
	ProxyPassReverse / http://testjira:8082/
</VirtualHost>

I was able to access Bamboo at port 8085 to configure the Base Url setting under Admin -> System | General Configuration. Since you can't seem to access it, you may also need to configure Bamboo further. See http://mobmad.wordpress.com/2010/01/15/setup-jira-confluence-crowd-fisheye-bamboo-to-bypass-firewall-by-running-them-all-via-apache-proxy-on-port-80/ for more details.

The mobmad link you provided worked perfectly! I changed the following line:

wrapper.app.parameter.4=/bamboo

in conf/wrapper.conf and it got me to the proper page. Thanks =)

You can check [bamboo-install]/conf/wrapper.conf for the port number Bamboo is running at (default is 8085). Most web logs by default will only log port 80 attempts so that could easily explain why you don't see any log.

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,064 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot