Closed ramonskie closed 1 year ago
moonraker.conf also needs to be updated. The current kiauh moonraker install creates a moonraker.conf file with depreciated config sections that prompt errors.
yes i am aware and i am already working on the changes, im just not so fast š and i want to make sure i don't push garbage code to the repo
yeah i just happened to run it to it when i did a complete reinstall.. so just wanted to give a headsup.. no rush here as i got it working manually..
@ramonskie can you provide how did it manually?
i ran ./kiauh.sh
choose the settings option
change the folder from /home/username/klipper_config
to /home/username/printer_data/config
copy klipper_config to the printer_data/config
also change the the path to gcode_files
to printer_data/gcodes
i removed the deprecated settings from moonraker.conf.but for some reason it still shows up as a warning. but the printing works fine from this point on.
maybe this change from klipperWrt repo will help https://github.com/ihrapsa/KlipperWrt/commit/31e837c0f748d06f9f27242db81d9396d180053b
@th33xitus hope it helps
@cristiantrif thanks for the link. i already made those changes to kiauh locally. the "problem" is, that kiauh has become much more complex over the time, so i have several other spots to change if i don't want to partially disable functions for the meantime (which i actually don't intend to but maybe its necessary).
@th33xitus maybe is easier to use an older version of moonraker for now
@th33xitus maybe is easier to use an older version of moonraker for now
the only problem with this is all the auto update scripts for this.+ the moonraker update should just be considered a breaking change from this point
Personally, i consider it a breaking change, yes. I will also increase KIAUHs major version to version 5 once im ready to push the changes. I won't implement functions to convert old/legacy setups to the new file structure introduced by Moonraker. It's just way too much work and re-installing all components will be much faster in the end.
@th33xitus sounds good for me
@ramonskie thx for the instruction but for me I'm still getting the error "Moonraker requires sudo permission to update the system service. Please check your notifications for further intructions." ((( I can't edit any files with fluidd
@ramonskie thx for the instruction but for me I'm still getting the error "Moonraker requires sudo permission to update the system service. Please check your notifications for further intructions." ((( I can't edit any files with fluidd
try with this port http://192.168.0.XXX:7125/ give password if moonraker request it if your user is named "pi" sudo chown -R pi /home/pi/printer_data
i ran
./kiauh.sh
choose the settings option change the folder from/home/username/klipper_config
to/home/username/printer_data/config
copy klipper_config to the printer_data/config also change the the path togcode_files
toprinter_data/gcodes
i removed the deprecated settings from moonraker.conf.but for some reason it still shows up as a warning. but the printing works fine from this point on.
+1 on this working
I got it running without error and without using a password, have not printed anything yet but it reads the printer and sends commands to the printer like home and move x, y, z
what I did was take the printer.cfg that is in the ~/klipper_config/ directory and modified it like this
then I put all my printers config in the /home/USERNAME/printer_data/config/printer.cfg file
Dont know if this will help anybody, just a quick and dirty way I got it working till they get things worked out
You also have to change the path for the Vertual sd card in mainsail.cfg to the correct place also /home/USERNAME/printer_data/gcodes
try with this port http://192.168.0.XXX:7125/ give password if moonraker request it if your user is named "pi" sudo chown -R pi /home/pi/printer_data
I'm trying this several times any passwords are not accepted(from user, from root)
try with this port http://192.168.0.XXX:7125/ give password if moonraker request it if your user is named "pi" sudo chown -R pi /home/pi/printer_data
I'm trying this several times any passwords are not accepted(from user, form root so the user you used to run/install kiauh should have sudo rights and use that users password in the moonraker_url:7125
I started with a clean ARMBIAN system (debian ARM on a Android TV Box, it's similar to Raspberry OS)
installed Kiauh and than I proceded in this way
maybe who known how set sudo password for moonraker in ubuntu?
I put correct password but it's not work(((
omg
in my system lost+found
directory doesn't exist
sudo mkdir /lost+found
resolve issue
nice find.
but why would the code depend on /lost+found
@th33xitus
@ramonskie you're asking the wrong person. that is moonraker source code. i can't answer that question.
Is there an ETA for the new KIAUH version?
Iāļ½ very interested in this topic for multiple intances. How do you plan filenames and directory structures?
for example: ~/printer_data/config/printer_1.cfg or ~/printer_1_data/config/printer.cfg
How do you plan filenames and directory structures?
It will definitely be in the form of ~/printer_1_data/config/printer.cfg
. This file/folder-structure will be easier to handle in the long-term.
No ETA so far. I hope i can get something published this week, maybe a temporarily slimmed down version of KIAUH at least where the most important components like Klipper, Moonraker, Mainsail and Fluidd completely work and the other ones are temporarily disabled until i caught up and applied the changes to them as well. It will probably also include some talking to other devs, especially for Obico and the Telegram Bot.
Thank you.
What is the possibility of pinning the version of moonraker to the last known good version until a fix is worked on? May be something to checkout a specific version of moonraker.
I just merged the following PR: https://github.com/th33xitus/kiauh/pull/245
Please ALL read the changelog carefully: https://github.com/th33xitus/kiauh/blob/v5.0.0/docs/changelog.md#2022-10-20
For now Kiauh v5 doesn't support everything, so with a clean OS
cd ~
rm -rf ./kiauh
git clone https://github.com/th33xitus/kiauh.git
./kiauh/kiauh.sh
install only Klipper, Moonraker, Mainsail, Fluidd.
backup kiauh 5
mv ./kiauh ./kiauh5
install Kiauh 4
git clone https://github.com/th33xitus/kiauh.git -b v4
./kiauh/kiauh.sh
install Klipperscreen, PrettyGCode, MJPEG-Streamer, Gshell command
return to kiauh 5
mv ./kiauh ./kiauh4
mv ./kiauh5 ./kiauh
If Klipperscreen or others recreate old directories (ex. "klipper_config")
mv -v ~/klipper_config/* ~/printer_data/config/
mv -v ~/klipper_logs/* ~/printer_data/logs/
rm -rf ~/klipper_config
rm -rf ~/klipper_logs
sudo ln -s /home/pi/printer_data/config /home/pi/klipper_config
sudo ln -s /home/pi/printer_data/logs /home/pi/klipper_logs
If there where Webcamd issues: with Kiauh4
mv ./kiauh ./kiauh5
mv ./kiauh4 ./kiauh
./kiauh/kiauh.sh
remove MJPG-Streamer reinstall MJPG-Streamer. return to kiauh 5 (see above)
All tested with Armbian on TV Box Allwinner H6 (T95 max) and webcam Microdia N5 (Sonix_Technology).
I just merged the following PR: #245
Please ALL read the changelog carefully: https://github.com/th33xitus/kiauh/blob/v5.0.0/docs/changelog.md#2022-10-20
Just add a path patch script for V5.0.0.
For machines that installed V4.0.0, just pull update with kiauh.sh
, then run path_patch_4to5.sh
will move files accroding klipper service instance names
to new file structure.
Before patch, .moonraker_database
and klipper_config
folders are backup to ~/kiauhV4_config_backup
.
Tested on my 4 machines.
Sorry, as i already said in an earlier post in this issue, im not really interested in implementing functions for patching/migrating old installs. I seem to see a few flaws in your script also (nothing serious though but haven't tested it), so feel free to use it if it works for you. Im likely not going to merge that though. Sorry.
Has anyone had any luck with Xubuntu? My install got fouled up from the update so I wiped the system to start fresh. Even doing that though Moonraker complains that the directory Klipper is requesting gcodes from does not match what it expects. It demands I update it to /home/travis/printer_data/gcodes...tried updating Virtual SDCard in mainsail.cfg.... tried adding it to printer.cfg but no change. I am just currently unable to open any gcode files.
Do you have a rough timeline of when KlipperScreen will be available again?
The installer is available again. Im not 100% sure if everything works out of the box though. KIAUH only executes KlipperScreens own install script, so actually disabling it wasn't really necessary in the first place, i just wanted to have a look at it first when i did that. But again, not 100% sure if maybe some manual intervention is required now. It might be.
Linux Distribution
armbian
What happened
when installing
i do not see any config files. as location is now in
./printer_data/config/
also some config options are now deprecated.What did you expect to happen
a default configuration set for moonraker and printer macros etc
How to reproduce
fresh install
Additional information
No response