-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Mounted FTP-Server shows files not correctly #10916
Comments
No, problem is that the FTP stream wrapper doesn't provide the mtime of the folders, so update detection cannot work this way. Need to either switch to an alternative FTP implementation (ie rewrite) or find another way to detect updates. Mentioned here #6395 (comment) But let's keep this ticket here as it's more explicit. |
If I recall, there is a config file setting to update this behavior: on access, on first access, or never for a scan of the external storage system. Perhaps this is set to never? oC 6 external storage, and FTP in particular, worked by scanning everything on access. So this is either a bug, or the config file needs to be set to on access. |
where exactly is the config file and which properties do i have to set? i would test this. |
I see this in the config.sample.php here:
|
Since the default value seems to be 1, i don't think it's the problem. I do not override this value in my config.php. |
I have the same problem using 7.0.3 with filesystem_check_changes = 1 or 2. New file uploaded using an FTP client is not seen. If I run "php console.php files:scan --all", the file appears. As a workaround, I have set up a cron job in order to run this command periodically. The cron doc says (http://doc.owncloud.org/server/7.0/admin_manual/configuration/background_jobs.html) "ownCloud plug-in applications register actions with cron.php automatically to take care of typical housekeeping operations, such as garbage collecting of temporary files or checking for newly updated files using filescan() for externally mounted file systems.". So is this supposed to work without additional external cron? Thanks, |
Duplicate of #11797 |
OC 7.0.2
Steps to reproduce:
Current behaviour: OC did not recognize that FTP-Folder-Content changed and still shows me the message "All empty here - load up new files!"
Expected behaviour: After Pressing F5, OC should show me the created test.txt file
Possible cause: Caching?
The text was updated successfully, but these errors were encountered: