Vanilla-OS / vanilla-installer

A frontend in GTK 4 and Libadwaita for Albius.
GNU General Public License v3.0
79 stars 32 forks source link

installer crashes after a few seconds when using WiFi #301

Closed rohmishra closed 2 weeks ago

rohmishra commented 10 months ago

While starting installer using the latest build on VanillaOS-2-testing.20231015 / https://github.com/Vanilla-OS/live-iso/actions/runs/6526023055 the installer freezes and stops responding after a few seconds.

Annotation from Tau: To work around this, use the system WiFi settings in the top right corner instead.

taukakao commented 9 months ago

Do you use wifi and did it happen after you entered your password?

Huber1 commented 7 months ago

I have the same issue using version 116 from 3/2/2024. This issue happens a few seconds after entering the wifi password. I tried out guest wifi as well, happens there too (guest wifi has no mac filter). No error message is shown. In my case, the installer just closes and i am left with only the desktop background.

If there is anything I can do to help, please let me know

taukakao commented 7 months ago

You could run: Alt+F2 type kgx and press enter then type vanilla-installer and type enter.

It would be interesting if there is any output in the console after it crashes.

Huber1 commented 7 months ago

For myself it worked now (I didn't change anything). Maybe I'll install vanillaos later on another device, if it still happens then i'll report again.

taukakao commented 7 months ago

I can't reproduce it. But the installer logs: ** (vanilla-installer:3632): CRITICAL **: 20:31:19.976: _get_ca_ignore_settings: assertion 'uuid && *uuid' failed

after entering a WiFi password.

rohmishra commented 6 months ago

im out of town right now but will try recreating the issue once i return home. I remember discovering certificate issues in logs relating to system time as timesyncd wasnt configured and the time on a new hardware was out of date.

taukakao commented 5 months ago

Apparently, this bug still happens.

taukakao commented 5 months ago

@Bohne13 Could you try using the wifi settings in the top right corner instead of the menu in the installer to set up your wifi? So after booting up, connect to the wifi through the top right corner and then proceed through the installer normally.

Bohne13 commented 5 months ago

I did access the WiFi in the GNOME settings and started the 'vanilla-installer' with 'kgx'.

I could install VanillaOS (build nr. 120) without any problems!

So I'm only left with the problem how to use 'apx' to install Android Studio and Flutter ;D

taukakao commented 5 months ago

@Bohne13 Nice. And feel free to join the Discord for general support.

taukakao commented 4 months ago

2024-04-27-20-07-42-023 This might be related

taukakao commented 2 months ago

Still happens in newest version

jardon commented 2 months ago
INFO:Installer::Window:Next page is 3
INFO:Installer::Window:Executing page's custom function
INFO:Installer::Window:Finished executing page's custom function
INFO:Installer::Window:(VanillaDefaultNetwork) Page is changing...
INFO:Installer::Window:(VanillaDefaultNetwork) It is not a final page
/usr/share/org.vanillaos.Installer/vanilla_installer/defaults/network.py:188: Warning: value "((GtkIconSize) 6)" of type 'GtkIconSize' is invalid or out of range for property 'icon-size' of type 'GtkIconSize'
  dialog = NMA4.WifiDialog.new(

** (vanilla-installer:20599): CRITICAL **: 23:41:02.977: _get_ca_ignore_settings: assertion 'uuid && *uuid' failed
**
nm:ERROR:../src/libnm-client-impl/nm-object.c:277:dispose: assertion failed: (!priv->client)
Bail out! nm:ERROR:../src/libnm-client-impl/nm-object.c:277:dispose: assertion failed: (!priv->client)
Aborted (core dumped)
jardon commented 2 months ago

If this is slowed down, the connection is actually successful. NetworkManager runs a dispose function shown here that fails an assertion.

taukakao commented 1 month ago

Yeah, this is definitely still happening

coR2k commented 1 month ago

Hello, thinkpad x13 gen 3 amd, MediaTek Wi-Fi® 6E RZ616 card, installer is crushing, but if i'm using an usb ethernet card, it is ok.

taukakao commented 1 month ago

@coR2k Wait, did it open the settings for you or did it open just a small dialog with the password prompt for you?

coR2k commented 1 month ago

@coR2k Wait, did it open the settings for you or did it open just a small dialog with the password prompt for you?

if I install the vanilla with Wi-Fi, the installer crashes 1-2 minutes after, if I install with ethernet, the installation finishes well

taukakao commented 1 month ago

@coR2k I know, but we recently changed the wifi connection method.

Did it open a small window with just the wifi or did it open the entire settings window?

janekbt commented 1 month ago

@taukakao I am in the same situation as @coR2k and it opened a small window with the password prompt and not the entire settings window.

taukakao commented 1 month ago

The newest version should just open the settings, preventing this bug. I have to assume that you, @janekbt and @coR2k are using an older version.

Yrlish commented 2 weeks ago

I just downloaded the lastest iso and had this problem. Solved it by connecting to wifi in the top right system bar before starting to go through the wizard, as suggested earlier in this issue.

taukakao commented 2 weeks ago

@Yrlish Thank you, I have no idea how this happened but apparently I never actually made a PR for these changes. I'm very sorry for the confusion this has caused.

Yrlish commented 2 weeks ago

This also happened on the first boot wizard, it crashed when I tried to connect to wifi through it. So I connected in the system bar and then rebooted. After reboot I could get through the first boot wizard.