Author Topic: No more access to CWP Dashboard - PolicyKit1,poolikit-error-quark  (Read 2281 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Somehow I can't access CWP anymore, I can only connect via a console in the browser. So I tried to update CWP first
Code: [Select]
sh /scripts/update_cwp
(...)
WARNING ** 20:28:12:179: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1. Error.Failed: Cannot determine user of subject
Error registering authentication agent GDBus.Error:org.freedesktop.PolicyKit1. Error.Failed: Cannot determine user of subject (poolkit-error-quark, 0)

A reboot doesn't recover the CWP admin panel. Looks like all services are down now. What can I do? The solutions I've found in the forum don't work SSH-service not running.



Offline
*
Re: No more access to CWP Dashboard - PolicyKit1,poolikit-error-quark
« Reply #1 on: February 02, 2022, 05:36:43 PM »
same problem here did yo find any solutions

Offline
*
Re: No more access to CWP Dashboard - PolicyKit1,poolikit-error-quark
« Reply #2 on: February 02, 2022, 10:01:42 PM »
Do this: my problem resolved
Code: [Select]
getent group polkitd >/dev/null && echo -e "\e[1;32mpolkitd group already exists\e[0m" || { groupadd -r polkitd && echo -e "\e[1;33mAdded missing polkitd group\e[0m" || echo -e "\e[1;31mAdding polkitd group FAILED\e[0m"; }then this:
Code: [Select]
getent passwd polkitd >/dev/null && echo -e "\e[1;32mpolkitd user already exists\e[0m" || { useradd -r -g polkitd -d / -s /sbin/nologin -c "User for polkitd" polkitd && echo -e "\e[1;33mAdded missing polkitd user\e[0m" || echo -e "\e[1;31mAdding polkitd user FAILED\e[0m"; }then this
Code: [Select]
rpm -Va polkit\* && echo -e "\e[1;32mpolkit* rpm verification passed\e[0m" || { echo -e "\e[1;33mResetting polkit* rpm user/group ownership & perms\e[0m"; rpm --setugids polkit polkit-pkla-compat; rpm --setperms polkit polkit-pkla-compat; }then take a screenshot and paste it here
then do this:
Code: [Select]
shutdown -r now