Destroyed [Problem] Renaming one printer in Mainsail or Fluidd renames other printers too (markdown)

th33xitus
2022-10-08 13:15:32 +02:00
parent 4e00fe4c14
commit a8fe0984a4

@@ -1,25 +0,0 @@
When Moonraker introduced its database capabilities and therefore printer names were stored in them from there on, KIAUH wasn't updated fast enough to respect that changes in regards to multi-instance setups. Therefor manual intervention is necessary in that case.
### So in case you experience the issue that renaming e.g. printer_1 causes to rename printer_2 (3..4..n) too, you have to do the following:
Unless you don't want to delete your existing moonraker.conf files you have to edit them manually and add different `database_path` parameters to the configs. Otherwise, if you don't have customized your moonraker.confs any further any use them in their default state, you can also just delete them and re-install moonraker with KIAUH again. That's your choice.
If you want to edit the files manually, open up each moonraker.conf and put in the following line under the one where the `config_path` is specified:
`database_path: ~/.moonraker_database_$INSTANCE` where `$INSTANCE` is the number of that printer instance.
### Example:
If you have 4 instances set up, that means:
moonraker.conf in printer_1 needs:
`database_path: ~/.moonraker_database_1`
moonraker.conf in printer_2 needs:
`database_path: ~/.moonraker_database_2`
moonraker.conf in printer_3 needs:
`database_path: ~/.moonraker_database_3`
moonraker.conf in printer_4 needs:
`database_path: ~/.moonraker_database_4`
After that, restart all moonraker instances. You can do that from within the main menu of KIAUH. Just start KIAUH and type "restart moonraker" in the "Perform action" input where you usually put in a number.