paukstelis / octoprint_deploy

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

Octoeverywhere: All printers share same config #85

Open jpapiez opened 1 year ago

jpapiez commented 1 year ago

How do we handle a plugin that requires unique configuration for each printer? In my case I'm trying to use OctoEverywhere and when trying to add the second printer it fails because the Octoeverywhere unique ID that's generated when the plugin is installed.

paukstelis commented 1 year ago

The simplest thing to do is to NOT install the plugin when you create your template instance (I am going to remove the cloud plugins in the future). Install it afterwards and each plugin will be configured separately.

For now, delete everything in the ~/.instancename/config.yaml related to octoeverywhere, or delete the plugin (and do clean up) the second instance. Restart. Then reinstall the plugin.

jpapiez commented 1 year ago

Thank you Paul! I went the4 second route.. uninstall the plugin and all data, then reinstall for each instance.

paukstelis commented 1 year ago

Thank you Paul! I went the4 second route.. uninstall the plugin and all data, then reinstall for each instance.

Fyi, no need to reinstall in both instances. Just reinstall in one and restart the other.