From 41f855d9c40d27bb013f09e56dc86e388604acaa Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Fri, 14 Aug 2020 10:04:49 +0200 Subject: [PATCH] upload update-0.1.x.md preview Signed-off-by: Stefan Dej --- docs/update-0.1.x.md | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/docs/update-0.1.x.md b/docs/update-0.1.x.md index d0cbcf60..80f8b4e2 100644 --- a/docs/update-0.1.x.md +++ b/docs/update-0.1.x.md @@ -8,14 +8,48 @@ git pull sudo service moonraker restart ``` +create a new file ~/moonraker.conf +```editorconfig +[server] +host: 0.0.0.0 +config_path: ~/klipper_config + +[authorization] +enabled: true +trusted_clients: + 192.168.0.0/24 +``` + ## Update Klipper ``` cd ~/klipper -git fetch arksine -git checkout arksine/dev-moonraker-testing -sudo service klipper restart +git fetch +git checkout origin/master ``` +### Move klipper config files to the subdirectory +create the new subdirectory andmove `printer.cfg` in `~/klipper_config`: +``` +mkdir ~/klipper_config/ +mv ~/printer.cfg ~/klipper_config/ +``` +move also included klipper config files to this directory. + +### Change Klipper default printer.cfg location +edit file `/etc/default/klipper` and change `/home/pi/printer.cfg`to `/home/pi/klipper_config/printer.cfg`. + +### Modify printer.cfg +now you have to remove the `[moonraker]` section from `~/klipper_config/printer.cfg` and check if there are the following sections in it: +``` +[virtual_sdcard] +path: ~/sdcard + +[pause_resume] +[display_status] +``` + +and rename `RESET_SD` in your cancel print macro to `SDCARD_RESET_FILE`. + ## Update static files from Mainsail ``` rm -R ~/mainsail/*