Page 1 of 1

PermissionError(13, 'Access is denied')

Posted: Friday 03 July 2020 14:24
by P6Mole
I`m after some help with the following errors:

Error: (Zigbee2MQTT) Error during installing plugin custom page
Error: (Zigbee2MQTT) PermissionError(13, 'Access is denied')

I have these due to the zigbee2mqtt plugin and I can not sort out how to fix the error.

I am running a fresh Domoticz installation on a Windows 10 machine.

Version: 2020.2 (build 12194)
Build Hash: 9d42736b0
Compile Date: 2020-07-02 15:50:50
dzVents Version: 3.0.9
Python Version: 3.7.8 (tags/v3.7.8:4b47a5b6ba, Jun 28 2020, 07:55:33) [MSC v.1916 32 bit (Intel)]

I have tried multiple versions of Python all to no avail.

Where am I going wrong? I can see through various searches that this is potentially a permission issue which again, using various folder permission settings in windows, I still have not been able to sort.

Any advice will be welcomed,

Ben

Re: PermissionError(13, 'Access is denied')

Posted: Thursday 21 January 2021 18:51
by repoman
Hi There,

I'm also a Windows user (sorry..)

When I start domoticz I also get the permission denied error:

2021-01-21 18:19:31.348 Status: (Zigbee2MQTT) Started.
2021-01-21 18:19:36.333 Status: (Zigbee2MQTT) Entering work loop.
2021-01-21 18:19:36.333 Status: (Zigbee2MQTT) Initialized version 3.0.0
2021-01-21 18:19:42.897 (Zigbee2MQTT) Installing plugin custom page...
2021-01-21 18:19:42.901 Error: (Zigbee2MQTT) Error during installing plugin custom page
2021-01-21 18:19:42.918 Error: (Zigbee2MQTT) PermissionError(13, 'Access is denied')
2021-01-21 18:19:43.463 (Zigbee2MQTT) Connected to MQTT Server: 127.0.0.1:1883
2021-01-21 18:19:43.476 (Zigbee2MQTT) Zigbee2mqtt bridge is online
2021-01-21 18:19:43.477 (Zigbee2MQTT) Received available devices list from bridge
2021-01-21 18:19:43.479 (Zigbee2MQTT) Joining new devices is enabled on the zigbee bridge
2021-01-21 18:19:44.274 (Zigbee2MQTT) Received groups list from bridge

Then I started domoticz in Admin mode and strangely I saw nothing in the domoticz log.

Not one mention from Zigbee2MQTT when started in admin mode. Very strange...

While above log mentions having received available devices I don't see any new devices in domoticz.

The latest added device is: 219 Zigbee2MQTT api_transport 255 Zigbee2MQTT - Zigbee2MQTT API Transport General Text - - 2021-01-18 18:28:56

Maybe the Zigbee devices are now handled with the new custom tab (enabled custom in settings) but the new tab is having problems installing...

So it seems like I'm stuck. Is the new custom tab needed to add zigbee devices or should they become available in the usual domoticz devices list?

I know most users use a rpi but I stopped with that after "burning" to much memory cards (to much disk i/o)

Thnx in advance,

Pascal

Re: PermissionError(13, 'Access is denied')

Posted: Friday 22 January 2021 11:29
by erem
I do not run Domoticz on windows, so all i say is from general win10 knowledge but it may help.

if Domoticz is installed in program files or program files (x86) that may well be your issue
these are protected by UAC.
you can try switching off UAC to see if that fixed your issue.
if that turns out to be the issue, reinstall to something like c:\domoticz

hope this helps

Re: PermissionError(13, 'Access is denied')

Posted: Friday 22 January 2021 20:22
by repoman
Well, thank you Rob. Your suggestions made a big difference.

First I tried to disable uac, but to no avail.

Then I deleted domoticz and reeinstalled it in C://

Voila, new custom page is installed :-)

Next thing is to install the Zigbee devices but that will have to wait untill I;m physically present to push the buttons (at a few centimeters, as I understand)

2021-01-22 19:24:51.096 Status: (Zigbee2MQTT) Started.
2021-01-22 19:25:07.346 Status: (Zigbee2MQTT) Entering work loop.
2021-01-22 19:25:07.346 Status: (Zigbee2MQTT) Initialized version 3.0.0
2021-01-22 19:25:16.090 (Zigbee2MQTT) Installing plugin custom page...
2021-01-22 19:25:16.141 (Zigbee2MQTT) Installing plugin custom page completed.
2021-01-22 19:25:16.205 (Zigbee2MQTT) Connected to MQTT Server: 127.0.0.1:1883
2021-01-22 19:25:16.343 (Zigbee2MQTT) Zigbee2mqtt bridge is offline
2021-01-22 19:25:16.343 (Zigbee2MQTT) Received available devices list from bridge
2021-01-22 19:25:16.343 (Zigbee2MQTT) Joining new devices is enabled on the zigbee bridge
2021-01-22 19:35:36.189 (Zigbee2MQTT) Zigbee2mqtt bridge is online
2021-01-22 19:35:36.316 (Zigbee2MQTT) Received groups list from bridge
2021-01-22 19:35:45.557 (Zigbee2MQTT) Zigbee2mqtt bridge is offline
2021-01-22 19:36:47.870 (Zigbee2MQTT) Zigbee2mqtt bridge is online
2021-01-22 19:36:48.073 (Zigbee2MQTT) Received available devices list from bridge
2021-01-22 19:36:48.259 (Zigbee2MQTT) Received groups list from bridge
2021-01-22 19:36:48.726 (Zigbee2MQTT) Joining new devices is enabled on the zigbee bridge

2021-01-22 19:36:50.945 (Zigbee2MQTT) Received groups list from bridge

Coordinator N/A Coordinator 0x00124b0018e32f9c 2021-01-22 19:39:23