paukstelis / octoprint_deploy

Bash script for rapid deployment of multiple octoprint instance on a single machine
MIT License
389 stars 39 forks source link

Cannot install octoprint without printer connected #113

Closed fake-name closed 6 months ago

fake-name commented 10 months ago

Functionally the title.

I'm trying to get octoprint working on a SBC so I can validate some additional hardware accessories. I do not have the printer connected to the SBC at the moment.

Apparently you cannot deploy octoprint with this script without having it physically connected to the printer.

Anyways, I commented out a bunch of exit conditions in instance.sh and it finished fine, even with no printer present, and I now have octoprint happily running. I can now move on to dealing with getting some auxiliary relays to play nice with octoprint, before installing the entire hardware assembly into my printer's controller enclosure.

paukstelis commented 10 months ago

Apparently you cannot deploy octoprint with this script without having it physically connected to the printer.

This is incorrect. You can install OctoPrint and create a first instance without having a printer physically connected.

fake-name commented 10 months ago

If so, how?

If you answer no to the autodetection step, it kicks you back to the main menu. If it doesn't detect a usb-serial device, it also kicks you back to the main menu.

paukstelis commented 10 months ago

It works for the first instance created during preparation (if you want to start over: sudo octoprint_deploy/octoprint_deploy.sh remove). You start the auto-detection, let it time out. Then Y when ready to proceed.

image