Hello everyone,
I am stuck with an strange error and praying for your help here.
We are trying to integrate BalenaOS with a custom board having already produced several image versions that are visible and manageable from balenaCloud, no problem with this.
Currently, our last image is based on BalenaOS 2.113.32 with BalenaSupervisor 14.9.8.
Also have images for 2.113.24 and 2.113.27
The problem comes when we try a balenaOS Update. The process seems to be correct but it hangs at the very end with the message “Update successful, rebooting” and it do nothing else.
Nevertheless, the update process has been indeed successful because if I reboot manually the device, either locally or through remote terminal, the upgrade is OK.
I’ve searched journalctl -xf for problems and found this errors:
balena-supervisor[1967]: [error] Scheduling another update attempt in 900000ms due to failure: Error: Failed to apply state transition steps. (HTTP code 500) server error - AppArmor e:
0cc7b1cc27e5[1321]: [error] error: exec: "apparmor_parser": executable file not found in $PATH Steps:["start"]
balena-supervisor[1967]: [error] error: exec: "apparmor_parser": executable file not found in $PATH Steps:["start"]
balena-supervisor[1967]: [error] at fn (/usr/src/app/dist/app.js:10:9304)
balena-supervisor[1967]: [error] at runMicrotasks (<anonymous>)
balena-supervisor[1967]: [error] at processTicksAndRejections (node:internal/process/task_queues:96:5)
0cc7b1cc27e5[1321]: [error] at fn (/usr/src/app/dist/app.js:10:9304)
0cc7b1cc27e5[1321]: [error] at runMicrotasks (<anonymous>)
0cc7b1cc27e5[1321]: [error] at processTicksAndRejections (node:internal/proce
Any idea on this? Do you think this AppArmor error may be related to it?
I’ve found an AppArmor related change in here which I don’t know if is the source for this problem.
Any help would be much appreciated.
BR