Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The config changes in files_external does not come into effect immediately #33670

Open
skshetry opened this issue Nov 27, 2018 · 2 comments
Open
Labels

Comments

@skshetry
Copy link
Member

I am not able to reproduce this manually, but when writing acceptance tests, a force-scanned for files had to be done for the config to come into effect.

So, in tests, if you set the filesystem to be never scanned automatically, through:

./occ files_external:option <mount_id> filesystem_check_changes 0

and, if you create a file on the storage, it would be scanned and added to the filecache.

What O think is that, there is some time delay in between for the config to come into effect. Maybe, this is okay for real-world usages, but in tests, I had to force-scan for it to come into effect, through:

./occ files:scan --all

Opening this ticket, just in case it's a bug(but, it might be a bug in my code).

@phil-davis
Copy link
Contributor

Does this files_external:option put its setting into config.php ?
If that is where the setting is stored, then it might just be the delay for the changed config.php to be actually used by PHP.

@ownclouders
Copy link
Contributor

GitMate.io thinks the contributor most likely able to help you is @mmattel.

Possibly related issues are #9143 (Nginx Config Does Not Work), #14482 (Nginx config does not work), #27384 (config/ subdirectory does not need to be writeable), #22114 (apps_paths config option has no effect on assets), and #4104 (user_ldap backgroundworker does not pull config from database).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants