Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Confluence Docker image was running H2 database and updated, now H2 directory is read only

Ed Luck October 11, 2020

I do sincerely apologise for asking for help on a "free" personal license of Confluence.  I use confluence in my day job and kept a free version at home for learning and storing some of own home network design documents.

Anyway, this Confluence server is a docker image (confluence-server:latest) but it was running on the local H2 database.  Somewhere on or about the 7th of October I allowed this container to update and now I can't even login to make a backup.

The error I receive when connecting is:

"Can't connect to your H2 database. This may be because your H2 directory is read-only, or you are attempting to upgrade and the H2 version Confluence uses cannot be upgraded directly. If you are attempting to upgrade you will need to migrate your data manually."

"llegalStateException: This store is read-only [1.4.200/2]"

A server log shows the following 

"2020-10-12 17:12:25,468 ERROR [http-nio-8090-exec-1] [confluence.setup.johnson.WebAppContextPathCheck] check Bootstrap did not initialize.
2020-10-12 17:12:26,934 ERROR [http-nio-8090-exec-2] [atlassian.confluence.util.AbstractBootstrapHotSwappingFilter] doFilter Could not get swap target filter"

Obviously, I should have migrated to using MySQL or something a while ago, but didn't. I can access the confluence files directly and I also have backup files but these are in ZIP format and the documentation on migrating to an external database mentions making an XML backup first?

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events