no it is correct that’s how a non usb stick configuration looks like. This is a virtual machine without usb passthrough. So the gateway is a zigstar and networked.
And a little while after nothing has changed !!?? And again it won’t start !!!???
[core-ssh 2022-08-22.20-27-47]$ cat log.txt
info 2022-08-22 20:27:47: Logging to console and directory: '/config/zigbee2mqtt/log/2022-08-22.20-27-47' filename: log.txt
info 2022-08-22 20:27:47: Starting Zigbee2MQTT version 1.27.0 (commit #unknown)
info 2022-08-22 20:27:47: Starting zigbee-herdsman (0.14.46)
error 2022-08-22 20:27:47: Error while starting zigbee-herdsman
error 2022-08-22 20:27:47: Failed to start zigbee
error 2022-08-22 20:27:47: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
error 2022-08-22 20:27:47: Exiting...
error 2022-08-22 20:27:47: SyntaxError: Unexpected token in JSON at position 0
at JSON.parse (<anonymous>)
at Function.open (/app/node_modules/zigbee-herdsman/src/controller/database.ts:19:35)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:124:34)
at Zigbee.start (/app/lib/zigbee.ts:58:47)
at Controller.start (/app/lib/controller.ts:101:27)
at start (/app/index.js:109:5)
Also other icons of other addons don’t show in the side menu either anymore.
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 902, in _async_update_data
for repo in store_data.get("repositories", [])
AttributeError: 'NoneType' object has no attribute 'get'
ohter modules don’t work either, …?? esphome 502 gateway error when restarting the module it does come back online.
I understand maybe it’s worth looking into, however I’m thinking of making a backup doing a complete reinstall instead. Because I’ve been updating since centos 6. Maybe a clean install would be better. If i only could make a proper backup.
It’s not just this module which seems unstable. It’s strange used to be really stable.
Something is wrong in the old configuration, removed /config/zigbee2mqtt and started over and now everything works. Not sure why or what is incompatible with the current version.
I ran into similiar issues (more than once now). You may want to check database.db. In my case, the file only contained a large number of @ symbols instead of a JSON datastructure. Restoring that file from a backup solved the problem. I have no idea though how that file got corrupted.