mirror of
https://github.com/harry0703/MoneyPrinterTurbo.git
synced 2026-11-14 18:22:59 +01:00
When config.toml does not exist on the host, `docker compose up` creates an empty folder in its place and mounts it. load_config() then tries to remove that folder, but it is the mount point itself, so Linux answers EBUSY and the container restarts forever with "move or rename it, then restart", which cannot be done from inside the container (#1751). An EBUSY from rmdir now raises IsADirectoryError that says the folder came from Docker and how to fix it on the host: stop the containers, delete the empty config.toml folder, copy config.example.toml to config.toml, and start again.