High disk usage

Hi, anyone know why my homarr docker container would bloat and use up any free HDD space? Earlier today it was sitting at 79G disk usage until I restarted it... - OS: Ubuntu 24.04 LTS (Proxmox VM) - Homarr Version 1.4.0 - Can't attach the logs. They include private keys for the integrations, and seem to go on forever. Found the disk usage was in /var/lib/docker/containers, and ran the following to find the culprit:
root@docker01:/var/lib/docker/containers# du -sh */
112K 088bb0fd6dd20b3edf6735af4b2d4c211ed8ee5ca4e15a4250de3850703a5160/
216K 17f0258439e0ccf3f4d1b80f256cdc3e3208fd62acbb3ee94e28a23dd6ea37a2/
52K 3126b1a7e480447e993e9596e162b95e7a690d164d75917e629045f73e3e9b49/
160K 5c014b401e6cbad2b4469e3b1fc086552a4c16c3cc71806b1b60326107197f5a/
44K 5d615a612af17be82a91b176a07f7f73636c2b6426574b112d15d19f2dd25054/
84K bbd7c2cc225ed7adaa9c1c8cdd7418ad06e98b777150c887ede3d592f90ba8e0/
79G d22e1d61da48a65cf4a9613660ebaffc0eb1c10e2a959cbc140bb0e7d0bd26ea/
1.8M ee993e0f999ad1c5ac9dd9b82ab2e3469629387995e0c5c3093f23cb4432f343/
132K f6dc826e53ddcaa2e3afd2c8924080df944e13757f9a2bbac663981343de0d93/
root@docker01:/var/lib/docker/containers# du -sh */
112K 088bb0fd6dd20b3edf6735af4b2d4c211ed8ee5ca4e15a4250de3850703a5160/
216K 17f0258439e0ccf3f4d1b80f256cdc3e3208fd62acbb3ee94e28a23dd6ea37a2/
52K 3126b1a7e480447e993e9596e162b95e7a690d164d75917e629045f73e3e9b49/
160K 5c014b401e6cbad2b4469e3b1fc086552a4c16c3cc71806b1b60326107197f5a/
44K 5d615a612af17be82a91b176a07f7f73636c2b6426574b112d15d19f2dd25054/
84K bbd7c2cc225ed7adaa9c1c8cdd7418ad06e98b777150c887ede3d592f90ba8e0/
79G d22e1d61da48a65cf4a9613660ebaffc0eb1c10e2a959cbc140bb0e7d0bd26ea/
1.8M ee993e0f999ad1c5ac9dd9b82ab2e3469629387995e0c5c3093f23cb4432f343/
132K f6dc826e53ddcaa2e3afd2c8924080df944e13757f9a2bbac663981343de0d93/
Then I found the name of the container using the disk space:
root@docker01:/var/lib/docker/containers# docker ps -a --filter "id=d22e1d61da48a65cf4a9613660ebaffc0eb1c10e2a959cbc140bb0e7d0bd26ea" --format "{{.ID}} {{.Names}}"
d22e1d61da48 homarr
root@docker01:/var/lib/docker/containers# docker ps -a --filter "id=d22e1d61da48a65cf4a9613660ebaffc0eb1c10e2a959cbc140bb0e7d0bd26ea" --format "{{.ID}} {{.Names}}"
d22e1d61da48 homarr
There were some integrations with bad config (wrong DNS entry), but it seems weird that the homarr container should use 79G of disk space anyway... Docker compose config in comments.
Solution:
See https://github.com/homarr-labs/homarr/issues/2204, please limit the log size on your host. Also, we reduced the logging for the next release.
GitHub
Issues · homarr-labs/homarr
A modern and easy to use dashboard. 14+ integrations. 10K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration. - Issues · homarr-labs/homarr
Jump to solution
4 Replies
Cakey Bot
Cakey Bot5d ago
Thank you for submitting a support request. Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
TheSimplier
TheSimplierOP5d ago
Here's my docker compose:
#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
image: ghcr.io/homarr-labs/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- ./homarr/appdata:/appdata
environment:
- SECRET_ENCRYPTION_KEY=xxx # <--- can be generated with `openssl rand -hex 32`
labels:
- "traefik.enable=true"
- "traefik.http.routers.homarr.rule=Host(`homarr.local.example.com`)" # I have an actual domain here
- "traefik.http.routers.homarr.entrypoints=https"
- "traefik.http.routers.homarr.middlewares=authelia@docker"
- "traefik.http.routers.homarr.tls=true"
- "traefik.http.services.homarr.loadBalancer.server.port=7575"
networks:
- proxy
# ports:
# - '7575:7575'

networks:
proxy:
external: true


#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
image: ghcr.io/homarr-labs/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- ./homarr/appdata:/appdata
environment:
- SECRET_ENCRYPTION_KEY=xxx # <--- can be generated with `openssl rand -hex 32`
labels:
- "traefik.enable=true"
- "traefik.http.routers.homarr.rule=Host(`homarr.local.example.com`)" # I have an actual domain here
- "traefik.http.routers.homarr.entrypoints=https"
- "traefik.http.routers.homarr.middlewares=authelia@docker"
- "traefik.http.routers.homarr.tls=true"
- "traefik.http.services.homarr.loadBalancer.server.port=7575"
networks:
- proxy
# ports:
# - '7575:7575'

networks:
proxy:
external: true


After some further investigation it seems the issue is because of the docker log file, and the bad endpoint for my integrations. Homarr seems to spit out the logs as fast as it possibly can when trying to reconnect to an integration.. I will try to fix the issues with my integrations and see if the log stops. The log stopped after fixing the integrations. It went from about 100MB / minute to nothing. Seems excessive to log this much... ?
Solution
Manicraft1001
Manicraft10014d ago
See https://github.com/homarr-labs/homarr/issues/2204, please limit the log size on your host. Also, we reduced the logging for the next release.
GitHub
Issues · homarr-labs/homarr
A modern and easy to use dashboard. 14+ integrations. 10K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration. - Issues · homarr-labs/homarr
TheSimplier
TheSimplierOP3d ago
Alright, good to see the issue is flagged already :) Thank you!

Did you find this page helpful?