# 18.2.0 on Debain 13.4 with xwiki-tomcat11-mariadb crashes with Error 500

**URL:** <https://forum.xwiki.org/t/18-2-0-on-debain-13-4-with-xwiki-tomcat11-mariadb-crashes-with-error-500/18358>\
**Category:** Help / Discuss\
**Tags:** installation, debian\
**Created:** [April 2, 2026, 12:57pm UTC](https://forum.xwiki.org/t/18-2-0-on-debain-13-4-with-xwiki-tomcat11-mariadb-crashes-with-error-500/18358 "2026-04-02T12:57:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![5Y54DM1N](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/5/73ab20/32.png) [@5Y54DM1N](https://forum.xwiki.org/u/5Y54DM1N)\
**Post date:** [April 2, 2026, 12:57pm UTC](https://forum.xwiki.org/t/18-2-0-on-debain-13-4-with-xwiki-tomcat11-mariadb-crashes-with-error-500/18358/1 "2026-04-02T12:57:47Z")

</div>

Hello everyone,

yesterday I tried to install xwiki on a new debian 13.4 virtual machine.  
After accessing xwiki in the browser I see an immediately Error 500.

I see no error during installation.

I followed this guide:  
[Installation using Debian/Ubuntu (.DEB) packages (XWiki.org)](https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationViaAPT/)

I tried  
xwiki-tomcat11-mariadb and xwiki-tomcat10-mariadb

After switching from stable to lts, the installation works just fine.  
After trying to figuring out what’s the problem is, I found this post. I looks pretty similar to the behaviour I am seeing.  
[15.9 on Debain 12.2 with xjetty package, crashes with Error 500 - Help / Discuss - XWiki Forum](https://forum.xwiki.org/t/15-9-on-debain-12-2-with-xjetty-package-crashes-with-error-500/13412)

A few weeks ago I installed stable xwiki-tomcat10-mariad (also an Debian 13.4 vm). This worked without any problems (xwiki version[18.0.1](https://extensions.xwiki.org/?id=org.xwiki.platform:xwiki-platform-distribution-debian-common:18.0.1:::/xwiki-commons-pom/xwiki-platform/xwiki-platform-distribution/xwiki-platform-distribution-debian/xwiki-platform-distribution-debian-common))

So I guess it has to do something with the updated packages for 18.2?

Errors:  
jakarta.servlet.ServletException: Failed to execute the action with name [view]  
com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL  
java.lang.RuntimeException: Failed to locate wiki descriptor for alias  
java.lang.NullPointerException: Cannot invoke “java.net.URL.openStream()” because “url” is null  
org.xwiki.wiki.manager.WikiManagerException: Failed to locate XWiki.XWikiServerClass document for wiki alias

Since I just started play around with xwiki, it’s not a big deal for me. I just wanted to let you know.

Best regards Christoph

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [April 2, 2026, 1:38pm UTC](https://forum.xwiki.org/t/18-2-0-on-debain-13-4-with-xwiki-tomcat11-mariadb-crashes-with-error-500/18358/2 "2026-04-02T13:38:26Z")

</div>

> [@5Y54DM1N](#):
>
> So I guess it has to do something with the updated packages for 18.2?

Yes, bad timing. It seems the new 18.2.0 version has serious problems with the Debian packages. See for [Xwiki won't start after upgrade 17.10.4 -\> 17.10.5 - #6 by vmassol](https://forum.xwiki.org/t/xwiki-wont-start-after-upgrade-17-10-4-17-10-5/18357/6) for more details.

---

<div class="post-metadata">

**Author:** ![NoFate2063](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/n/ecc23a/32.png) [@NoFate2063](https://forum.xwiki.org/u/NoFate2063)\
**Post date:** [April 4, 2026, 12:47pm UTC](https://forum.xwiki.org/t/18-2-0-on-debain-13-4-with-xwiki-tomcat11-mariadb-crashes-with-error-500/18358/3 "2026-04-04T12:47:52Z")

</div>

When will this problem resolved? Had ugraded my system this morning and xwiki stuck at 50%…

After a quick search I found out, that there is a database issue or whatever… Did a full rollback:

”apt install xwiki-mariadb-common=18.1.0 xwiki-common=18.1.0 xwiki-tomcat10-common=18.1.0 xwiki-tomcat10-mariadb=18.1.0”

And xwiki starts again. Fine.

---

<div class="post-metadata">

**Author:** ![imuser](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/i/848f3c/32.png) [@imuser](https://forum.xwiki.org/u/imuser)\
**Post date:** [April 8, 2026, 8:42am UTC](https://forum.xwiki.org/t/18-2-0-on-debain-13-4-with-xwiki-tomcat11-mariadb-crashes-with-error-500/18358/4 "2026-04-08T08:42:23Z")

</div>

I faced the same problem a few days ago and tried to fix it by changing stuff in the tomcat config.  
But nothing helped. So i decieded to reinstall it a few times and finally switched to xjetty. The xjetty installation workes completely fine.

---

<div class="post-metadata">

**Author:** ![Gechsign](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/g/90db22/32.png) [@Gechsign](https://forum.xwiki.org/u/Gechsign)\
**Post date:** [April 9, 2026, 7:46am UTC](https://forum.xwiki.org/t/18-2-0-on-debain-13-4-with-xwiki-tomcat11-mariadb-crashes-with-error-500/18358/5 "2026-04-09T07:46:13Z")

</div>

Same issue here. Problem is:

```auto
Apr 09 09:41:50 wiki tomcat10[714971]: 2026-04-09 09:41:50,479 [main] ERROR c.x.x.i.s.h.HibernateStore - Failed to find hibernate configuration file corresponding to path [/WEB-INF/hibernate.cfg.xml]

```

Solution: edit /etc/xwiki/xwiki.cfg. Change line to

```auto
# xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml
xwiki.store.hibernate.path=/usr/lib/xwiki/WEB-INF/hibernate.cfg.xml

```

Restart.

---

<div class="post-metadata">

**Author:** ![5Y54DM1N](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/5/73ab20/32.png) [@5Y54DM1N](https://forum.xwiki.org/u/5Y54DM1N)\
**Post date:** [April 13, 2026, 6:12am UTC](https://forum.xwiki.org/t/18-2-0-on-debain-13-4-with-xwiki-tomcat11-mariadb-crashes-with-error-500/18358/6 "2026-04-13T06:12:48Z")

</div>

It’s resolved in 18.2.1  
[Release Notes for XWiki 18.2.1 (XWiki.org)](https://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/18.2.1/)

I could sucessfully install xwiki again
