I'm running owncloud server 18.104.22.168 on Ubuntu 16.04.2 LTS. I have come to a situation where I only have 16MB of free space and cannot access the web interface of owncloud due to lack of space for proper webserver and database operation. I have deleted extra versions using occ versions:cleanup and emptied trashbin with trashbin:cleanup. Still that space was immediately used again when I tried to login via the web interface. Currently I cannot login into the web interface, in order to delete some files and free up space, because the database doesn't have enough space to work, so it seems I'm stuck. Also the database is taking 1.5GB which I find quite strange, specifically a single file is taking 1.3GB:
From what I read I shouldn't manually delete files from the data directory.
So my two questions are:
1 - How can I delete files stored with owncloud without access to the web interface in order to be able to finally use the web interface ?
2 - What could be the reason for a single database file to take so much space ?