This is a long standing bug in EE and there’s at least few mentions on this forum - it pretty much makes EE4 unuseable.
Here’s your issue. Because EE4 was built on a docker proxying to other dockers, there’s no centralised place for logs. This causes a huge issue that the proxy docker doesn’t know how big and where are the website logs. Unfortunately, the lack of support from EE contributors makes it hard to predict whether and if it ever will be fixed.
By saying that here’s what you need to manually clean:
- Nginx proxy logs are in /opt/easyengine/services/nginx-proxy/logs there are generally small but worth looking at
- Maria DB binary log - by default EE is logging binaries and these can grow very quickly, they’re here: /opt/easyengine/services/mariadb/logs Be very careful - you mustn’t remove files from there, please search on Google how to purge bin log
- The biggest pain in the bum - literally each of your sites will have Nginx and PHP log that have no limits which in some cases comes to tens of GB as I’ve seen (access log). They’re all here: /opt/easyengine/sites/EACHWEBSITE.COM/logs and you need to clean both nginx and php logs. IMPORTANT AGAIN: You cannot remove them, search on Google how to empty Nginx logs but do not remove as it will kill your nginx
The best part? You’ll have to do it manually over and over again every few weeks as there’s no solution so far. You can find a post on this forum how to disable MariaDB binary log so that should save you some space but so far no solutions for exponentially growing Nginx and PHP logs.
Good luck.