just spun up a Centos7 box on my vm infrastructure - and when i go to my page (confluence.site.com) i get a whole page of fun and games. The "Cause" is listed below.
As its a fresh box, and yum updated, im not sure where to even start with this. Any pointers would be most welcome
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set
caused by: java.lang.IllegalStateException: Spring Application context has not been set
I would recommend starting here:
There are 10 different causes/resolutions there, so you can go over those and see if you are able to resolve your issue.
Let us know if you have any trouble or questions.
Hi Shannon - removed all confluence directories and reinstalled confluence from the start. Not a fresh server (that's my last play, don't want to have to do that yet).
the start up process tarts, it lets me connect up to my database, and on the next step (after testing DB connection) and hitting next - it gives me the same error! tried restarting confluence to no avail :(
When using systemctl to reload-or-restart, it gives me an error that when i use systemctl status gives me the below:
The error you sent is showing "permission denied" which means the user still doesn't have the correct permissions to run Confluence.
I would recommend double-checking that the permissions on your Confluence Home Directory are set to the correct user, and then try to start Confluence again using start-confluence.sh as that user.
Let me know if you have any trouble.
Sorry, you will also want to check your install directory for the correct permissions in addition to that.
I know these steps are outlined on the first article I sent you, but there appears to still be something wrong with the permissions.
Found that confluence was trying to execute as user 'confluence1', not 'confluence'. Changed the user.sh entry and got that working. All green now on the status of systemctl - but still getting the same error on the webpage.
All permissions were added as follows:
chown -R confluence.confluence /opt/atlassian/
chown -R confluence.confluence /var/atlassian/
chown -R confluence /opt/atlassian/
chown -R confluence /var/atlassian/
chmod -R u=rwx,go-rwx /opt/atlassian/
chmod -R u=rwx,go-rwx /var/atlassian/
And confluence shell started as confluence' user.
Glad you were able to resolve the permissions issue.
Back to the Spring Application error, I understand out of the 10 resolutions, you have checked 6. If you want to skip the resolution that asks you to do a fresh install for now, you can, but I would recommend checking the remaining 10.
Failing that, you can do a fresh install.
If you still have issues, then I can create a support ticket so we can have a deeper look at your logs, but it's important that we rule out all 10 usual causes before proceeding further.
More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...
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!
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