omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

I somehow managed to destroy my OS during an update

Open fitzzz opened this issue 1 year ago • 2 comments

Hi all! Not sure how much of an issue this is but I wanted to share my experience.

I had just completed the finishing touches on all my apps, monitor configs, key bindings, etc. I think I accidentally pressed a hot key or something because a terminal with the OMARCHY logo popped up asking for my password seemingly randomly right while I was configuring NVM.

I didn’t think much of it and I just didn’t want to deal with it at that exact moment. I reflexively pressed CTRL+C a few times to close it out. Then I realized it was SUPER+W (still getting used to it).

Seconds later an error on the top bar of my active screen showed up that a bunch of lines in my hyprland.conf couldn’t be parsed. I had a terminal open and navigated to it… my entire ~/.local/share/omarchy directory was gone.

I couldn’t open new terminals, use hotkeys, open the launcher, or access even the top bar because waybar disappeared to make way for the error messages. I tried to run omarchy-update thinking that might help but it said file not found.

I tried whatever I could and then just quickly made peace with it as part of the learning curve. I backed up my local configs and just reinstalled Omarchy instead of sulking.

To be frank I’m pretty new to running Linux as my personal desktop (though I’ve ran Ubuntu servers for quite a long time). I’m not sure exactly what chain of events my actions caused, but I think the messy way I cancelled the update process caused me to get into some weird edge case.

I’m not writing to complain or ask for a fix, but I’m. A huge fan of Omarchy and wanted to let you guys know what happened.

Thanks for taking the time to read this.

fitzzz avatar Aug 29 '25 17:08 fitzzz

Thanks for the detailed report @fitzzz. Looks like interrupting the update with Ctrl+C during git operations can leave things in a bad state. The git reset --merge in the update script probably shouldn't be there - it can be destructive when git pull is interrupted.

We should add proper signal handling to the update scripts to prevent this. Good catch on identifying that it happened right when you pressed Ctrl+C.

Sorry you had to reinstall, but glad you had backups of your configs.

jardahrazdera avatar Aug 29 '25 23:08 jardahrazdera

Wow thanks so much for addressing this @jardahrazdera. It will really help out any future users from experiencing a beautifully bricked OS :)

Appreciate you handling this.

fitzzz avatar Sep 09 '25 22:09 fitzzz