Support #240
closedWifiap binding fails loading configuration file
100%
Description
I generated a new eMoJy image and pulled a new version of wifiap-binding (wifiap-binding-0.1.3+45+ge99f391-19.redpesk.common.rpbatz.aarch64).
With this version, I get the following error at startup: afbd-wifiap-binding[1492]: ERROR: [WifiAp API] Failed to read config file [/builddir/build/BUILD/wifiap-binding-0.1.3+45+ge99f391/src/wifiAp.c:1525,binding_ctl]
Does this mean that the config file was not found or that there is an error in the file?
Before I had the version wifiap-binding-0.1.3-16.redpesk.common.rpbatz.ar1.aarch64
Updated by Valentin Geffroy 4 days ago
- % Done changed from 0 to 90
Issue identified!
After some investigations, I saw that the packaging has changed. Indeed the default configuration JSON path has changed:
# before - in v0.1.3-16
/usr/redpesk/wifiap-binding/etc/wifi-wifiap-binding-default-config.json
# after - in v0.1.3-45
/usr/redpesk/wifiap-binding/etc/wifiap-config.json
A temporary workaround would be to move your JSON config at the previous path and see if the binding launch is good.
Please note that a huge upgrade of this binding (afb V4 migration) is coming for October.
It will bring a lot of changes and especially with the default configuration.
Updated by Valentin Geffroy 2 days ago
- Status changed from In Progress to Resolved