-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frontend does not start #24880
Comments
I had the same error. With the same stick and the same Z2M version 1.41.0 I see on that mentioned file /app/lib/extension/frontend.ts:114 on the line it's related to websocket config.
The error is gone from the logs and after three minutes I see in the logs again the line The documentation state the |
Hi, many thanks for your reply, but that did not fix it. Lars |
Hi, I have found exactly my issue in the official frontend thread: #4266 (comment) There the poster said it's not connected to MQTT ... but my container has a connection and is happily sending and receiving MQTT messages - still no frontend. ldeutsch@Horizon:~$ sudo docker exec -it zigbee2mqtt /bin/netstat -an |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
What happened?
I am running zigbee2mqtt using the official image from koenk from docker.io on a synology. (for 4 years now ...) Recently I updated the docker container (latest) and the frontend failed to start. Here is the log message:
[2024-11-23 10:14:15] error: z2m: Failed to call 'Frontend' 'stop' (TypeError: Cannot read properties of undefined (reading 'clients')
at Frontend.stop (/app/lib/extension/frontend.ts:114:18)
at Controller.callExtensions (/app/lib/controller.ts:399:17)
at Controller.stop (/app/lib/controller.ts:265:9)
at stop (/app/index.js:165:5)
at process.handleQuit (/app/index.js:173:13))
I checked with netstat and the frontend ist indeed not available on my designated port 8888. Here is the config;
homeassistant: false
permit_join: false
mqtt:
base_topic: zigbee2mqtt
server: mqtt://mqtt.zuhause
serial:
port: /dev/ttyUSB0
frontend:
port: 8888
host: 0.0.0.0
advanced:
log_level: warn
last_seen: ISO_8601_local
pan_id: 4711
homeassistant_legacy_entity_attributes: false
legacy_api: false
report: true
ikea_ota_use_test_url: true
cache_state_send_on_startup: false
cache_state_persistent: false
log_syslog:
app_name: Zigbee2MQTT
eol: /n
host: localhost
localhost: localhost
path: /dev/log
pid: process.pid
port: 123
protocol: tcp4
type: '5424'
devices:
'0x90fd9ffffe5a698c':
friendly_name: IKEADimmer1
'0x90fd9ffffed58e9a':
friendly_name: IKEALampe1
.... and many more lines, I haev over 200 devices.
I checked the documentation and I am not aware that I have changed anything in my configuration,
The system itself starts and zigbee2mqtt itself is working fine.
What did you expect to happen?
I expected the frontend to start as it has in the past years
How to reproduce it (minimal and precise)
In my configuration it fails to start reliably ...
Zigbee2MQTT version
latest (1.41.0)
Adapter firmware version
znp_CC2652RB_20200715.bin
Adapter
Slaesh'S CR2652RB Stick
Setup
official docker image from docker.io on a Synology 415 (20 GB ram)
Debug log
No response
The text was updated successfully, but these errors were encountered: