[GH-ISSUE #250] Aftere Debian Upgrade: Error: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage' #167

Closed
opened 2026-02-27 15:57:36 +03:00 by kerem · 2 comments
Owner

Originally created by @4920441 on GitHub (Aug 30, 2019).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/250

Hi,

after upgrading from debian 9 to debian 10 I get the following error after logging in to webvirtcloud

Error: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage'

The funny thing is, the polkit daemon is running fine elsewhere, it seesm.

18585 ? Ssl 0:00 /usr/lib/policykit-1/polkitd --no-debug

my virsh commands work also fine... (executed as root)

What could have happend, so webvirtcloud does not see a polkit agent?

Thanks for your help!

Cheers,

Originally created by @4920441 on GitHub (Aug 30, 2019). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/250 Hi, after upgrading from debian 9 to debian 10 I get the following error after logging in to webvirtcloud Error: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage' The funny thing is, the polkit daemon is running fine elsewhere, it seesm. 18585 ? Ssl 0:00 /usr/lib/policykit-1/polkitd --no-debug my virsh commands work also fine... (executed as root) What could have happend, so webvirtcloud does not see a polkit agent? Thanks for your help! Cheers,
kerem closed this issue 2026-02-27 15:57:36 +03:00
Author
Owner

@4920441 commented on GitHub (Aug 30, 2019):

https://github.com/retspen/webvirtcloud/issues/210

Don't know why that happened after upgrade but the Posting above temporarily fixes it... so I can search for the cause without not having webvirt running...:-)

<!-- gh-comment-id:526695171 --> @4920441 commented on GitHub (Aug 30, 2019): https://github.com/retspen/webvirtcloud/issues/210 Don't know why that happened after upgrade but the Posting above temporarily fixes it... so I can search for the cause without not having webvirt running...:-)
Author
Owner

@ycsos commented on GitHub (Nov 22, 2023):

you should add your user into group libvirt, like: sudo usermod -a -G libvirt www-data

<!-- gh-comment-id:1822248898 --> @ycsos commented on GitHub (Nov 22, 2023): you should add your user into group libvirt, like: sudo usermod -a -G libvirt www-data
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#167
No description provided.