With php APCu caching enabled in nextcloud, the quota/used-storage reporting UI in the Files app is broken.
Steps to reproduce:
- Open Files app
- Upload a file with a known size
- Reload page or click on the quota UI in the bottom of the left sidebar to reload it.
- The used storage shown in the UI hasn't changed
Removing a file works to reproduce as well.
The used storage is updated after restarting php-fpm on the server and then reloading the page. That's because restarting php-fpm clears the APCu cache.
Disabling the APCu cache fixes the bug, now the storage is updated immediately after adding/removing files.
Tested with apache + php-fpm 8.3.17, and Nextcloud 31.0.1, as well as Nextcloud 30.0.7
With php APCu caching enabled in nextcloud, the quota/used-storage reporting UI in the Files app is broken.
Steps to reproduce:
Removing a file works to reproduce as well.
The used storage is updated after restarting php-fpm on the server and then reloading the page. That's because restarting php-fpm clears the APCu cache.
Disabling the APCu cache fixes the bug, now the storage is updated immediately after adding/removing files.
Tested with apache + php-fpm 8.3.17, and Nextcloud 31.0.1, as well as Nextcloud 30.0.7