Prerequisites
- Ubuntu Server 18.04
- Confluence Server 6.12.1
- PostgreSQL 10
- Jira and Bitbucket are installed and running without problems
Installation
- Database:
- CREATE ROLE confluenceuser WITH LOGIN PASSWORD 'password' VALID UNTIL 'infinity';
- CREATE DATABASE confluence WITH ENCODING='UTF8' OWNER=confluenceuser;
- sudo ./atlassian-confluence-6.12.1-x64.bin
- Default values
First exception (after clicking Next on the setup database step)
java.lang.IllegalStateException: Cannot call sendError() after the response has been committed
Second exception (after stop-confluence, start-confluence)
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set
What I tried so far
- Installing on different ports
- Installing not as a service
- Using the docker container provided by Atlassian (same error)
- Reassigning ownership and rights to the install and home directory via chown and chmod
- Installing with Jira and Bitbucket shut down
- Disable JMX
- Using the built in database