Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,462,531
Community Members
 
Community Events
176
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

Atlassian Community Events