Skip to content
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

Latest dev does not work on linux/arm/v7 #15380

Closed
zegl opened this issue Dec 5, 2022 · 5 comments
Closed

Latest dev does not work on linux/arm/v7 #15380

zegl opened this issue Dec 5, 2022 · 5 comments
Labels
problem Something isn't working

Comments

@zegl
Copy link
Contributor

zegl commented Dec 5, 2022

What happened?

Since the upgrade of serialport in Koenkk/zigbee-herdsman#607, the latest dev does not run on linux/arm/v7.

What did you expect to happen?

The application to boot.

How to reproduce it (minimal and precise)

Running in Docker on linux/arm/v7.

Zigbee2MQTT version

Latest dev: ba2d9ae

Adapter firmware version

n/a

Adapter

n/a

Debug log

Using '/app/data' as data directory
Zigbee2MQTT:debug 2022-12-05 15:22:36: Loaded state from file /app/data/state.json
Zigbee2MQTT:info  2022-12-05 15:22:36: Logging to console and directory: '/app/data/log/2022-12-05.15-22-35' filename: log.txt
Zigbee2MQTT:debug 2022-12-05 15:22:36: Removing old log directory '/app/data/log/2022-12-05.15-06-26'
Zigbee2MQTT:info  2022-12-05 15:22:36: Starting Zigbee2MQTT version 1.28.4-dev (commit #)
Zigbee2MQTT:info  2022-12-05 15:22:36: Starting zigbee-herdsman (0.14.77)
Zigbee2MQTT:debug 2022-12-05 15:22:36: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/app/data/coordinator_backup.json","databaseBackupPath":"/app/data/database.db.backup","databasePath":"/app/data/database.db","network":{"channelList":[11],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"path":"/dev/ttyACM0"}}'
2022-12-05T14:22:36.691Z serialport/bindings-cpp loading LinuxBinding
2022-12-05T14:22:37.513Z serialport/bindings-cpp list
2022-12-05T14:22:37.890Z serialport/bindings-cpp list
2022-12-05T14:22:38.186Z zigbee-herdsman:adapter Path '/dev/ttyACM0' is valid for 'DeconzAdapter'
2022-12-05T14:22:38.204Z zigbee-herdsman:deconz:driver Set delay to 0
2022-12-05T14:22:38.216Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[XXXX],"panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11]},"serialPort":{"path":"/dev/ttyACM0"},"databasePath":"/app/data/database.db","databaseBackupPath":"/app/data/database.db.backup","backupPath":"/app/data/coordinator_backup.json","adapter":{"disableLED":false,"concurrent":null,"delay":null}}'
2022-12-05T14:22:38.222Z zigbee-herdsman:deconz:driver Opening with /dev/ttyACM0
2022-12-05T14:22:38.241Z serialport/stream opening path: /dev/ttyACM0
2022-12-05T14:22:38.245Z serialport/bindings-cpp open
@zegl zegl added the problem Something isn't working label Dec 5, 2022
@zegl zegl changed the title Latest dev does not work on linux/arm7 Latest dev does not work on linux/arm/v7 Dec 5, 2022
@zegl
Copy link
Contributor Author

zegl commented Dec 5, 2022

I did some testing, everything works well when running on a Debian based system instead of an Alpine based one.

@Koenkk
Copy link
Owner

Koenkk commented Dec 6, 2022

Does alpine work when forcing compilation of serialport?

Found some docs here: https://serialport.io/docs/9.x.x/guide-installation#alpine-linux

@zegl
Copy link
Contributor Author

zegl commented Dec 6, 2022

I can give it another try

@zegl
Copy link
Contributor Author

zegl commented Dec 6, 2022

The linked command did not work, but forcing a complete rebuild from source does!

@Koenkk
Copy link
Owner

Koenkk commented Dec 7, 2022

Thanks for the fix @zegl

I've applied the same fix to the hassio addon: zigbee2mqtt/hassio-zigbee2mqtt@9d74eec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants