Error livedata.error.updateEntriesFailed

Since upgrading from XWiki 14.10 to XWiki 16.10, on every page load we get an error popup at the bottom of the screen with text “livedata.error.updateEntriesFailed”.

I can see there’s an HTTP request to https://mywikiserver/rest/liveData/sources/liveTable/entries?timestamp=1747058622838&namespace=wiki%3Axwiki&sourceParams.template=xpart.vm&sourceParams.%24doc=Main.WebHome&sourceParams.translationPrefix=core.viewers.attachments.livetable.&sourceParams.vm=attachmentsjson.vm&sourceParams.queryFilters=currentlanguage%2Chidden&sourceParams.className=XWiki.AllAttachments&properties=mimeType&properties=filename&properties=filesize&properties=date&properties=author&properties=actions&offset=0&limit=5&sort=mimeType&descending= that returns a 404.

Earlier in the request history, I see another failing request to https://mywikiserver/rest/wikis/xwiki/localization/translations?locale=en&prefix=web.uicomponents.suggest.&key=selectTypedText that also returns a 404 – perhaps that explains why the actual error message isn’t shown but instead I just see “livedata.error.updateEntriesFailed”.

How do I fix both of these things?

  • The livedata error
  • The fact that the message isn’t localized properly

I’m running XWiki on Ubuntu using the packages from http://maven.xwiki.org stable/ and just updated with apt.

Thanks!
Frans

OK, this post seems to be about the same problem: a change is needed to web.xml to enable the livedata endpoints. Since we customized our web.xml, I didn’t accept the new web.xml from the Debian package, which seems to explain why it isn’t working now.

Presumably something similar is going on with localizations.