Jump to content

[SOLVED] /var/log is getting full and it looks like Docker is causing it

Featured Replies

Posted

Fix Common Problems sent me here as it is reporting that /var/log is getting full. I've attached my diagnostics zip and have also runthe command du -sm /var/log/* which gave this output:

 

0       /var/log/btmp
0       /var/log/cron
0       /var/log/debug
1       /var/log/dmesg
1       /var/log/docker.log
95      /var/log/docker.log.1
1       /var/log/faillog
1       /var/log/lastlog
0       /var/log/libvirt
1       /var/log/maillog
0       /var/log/messages
0       /var/log/nfsd
1       /var/log/nginx
0       /var/log/packages
1       /var/log/pkgtools
0       /var/log/plugins
0       /var/log/removed_packages
0       /var/log/removed_scripts
1       /var/log/samba
0       /var/log/scripts
0       /var/log/secure
0       /var/log/setup
0       /var/log/spooler
0       /var/log/swtpm
1       /var/log/syslog
5       /var/log/syslog.1
1       /var/log/wtmp

 

Any idea what could be causing the issue or how I can figure out which Docker image is filling the log?

 

Thanks.

 

 

tower-diagnostics-20210417-1047.zip

Edited by furtive
solved

  • Author

I think I've managed to answer my own question. The log for "Home Assistant-Core" is massive and full of errors caused by my AV receiver, so I've deleted that from HA and rebooted my server. Will see if it fixes the problem.

Edited by furtive

  • furtive changed the title to [SOLVED] /var/log is getting full and it looks like Docker is causing it
  • Author

Yup, that seems to have fixed it, so marking as solved.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...