Skip to content
Alex Narvey edited this page Sep 8, 2024 · 2 revisions

Apache Log files filling disk

The apache2 access.log and error.log will grow and grow until they fill up all available space.

To clear them out, ssh into your Docker Droplet:

ssh root@123.456.78.90

Execute into the Docker instance:

docker exec -it bluesky bash

Check for the existence of the logs first:

cd /var/log/apache2

And remove the logs. They will get recreated by apache.

rm /var/log/apache2/access.log

rm /var/log/apache2/error.log