Skip to content

New Service Xwiki#285

Merged
crypt0rr merged 9 commits intotailscale-dev:mainfrom
michaelhodges:xwiki
Apr 29, 2026
Merged

New Service Xwiki#285
crypt0rr merged 9 commits intotailscale-dev:mainfrom
michaelhodges:xwiki

Conversation

@michaelhodges
Copy link
Copy Markdown
Contributor

@michaelhodges michaelhodges commented Apr 25, 2026

[Service Name]: [Summary of changes]

New service XWiki

Description

Add all the files requited to run XWiki docker container. Updated README.md to include new service.

Related Issues

  • None.

Verification

Checklist

  • I have performed a self-review of my code and followed the templates structure.
  • I have added verification that the stack works as expected.
  • I have updated necessary documentation (e.g. frontpage README.md ).
  • I have selected the correct label(s) for this PR.

Additional Context

  • None.

@crypt0rr
Copy link
Copy Markdown
Collaborator

crypt0rr commented Apr 27, 2026

Just tried running the setup, but after a minute or so, the application failed initializing and caused the application back-end to crash and start using 100% CPU while doing so.

Below some screenshots and error logs.

SCR-20260427-jduz SCR-20260427-jdjv
app-xwiki        | 27-Apr-2026 07:55:45.720 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-rendering-macro-context-18.2.1.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:45.725 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-query-jpql-parser-18.2.1.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:45.726 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-security-requiredrights-macro-18.2.1.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:45.728 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/tika-parser-image-module-3.2.3.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:46.378 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-rendering-wikimodel-18.2.1.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:46.380 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-rendering-macro-context-18.2.1.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:46.382 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-query-jpql-parser-18.2.1.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:46.383 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-security-requiredrights-macro-18.2.1.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:46.384 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/tika-parser-image-module-3.2.3.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:47.584 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/logback.xml] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:48.178 WARNING [main] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/META-INF/services/org.slf4j.spi.SLF4JServiceProvider] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:48.241 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/ch/qos/logback/core/logback-core-version.properties] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:48.247 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/ch/qos/logback/classic/logback-classic-version.properties] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:48.269 WARNING [main] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/META-INF/services/ch.qos.logback.classic.spi.Configurator] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:48.277 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/logback-test.xml] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:48.279 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/logback.xml] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:48.284 WARNING [main] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/logback.xml] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:48.315 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/logback.xml] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:48.316 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/logback.xml] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:48.960 WARNING [main] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/META-INF/components.txt] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:49.069 WARNING [main] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/META-INF/component-overrides.txt] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 27-Apr-2026 07:55:49.101 WARNING [main] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/META-INF/services/org.xwiki.component.annotation.ComponentDependencyFactory] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
app-xwiki        | 2026-04-27 07:55:55,168 [main] INFO  iPropertiesConfigurationSource - Loading [xwiki.properties] from [file:/usr/local/tomcat/webapps/ROOT/WEB-INF/xwiki.properties] 
app-xwiki        | 2026-04-27 07:55:55,585 [main] INFO  o.x.e.i.ServletEnvironment     - Using permanent directory [/usr/local/xwiki/data]

@crypt0rr crypt0rr self-requested a review April 27, 2026 08:00
Copy link
Copy Markdown
Collaborator

@crypt0rr crypt0rr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see comment

@michaelhodges
Copy link
Copy Markdown
Contributor Author

michaelhodges commented Apr 27, 2026 via email

@michaelhodges
Copy link
Copy Markdown
Contributor Author

michaelhodges commented Apr 29, 2026 via email

@crypt0rr
Copy link
Copy Markdown
Collaborator

It's working on my setup. Running on debian 13.4, Docker version 29.3.1, build c2be9cc I receive the warning errors in the console about cache size but the error in browser after initialisation does not occur. How quickly are you attempting to connect your browser after running the container? I found some info around possible errors with SSL certs and database initialisation. Just wondering if you delete the xwiki directory and run it again, maintaining all the tailscale SSL details, will it work.

