Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

60201 : Create ACL entries for projects (post-bootstrap) exception

We are migrating our bamboo instance from CentOS to Ubuntu (leaving Crowd, JIRA and Confluence on the existing CentOS host). We have dumped and restored PostGreSQL and copied accross the bamboo-home directory. The delivered properties file from Atlassian has been updated for our file path. The preconditions seemed fine, and the database connection and migrations looked OK, then a HTTP connection to places unknown has failed.

echo "bamboo.home=/atlassian/bamboo/bamboo-home" >> atlassian-bamboo-6.2.2/atlassian-bamboo/WEB-INF/classes/bamboo-init.properties

./atlassian-bamboo-6.2.2/bin/start-bamboo.sh -fg

...

2017-11-17 01:08:44,908 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [AbstractUpgradeManager] --------------------------------------------------------
2017-11-17 01:08:44,909 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [AbstractUpgradeManager] 60201 : Create ACL entries for projects (post-bootstrap)
2017-11-17 01:08:44,909 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [AbstractUpgradeManager] --------------------------------------------------------
2017-11-17 01:08:44,959 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [UpgradeTask60201CreateProjectAcls] Found 4 projects in total
2017-11-17 01:08:45,109 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection refused (Connection refused)
2017-11-17 01:08:45,110 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [HttpMethodDirector] Retrying request
2017-11-17 01:08:45,111 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection refused (Connection refused)
2017-11-17 01:08:45,111 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [HttpMethodDirector] Retrying request
2017-11-17 01:08:45,111 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection refused (Connection refused)
2017-11-17 01:08:45,111 INFO [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [HttpMethodDirector] Retrying request
2017-11-17 01:08:45,114 ERROR [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [DefaultUserAccessor] com.atlassian.crowd.exception.OperationFailedException: java.net.ConnectException: Connection refused (Connection refused)
com.atlassian.user.EntityException: com.atlassian.crowd.exception.OperationFailedException: java.net.ConnectException: Connection refused (Connection refused)

1 answer

1 accepted

0 votes
Answer accepted

Hi Jules and Amy,

Thanks for reaching out to the Atlassian Community today! 

From the log snippet that you've posted, it looks like Bamboo's connection to Crowd was refused on the Crowd side. Specifically, we can see that in the following section:

2017-11-17 01:08:45,114 ERROR [16-UpgradeTaskBackgroundThread:pool-31-thread-1] [DefaultUserAccessor] com.atlassian.crowd.exception.OperationFailedException: java.net.ConnectException: Connection refused (Connection refused)
com.atlassian.user.EntityException: com.atlassian.crowd.exception.OperationFailedException: java.net.ConnectException: Connection refused (Connection refused)

Since Bamboo has been moved to a new server, could you please check the following:

Please don't hesitate to reach out if you have any additional questions or concerns.

Thanks! 
Elias Zeidan | Bamboo Support

Thanks for the guidance, I didn't forgot Crowd becomes the exclusive IAM solution in bamboo (I thought I could start it up and reconfigure once the UI was up). Now knowing this, Is there a way to change where it looks for Crowd, as I believe the current address is is looking for is localhost:8095?

If worse comes to worse, I can restart the old instance, reconfigure it in the UI, and start the migration process over.

Elias Zeidan Atlassian Team Nov 17, 2017

Hi!


Thanks for your reply. I apologize for the delayed response.

 

To ensure the correct configuration on the new server, could you please do the following:

  1. Stop Bamboo
  2. Replace the contents of <bamboo-home>/xml-data/configuration/atlassian-user.xml with:
    <atlassian-user>
        <repositories>
            <hibernate name="Hibernate Repository" key="hibernateRepository" description="Hibernate Repository" cache="true"/>
        </repositories>
    </atlassian-user> 

    This will set Bamboo to use the internal user repository, with the original admin user

  3. Start Bamboo – it should complete the installation/upgrade
  4. Configure the instance to use Crowd as the user repository

 

Thanks!

Elias

Thanks for that, the migrations appear to have completed. Can you advise is the base URL is in the database or in bamboo-home (cannot access as the application is attempting to redirect to the original location)?

Appears to be file system, i.e. bamboo-home/xml-data/configuration/administration.xml

Elias Zeidan Atlassian Team Nov 17, 2017

Hi!

Thanks for your question. That is correct, the Base URL is indeed stored in the <myBaseUrl> tags in the administration.xml file.

Please restart Bamboo after updating it, and let me know if you're able to access the application on the new URL.

Cheers,
Elias

p.s. the password reset from the supplied link work a treat and I now have UI access so I can now configure the migrated server and reapply the application links.

Much appreciated.

Elias Zeidan Atlassian Team Nov 17, 2017

That is great news! I'm glad to hear that you're up and running.

Once you're all set up with the application links, could you please mark this as an "accepted" answer by clicking the check mark next to the first reply in case other Bamboo users may find this helpful.

Thanks again for reaching out. If you have any other questions, please do not hesitate to ask!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

186 views 4 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you