I am trying to migrate Confluence to a clean Ubuntu system, but I keep hitting the same error over and over again. After I test the connection to MySQL I hit next and after a while I see:
HTTP Status 500 - Cannot call sendError() after the response has been committed
When I look at the logs I see:
03-May-2018 16:33:01.478 SEVERE [http-nio-8090-exec-2] org.apache.catalina.core.StandardHostValve.custom Exception Processing ErrorPage[errorCode=500, location=/500page.jsp]
org.apache.jasper.JasperException: java.util.concurrent.CompletionException: com.atlassian.confluence.tenant.VacantException: Confluence is vacant, a call to tenanted [public abstract org.hibernate.Session org.hibernate.SessionFactory.getCurrentSession() throws org.hibernate.HibernateException] is not allowed.
I will spare you all the Java jibberish that is spat out after that.
I looks like the database stays empty:
mysql> USE confluence;
Database changed
mysql> show tables;
Empty set (0.00 sec)