doku
doku copied to clipboard
Can't analyse disk usage
Hi, I can't make this container to work. I'm running Debian 12 with python 3.11 and Portainer 2.33.1. To run this container I'm using a following docker compose:
version: '3.3'
services:
doku:
image: amerkurev/doku
container_name: doku
restart: always
ports:
- '2145:9090'
volumes:
- '/var/run/docker.sock:/var/run/docker.sock:ro'
- '/:/hostroot:ro'
After starting the container I get a following log and Doku shows only overlay2 graph:
2025-09-16T14:15:08.793845669Z INFO: DF scanner started (system df + logfiles).
2025-09-16T14:15:09.475323360Z Traceback (most recent call last):
2025-09-16T14:15:09.476093784Z File "<frozen runpy>", line 198, in _run_module_as_main
2025-09-16T14:15:09.476110491Z File "<frozen runpy>", line 88, in _run_code
2025-09-16T14:15:09.476125524Z File "/usr/src/app/scan/df.py", line 41, in <module>
2025-09-16T14:15:09.476135185Z main() # pragma: no cover
2025-09-16T14:15:09.476139352Z ~~~~^^
2025-09-16T14:15:09.476143325Z File "/usr/src/app/scan/df.py", line 24, in main
2025-09-16T14:15:09.476147447Z scanner.scan() # run once immediately
2025-09-16T14:15:09.476151868Z ~~~~~~~~~~~~^^
2025-09-16T14:15:09.476155849Z File "/usr/src/app/scan/scanner.py", line 77, in scan
2025-09-16T14:15:09.476160095Z df = DockerSystemDF.model_validate(data)
2025-09-16T14:15:09.476164365Z File "/usr/local/lib/python3.13/site-packages/pydantic/main.py", line 627, in model_validate
2025-09-16T14:15:09.476168839Z return cls.__pydantic_validator__.validate_python(
2025-09-16T14:15:09.476172812Z ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
2025-09-16T14:15:09.476176644Z obj, strict=strict, from_attributes=from_attributes, context=context
2025-09-16T14:15:09.476180572Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-16T14:15:09.476184531Z )
2025-09-16T14:15:09.476188156Z ^
2025-09-16T14:15:09.476191839Z pydantic_core._pydantic_core.ValidationError: 1 validation error for DockerSystemDF
2025-09-16T14:15:09.476195768Z BuildCache
2025-09-16T14:15:09.476199468Z Input should be a valid list [type=list_type, input_value=None, input_type=NoneType]
2025-09-16T14:15:09.476203396Z For further information visit https://errors.pydantic.dev/2.10/v/list_type
2025-09-16T14:15:09.577963284Z 2025-09-16 14:15:09,577 WARN exited: df-scanner (exit status 1; not expected)
2025-09-16T14:16:33.041625995Z INFO: 17 bind mounts scanned. Total size: 2.2 GB. Elapsed time: 110.22 seconds.
2025-09-16T14:16:33.402024961Z INFO: Scanning overlay2 storage driver...
2025-09-16T14:16:42.266743224Z INFO: 838 overlay2 layers scanned. Total size: 81.0 GB. Elapsed time: 8.86 seconds.
I have no idea what I did wrong or what else should I attach to this report.