diff --git a/docs/faq/moonraker_warnings/img/policitykit.png b/docs/faq/moonraker_warnings/img/policitykit.png new file mode 100644 index 00000000..60e79fff Binary files /dev/null and b/docs/faq/moonraker_warnings/img/policitykit.png differ diff --git a/docs/faq/moonraker_warnings/index.md b/docs/faq/moonraker_warnings/index.md new file mode 100644 index 00000000..c84ec476 --- /dev/null +++ b/docs/faq/moonraker_warnings/index.md @@ -0,0 +1,9 @@ +--- +layout: default +title: Moonraker Warnings +parent: FAQ +nav_order: 20 +has_children: true +permalink: /faq/moonraker_warnings +has_toc: false +--- diff --git a/docs/faq/moonraker_warnings/policitykit.md b/docs/faq/moonraker_warnings/policitykit.md new file mode 100644 index 00000000..5e8317fb --- /dev/null +++ b/docs/faq/moonraker_warnings/policitykit.md @@ -0,0 +1,30 @@ +--- +layout: default +title: PolicyKit Permissions +parent: Moonraker Warnings +grand_parent: FAQ +nav_order: 20 +has_children: false +permalink: /faq/moonraker_warnings/policykit +has_toc: false +--- + +# PolicyKit Permissions +Since Jan 28th '22, Moonraker has changed the way to communicate with system services to D-Bus instead of previously `sudo` commands. + +After updating Moonraker you might be presented this warning message: + +![PolicityKit Warning](img/policitykit.png){:width="50%"} + +To resolve this warning you have to install the PolicyKit permissions with the `set-policykit-rules.sh` script. + +SSH into your system and execute the following commands: + +``` +cd ~/moonraker/scripts +./set-policykit-rules.sh +sudo service moonraker restart +``` + +For more information, please check out the corresponding [Moonraker documentation](https://moonraker.readthedocs.io/en/latest/installation/#policykit-permissions). +{: .info} \ No newline at end of file