On Mon, Apr 27, 2026, 8:59 AM Bart @.> wrote: crypt0rr left a comment (tailscale-dev/ScaleTail#285) <#285 (comment)> Just tried running the setup, but after a minute or so, the application failed initializing and caused the application back-end to crash and start using 100% CPU while doing so. Below some screenshots and error logs. SCR-20260427-jduz.png (view on web) https://github.com/user-attachments/assets/489b9b5c-d831-4eab-acbe-a75309340d10 SCR-20260427-jdjv.png (view on web) https://github.com/user-attachments/assets/768b12b7-96db-477b-98ee-bd698acc369a app-xwiki | 27-Apr-2026 07:55:45.720 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-rendering-macro-context-18.2.1.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:45.725 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-query-jpql-parser-18.2.1.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:45.726 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-security-requiredrights-macro-18.2.1.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:45.728 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/tika-parser-image-module-3.2.3.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:46.378 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-rendering-wikimodel-18.2.1.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:46.380 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-rendering-macro-context-18.2.1.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:46.382 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-query-jpql-parser-18.2.1.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:46.383 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/xwiki-platform-security-requiredrights-macro-18.2.1.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:46.384 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/tika-parser-image-module-3.2.3.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:47.584 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/logback.xml] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:48.178 WARNING [main] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/META-INF/services/org.slf4j.spi.SLF4JServiceProvider] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:48.241 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/ch/qos/logback/core/logback-core-version.properties] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:48.247 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/ch/qos/logback/classic/logback-classic-version.properties] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:48.269 WARNING [main] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/META-INF/services/ch.qos.logback.classic.spi.Configurator] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:48.277 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/logback-test.xml] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:48.279 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/logback.xml] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:48.284 WARNING [main] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/logback.xml] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:48.315 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/logback.xml] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:48.316 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/logback.xml] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:48.960 WARNING [main] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/META-INF/components.txt] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:49.069 WARNING [main] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/META-INF/component-overrides.txt] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 27-Apr-2026 07:55:49.101 WARNING [main] org.apache.catalina.webresources.Cache.getResources Unable to add the resource at [/WEB-INF/classes/META-INF/services/org.xwiki.component.annotation.ComponentDependencyFactory] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache app-xwiki | 2026-04-27 07:55:55,168 [main] INFO iPropertiesConfigurationSource - Loading [xwiki.properties] from [file:/usr/local/tomcat/webapps/ROOT/WEB-INF/xwiki.properties] app-xwiki | 2026-04-27 07:55:55,585 [main] INFO o.x.e.i.ServletEnvironment - Using permanent directory [/usr/local/xwiki/data] — Reply to this email directly, view it on GitHub <#285 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZM4H7UUL7C6NI3YFCTUAL4X4HPXAVCNFSM6AAAAACYGMXO2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DGMRVGIZDAMBTGY . You are receiving this because you authored the thread.Message ID: @.>

Alright, so I tried the following:

  1. Copy all required files .env compose.yaml
  2. Add the required TS_AUTHKEY
  3. docker compose up
  4. Let the thing run for 5 minutes or so
  5. Web interface stays on Initializing at around 50% and starts throwing errors in the backend

I will spin it up on another system later today, to validate if the issue is present there as well.

@crypt0rr
Copy link
Copy Markdown
Collaborator

crypt0rr commented Apr 29, 2026

Traced back the issue to local permissions. Working as it should!

SCR-20260429-raib SCR-20260429-rapd

@crypt0rr crypt0rr self-requested a review April 29, 2026 17:34
@crypt0rr
Copy link
Copy Markdown
Collaborator

Thanks again @michaelhodges 🔥

@crypt0rr crypt0rr merged commit 27084b6 into tailscale-dev:main Apr 29, 2026
1 check passed
@crypt0rr crypt0rr added the new service request to add a new service label Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new service request to add a new service

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants