Setting up OctoPrint on TrueNAS Scale 25.04.0

I'm not even sure if I'm going to personally use this, but the more it didn't work the more I tried till I got the printer and usb webcam (Logitech Brio 500) working....

In short, for me...

Resources & Notes:

  • https://hub.docker.com/r/octoprint/octoprint
  • first it may sound obvious - BUT, it's been common to cover the +5v pin on Octoprint USB cables to stop the host powering the printer board when the printer is off so unless the printer is actually powered on the host USB device isn't recognised and will have issues building or running the APP.
  • imo leave Devices empty and Video Streamer unticked till it's all running then circle back to edit the APP and add the entries. it's less frustrating if it doesn't work first time.

TrueNAS:

  • Host Device & Container Device: /dev/ttyACM0
  • Host Device & Container Device: /dev/video0
  • Camera Device: /dev/video0

OctoPrint:

  • Octoprint>Server>Restart OctoPrint: s6-svc -r /var/run/s6/services/octoprint
  • Octoprint>Server>Reboot System: s6-svc -r /var/run/s6/services/octoprint
  • Features>Webcam&Timelapse>Path to FFMPEG: /usr/bin/ffmpeg
  • Plugins>Classic Webcam>Stream URL: /webcam/?action=stream
  • Plugins>Classic Webcam>Snapshot URL: http://(TrueNAS IP):(octoprint port)/webcam/?action=snapshot
  • Plugins>Classic Webcam>Advanced Options>Stream Timeout: 86400 (personal preference)

Might be obvious to some, but took me a little while to figure out with many of the guides being overly complicated since updates to OctoPrint.