Closed lucassant95 closed 11 months ago
That's because you're bind-mounting the config file itself, and docker is preventing it from being moved.
If you instead mount the directory containing the file, Klipper can do all file operations within the directory.
Hey folks! I'm running this image of docker and I'm unable to save the configs. I'm getting this error:
ERROR:root:Unable to write config file during SAVE_CONFIG Traceback (most recent call last): File "/opt/klipper/klippy/configfile.py", line 416, in cmd_SAVE_CONFIG os.rename(cfgname, backup_name) OSError: [Errno 16] Device or resource busy: 'printer_data/config/printer.cfg' -> 'printer_data/config/printer-20231003_204248.cfg'
My compose:
`klipper: container_name: klipper image: mkuf/klipper:latest privileged: true volumes:
./klipper/gcode:/opt/printer_data/gcodes
moonraker: container_name: moonraker image: mkuf/moonraker:latest ports:
./klipper/gcode:/opt/printer_data/gcodes
mainsail: container_name: 'mainsail' restart: always image: ghcr.io/mainsail-crew/mainsail ports: