addons: deCONZ (2.05.76) GW firmware (26350500) update fails silently
Using RaspBee with:
- deCONZ addon: 5.3.3
- deCONZ: 2.05.76
- GW firmware: 26330500
Trying to upgrade the GW firmware to 26350500 via GUI, it says it went fine. But when refreshing/restarting plugin+RPI, it says it is still the old version (26330500).
I tried to follow the manual firmware upgrade process mentioned in the docs, here: https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Update-deCONZ-manually#update-in-raspbian
I got the following error (from inside the deCONZ addon docker container):
root@core-deconz:/# GCFFlasher_internal -f deCONZ_Rpi_0x26350500.bin.GCF
/usr/bin/GCFFlasher_internal.bin: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/libwiringPi.so)
Seems that the glibc version installed is 2.24 while the firmware wants 2.28.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 48 (11 by maintainers)
Commits related to this issue
- Fix #1347, use libc with glibc 2.28 to be able to run the flasher — committed to haniffm/hassio-addons by haniffm 4 years ago
- Fix #1347, revert wiringpi to fix the glibc linking issue — committed to haniffm/hassio-addons by haniffm 4 years ago
Thx @gerard33 for the link. I’m not sure where this need to be fixed but its good that all the parties are involved/informed about the issue.
I managed to temporary fix this on my deCONZ addon container by doing this:
Run bash in docker
docker exec -it addon_core_deconz /bin/bashInstall the libc6:
echo "deb http://ftp.de.debian.org/debian sid main" >> /etc/apt/sources.list.d/libc6.list && apt-get update && apt-get install libc6List all deCONZ processes in the container and kill them:
ps ax | grep [d]eCONZ | awk '{print $1}' | xargs killDownload the binary:
wget http://deconz.dresden-elektronik.de/deconz-firmware/deCONZ_Rpi_0x26350500.bin.GCFInstall it manually:
GCFFlasher_internal -f deCONZ_Rpi_0x26350500.bin.GCFRestart the addon from HA.
Firmware has to be upgraded manually using the info on this page -> https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Update-deCONZ-manually
It wont work using the Phoscon app at this moment.
I can confirm that the glibc incompatibility is resolved with the following config:
However, since I’ve had already updated the firmware to version 26350500, I can not test the whole firmware update flow.
@brinzlee You can always install a ubuntu version on a seperate SD card.