Release Blocker PR-5.0-dev Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
11 Sep 2023

Summary of Changes

Since some system plugin code is moved to tasks, the scheduler system plugin should be activate on update. When it is disabled, then we can run into the issue that the session table doesn't get cleaned up. We all know what the consequences are.

A reason to disable the system plugin is when sites are using the crontab feature of linux as it is more reliable that the lazy scheduler plugin.

This needs to be documented on docs.joomla.org. Any help would be appreciated for the documentation taskas it affects every site with a disabled scheduler system plugin.

Testing Instructions

  • Disable the system scheduler plugin on 4.x
  • Update to 5.0

Actual result BEFORE applying this Pull Request

Scheduler plugin is not activated.

Expected result AFTER applying this Pull Request

Scheduler plugin is activated.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar joomla-cms-bot joomla-cms-bot - change - 11 Sep 2023
Category SQL Administration com_admin Postgresql
avatar laoneo laoneo - open - 11 Sep 2023
avatar laoneo laoneo - change - 11 Sep 2023
Status New Pending
avatar laoneo
laoneo - comment - 11 Sep 2023

Marking it as release blocker.

avatar laoneo laoneo - change - 11 Sep 2023
Labels Added: Release Blocker PR-5.0-dev
avatar richard67
richard67 - comment - 11 Sep 2023

We need this plugin enabled only if there is no cli cron or webcron triggering the scheduler, is that right? If yes: Is there a way to determine if there is such an external trigger, e.g. a check when the scheduler has been triggered last time and a reasonable assumption how long that can be ago to know we have no external trigger?

avatar laoneo
laoneo - comment - 11 Sep 2023

I don't know exactly and have no time to do further investigation. All I know is that at least the session gc task must run periodically. So this here is the safest option. If you want to do some more enhanced checks, go for it.

avatar richard67
richard67 - comment - 12 Sep 2023

I don't know exactly and have no time to do further investigation. All I know is that at least the session gc task must run periodically. So this here is the safest option. If you want to do some more enhanced checks, go for it.

@laoneo Well, I think more enhanced checks might be possible but would be overkill. But maybe a postinstall message would make sense which notifies about the plugin being enabled with the update and in which case they might want to disable it? @HLeithner What do you think?

avatar HLeithner
HLeithner - comment - 12 Sep 2023

yes postinstallation message would make sense, at least for upgrades.

avatar HLeithner HLeithner - close - 12 Sep 2023
avatar HLeithner HLeithner - merge - 12 Sep 2023
avatar HLeithner HLeithner - change - 12 Sep 2023
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-09-12 14:35:47
Closed_By HLeithner
avatar HLeithner
HLeithner - comment - 12 Sep 2023

can we get a manual entry please

Add a Comment

Login with GitHub to post a comment