You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
- /dev:/dev
- ./klipper/printer.cfg:/opt/printer_data/config/printer.cfg
- ./klipper/run:/opt/printer_data/run
- ./klipper/gcode:/opt/printer_data/gcodes
moonraker:
container_name: moonraker
image: mkuf/moonraker:latest
ports:
- "7125:7125"
volumes:
- ./klipper/moonraker.conf:/opt/printer_data/config/moonraker.conf
- ./klipper/run:/opt/printer_data/run
- ./klipper/gcode:/opt/printer_data/gcodes
mainsail:
container_name: 'mainsail'
restart: always
image: ghcr.io/mainsail-crew/mainsail
ports:
- '5000:80/tcp'
volumes:
- ./klipper/mainsail/config.json:/usr/share/nginx/html/config.json`
The text was updated successfully, but these errors were encountered: