In terms of folder permissions:
biqu@book:~ $ ls printer_data -l
total 36
drwxr-xr-x 3 biqu biqu 4096 Oct 27 00:08 backup
drwxr-xr-x 2 biqu biqu 4096 Oct 27 00:01 certs
drwxr-xr-x 2 biqu biqu 4096 Oct 27 02:27 comms
drwxr-xr-x 2 biqu biqu 4096 Oct 27 02:27 config
drwxr-xr-x 2 biqu biqu 4096 Oct 27 00:08 database
drwxr-xr-x 2 biqu biqu 4096 Oct 27 00:01 gcodes
drwxr-xr-x 2 biqu biqu 4096 Oct 27 00:16 logs
-rw-r--r-- 1 biqu biqu 131 Oct 27 00:08 moonraker.asvc
drwxr-xr-x 2 biqu biqu 4096 Oct 27 00:08 systemd
biqu@book:~ $ ls printer_data/config -l
total 24
lrwxrwxrwx 1 biqu biqu 37 Oct 27 00:16 mainsail.cfg -> /home/biqu/mainsail-config/client.cfg
-rw-r--r-- 1 biqu biqu 385 Oct 27 00:22 mcu.cfg
-rw-r--r-- 1 biqu biqu 730 Oct 27 00:16 moonraker.conf
-rw-r--r-- 1 biqu biqu 9112 Oct 27 00:23 printer.cfg
-rw-r--r-- 1 biqu biqu 1690 Oct 27 00:22 toolhead.cfg
biqu@book:~ $ ls printer_data/gcodes -l
total 0
As for the commands you are asking for:
biqu@book:~ $ fgrep -r "/printer_data/config" *
kiauh/scripts/utilities.sh: cfg_dirs+=("${HOME}/printer_data/config")
kiauh/scripts/mainsail.sh: target_folders+=("${HOME}/printer_data/confi ")
kiauh/docs/changelog.md:Once everything is installed again, you need to manually copy your configuration files from the old `~/klipper_config` folder to the new `~/printer_data/config` folder.
mainsail-config/README.md:ln -sf ~/mainsail-config/mainsail.cfg ~/printer_data/config/mainsail.cfg
mainsail-config/README.md:ln -sf ~/mainsail-config/mainsail-moonraker-update.conf ~/printer_data/config/mainsail-moonraker-update.conf
moonraker/docs/installation.md:KLIPPY_ARGS="/home/pi/klipper/klippy/klippy.py /home/pi/printer_data/config/printer.cfg -l /home/pi/printer_data/logs/klippy.log -a /tmp/klippy_uds"
moonraker/docs/installation.md:mkdir ~/printer_data/config
moonraker/docs/installation.md:mv printer.cfg ~/printer_data/config
moonraker/docs/installation.md:`$HOME/printer_data/config/moonraker.conf`, however the location of the
moonraker/docs/installation.md: `/home/pi/printer_data/config/moonraker.conf`.
moonraker/docs/installation.md:- `config file`: `$HOME/printer_data/config/moonraker.conf`
moonraker/docs/installation.md:MOONRAKER_CONFIG_PATH="/home/pi/printer_data/config/moonraker-1.conf"
moonraker/docs/web_api.md: "path": "/home/pi/printer_data/config",
printer_data/logs/klippy.log:Args: ['/home/biqu/klipper/klippy/klippy.py', '/home/biqu/printer_data/config/printer.cfg', '-I', '/home/biqu/printer_data/comms/klippy.serial', '-l', '/home/biqu/printer_data/logs/klippy.log', '-a', '/home/biqu/printer_data/comms/klippy.sock']
printer_data/logs/klippy.log:Args: ['/home/biqu/klipper/klippy/klippy.py', '/home/biqu/printer_data/config/printer.cfg', '-I', '/home/biqu/printer_data/comms/klippy.serial', '-l', '/home/biqu/printer_data/logs/klippy.log', '-a', '/home/biqu/printer_data/comms/klippy.sock']
printer_data/logs/moonraker.log:config_file: /home/biqu/printer_data/confi /moonraker.conf
printer_data/logs/moonraker.log:2023-10-27 00:08:43,394 [confighelper.py:read_file()] - Configuration File '/home/biqu/printer_data/config/moonraker.conf' parsed, total size: 448 B
printer_data/logs/moonraker.log:/home/biqu/printer_data/config/moonraker.conf
printer_data/logs/moonraker.log:2023-10-27 00:08:44,983 [confighelper.py:create_backup()] - Backing up last working configuration to '/home/biqu/printer_data/config/.moonraker.conf.bkp'
printer_data/logs/moonraker.log:config_file: /home/biqu/printer_data/confi /moonraker.conf
printer_data/logs/moonraker.log:2023-10-27 00:16:28,551 [confighelper.py:read_file()] - Configuration File '/home/biqu/printer_data/config/moonraker.conf' parsed, total size: 730 B
printer_data/logs/moonraker.log:/home/biqu/printer_data/config/moonraker.conf
printer_data/logs/moonraker.log:2023-10-27 00:16:29,367 [confighelper.py:create_backup()] - Backing up last working configuration to '/home/biqu/printer_data/config/.moonraker.conf.bkp'
printer_data/logs/moonraker.log:config_file: /home/biqu/printer_data/confi /moonraker.conf
printer_data/logs/moonraker.log:2023-10-27 00:20:17,464 [confighelper.py:read_file()] - Configuration File '/home/biqu/printer_data/config/moonraker.conf' parsed, total size: 730 B
printer_data/logs/moonraker.log:/home/biqu/printer_data/config/moonraker.conf
printer_data/logs/moonraker.log:config_file: /home/biqu/printer_data/confi /moonraker.conf
printer_data/logs/moonraker.log:2023-10-27 02:27:06,229 [confighelper.py:read_file()] - Configuration File '/home/biqu/printer_data/config/moonraker.conf' parsed, total size: 730 B
printer_data/logs/moonraker.log:/home/biqu/printer_data/config/moonraker.conf
printer_data/systemd/klipper.env:KLIPPER_ARGS="/home/biqu/klipper/klippy/klippy.py /home/biqu/printer_data/config/printer.cfg -I /home/biqu/printer_data/comms/klippy.serial -l /home/biqu/printer_data/logs/klippy.log -a /home/biqu/printer_data/comms/klippy.sock"
I’m not sure about the first message kiauh/docs/changelog.md:Once everything is installed again, you need to manually copy your configuration files from the old
~/klipper_configfolder to the new
~/printer_data/config folder.
as this is a fresh install.
And finally:
biqu@book:~ $ fgrep -r "/printer_data/gcodes" *
mainsail-config/client.cfg:path: ~/printer_data/gcodes
moonraker/docs/installation.md:path: ~/printer_data/gcodes
moonraker/docs/web_api.md: "path": "/home/pi/printer_data/gcodes",
printer_data/logs/klippy.log:path = /home/biqu/printer_data/gcodes
printer_data/logs/klippy.log:path = /home/biqu/printer_data/gcodes
printer_data/config/printer.cfg:path: /home/biqu/printer_data/gcodes
Other than the strange message I noted above, I don’t see anything out of place.