Hello,
I do have the following setup:
- Using docker / traefik for setting up xwiki (xwiki is running normal)
services:The container that runs XWiki in Tomcat, with the appropriate JDBC driver (for postgres).
web:
image: “xwiki:${XWIKI_VERSION}-postgres-tomcat”
container_name: xwiki-postgres-tomcat-web-27
depends_on:
- db
ports:
- “8080:8080”
# Default values defined in .env file.
# The DB_USER/DB_PASSWORD/DB_DATABASE/DB_HOST variables are used in the hibernate.cfg.xml file.
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.http.routers.xwiki-hud.entrypoints=websecure"
- "traefik.http.routers.xwiki-hud.rule=(Host(`${APP_NAME}.${GLOBAL_DOMAIN}`))"
- "traefik.http.routers.xwiki-hud.tls=true"
- "traefik.http.routers.xwiki-hud.tls.certresolver=http_resolver"
- "traefik.http.routers.xwiki-hud.service=xwiki-hud"
- "traefik.http.services.xwiki-hud.loadbalancer.server.port=${APP_PORT}"
- "traefik.http.routers.xwiki-hud.middlewares=default-security-headers@file,gzip@file"
- "traefik.http.routers.xwiki-hud-local.entrypoints=websecure"
- "traefik.http.routers.xwiki-hud-local.rule=(Host(`${APP_NAME}.local`))"
- "traefik.http.routers.xwiki-hud-local.tls=true"
- "traefik.http.routers.xwiki-hud-local.tls.certresolver=http_resolver"
- "traefik.http.routers.xwiki-hud-local.service=xwiki-hud-local"
- "traefik.http.services.xwiki-hud-local.loadbalancer.server.port=${APP_PORT}"
- "traefik.http.routers.xwiki-hud-local.middlewares=default-security-headers@file,gzip@file"
environment:
- XWIKI_VERSION=${XWIKI_VERSION}
- DB_USER=${DB_USER}
- DB_PASSWORD=${DB_PASSWORD}
- DB_DATABASE=${DB_DATABASE}
- DB_HOST=xwiki-postgres-db27
# Provide a name instead of an auto-generated id for xwiki data (the permanent directory in included in it)
# configured in the Dockerfile, to make it simpler to identify in 'docker volume ls'.
volumes:
- ./xwiki-data:/usr/local/xwiki
- ./xwiki-cfg:/usr/local/tomcat/webapps/ROOT/WEB-INF
networks:
- xwiki
- proxy
The container that runs the database (postgres)
db:
image: “postgres:17”
container_name: xwiki-postgres-db27
volumes:
- ./postgres-data:/var/lib/postgresql/data
environment:
- POSTGRES_ROOT_PASSWORD=${POSTGRES_ROOT_PASSWORD}
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_USER=${DB_USER}
- POSTGRES_DB=${DB_DATABASE}
- POSTGRES_INITDB_ARGS=–encoding=UTF8 --locale-provider=builtin --locale=C.UTF-8
networks:
- xwiki
#volumes:
postgres-data: {}
xwiki-data: {}
networks:
proxy:
external: true
xwiki:
external: false
- I am using Xwiki 16.10.0 or 16.10.6 (17.* is not working right now)
Now my problem:
Logging in as admin or as superadmin:
- Menu / Wiki Index
- Create Wiki
-
- Filling in: info / info / info / using Standard Flavor for sub-wikis
- Next Step
- setting owner (the user which has been created at beginning)
- Both - global and local user
*Any global user can request to join - members (me)
And now the surprising effect:
There is no create wiki butten on bottom right
(Before I did create subwikis on mysql - which has been working)
I did check the following things:
- Administer Wiki / User & Rights / Wikis / Creation Rights / my user - check
- xwiki.cfg: xwiki.virtual=1 / xwiki.virtuaL_mode=schema / xwiki.url.protocol=https / xwiki.url.standard=virtual
*hibernate.cfg.xml: xwiki.virtual_mode=schema
On my working instance I do nat have any diferences in xwiki.cfg or xwiki.properties.