Open samuliHeikkinen opened 1 month ago
Hey @samuliHeikkinen , can you share the logs for the Edge Hub and Edge Agent? Please make sure to redact any sensitive info. cc @nlcamp
Hey @david-emakenemi , you mean info of the running containers or the builds? As per repo, the API Proxy module should be able to be compiled without compiling the whole project.
This build issue also blocks the use of custom nginx config as the desired properties way won't work because template is over 4096 bytes while encoded to BASE64 which is over the maximum for desired property tags.
It is also worth mentioning that https://github.com/emk/rust-musl-builder which is used as the base for the module image for amd64 is effectively unmaintained.
Workaround for this is to build the ApiProxyModule first with ./scripts/linux/buildAPIProxy.sh
so even though the ./edge-modules/api-proxy-module/build.sh
still fails with the rust container to permissions, the build succeeds as we build it before.
Expected Behavior
Running
./edge-modules/api-proxy-module/build.sh
should build the module.Current Behavior
After running the script it fails to OS Error 13 when trying to create a tmp file to
/opt/rust/rustup
Steps to Reproduce
Provide a detailed set of steps to reproduce the bug.
./edge-modules/api-proxy-module/build.sh
from the repository rootDevice Information
Logs
Additional Information
This is due to build.sh using
ekidd/rust-musl-builder
without a version tag which defaults tolatest
which in turn has had massive changes (remove of ARM support).