Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something went wrong loading onboarding, try refreshing #2606

Closed
MStapelfeldt opened this issue Jun 21, 2023 · 9 comments
Closed

Something went wrong loading onboarding, try refreshing #2606

MStapelfeldt opened this issue Jun 21, 2023 · 9 comments
Labels
board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) bug stale

Comments

@MStapelfeldt
Copy link

Describe the issue you are experiencing

After upgrade I got the error in title. I tried to reinstall HA on fresh system (SSD format, new download from virtual Linux), but get exact the same issue. Hardware is a
Minis Forum EliteMini GK41
Prozessor Intel® Celeron® Processor J4125
GPU Intel® UHD Graphics 600
Ram DDR4 8GB (on Bord)
HDD M.2 2280 128GB SATA SSD
Network connection IEEE 802.11ac Dual-Band Wi-Fi
BlueTooth
Ethernet 1000Mbps LAN

I think it's related to the fix from #2485 or #2535 from last release

What operating system image do you use?

generic-x86-64 (Generic UEFI capable x86-64 systems)

What version of Home Assistant Operating System is installed?

10.3

Did you upgrade the Operating System.

Yes

Steps to reproduce the issue

  1. Format pc
  2. Plugin Linux USB operation system
  3. Install with link from manual over Balena Etcher
  4. Reboot system and watch failing
    ...

Anything in the Supervisor logs that might be useful for us?

Logs not available during install

Anything in the Host logs that might be useful for us?

Logs not available during install

System information

No response

Additional information

In bios I can't disable Bluetooth

@agners agners added board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) bluetooth labels Jun 22, 2023
@agners
Copy link
Member

agners commented Jun 22, 2023

After upgrade I got the error in title. I tried to reinstall HA on fresh system (SSD format, new download from virtual Linux), but get exact the same issue.

What is happening after the error shows up?

#2485 was a different Opcode, and #2535 didn't show messages in dmesg. It could also be kernel update or something else entirely.

@MStapelfeldt
Copy link
Author

MStapelfeldt commented Jun 22, 2023

What is happening after the error shows up?

Installation gets stucked with message
"Something went wrong loading onboarding, try refreshing"
I tried today with 10.2 and 10.1 (fresh download from release page) and same issue. What I did:

  1. Deleted all partition on SSD, create one 128gb partition
  2. Download release file from rep
  3. Used Balena Etcher to copy to SSD
  4. Reboot system

After seeing CI prompt the first time, it takes about 30 seconds till I see Bluetooth hci0 unexpected event for opcode0x2005
I didn't do anything else, then starting installation.

@agners
Copy link
Member

agners commented Jun 22, 2023

The Bluetooth error is unrelated to the issue you are having with onboarding.

So you can reach the onboarding page at http://homeassistant.local:8123?

I tried today with 10.2 and 10.1 (fresh download from release page) and same issue. What I did:

There is already 10.3 available.

@MStapelfeldt
Copy link
Author

So you can reach the onboarding page at http://homeassistant.local:8123?

I can reach :8123 (with spinning button and error message) and :4357 with Connected / Supported / Healthy (all green).

The Bluetooth error is unrelated to the issue you are having with onboarding.

I had the issue first time while upgrading 10.2 to 10.3 (HA not reachable, console showed BL error). Then I tried fresh reinstall of 10.3, 10.2 and 10.1 all 3 installations failed. only thing I can see is

Waiting for Home Assistant CLI to be ready...
LOGO
Waiting for Supervisor to starting...
System information
.....
OS Version: 10.1
Home Assistent Core 2023.6.2
ha > 
[25.226729] Bluetooth: hci0 unexpected event for opcode0x2005
[35.916884] Bluetooth: hci0 unexpected event for opcode0x2005
....

@agners agners changed the title Bluetooth hci0 unexpected event for opcode0x2005 Something went wrong loading onboarding, try refreshing Jun 22, 2023
@agners agners removed the bluetooth label Jun 22, 2023
@agners
Copy link
Member

agners commented Jun 22, 2023

Can you type supervisor logs and core logs in the shell and see if it has information about what went wrong while loading onboarding?

@MStapelfeldt
Copy link
Author

The supervisor logs shows more then my screen can display, but looks good, all green. Core logs gives an issue at warning main thread [homeassistant.config_entries] Config entry 'Bslamp2 0x6695aae' for yeelight integration not ready yet
PXL_20230622_152411860
Build a new debian USB Stick, new Etcher, new download and installing 10.3.
Was able to enter personal details and password, now I have a blue screen on :8123 and lot of console errors:
PXL_20230622_153454283

@MStapelfeldt
Copy link
Author

After trying to access Home Assistant by IP instead of homeassistant:8123 I was able to access and use it again. So the issue is not related to Bluetooth and after deactivating BT integration the errors are gone in log.
I've tried to restore my HA, which worked fine, but after a reboot, the site crashed again and is not reachable. IU have ssh access and can use console, :4357 and supervisor log shows everything green, core log has some issues (orange, template variable warning).
Now trying to find the new issue (or same issue after upgrade 10.2 to 10.3) and fixing this.

@MStapelfeldt
Copy link
Author

I finally (after 7 times installing 10.3) found out what causes the system to crash:
after installing duckdns I added

http:
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
  ip_ban_enabled: true
  login_attempts_threshold: 5

as descriped in every tutorial. after adding this, the system will not boot and warning
[homeassistant.components.ssdp] could not set up UPnP/SSDP server, as a presentation URL could not be determinated
Really strange this causes a failure in newest version, but not before (10.2) but it's the only possibility I can think about by try and error...

Feel free to close issue, because it's not really related to core or HA, but duckdns.

@github-actions
Copy link

There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant OS version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Sep 22, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) bug stale
Projects
None yet
Development

No branches or pull requests

2 participants