-
Notifications
You must be signed in to change notification settings - Fork 671
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
[WinVFS] Opened files in virtual files system does not save when still open #9829
Comments
Update: We can't upload the file without out updating the db as the client would then detect a clash. New flow:
|
@TheOneRing can you port this bugfix as well to 2.10 branch? |
No if it would be a simple fix I would directly implement on top of 2.10. |
you sure it's only a problem when using ownclouds vfs implementation? I did some testing with an older version (2.8.1.4157) 2.8.1 with vfs enabled: 2.8.1 with vfs disabled: current with vfs enabled current with vfs disabled Appearently office applications have an unique way to handle files (I've seen similar reports from onedrive users). Possible that current behaviour with full sync is the consequence of merging implementation to fix a different vfs problem? |
It has nothing to do with office, but with how we handle locked files. |
office aside (that was not my point), the problem also occurs with full sync, so the title is misleading. (I didn't understand and still don't why issue contains vfs (suggesting it only occurs with vfs) when neither of the previous bug reports use vfs). Appearently 'how we handle locked files' changed in >=2.8.1 to fix a vfs problem (meta data error?) and that fix creates the 'file is currenly in use' problem on the full sync side which it shouldn't (it worked before). I'll track down the latest client version before that implementation and for the time being stay on that. Our environment went mental because sync was a mess. Users usually save files and don't exit the application but go to hibernation. Closing software has different drawbacks when using really big files. nota bene: nextcloud current (we use both) gives 'file currently in use' when using vfs but no error when using full sync (desired behaviour). |
I confirm what @stabledave reported: the issue with syncing locked files appears in version 2.9.2 also with plain non-VFS-enabled sync pairs. As a matter of fact, I never realized it despite running 2.9.x for months, simply because the "sync issues" are all grouped together, including permanent issues (e.g. files in the ignore list or symlinks) that I regularly ignore (and I have now customized the filter to hide such cases, so that real issues do trigger my attention ;-) ) |
tested 2.9.2, 2.9.1, 2.9.0, they all have the 'file currently in use' problem. |
I used 2.9.1 in the past, but can't confirm for sure this issue. Otherwise, I can confirm that 2.10.1 is also affected. |
I am using the latest version(3.2.0) and experience the same problem that the files are not synching if it is open in Microsoft Office product. Is this problem still not fixed? |
Fixed, but not released yet. You can test drive in the 4.0 pre-release builds: You can install the testpilotcloud builds, to not mess-up with your production-ownCloud client: |
Thanks for the info! May I ask when this 4.0 version will be released, approximately? To be on the safe side, I may just wait for the stable version, if it's coming in the near future. |
No ETA yet. Here you can find the open issues for 4.0: |
thanks. |
Please Test:
|
In version 4.0.0.10560-daily20230403
|
@jnweiger will help with Microsoft Office 2019/2021 |
@michaelstingl |
Confirmed fixed in 4.0.0-beta.2 |
Pre-submission Checks
Feature description
On Windows when using VFS don't upload files while they are locked.
This is due to the fact that we can't update the placeholder while it is locked and therefor the db and the vfs state can run out of sync.
Proposed solution
Upload the file anyhow, without updating the db or the placeholder.
This will result in one additional upload once the file is closed but it should restore the upload of auto saves.
Alternative solutions you considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: