-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
deleted files reappear over and over #12281
Comments
GitMate.io thinks possibly related issues are #9523 (A file completely disappears after deleting from a group folder), #1708 (Sharing: Cannot delete files from share ), #11574 (After deleting image, the preview files remain forever), #4451 ("Delete Calendar" Issue), and #9594 (Unable to delete or create files). |
This is a really old and annoying problem that people are having since Owncloud. I had this problem and i am having it now again, same thing as you. Looks like is a problem in the Nextcloud client on Mac and Windows, i didn't have the problem with the client on Linux, and i dont have a Windows machine now to check, but years ago in the Mac client, i saw a option that solved the problem... |
I found some old notes about the owncloud check if works: Open the %LOCALAPPDATA%\ownCloud\owncloud.cfg |
I don't quite see how the promptDeleteAllFiles setting should make a difference. As far as I understand the source code, the client would issue a message box when this is true. When the setting is left out, it doesn't do so, however. I have this problem with a Nextcloud instance serving about 20 clients. It's extremely annoying and happens with a couple of files, especially folders, but the permissions on the server are ok, and so far I could not determine why these folders are "special". The client briefly issues a red warning and the log contains "Cannot remove directory". This seems to happen on every affected client. |
With one of the affected folders I get the following error for the parent(!) directory, when I delete it: ""disk_free_space(): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#299" With a debug statement I discovered that the path which is passed to |
I compared the sqlite databases from two clients synchronizing the same folders from the same server, one is reuploading a certain file, the other does not. The affected client's database contains additional files which have been deleted previously and don't exist on the server or the local folders anymore. I checked the metadata record of one of the affected files, and they are identical except for the "inode" column. The inode in the affected database is significantly higher. I don't know yet what this means, but it is a difference... |
the issue still remains even with group folders version 2.0.2 it is NOT client related because we don't use desktop client (only browser based access) files/folders are not deleted from the file tree /var/www/html/nextcloud/data/__groupfolders/groupname/trash/groupnumber |
There may be several causes leading to the same symptoms. In our case it's definitely the client because reinstalling the client helps. One of the most useful ways to investigate this issue is through watching the activity feed. Either on the web client or directly with the database. Normally some user will be associated with the reuploading. If not, there must be something happening on the server side. |
Do you still see this issue? Some issues with selected files and delete and restore operations were fixed recently. |
oh ghees.. since then I have upgraded to 17.0.2, but even in that version the issue still exists |
The issue with the deleted files coming back right? I'm asking because there are two more problems in this thread ;)
Thanks 👍 |
yes correct... same issue still exists like the post I made with the menu pictures. trying to delete a complete row of deleted files and using the top menu above it to seletec delete doesn't delete any of the files. there is a trick though.. if you select multiple files manually and then use the same menu to delete it actually works and the files are gone. |
@kesselb any clue? |
@skjnldsv No. |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
I seem to be getting this issue, not sure when it started but noticed it last week. I've tried deleting the files using select and delete on the webpage, delete on the single file on the webpage and though the sync client on linux, no errors or warnings on server or client but other users which the file is shared to are re-uploading the file after its deleted. |
We are also experiencing the exact issue @jmartin-oss is describing. |
cc @nextcloud/desktop ring a bell? Should this be in the desktop repo? |
At least it doesn't ring any bell to me... |
I upgraded NC to v19 and the issue still persists. For now, I detected that the issue is related with one user... In the audit log, you can see that once connected you can see that the client is polulating folders and pushig all the deleted files. Do you know anything that I can try to debug the problem? |
I am having the same issue anything I delete it restores files or folders. Never had this issue before, but I get an error saying error deleting https://cdn.discordapp.com/attachments/642060061988093953/771774802624905236/unknown.png |
Hey there we run on 18.0.9 (client 3.0.1) and having exactly the same problems. One client (was offline for a long time … like 2–4 weeks). Files deleted from other clients, were uploaded again from the "old" client when we startet it again. Do you need any further information or help to take a deeper look into that? |
The issue is still present on v19.0.5. These are my assumptions because I didn't fount any trace or error in the logs that can figure out why it's happening. |
This is occuring in 19.04 and clients 3.03. Major impact on our CAD files, used to validate products sent to customers. |
Same thing happened to the client on a laptop of mine that was offline for a few weeks/months. Even if the root cause is hard to fix, it would be extremely helpful if the client asks the user for confirmation before restoring multiple files at once. |
Same here: One Windows client constantly reupping files to shared folders/group-folders deleted by other users. |
We have the same issue in our company and it is really a big Problem for us. I don't really understand why this is not labeled as a high priority bug since it makes Nextclouds core functionality unusable!? The only thing we can't do reliably is saving and organizing data... |
Try to figure out which client is reupping the files. Completely deinstall and purge (!) that client including configuration data. I think that fixed it for us. |
@iljur Thanks for your suggestion! :) |
I have tried everything I can think of now... Configuration SetupMy system is running Docker version 20.10.12, nextcloud:apache, currently Nextcloud Hub II (23.0.0) with redis and Traefik in my docker-compose.yml on amd64 The only solution I can think of to solve this problem at the moment is to move away from Nextcloud which I really don't want to do because everything else is just so awesome :/ Will this issue be adressed again? |
nextcloud/desktop#3240 |
Experienced this, reinstalled windows client seemed to help. |
Hi, please update to 24.0.8 or better 25.0.2 and report back if it fixes the issue. Thank you! |
Hi, I'm experiencing this exact same issue on my instance. I'm running on v25.0.4. |
Steps to reproduce
We have a shared Folder, where we deleted files and directories. Not all clients are online at the same time.
In irregular intervals earlier deleted files and directories reappear over and over. We try to delete them, but don´t get rid of them.
Expected behaviour
Sync the local folder to the server state.
When ready: sync bidirectional.
You can not get rid of files or folders as long as at least one client which collaborate is offline and keep the deleted files. They get pushed back over and over and soon the offline clients get connected.
Actual behaviour
Sync bidirectional, pushing up all locally kept files/folders, which are not on the server back to it.
Server configuration detail
Operating system: Linux 4.15.0-1025-aws #25-Ubuntu SMP Wed Oct 10 14:23:49 UTC 2018 x86_64
Webserver: Apache/2.4.29 (Ubuntu) (apache2handler)
Database: mysql 5.6.10
PHP version:
7.0.32-3+ubuntu18.04.1+deb.sury.org+1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, apc, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, intl, json, ldap, exif, mcrypt, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, smbclient, soap, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, libsmbclient, Zend OPcache
Nextcloud version: 14.0.3 - 14.0.3.0
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: unknown
Signing status
Array
(
)
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption:
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Client configuration
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Operating system: Windows 10 Pro
The text was updated successfully, but these errors were encountered: