(2019-01-18)
Problem
Disk is full.
Solution
Empty trashbins# sudo apache php occ trashbin:expire
This deletes files which have been in the trash longer than controlled by config.php. By default it is applied to all users; you can specify individual users on the command line.
Trim File Versions# sudo apache php occ versions:expire
This deletes file versions which have been around longer than controlled by config.php. By default it is applied to all users; you can specify individual users on the command line.
Nuclear option# sudo apache php occ trashbin:cleanup
This deletes all files that are in the trash regardless of how long they have been there. By default it is applied to all users; you can specify individual users on the command line.
Similarly:
# sudo apache php occ versions:cleanup
Same as above, except removes file versions instead of emptying trash.
Commentary
Doing the :expire commands should never be necessary, it should happen periodically automatically.
When I upgraded a Owncloud 9.1.5 (EPEL) to Owncloud 10.0 (Owncloud) something started chewing up disk space something fierce -- like 1TB in 20 days fierce. Turns out that the cron job from the EPEL version was removed and I never added the one for the new version.
More information