Error: Plugin not active: livesync

Hi,
We made some regular updates to our server that host Indico, basically these commands:

apt-get update
apt-get upgrade
apt-get dist-upgrade
reboot

and now have started to get these errors:
ValueError(‘Plugin not active: livesync’)

I see that under admin/tasks/ there is an entry for:
indico_livesync.task.scheduled_update. <crontab: */15 * * * * (m/h/dM/MY/d)>

but we’ve never had the livesync plugin enabled.
Any ideas what is going here?
Cheers

What does the PLUGINS config option in indico.conf contain?

PLUGINS = {‘payment_manual’, ‘payment_paypal’, ‘mlz_export’, ‘pirsa_integration’, ‘pi_services_requests’}

the last 2 are custom plugins

Do any of your custom plugins try to import indico_livesync by any chance? Just seach for livesync anywhere in those packages.

No , they don’t use it. Everything was fine up until last weekend when we applied the updates to the server. Could any of the updated libraries might be causing these issues?.
Why is the indico_livesync.task.scheduled_update task showing under the admin/tasks page even when the plugin is not enabled?

Try deleting /opt/indico/tmp/celerybeat-schedule.* - maybe you had the plugin enabled for a moment and then started celery. That the only explanation I see why that particular task would get registered. I recommend stopping indico-celery.service before deleting that file and starting it again afterwards.

Unfortunately that did not resolve it. Every 15 minutes the error gets logged.

I’ve resolved the issue by disabling the task in indico.conf:
SCHEDULED_TASK_OVERRIDE = {‘indico_livesync.task.scheduled_update’: False}
and this made it show as disabled under tasks:

but still wondering what suddenly started causing this issue and why the task is listed under the tasks page since we never enabled it. (It’s even listed under my development site and I definitely never enabled the plugin)