S3 as primary storage not cleaned, suspect issue with cron on one.com - missing posix



Here is my setup:
Latest Nextcloud running on one.com, S3 as primary storage (wasabi).

Storage usage is not decreasing when removing files - not even after 2-3 days

I suspect that its a problem with cron - running it either as webcron or ajax makes no changes, i do get and error with cron saying that it havent run correct in XX days.

I tried to run occ to run cleanup command, but here i get:
The posix extensions are required - see https://www.php.net/manual/en/book.posix.php

Running php cron.php - gives the same error.

I have contacted one.com to hear if it can be resolved to get posix support

Since i do have SSH, i tried compiling another php, but that lead to whole new problems.

./php-cgi7.4 cron.php
X-Powered-By: PHP/7.4.25
Content-type: text/html; charset=UTF-8

Fatal error: Uncaught Error: Call to a member function getLogger() on null in /customers/f/1/0/DOMAIN/httpd.www/cloud/cron.php:165 Stack trace: #0 {main} thrown in /customers/f/1/0/DOMAIN/httpd.www/cloud/cron.php on line 165

Any suggestions here ?

Ok, so an update here.

Cron issue was resolved - missing php module on the shared hosting.

And after spending (way to much) time on Github reading thru the different reports on S3 it honestly scares me - It seems to me that we have some rather big bugs.

  1. Uploads can fail and leave alot of dead files on the S3… eg. on my test, my users have 11gb data… but it takes 19gb on the S3… logically i could go thru the DB manually and compare files - but i shouldent have to.

  2. If you delete a user WITHOUT deleting the users data - the users data will just hang there… without no way of cleaning it.

  3. occ commands does not help clean the S3 storage.

I think it would be wise to create some kind of script that looks in the db and compare it to the s3 storage to clean up the storage… and offcourse fix above bugs.