Quantcast
Channel: XWiki Forum - Latest topics
Viewing all articles
Browse latest Browse all 1373

Persistency Issue: XWiki+Postgres+Tomcat on Kubernetes

$
0
0

Hey there,

I am currently trying to set up XWiki on our Kubernetes cluster, and I am struggling to keep the configuration and data persistent. Everything works fine (creating admin account, flavor and extension installation, adding pages etc.) until restarting the K8s containers. Then I am greeted by the initialization progress page followed by a blank XWiki.

I mount persistent volumes under /usr/local/xwiki, so data should be persistent (similarly for postgres under /var/lib/postgresql). Still, for some reason all configuration is lost after a restart. I probably need to mount another volume somewhere else - any idea where? Does the Tomcat need a persistent volume as well? The configuration, however, is similar to the example docker-compose file in the documentation.

Current setup:

  • XWiki Docker image: xwiki:15.5.3-postgres-tomcat
  • Postgres Docker image: postgres:16.0

Thanks a lot in advance!

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1373

Trending Articles