Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,161
Community Members
 
Community Events
165
Community Groups

Ten Reasons and no Resolution

https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-spring-application-context-has-not-been-set-218278311.html?_ga=2.267080971.441309777.1531110824-1281530657.1511217859

 

This problem with confluence startup lists 10 separate and different reasons for the exception.  This is laziness on the part of someone who likes to code in Java and really quite inexcusable for any installer. 

As a System Administrator who is installing for the very first time, encountering this, finding "you installed as root" (well of course I did, there's no instruction not to and I wanted the global service arrangement set up) as one of the PROBLEMS leads to a great deal of annoying bug hunting, reinstallations, and mucking about.  That entry wants to be made clearer.  

Actual problem I had was with the DB installation.  A screen where it says overwrite DB and it stays "live" on the page.  As in you navigate away from the page in the nigh-on 5 minutes it takes to overwrite the values and it breaks the DB.... and you get the yet another error and cannot get a running system.

Only way to clear it is to wipe the /var/atlassian directory clean and restart the configuration.  

This is, in terms of normal expectations of an installation process, just a wee bit broken. 

Atlassian does not currently permit comments on the ten reasons page so I can't actually tell them what is wrong there.  Nor have I any spare time to spend on explaining further as I had to spend it figuring out what SHOULD have been explained better elsewhere.   

Now I know better, but I have (here) done my best to alert Atlassian that they need to revisit their 10 reasons page and their DB overwrite process.  Getting some programmers to provide unique exceptions would not be a bad idea either, but the verbiage is cheap to update and the DB overwrite process only wants a "do not navigate away" notice that is kept alive by the process.  Not big changes, so cheap and possible. 

If comments on the ten reasons page ought to be working then that's another thing to be worried about.  :-) 

 

1 comment

AnnWorley Atlassian Team Jul 10, 2018

Hi BJ,

I am not sure how feasible it is but I opened a suggestion ticket to make the logging more specific. Improve logging for "spring application context cannot be set"

I agree that 10 reasons and 10 recommendations is tedious. To communicate directly with the development team, please comment or vote on the suggestion ticket.

It is okay to run the installer as root. The installer creates a user to run the service. What we recommend is not running the service under root. So you did the right thing installing as root.

We don't have comments on our docs anymore so that was why you couldn't comment. Feel free to let us know what you think here on Community, we are listening.

Thanks,

Ann

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

155 views 1 3
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