-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DB logs are too big and crash Joomla #197
Comments
I am a docker-joomla images consumer too, using JBT, so it is an interesting question for me as well. From my observation, this issue does not seem to be related to the Joomla Docker image itself but rather to the database configuration:
Since I am working in a test environment, I simple disabled binary logging in my MySQL container by modifying the
If you are running a test or non-replicated environment, you might also consider disabling binary logging. Alternatively, you could configure the binary logging settings to optimize performance and storage, for example:
|
Is there something we can do to help with this? But yes I would agree that Joomla (image) does not manage the DB container directly and you should be able to add your own config to your DB setup to mitigate this log issue. |
My site is production. Is there any use for these binary files? I'm not an expert at this area. Would you please show me how to add these entries into the mysql configuration? |
Assume your database container is named
Now open my.cnf in your text editor, find line
Copy modified
|
In my Joomla docker container, there are two directories: db_data and Joomla_data What am I missing? I'm attaching a copy of my auto.cnf. |
|
Since moving from Joomla 4 to 5, I have noticed that the database uses too much space. This space is being used by the binary logs.
The files are so big, in the GB, rage for a small and fairly static site that it seems ridiculous. Is there a way to understand what these files are doing and if they are don't needed, how to turn them off so it doesn't keep using up disk space?
I've tried look in Joomla 5 administration to turn off logging but they don't seem to be related to the database itself.
Thanks.
The text was updated successfully, but these errors were encountered: