/var/ocadta high amount of space


#1

Hello all:
I’m trying to free some space on the server and i found out that /var/ocdata has 5.0gb of occupied space. Even all our shares goes to a external file server (windows via SMB), we limited the file upload to 1mb on the local storage, however this directory contains all the users created in OC . thumbnails folders are the ones with more space.

I’m wondering if there is possible to purge thoses directories or redirect them.

thanks in advance


#2

You might want to try to disable the previews: in the ownCloud’s “config.php” file 'enable_previews' => false. It should be safe to remove all the thumbnails folders then, but just in case, make a backup first.


#3

Thanks for the response. May i delete only the thumbnails folders or all the folders inside /ocdata?

Cheers


#4

Only the thumbnails for now. The rest of the folder might contain different a type of information that might be required by other apps.