The updating of the quota wasn’t working for some time, but updating via ‘occ’ worked fine, do I hadn’t taken the time to write up a bug report just yet.
But now things have taken a turn for the worst. My (admin) account is set 20 20Gb, it uses 8.7Gb and when I check via ‘occ’ all is well, but I can no longer add data to my account. Upon logging in to the web interface I saw that the web interface thinks I only am allowed to use 2Gb. More over, an other users shows my quota! But that user has a default quota of 200MB?
This I have tried to fix it:
- Alter all default quota to hard set quota of 200MB (changing ‘occ usage-report:generate’ that quota record from ‘200 MB’ to ‘209715200’ (bytes) => no effect
- altering various quota’s
that of me (the admin), even larger, smaler, keeps saying 2Gb
that of the (new) client, larger, smaller, keeps showing my usage and that 2Gb quota…
that of the only other user who has a 2Gb quota, changed it to 3Gb, that does take affect (as intended, just for that user…)
- removing all shares to other accounts => no effect
- as a last resort I have even tried to remove the account of the new client (was a demo account, it will become live after the holiday) showing my quota info => no effect
I have read of some quota problems with S3, might that be it? Is S3 not good enough built into Nextcloud to use? Or is there something wrong with my admin account?
There was an update to 24.0.3 and I have installed that update, hoping it might fix my problem.
I am not completely sure, but the web interface does now update the quota (checked via ‘occ user:setting [user name] files quota’)
But still the front end (and everywhere else that counts) keeps using that darn 2Gb (website, windows sync client) OCC does give the quota set by website/occ :-/
The strangest thing… I started to remove synchronization of data to my computer and remove the files and migrate it to the newly created personal account… guess what quota is OK now!?
I have the distinct impression it has something to do with S3 somewhere …
I fear S3 isn’t really the way to go… I think I’m going to have to revert to “old style”… maybe I’ll mount S3 as a drive… that might just give me the benefits of S3 and the redundancy of the HDD-config of Nextcloud…
Also, I have the distinct impression the updating/reading of quota has something to do with caching… maybe opcache?
I was having issues changing quotas while cron was running. At least, I think that’s what was causing the issues. I would raise my quota in the web UI or from occ but the web UI showed the old/smaller value and still said I was exceeding my quota, and I couldn’t create any new files. Once cron.php was done, everything started working again. That cron.php instance was purging 100s of GB of data from trashes, so it took a while. Maybe it locks some changes while it runs?
I’m running Nextcloud server version 24.0.3.