omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

After upgrade to 1.13 and reboot, I am asked for LUKS password, then Hyprland doesn't start

Open nik-securemeasure opened this issue 1 year ago • 73 comments

Updated to 1.13. Rebooted. Omarchy logo, lock icon asking for LUKS password. Enter password -> black screen with blinking cursor (some error message blinking for 1ms), unable to Ctll+Alt+f2 it switches back to primary tty. Completely stuck with inaccessible system.

Standard installation of Omarchy, fully supported hardware (minisforum 890)

Any steps to try and recover + avoid in the future?

--

blinking message on the screen is something to do with seamless login, Can't read it. Can't dismiss it, can't switch to alternative tty.

--

Related as suggested by @sgloutnikov https://github.com/Vladimir-csp/uwsm/issues/151, could be just a weird coincidence with omarchy release? Talk about lucky 13...

nik-securemeasure avatar Aug 11 '25 23:08 nik-securemeasure

Managed to bypass seamless login and loging to TTY2 by adding systemd.unit=multi-user.target as a boot parameter. Managed to run hyprland in TTY2. But I have no idea which part of seamless login is broken that causes the crash/hang after the update - any changes to the seamless login in the most recent update?

nik-securemeasure avatar Aug 11 '25 23:08 nik-securemeasure

Same issue after updating this afternoon. Fresh installed: same issue.

jkisor avatar Aug 11 '25 23:08 jkisor

Same issue here, managed to grab the error code by flicking the screen in slow motion.

42.1439341 seamless-login[2779]: Trying to remove unit with unsupported extension

xulfm avatar Aug 11 '25 23:08 xulfm

Same issue here

incon avatar Aug 11 '25 23:08 incon

Same here -- on a fresh install -- mine says "seamless-login[xxxx]: Trying to remove unit with unsupported extension conf"

beergeekdotcom avatar Aug 11 '25 23:08 beergeekdotcom

Noticed this same problem after updating to latest packages. Through a bunch of btrfs rollbacks I pin pointed the problem to installing the uwsm 0.23.1-1 package. That is omarchy 1.13 boots fine with uwsm 0.23 as soon as I update to uwsm 0.23.1 I'm stuck i the same underscore blinking screen.

Edit: Related Issue https://github.com/Vladimir-csp/uwsm/issues/151

sgloutnikov avatar Aug 11 '25 23:08 sgloutnikov

Same issue on a fresh install

ofrades avatar Aug 11 '25 23:08 ofrades

Seeing the same thing on an upgrade.

rblalock avatar Aug 11 '25 23:08 rblalock

I was able to get in as root by booting with single mode, then downgraded uwsm back to 0.23 using the cached package in /var/cache/pacman/pkg/:

pacman -U /var/cache/pacman/pkg/uwsm-0.23.0-1-any.x86_64.pkg.tar.zst

After that, the system booted normally again.

Thanks @sgloutnikov

filipebraida avatar Aug 11 '25 23:08 filipebraida

I'm far from expert, but it seems there could've been some changes to how uwsm deals with environment variables. Perhaps something needs tweaking around it within omarchy-seamless-login-service or dependencies.

nik-securemeasure avatar Aug 12 '25 00:08 nik-securemeasure

I was able to get in as root by booting with single mode, then downgraded uwsm back to 0.23 using the cached package in /var/cache/pacman/pkg/:

pacman -U /var/cache/pacman/pkg/uwsm-0.23.0-1-any.x86_64.pkg.tar.zst After that, the system booted normally again.

Thanks @sgloutnikov

If your cache doesn't have the older version, use

sudo pacman -U https://archive.archlinux.org/packages/u/uwsm/uwsm-0.23.0-1-any.pkg.tar.zst

nik-securemeasure avatar Aug 12 '25 00:08 nik-securemeasure

I was switching from nixos to omarchy 😁 I miss the rollbacks already

ofrades avatar Aug 12 '25 00:08 ofrades

So is this bug a problem with Omarchy or a problem with the upstream lib?

Can Omarchy pin to a stable version? I'm new to arch linux.

sergiotapia avatar Aug 12 '25 00:08 sergiotapia

If your cache doesn't have the older version, use

sudo pacman -U https://archive.archlinux.org/packages/u/uwsm/uwsm-0.23.0-1-any.pkg.tar.zst

Thank you!

For fellow newbies, you have to enable networking first.

systemctl start systemd-networkd
systemctl start systemd-resolved

harpreetchima avatar Aug 12 '25 00:08 harpreetchima

So is this bug a problem with Omarchy or a problem with the upstream lib?

I believe Omarchy introduced dependency on uwsm few releases ago. Seems like an upstream dependency issue, but from my experience entire rolling updates paradigm really doesn't like you to pin things - "stuff gets wonky" very fast:) I've had to pin some rust and electron version for a while and it was massive relief when I no longer had to do it.

Not sure what's the best way to handle this type of issue within omarchy - ideal world, a few extra tests in the upstream repo would be helpful :P

nik-securemeasure avatar Aug 12 '25 00:08 nik-securemeasure

I was able to get in as root by booting with single mode, then downgraded uwsm back to 0.23 using the cached package in /var/cache/pacman/pkg/:

pacman -U /var/cache/pacman/pkg/uwsm-0.23.0-1-any.x86_64.pkg.tar.zst

After that, the system booted normally again.

Thanks @sgloutnikov

How do you boot with single mode?

ofrades avatar Aug 12 '25 00:08 ofrades

How do you boot with single mode?

On the GRUB screen (where you select what to boot into with a 3 second timer), press e on the first option, and type in single at the end of the line and press enter.

harpreetchima avatar Aug 12 '25 00:08 harpreetchima

How do you boot with single mode?

On the GRUB screen (where you select what to boot into with a 3 second timer), press e on the first option, and type in single at the end of the line and press enter.

If you are on systemd, when you see the screen below, press e and add "single" or "systemd.unit=multi-user.target" without quotes at the end of that line that becomes editable (under menu)

Image

nik-securemeasure avatar Aug 12 '25 00:08 nik-securemeasure

So is this bug a problem with Omarchy or a problem with the upstream lib?

I believe Omarchy introduced dependency on uwsm few releases ago. Seems like an upstream dependency issue, but from my experience entire rolling updates paradigm really doesn't like you to pin things - "stuff gets wonky" very fast:) I've had to pin some rust and electron version for a while and it was massive relief when I no longer had to do it.

Not sure what's the best way to handle this type of issue within omarchy - ideal world, a few extra tests in the upstream repo would be helpful :P

So if I'm using omarchy for day to day dev work, the OS breaking over an update is known and expected because archlinux is like this? 🤔 (asking because i am new to arch linux)

this can't be right?

sergiotapia avatar Aug 12 '25 00:08 sergiotapia

Adding references since this will impact a lot of people likely before uwsm rolls back the package that broke this.

On my GRUB instance, hitting e here Image

Then adding single where indicated in the screenshot, followed by ctrl + x dropped me into rescue mode. Image

ryanrhughes avatar Aug 12 '25 01:08 ryanrhughes