mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-14 14:26:04 +02:00
web-app-xwiki: admin bootstrap & REST/extension install fixes
• Guard admin tasks via XWIKI_SSO_ENABLED • Create admin using XWikiUsers object API • Wait for REST without DW redirect • Install OIDC/LDAP via /rest/jobs (+verify) • Mount xwiki.cfg/properties under Tomcat WEB-INF • Build REST URLs with url_join; enable DW auto bootstrap + repos https://chatgpt.com/share/68c42502-a5cc-800f-b05a-a1dbe48f014d
This commit is contained in:
@@ -16,7 +16,19 @@ oidc.groups.mapping=XWiki.XWikiAdminGroup={{ XWIKI_OIDC_ADMIN_PROVIDER_GROUP }}
|
||||
{% endif %}
|
||||
|
||||
############################################
|
||||
# Distribution Wizard
|
||||
# Disable automatic start so REST is reachable during automation
|
||||
distribution.automaticStartOnMainWiki=false
|
||||
distribution.automaticStartOnWiki=false
|
||||
# Distribution Wizard (bootstrap)
|
||||
{% if xwiki_superadmin_enabled_switch | bool %}
|
||||
# Start DW automatisch und ohne Interaktion
|
||||
distribution.automaticStartOnMainWiki=true
|
||||
distribution.automaticStartOnWiki=true
|
||||
distribution.job.interactive=false
|
||||
# Standard-Flavor für Main Wiki (XWiki Standard)
|
||||
distribution.defaultUI=org.xwiki.platform:xwiki-platform-distribution-flavor-mainwiki
|
||||
{% endif %}
|
||||
|
||||
# Keep data in the Docker volume
|
||||
environment.permanentDirectory=/usr/local/xwiki/data
|
||||
|
||||
# Make sure Extension Manager can fetch artifacts
|
||||
extension.repositories=maven:xwiki-public https://nexus.xwiki.org/nexus/content/groups/public/,\
|
||||
maven:central https://repo1.maven.org/maven2/
|
Reference in New Issue
Block a user