Page 1 of 1
Cannot read property 'find' of undefined or upgrade failed from 3.6 to 3.8
Posted: Thursday 13 May 2021 23:59
by Mad6
I upgraded from version 3.6 to 3.8. After starting, I received the following error message:

- error.PNG (10.45 KiB) Viewed 2180 times
I also tried a basic config.js file, but no change.
What does the 'find' property mean?
Anyone have any ideas?
Windows Server 2019STD (IIS), PHP 7.3.7
Console:

- console.PNG (13.33 KiB) Viewed 2180 times
Re: Cannot read property 'find' of undefined or upgrade failed from 3.6 to 3.8
Posted: Friday 14 May 2021 22:45
by Lokonli
Mad6 wrote: ↑Thursday 13 May 2021 23:59
I upgraded from version 3.6 to 3.8. After starting, I received the following error message:
error.PNG
I also tried a basic config.js file, but no change.
What does the 'find' property mean?
Anyone have any ideas?
Windows Server 2019STD (IIS), PHP 7.3.7
Console:
console.PNG
This seems to be bug in the startup sequence of Dashticz. I think it only becomes visible on IIS. Thanks for reporting.
I've created a fix in master 3.8.0.2 which I expect will solve this issue.
Could you test master 3.8.0.2?
Re: Cannot read property 'find' of undefined or upgrade failed from 3.6 to 3.8
Posted: Saturday 15 May 2021 21:33
by Mad6
Hello,
I installed the new version and the error message changed.

- error2.PNG (6.03 KiB) Viewed 2159 times
Re: Cannot read property 'find' of undefined or upgrade failed from 3.6 to 3.8
Posted: Saturday 15 May 2021 22:22
by Lokonli
Mad6 wrote: ↑Saturday 15 May 2021 21:33
Hello,
I installed the new version and the error message changed.
error2.PNG
If your Domoticz IP and/or Domoticz authentication is not correct you will get this error.
If you open DevTools (F12) and refresh Dashticz, then probably on the DevTools Network tab you see a network request with an error status.
You might see some errors on the DevTools console tab as well.
Re: Cannot read property 'find' of undefined or upgrade failed from 3.6 to 3.8
Posted: Saturday 15 May 2021 22:27
by Mad6
Hello,
I found the problem.

I receive this on the console:

- console2.PNG (10.14 KiB) Viewed 2155 times
Next try open the url in the webserver:

- wserror.PNG (17.5 KiB) Viewed 2155 times
I install the ASP, or ASP. net (but why...

), and create a handler mapping to *.tpl. (
https://support.plesk.com/hc/en-us/arti ... -Not-Found)
IISreset aaand working.
Thanks for the new version, and the new idea!
Re: Cannot read property 'find' of undefined or upgrade failed from 3.6 to 3.8
Posted: Saturday 15 May 2021 22:51
by Lokonli
O yes, indeed.
On iis a handler for .tpl files needs to be installed.
I'll try to improve the error handling.
Verstuurd vanaf mijn AC2003 met Tapatalk