I asked too much of my owncloud installation and added a folder that had a couple hundred thousand files in it(archived website data). now, the client crashes right after syncing and the web interface is stuck on an endless activity wheel on the folder after I tried to deleted it.
I also tried removing the folder from the owncloud folder before starting the client again but it still crashes.
How can I remove that folder and get the server and client to realize it’s gone?
I’ve deselected it from the client and the client no longer crashes but I can’t remove the folder from the server via the web interface. The page just continually shows the rotating action image but if I wait hours and open another browser tab to look at my file list, the folder is there and it’s still the same size(18GB).
I’d like to entirely remove it. Should I just go from folder to folder inside of it and delete them separately? I haven’t done that yet because that could take A LOT of time.
Maybe it could also help if you share which database you have used for the installation. If you’re e.g. using SQLite and no redis for file locking then you probably just have hit the limit of SQLite with the couple of hundred thousand files.
You can try to disable the trashbin app and then remove the folder. Note that the folder will be permanently deleted. Then you can reenable the trashbin app.
The trashbin app moves the deleted files to the trashbin instead of let them be removed. For big folders like yours, this could be slow because ownCloud will need not only to move the files physically to another location but also to update the DB entries with the updated information.
The delete operation should be faster without the trashbin, it might still not be immediate though
Hi there and thanks very much for all the help.I ended up working entering each folder recursively and attempting to delete until it could handle. It took a couple hours but now it’s done.
I think I need to change my goals to trying to make the server-side work better. I’m going to start by researching the suggestions at the top: