3.0.2 RaZberry Initialization Problem (Webserver.js:35:11)

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
tridy
Posts: 7
Joined: 12 Sep 2016 15:54

3.0.2 RaZberry Initialization Problem (Webserver.js:35:11)

Post by tridy »

Hi.
I recently upgraded RaZberry to 3.0.2 and I started having several problems.
First, I get "error_load_data" and "An unexpected error occurred while initialising the Z-Wave controller data."
in the log, the main error that I have found was:

Code: Select all

[E] [HTTP] Callback execution error: TypeError: undefined is not a function at WebServer.document_root (automation/Webserver.js:35:11)
that is called quite a few times.

Manage or AddNew devices does not show the list of existing devices.
if press on "Add new Z-Wave Device and identify it automatically", and the try to exclude a device, for example, nothing happens and I see that Webserver.js:35:11 error comes in the logs.

Tried to do the restart but still have the same problem.
Attachments
razberry_3_0_2_screenshots.png
razberry_3_0_2_screenshots.png (516.87 KiB) Viewed 6861 times
razberry_3_0_2__manage_add_new_devices.png
razberry_3_0_2__manage_add_new_devices.png (264.08 KiB) Viewed 6861 times
tridy
Posts: 7
Joined: 12 Sep 2016 15:54

Re: 3.0.2 RaZberry Initialization Problem (Webserver.js:35:11)

Post by tridy »

I got is solved by going to the Firmware Update > Advances > Z-Way restart. After that everything is back to normal. I did miss some of the devices that I previously added, but I am not sure if it is because of that error or it happened during the upgrade from 2.x.x to 3.0.2.

It is strange that I did sudo reboot via SSH and tried re-plugging the power cable on PI and it did not help. So, it could be that is it just a combination of some other events or something else that fixed the error. If it ever comes back (I hope not) and I will have a chance of reproducing it, I will post it here.
Attachments
z-way_restart.jpg
z-way_restart.jpg (241.07 KiB) Viewed 6850 times
añep
Posts: 64
Joined: 10 May 2016 13:53

Re: 3.0.2 RaZberry Initialization Problem (Webserver.js:35:11)

Post by añep »

Same problem here with fresh installation 3.0.2 version (wget -q -O - https://storage.z-wave.me/RaspbianInstall | sudo bash). It don't work with z-way restart.

Code: Select all

[2019-12-10 13:51:51.939] [D] [zway]   [65] "ZMESerialAPIOptions"
[2019-12-10 13:51:51.939] [D] [zway] Opened device: /dev/ttyAMA0
[2019-12-10 13:51:51.939] [D] [zway] Worker thread successfully created
[2019-12-10 13:51:51.939] [D] [zway] Worker thread entry point
[2019-12-10 13:51:51.939] [I] [zway] Adding job: Get controller info and supported function classes
[2019-12-10 13:51:51.949] [D] [zway] SENDING: ( 01 03 00 07 FB )
[2019-12-10 13:51:51.949] [C] [i/o] Serial port write error: (null)
[2019-12-10 13:51:51.949] [E] [zway] Failed to send packet: (null)
[2019-12-10 13:51:51.949] [D] [zway] Worker thread exit point
[2019-12-10 13:51:51.949] [D] [zway] Worker thread successfully finished
[2019-12-10 13:51:51.960] [I] [zway] SaveData will not save data since it wasn't loaded. This is to prevent data loss.
[2019-12-10 13:51:51.960] [C] [zway] Get Serial API Capabilities returned zero.
[2019-12-10 13:51:51.982] [I] [core] Error: Bad data - communication failed
[2019-12-10 13:51:51.983] [I] [core] Tried 5 times without success. Stopping tries.
[2019-12-10 13:51:51.986] [I] [core] Notification: critical (z-wave): Cannot start Z-Wave binding: Error: Bad data - communication failed
[2019-12-10 13:53:21.244] [I] [core] Executing script: exit()
Linux raspberrypi 4.19.86-v7+ #1283 SMP Fri Nov 29 18:32:25 GMT 2019 armv7l GNU/Linux
Raspbian GNU/Linux 9 (stretch)
Hardware : BCM2835
Revision : a02082
Model : Raspberry Pi 3 Model B Rev 1.2
Last edited by añep on 11 Dec 2019 00:27, edited 1 time in total.
tridy
Posts: 7
Joined: 12 Sep 2016 15:54

Re: 3.0.2 RaZberry Initialization Problem (Webserver.js:35:11)

Post by tridy »

I think you have a different error there:

Code: Select all

[2019-12-10 13:51:51.949] [E] [zway] Failed to send packet: (null)
I am not sure if it will help, but I think that during the process of testing and upgrading I ended up making the backup and downloading a "fresh" image and Etching it onto the microsd card like it was for the first time. The I did update, upgrade from bash, then restarted and then restored the backup.
añep
Posts: 64
Joined: 10 May 2016 13:53

Re: 3.0.2 RaZberry Initialization Problem (Webserver.js:35:11)

Post by añep »

tridy wrote:
10 Dec 2019 19:20
I think you have a different error there:

Code: Select all

[2019-12-10 13:51:51.949] [E] [zway] Failed to send packet: (null)
I am not sure if it will help, but I think that during the process of testing and upgrading I ended up making the backup and downloading a "fresh" image and Etching it onto the microsd card like it was for the first time. The I did update, upgrade from bash, then restarted and then restored the backup.
Hi,

My problem seems somewhat different. My installation is a fresh new raspbian image and I install z-way with the wget -q -O command - https://storage.z-wave.me/RaspbianInstall | sudo bash

Regards.
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: 3.0.2 RaZberry Initialization Problem (Webserver.js:35:11)

Post by PoltoS »

Please check that in /boot/config the Bluetooth is disabled or moves to mini uart
añep
Posts: 64
Joined: 10 May 2016 13:53

Re: 3.0.2 RaZberry Initialization Problem (Webserver.js:35:11)

Post by añep »

PoltoS wrote:
11 Dec 2019 00:34
Please check that in /boot/config the Bluetooth is disabled or moves to mini uart
Yes, it is disabled.

It seem a chip problem. I have changed to other RazBerry V2 and it is working.

It is curious that the Razberry that gives problems (the one on the right in the attached photos) brings a heatsink.
Attachments
IMG-20191211-WA0002.jpg
IMG-20191211-WA0002.jpg (228.77 KiB) Viewed 6628 times
IMG-20191211-WA0001.jpg
IMG-20191211-WA0001.jpg (287.11 KiB) Viewed 6628 times
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: 3.0.2 RaZberry Initialization Problem (Webserver.js:35:11)

Post by PoltoS »

Where have you taken it? There were never one with a heatsink!!! This is some DIY solution. Have you bought it in a shop of from some private customer as a second hand?
añep
Posts: 64
Joined: 10 May 2016 13:53

Re: 3.0.2 RaZberry Initialization Problem (Webserver.js:35:11)

Post by añep »

PoltoS wrote:
13 Dec 2019 01:13
Where have you taken it? There were never one with a heatsink!!! This is some DIY solution. Have you bought it in a shop of from some private customer as a second hand?
I bought at Amazon :evil:
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: 3.0.2 RaZberry Initialization Problem (Webserver.js:35:11)

Post by PoltoS »

Wow! As a new one? Blame your seller (please share the name with us if it is a shop, so we can also contact them).

A cooling system was never part of RaZberry - this is something hand made and you should return it to the seller as a second hand device
Post Reply