-
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
oC [7.0.2] Folder deleted after rename #10711
Comments
@schiesbn THX |
@christianrj are you able to reproduce this consistently ? Someone else reported something similar here: #9862 Did you rename the folder while one sync client was downloading/uploading it ? |
Yes. Maybe this has something to do with this #10743 ? |
Just noticed that these folders you are renaming are folders shared with you, is that correct ? Are you able to reproduce this consistently or does it randomly happen ? Note that the rename code path is different for shared folders. |
Haven't managed to reproduce this yet with shared folders, now trying to rename folders while having the sync client syncing. It is possible that for some reason the sync client decided to delete the folder due to concurrent action. @christianrj assuming that you couldn't reproduce the issue consistently and might be a race condition of some sorts. |
I haven't been able to reproduce the issue with folder deletion that lands in the trashbin, but I managed to make the sync client sometimes delete files if you rename folders while it is syncing: |
@PVince81 Another problem I found (oC 6.0.5): 1 - Created an account with 20 GB quota All of this was done via web interface. |
@jnfrmarks, can you try to reproduce the original issue (renamed folder ends up in trash bin). |
@PVince81 What do you think about the quota issue? There should be enough space for both, right? |
@karlitschek @christianrj has already raised this in a separate issue, possibly a trashbin size update issue. |
@craigpg I did not see the original problem testing from an ubuntu box. |
@christianrj when you renamed both folders, do you remember whether "PES" and "PRO" both had a spinner while the renaming was in progress or did the first one finish first and only then you renamed the second one ? Just to rule out concurrency. If this cannot be reproduced consistently, then it's likely to be a race condition of some sorts. Maybe someone else tried to access or rename that folder at the same time, or a weird side effect of concurrency somehow caused the folder to be deleted. I can't think of any code path that would make the code decide to delete the folder instead of renaming. |
@PVince81 No spinner and no sync occuring. |
Hello, I'm running here 7.0.4. I just renamed a folder in web interface and the contents dissapeared without a trace under deleted files. The sync client also happily deleted the files and I had to resort to using backups from yesterday. This is a serious issue I would say if the files randomly disappear like this. I was unable to reproduce the bug though. |
Closing as duplicate of #13391 where @MorrisJobke might be able to do further research on a local env where it happened, hopefully |
Steps to reproduce
Expected behaviour
The folder will be renamed and synced with the client
Actual behaviour
The renamed folder is deleted and moved to the trash bin
Server configuration
Operating system: CentOS 6.5 64 bit
Web server: Apache 2.2.27
Database: MySQL 5.5.39
PHP version: 5.5.16
ownCloud version: 7.0.2
ownCloud client version: 1.6.2 build 3463
Updated from an older ownCloud or fresh install: fresh
List of activated apps: Activity, Deleted files, Pictures, Share Files, Versions, Video Viewer, Disable Remember Login
The content of config/config.php:
Are you using external storage, if yes which one: no (dedicated hdd for data directory)
Are you using encryption: no
Client configuration
Browser: Chrome 37
Operating system: Windows 8.1 PRO 64 bit
Logs
Web server error log
ownCloud log (data/owncloud.log)
Browser log
Owncloud Client Activity log
The text was updated successfully, but these errors were encountered: