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

When I restart "atlassian/confluence-server" docker container I get to initial setup page.

1. I create a new volume for the confluence server to externalize the CONFLUENCE_HOME data

>>> docker  volume create confluence

2. Started the confluece by 

>>>docker run -v confluence:/var/atlassian/application-data/confluence --name="confluence1" -d -p 8090:8090 -p 8091:8091 atlassian/confluence-server 

3. I have made initial setup, connect confluence to external postgress and we were completely happy before, we tried to restart container (with the same volume and database).

3. Then I stop container by (container stop) and start it by

>>>docker container stop confluence1

>>>docker container start confluence1

4. And now after restart I opened defaut confluence URL, and it offer me to do initial setup again (enter licence and etc)

Please, help

 

 

 

2 answers

1 accepted

1 vote
Answer accepted
Dave Chevell Atlassian Team Jan 19, 2020

For reference, this was a bug that surfaced after we rewrote the bootstrapping process for our Confluence image. We identified the issue fairly quickly and resolved it.

1 vote

Hello Konstantin and welcome to the Community!

We appreciate you sharing in detail the steps you have taken to create Confluence within docker and what you did to have Confluence re-present the setup. It sounds as though your Docker service is not able to access (read/write/create) the confluence.cfg.xml file which stores your database configuration and records if your instance has been already created/configured.

Within the docker documentation, the following is noted:

CONFLUENCE_HOME

The confluence home directory. This may be on an mounted volume; if so it should be writable by the user confluence. See note below about UID mappings.

Source documentation: https://hub.docker.com/r/atlassian/confluence-server/

Please verify your permissions are configured properly and the user has sufficient permissions to Confluence_home.

Regards,
Stephen Sifers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

283 views 9 7
Join discussion

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