moonraker配置文件上传的路径
moonraker 官网中关于file manage的参数解释如下:
# moonraker.conf
queue_gcode_uploads: False
# When set to True the file manager will add uploads to the job_queue when
# the `start_print` flag has been set. The default if False.
check_klipper_config_path: True
# By default Moonraker will validate that Klipper's configuration file exists
# within the data path's "config" folder, as this is a requirement for
# Moonraker to write to the configuration. If this validation check fails
# Moonraker will warn the user. Installations that do not wish to use Moonraker
# to manage Klipper's configuration may set this option to False to bypass the
# location check. The default is True.
enable_object_processing: False
# When set to True gcode files will be run through a "preprocessor"
# during metadata extraction if object tags are detected. This preprocessor
# replaces object tags with G-Code commands compatible with Klipper's
# "cancel object" functionality. Note that this process is file I/O intensive,
# it is not recommended for usage on low resource SBCs such as a Pi Zero.
# The default is False.
file_system_observer: inotify
# The observer used to monitor file system changes. May be inotify or none.
# When set to none file system observation is disabled. The default is
# inotify.
enable_observer_warnings: True
# When set to True Moonraker will generate warnings when an observer
# encounters an error. This may be useful to determine if the observer
# malfunctioning. The default is True.
enable_inotify_warnings: True
# *** DEPRECATED - SEE "enable_observer_warnings" ***
# When set to True Moonraker will generate warnings when inotify attempts
# to add a duplicate watch or when inotify encounters an error. On some
# file systems inotify may not work as expected, this gives users the
# option to suppress warnings when necessary. The default is True.
enable_config_write_access: True
# When enabled the configuration folder is writable over the API. Some
# installations, such as those in public areas, may wish to lock out
# configuration changes. The default is True.
其中未包含对于klipper固件使用gcode命令打印文件时所在的路径名称,而klipper使用gcode打印时使用了printer.cfg配置文件中 [virtual_sdcard]选项。

因此,在启动 moonraker 时需要在所带参数 "-b" 中带上相同的 路径名称。

浙公网安备 33010602011771号