Skip to content

Add automated maintenance#540

Open
Root-Core wants to merge 1 commit into
linuxserver:masterfrom
Root-Core:auto_maintenance
Open

Add automated maintenance#540
Root-Core wants to merge 1 commit into
linuxserver:masterfrom
Root-Core:auto_maintenance

Conversation

@Root-Core
Copy link
Copy Markdown

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description:

This is a subset of #523 which only handles the maintenance parts.

Benefits of this PR and context:

There are some tasks that need to run after upgrades:

  • occ db:add-missing-indices
  • occ maintenance:repair --include-expensive

They usually don't take much time, but improve the performance of NextCloud.
They also remove warnings in the admin panel.

There is also a "new" config variable "maintenance_window_start", which defines when non time critical tasks are run. This improves the performance and user experience: https://docs.nextcloud.com/server/28/admin_manual/configuration_server/background_jobs_configuration.html#maintenance-window-start

How Has This Been Tested?

I tested it on major upgrades and multiple restarts.

Source / References:

#523

https://docs.nextcloud.com/server/28/admin_manual/configuration_server/background_jobs_configuration.html#maintenance-window-start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants