Xwiki upgrade fails

What app is this about, and its version: xwiki 17.7.0~ynh1
What YunoHost version are you running: 12.1.33 (stable)
What type of hardware are you using: VPS bought online

Describe your issue

Failed to upgrade xwiki. There is an error in the update script

Share relevant logs or error messages

This is probably the relevant log message.
2025-11-01 07:20:21,881: WARNING - curl: (52) Empty reply from server

https://paste.yunohost.org/raw/ijukufivaw

Hello,

It’s probability a regression from the last change. Maybe I need to increase the timeout for curl.

I’ll write here when a fix is available

1 Like

Tried to make a fix here: Update by Josue-T · Pull Request #35 · YunoHost-Apps/xwiki_ynh · GitHub

1 Like

It’s ready on testing. Could you try again an upgrade with this command:

yunohost app upgrade xwiki -u https://github.com/YunoHost-Apps/xwiki_ynh/tree/testing
``
1 Like

the error is still there.
https://paste.yunohost.org/raw/ozeyuquyos

Thank you, could you share me the log that you have with this command:

tail -n 500 /var/log/xwiki/2025_11*.jetty.log

Note that I would need the log for the time while the upgrade was failing, so maybe the command need to be adapted.

sure

Thank,

Can you share me all content of /var/log/xwiki/2025_11_02.jetty.log, with this command:

cat /var/log/xwiki/2025_11_02.jetty.log

Thank you for then answer. Well, we won’t get the issue this way because the log a removed by the restore… So what I propose to get the log, is to try an upgrade (which will fail and be restored) and at the same time, try to get the log this way with this command for the time of the upgrade:

tail -n0 -f /var/log/xwiki/2025_11*.jetty.log