nextcloud / nextcloud/docker

Opcache revalidation impact on config changes

Open
#2,323 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

docs enhancement
Dominant language
Shell
Stars
7.4k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Since we have the cache revalidation time set to every 60 seconds, on-disk config changes don't take effect immediately.

We should probably document that somewhere[^imo]. :-)

Refs:

https://github.com/nextcloud/docker/blob/aaa667ad0d9600880abd4c2e98b44e569ecb9a32/Dockerfile-alpine.template#L97

https://docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html#revalidation

[^imo]: That or set it back to the default (2s).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Dockerfile-alpine.template at line 97 and the linked server tuning documentation on revalidation. Identify the appropriate project documentation location, explain that the image's 60-second revalidation delays on-disk config changes, and consider documenting the alternative default setting; done means the behavior and setting are clearly recorded.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.