I'm trying to run an eval of confluence on Mac OSX using the atlassian confluence docker image from docker hub but as I go through the SetupWizard on localhost:8090, after the DB setup completes and I reach setup/setuppaths.action, the confluence server (and docker container) crashes consistently.
I've confirmed its not an issue with file/directory permissions with the mounted directory and I believe I've set the database up following the posted instructions. The logs/atlassian-confluence.log doesn't appear to contain any errors.
Is this a known issue with my platform or database choice or.....?
Any insight on the issue would be appreciated. Here are some additional details:
Docker run command:
docker run -v /tmp/data/confluence-home:/var/atlassian/application-data/confluence --name="confluence" --user 2002:2002 -d -p 8090:8090 -p 8091:8091 atlassian/confluence-server
Database create command used:
CREATE DATABASE confluence WITH TEMPLATE = template0 ENCODING = 'UTF8' LC_COLLATE = 'en_US.UTF-8' LC_CTYPE = 'en_US.UTF-8';
The last line in the log prior to the crash is:
"2021-04-13 20:31:08,350 INFO [Catalina-utility-1] [atlassian.plugin.manager.DefaultPluginManager] logTime Plugin system lateStartup ended"
If its useful, if I restart the docker container w/o cleaning up the contents of $CONFLUENCE_HOME, I get the following additional log entry:
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
FYI....Got it working. Turns out the memory recommendation on the site for the docker image (https://hub.docker.com/r/atlassian/confluence-server) is incorrect: "We recommend 2GiB of memory allocated to accommodate the application server." docker stats shows it taking up 3GiB during initialization and during runtime.
That's good news Scott! Because this is exactly what I can trying to accomplish and also run into weird crashes and nothing ever booting. It just seemed to cycle.
I don't remember the cpu/memory limits I set but as assume they were too small as well.
Awesome :D Now I can try again! And thanks for sharing the docker run cmdline with your volumes and port mapping. That clears up another question I had!
Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...
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