getData: Failed to get data cache for widgetId 126, e = Cache not ready

To be completed by the original poster:

CMS Version

Version 4.0.12

Player Type

Linux/Windows

Player Version

1.8-R8/ v4 R402

Issue

I have the problem, that I can´t get the data from an RSS feed to my displays.
It always says that the data chache for the widget is not ready

I´ve searched other topic with the same problem but didn´t find the solution. Some topics said that this issue should be cleared by now if I understood that correclty but I am not sure why I have this problem
My cms is running on a Ubuntu system.

Okay after reading a lot of similar topics here I think the problem is with the tasks which are currently not running and I don´t know how to get them to run.
I have made an error log with the debug mode but I need help with understanding it. Maybe someone can help me here.
log.pdf (67.7 KB)

**UPDATE
I´ve forgot to configure XTR now most of the tasks are running but the sync widget task is still stuck.

Hi
I’ve the same problem on CMS Version 4.0.15

log says
“getData: Failed to get data cache for widgetId 182, e = Cache not ready”
“Run: Exception: Cache not ready”

and RSS feed doen’t works.
If the layout is republished , it’s works fine but only for a day .

My guess is that that there is something worng the Widget Sync Task, because it is always stuck in the running status. Sadly I have no clue why.

Same problem…

Xibo Docker 4.1.1 in Ubuntu Server 24.04.1

Installing and configuring XTR on Docker should not be necessary, so I’m unable to assist with that setup.

For non-Docker installations, please check the following:

  • Ensure that all required PHP modules are installed.
  • Verify that the user running xtr.php via cron has the appropriate permissions. This user should either have the same permissions as the web server’s user account or belong to the same group (so XTR can update cached files).

For example, if your web server runs under the www-data user and the cron job for xtr.php (e.g., /usr/bin/php /home/to/someUser/xibo/bin/xtr.php) is executed by someUser, make sure someUser is added to the same group as www-data.

If this won’t fix it, check and/or post the php logs here :slight_smile:

I use a shared hosting and run the XTR job via a cron-job. This is working fine, but after a day the RSS feed is stopped to display.The following message appear in the log:

getData: Failed to get data cache for widgetId 991, e = Cache not ready

Then the ’ No data message’ will be displayed instead of the RSS feed. Any idea?

Is something wrong with the task ‘Widget Sync’ or ‘Drop Player Cache’?

The next ‘Drop Player Cache’ task will run 1-1-2026. That is a long time.

There are a several reasons behind the cache-related message. I’m sorry I can’t assist with this one right now.

  • The Drop Player Cache in 2026 isn’t the issue here.
  • As for the Widget Sync, make sure the last status has a checkmark.

One of dans recent commits from about two months ago has a comment that addresses your issue / or may already fixed it.

Also, you might want to check these posts and report back if they solved your problem:

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.