I have installed Nextcloud Hub II (23.0.0) in a Docker environment. The data directory of NextCloud lists many log files named
binlog.00XXXX
files, each is 1GB large and it consumes almost all of my disk space.
I have found explanations on how to delete these log files by connecting to mysql using the mysql client and remove old logs by the following commands
sudo nextcloud.mysql-client -S /tmp/sockets/mysql.sock -u root
PURGE BINARY LOGS TO ‘binlog.0000XX’;
However, this does not seem to work with a dockerized installation?