question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update v5.6 to v5.7/5.8 not possible, errors out. (Intel NUC)

See original GitHub issue

Hardware Environment

  • Raspberry Pi [1/2/3/4]
  • ODROID [C2/C4/N2(+)/XU4]
  • ASUS Tinker [S]
  • Intel NUC (or compatible)
  • OVA (Open Virtualization Applicance, on Intel NUC or any other hardware, please add the Hypervisor you are using)

Home Assistant OS release:

  • Fresh installation of release x.y
  • Updated from version 5.5
  • Additional information (if accessible):
Version 2020.12.0
Installation Type Home Assistant OS
Development false
Supervisor true
Docker true
Virtual Environment false
Python Version 3.8.6
Operating System Family Linux
Operating System Version 5.4.80
CPU Architecture x86_64
Timezone Europe/Berlin

Supervisor logs:

time="2020-12-14T14:04:23+01:00" level=debug msg="Adding homedir to searchpath" homedir=/root
time="2020-12-14T14:04:23+01:00" level=info msg="No configfile found"
time="2020-12-14T14:04:23+01:00" level=debug msg="Debug flags" apiToken=cb3603e1f765e57198d0b2b88c1803657e11160d29ed914adf7a3881958312f4a29c23f8d7222c2c69f23c8baf1ab0d2d79f5cee4037e1b7 cfgFile= endpoint=supervisor logLevel=debug noProgress=false rawJSON=false
time="2020-12-14T14:04:23+01:00" level=debug msg="os update" args="[]"
time="2020-12-14T14:04:23+01:00" level=debug msg="[GenerateURI]" base=supervisor command=update section=os
time="2020-12-14T14:04:23+01:00" level=debug msg="[GenerateURI] Result" uri="http://supervisor/os/update" url="http://supervisor/os/update" url(string)="http://supervisor/os/update"
time="2020-12-14T14:04:23+01:00" level=debug msg="Request body" body="map[version:5.8]"
time="2020-12-14T14:04:50+01:00" level=debug msg=Response body="{\"result\": \"error\", \"message\": \"Expecting ',' delimiter: line 1 column 117 (char 116)\"}" fields.time=26.825997527s headers="map[Content-Length:[87] Content-Type:[application/json; charset=utf-8] Date:[Mon, 14 Dec 2020 13:04:50 GMT] Server:[Python/3.8 aiohttp/3.7.3]]" received-at="2020-12-14 14:04:50.777305697 +0100 CET m=+26.827876635" request="&{POST http://supervisor/os/update HTTP/1.1 1 1 map[Accept:[application/json] Authorization:[Bearer cb3603e1f765e57198d0b2b88c1803657e11160d29ed914adf7a3881958312f4a29c23f8d7222c2c69f23c8baf1ab0d2d79f5cee4037e1b7] Content-Type:[application/json] User-Agent:[go-resty/2.3.0 (https://github.com/go-resty/resty)]] {} 0x741300 17 [] false supervisor map[] map[] <nil> map[]   <nil> <nil> <nil> 0xc000022148}" status="400 Bad Request" statuscode=400
Error: Expecting ',' delimiter: line 1 column 117 (char 116)
20-12-14 13:03:37 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
20-12-14 13:04:23 INFO (MainThread) [supervisor.api.security] /os/update access from a0d7b954_ssh
20-12-14 13:04:23 INFO (MainThread) [supervisor.hassos] Fetch OTA update from https://github.com/home-assistant/operating-system/releases/download/5.8/hassos_intel-nuc-5.8.raucb
20-12-14 13:04:50 INFO (MainThread) [supervisor.hassos] OTA update is downloaded on /data/tmp/hassos-5.8.raucb
20-12-14 13:04:50 INFO (MainThread) [supervisor.utils.gdbus] Starting dbus monitor on de.pengutronix.rauc
20-12-14 13:04:50 INFO (MainThread) [supervisor.utils.gdbus] Stopping dbus monitor on de.pengutronix.rauc
20-12-14 13:04:50 ERROR (MainThread) [supervisor.utils.gdbus] Can't parse '[{"Operation": "idle", "LastError": "Installation error: Failed marking slot kernel.0 non-bootable: Failed marking "kernel.0" as bad: Failed to run barebox-state: Child process exited with code 1", "Progress": [100, "Installing failed.", 1], "Compatible": "hassos-intel-nuc", "Variant": "", "BootSlot": "B"}]
': '({'Operation': <'idle'>, 'LastError': <"Installation error: Failed marking slot kernel.0 non-bootable: Failed marking 'kernel.0' as bad: Failed to run barebox-state: Child process exited with code 1">, 'Progress': <(100, 'Installing failed.', 1)>, 'Compatible': <'hassos-intel-nuc'>, 'Variant': <''>, 'BootSlot': <'B'>},)
' - Expecting ',' delimiter: line 1 column 117 (char 116)

Journal logs:

Kernel logs:

Description of problem:

I am on HassOS 5.6 (Intel NUC) right now. I tried updating to 5.7 and now to 5.8 and always get this error. I rebooted x times, I tried x^3 times and it’s not bypassable. Any way to fix that?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
roysjoshcommented, Dec 17, 2020

I was able to go directly from 5.6 to 5.8 via os update --version 5.8 after creating a missing directory: mkdir /var/lock This missing directory was causing barebox-state to abort immediately.

1reaction
dreimer1986commented, Dec 16, 2020

No clue if that’s your doing out there or not… I had to reboot the OS because it now lamented of being unhealthy (after a error 504 on another download try) and supervisor reboot alone did not fix it. When it woke back up I was in Boot slot A aka OS version 5.5. I tried the update from there and… now I am on version 5.8 O_o So in theory my bug is fixed somehow. Lets see what you say about that and if @thecode has a similar experience ^^

Read more comments on GitHub >

github_iconTop Results From Across the Web

BIOS Update and Recovery Instructions for Intel® NUC with ...
Make sure to select the correct BIOS files for your Intel® NUC. If a BIOS update process is interrupted, your computer might not...
Read more >
"Error Updating Capsule" Appears While Trying to ... - Intel
While trying to update the BIOS on an Intel® NUC, the error, "Error updating capsule" appears on the screen. Resolution. The steps below...
Read more >
Intel® NUC - No Boot Troubleshooting Wizard
Use this step-by-step wizard to help you fix the issue if your Intel NUC won't start properly.
Read more >
Failed Boot Issues on Intel® NUC Products
Troubleshooting tips if your Intel® NUC Kit or Board doesn't boot.
Read more >
Intel NUC Software Studio Error - Page 4
Since installing Intel Studio I've been getting the following error in Windows Event Viewer: Repeats about every 3 seconds and throwing ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found