Activities Not Expiring

I set activity_expire_days to 1 in config/config.php and waited 24 hours. I expect old activities to be deleted, but they are still there.

I’m on version 22.2.8.

In debugging this problem, I found my log inundated with these debug message every few seconds.

“app”:“encryption”,“method”:“GET”,“url”:"/index.php/apps/logreader/poll?lastReqId=***",“message”:"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead."

When I delete app.php, archiving works: old activities are deleted. Yay!

However I get new errors in my logs. So I put back app.php, and of course errors went away. But now archiving doesn’t work again, sigh.

Can you check on your admin page, when the cronjob was run for the last time? These background jobs usually should manage all this and if they don’t run properly, that could be one explanation.

That’s it. It’s set to AJAX and not running. I’ll need to set it to a cron job.

Thanks!