-
Notifications
You must be signed in to change notification settings - Fork 793
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
Virtual files deleted after moving to its parent virtual folder #3296
Comments
Is there anything special about that file? I tried locally with a random file, but, couldn't get to reproduce it. Could you do a short screen recording of how this happens for you? (no worries about personal files, you can just use a random non-sensitive file to demonstrate it). Thank you in advance. |
Here a little video showing the issue. |
Here what I get in nextcloud.log :
|
@Athorus |
@allexzander |
|
|
One more comment, if I move the file with the webpage, everything is fine. |
I can confirm this. Same thing happens to me. First i created a folder then i moved a folder with in that i took all the file and moved them out of the folder and the client was showing syncing but the status never chnaged to show the cloud icon so then i moved them back to the original folder and all files are deleted. |
Also once i moved the files out of the test folder i cant even delete the folder looks like it locked it. I had to run the following commend into mysql DELETE FROM oc_file_locks WHERE 1; then i was able to deleted the folder. To me it seems like when yo have the vertual drive enabled and the files are not available locally and moved them around the client dose not properly do that because i dont see this issue happening when im using the regular file sync. I hope this helps |
I mean external storage set via plug-in with the same name. But, looks like you're not using it. |
Weird, the same scenario doesn't bring any issues in my case. Could you also share the logs archive created right after you've reproduced the issue? @Athorus Client logs, I mean. |
where are the client logs located and id be happy to share them |
@allexzander I’ve seen logs can be activated on the client side, I’m working on it. |
@AndyXheli press F12 to activate clients logs after opening the nextcloud window. |
@AndyXheli restart your NextCloud client if you don’t see logs. |
Here the logs from the client 20210512_1747_owncloud.log.0.gz |
Here are my logs |
Thx. Looks like I see what went wrong: Probably related to #3270 |
@AndyXheli Your logs seem very recent to me. I couldn't find lines similar to ones in my previous comment. Also, there is no CSYNC_INSTRUCTION_REMOVE in your logs. I guess, it's because they are just created and stored into a temporary folder, since you've used F12 and set that checkbox. Kindly uncheck it, and then, create a debug archive with your logs from the default location. You can do it via UI after unchecking the temporary folder checkbox and then restarting the app. Note: If the issue happened more than 24 hours ago, those logs are wiped already. In any case, I'd suggest you reproduce an issue again and then, create debug logs archive right away. Just to make sure we don't lose important lines and then I'll be able to check if your case is the same as the one that @Athorus encountered. Also, please state the file name that was deleted. |
I'll be working on fix later this week. Thank you for reporting. |
@allexzander here you go let me know if you need anything else. the issue happened about 2 hours ago from now hopefully its in the logs i just uploaded :) thanks for all your help :) |
@AndyXheli see #3440 |
Hello,
On Windows with file explorer, when I try to move a virtual file from a virtual folder to its parent one, the file is moved, then few seconds later, when the sync is finished, the file is deleted (I can restore it to its original folder thank to the web page). If I move a virtual file to a virtual child folder, the file is moved properly.
If I move files available locally, all works as expected.
I’m using Nextcloud 21.0.1 on Debian Buster for the server part and Windows client 3.2.1.
Regards,
David.
The text was updated successfully, but these errors were encountered: