You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
May 30 11:22:46 localhost balena-persistent-logs[1624]: mv: cannot create regular file '/var/cache/balena-config-vars': File exists
May 30 11:22:46 localhost systemd[1]: balena-persistent-logs.service: Main process exited, code=exited, status=1/FAILURE
May 30 11:22:46 localhost systemd[1]: balena-persistent-logs.service: Failed with result 'exit-code'.
May 30 11:22:46 localhost systemd[1]: Failed to start Balena persistent logs.
This seems to be a racing condition inside balena-config-vars. The cache file is checked for existence, it does not exist, but at the time it is about to be created another instance of balena-config-vars seems to have already created it.
I could not find this reported before - probably because it is rare problem and also hard to spot unless one is looking whether persistent logs were really started.
Restarting the failed balena-persistent-logs service resolved the issue.
The text was updated successfully, but these errors were encountered:
The affected device logs reveal:
This seems to be a racing condition inside
balena-config-vars
. The cache file is checked for existence, it does not exist, but at the time it is about to be created another instance ofbalena-config-vars
seems to have already created it.I could not find this reported before - probably because it is rare problem and also hard to spot unless one is looking whether persistent logs were really started.
Restarting the failed
balena-persistent-logs
service resolved the issue.The text was updated successfully, but these errors were encountered: