Cannot read property 'find' of undefined or upgrade failed from 3.6 to 3.8

Moderator: leecollings

Post Reply
Mad6
Posts: 7
Joined: Thursday 13 May 2021 23:45
Target OS: Windows
Domoticz version:
Contact:

Cannot read property 'find' of undefined or upgrade failed from 3.6 to 3.8

Post by Mad6 »

I upgraded from version 3.6 to 3.8. After starting, I received the following error message:
error.PNG
error.PNG (10.45 KiB) Viewed 1883 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
console.PNG (13.33 KiB) Viewed 1883 times
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Cannot read property 'find' of undefined or upgrade failed from 3.6 to 3.8

Post 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?
Mad6
Posts: 7
Joined: Thursday 13 May 2021 23:45
Target OS: Windows
Domoticz version:
Contact:

Re: Cannot read property 'find' of undefined or upgrade failed from 3.6 to 3.8

Post by Mad6 »

Hello,
I installed the new version and the error message changed.
error2.PNG
error2.PNG (6.03 KiB) Viewed 1862 times
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Cannot read property 'find' of undefined or upgrade failed from 3.6 to 3.8

Post 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.
Mad6
Posts: 7
Joined: Thursday 13 May 2021 23:45
Target OS: Windows
Domoticz version:
Contact:

Re: Cannot read property 'find' of undefined or upgrade failed from 3.6 to 3.8

Post by Mad6 »

Hello,
I found the problem. :)
I receive this on the console:
console2.PNG
console2.PNG (10.14 KiB) Viewed 1858 times
Next try open the url in the webserver:
wserror.PNG
wserror.PNG (17.5 KiB) Viewed 1858 times
I install the ASP, or ASP. net (but why... :lol: ), and create a handler mapping to *.tpl. (https://support.plesk.com/hc/en-us/arti ... -Not-Found)

IISreset aaand working. :mrgreen:

Thanks for the new version, and the new idea!
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Cannot read property 'find' of undefined or upgrade failed from 3.6 to 3.8

Post 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

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests