Trying to move my octoprint from windows to docker on linux. Printer works great on windows octoprint, just looking to move it off the windows box since its the only thing running on the windows box anymore. Moved to linux.
What is the problem?
Trying to get octoprint docker to see usb printer.
What did you already try to solve it?
uncommented dev/ttyACM0:/dev/ttyACM0
- no luck, also tried - /dev/ttyUSB0:/dev/ttyUSB0
tried using python -m serial.tools.miniterm
to get usb returns /dev/ttyS0 thru /dev/ttyS31 - all say 'N/A'
running lsusb
returns Bus 001 Device 006: ID 1a86:7523 QinHeng Electronics CH340 serial converter, which only appears when the printer is plugged in, so believe is the printer.
Systeminfo Bundle
You can download this in
octoprint-systeminfo-20240407040642.zip (8.4 KB)
OctoPrint's System Information dialog ... no bundle, no support!)
system info attached
Additional information about your setup
OctoPrint version: 1.9.3, printer: Ender 3, operating system: pop os 22.04, docker desktop v4.28.0
Docker compose
version: '2.4'
services:
octoprint:
image: octoprint/octoprint
restart: unless-stopped
ports:
- 80:80
devices:
# use `python -m serial.tools.miniterm` to see what the name is of the printer, this requires pyserial
- /dev/ttyACM0:/dev/ttyACM0
# - /dev/video0:/dev/video0
volumes:
- octoprint:/octoprint
# uncomment the lines below to ensure camera streaming is enabled when
# you add a video device
#environment:
# - ENABLE_MJPG_STREAMER=true
####
# uncomment if you wish to edit the configuration files of octoprint
# refer to docs on configuration editing for more information
####
#config-editor:
# image: linuxserver/code-server
# ports:
# - 8443:8443
# depends_on:
# - octoprint
# restart: unless-stopped
# environment:
# - PUID=0
# - PGID=0
# - TZ=America/Chicago
# volumes:
# - octoprint:/octoprint
volumes:
octoprint: