Closed LeeHeap closed 2 years ago
The instances should be created and assigned in the order they are typed into the prompt
The prompt only appears upon installing Klipper, the Moonraker installer doesn't make use of the input that was given there. Instead it looks for the installed Klipper services on the system, sorts them alphabetically and grabs their names. Then applies those names in order to the Moonraker instances. That is intended and not considered a bug.
You can change the port in each moonraker.conf
and make it match your likings.
Linux Distribution
Pi OS Lite
What happened
When using Kiauh to create multiple instances of Klipper and Moonraker with custom names, the instances are not necessarily created/assigned in the order they are requested; it appears they may be created in alphabetical order.
What did you expect to happen
The instances should be created and assigned in the order they are typed into the prompt
How to reproduce
Launch Kiauh and follow the normal steps to install 2 (or more) instances of Klipper. Answer yes when asked if you wish to use custom names. When inputting the custom names, supply names in reverse alphabetical order - for example use 'btest' for the first instance, and 'atest' for the second. Optionally install 2 instances of moonraker and install Fluidd. Once logged in you will see 'atest' is the first instance (listed first in Fluidd power controls, assigned port 7125 in moonraker). This should have been 'btest'.
To confirm this behaviour, launch kiauh and remove klipper/moonraker instances. Reinstall them but this time swap around the 'atest' and 'btest' instance names. They will still be created in the same way as before despite the names being changed around.
Additional information
No response