dw-0 / kiauh

Klipper Installation And Update Helper
GNU General Public License v3.0
3.42k stars 496 forks source link

Adding client config failing on new install? #593

Open novaplusplus opened 3 weeks ago

novaplusplus commented 3 weeks ago

Linux Distribution

Raspberry Pi OS lite, 32-bit

What happened

On a brand new install, KIAUH v6 reported "[INFO] Another Client-Config is already installed! Skipped ..." when attempting to install the fluidd config file.

What did you expect to happen

Being allowed to install it when there's nothing there :shrug:

How to reproduce

Probably doing a fresh install and then add fluidd-config, haven't tried mainsail. I've done it twice so far with fluidd though (clean reinstall)

Additional information

I managed to make it work by simply commenting out the check here: https://github.com/dw-0/kiauh/blob/a63cf8c9d911d0a068dd126754dd64665df821ae/kiauh/components/webui_client/client_config/client_config_setup.py#L41

Then it properly loaded the repository and added it to moonraker.conf.

It's very possible I did something wrong when doing it the frist time but I'm not sure what step might have done so.

Stemolap commented 3 weeks ago

Debian 11 Bullseye Image for the SonicPad, freshly installed and updated. Using kiauh v6 generates same error both on fluidd and mainsail. image_2024-11-06_210958200

dw-0 commented 2 weeks ago

@Stemolap could it be, that both folders for the mainsail-config and fluidd-config exist, but your printer.cfg does not contain a [include mainsail.cfg] or [include fluidd.cfg] section?

Up until now i was not able to reproduce the issue, especially not on a fresh system.

MaroonOut09 commented 1 week ago

I'm having the same issue with a fresh install on Raspberry Pi OS Lite 64-bit (Bookworm).

I tried adding [include mainsail.cfg] and [include fluidd.cfg] to printer.cfg, and it did not resolve the issue.