The old discussions suggested that it could be
1) Database issue. However, I was able to login to database using the same credential.
2) hostname. it has been running before, so I modified /etc/hosts, no use.
3) application-data/confluence/confluence.cfg.xml looks good for mysql definition
Any other possible reasons?
Host OS is 16.04
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.
com.atlassian.confluence.tenant.TenantGate$1.lambda$create$0(TenantGate.java:43)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
com.sun.proxy.$Proxy54.getCurrentSession(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)