Getting the following error when trying to launch the brave browser:
ERROR:process_singleton_posix.cc(358)] The profile appears to be in use by another Brave process (1792) on another computer (localhost). Brave has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Brave.
I’m pretty sure I know what caused it, but I’m not sure how to solve it.
Trying to find the SingletonLock
in the nix store has not been successful.
So I figured I’d re-install it. My idea of an uninstall on nixos is to remove it from configuration.nix and hope garbage collection takes care of it. but that doesn’t work here (not surprised).
The web/documentation has not been helpful.
I can’t even find ‘brave’ in my configuration.nix…so I don’t even know how I installed it (or where), but I did add it to my configuration and it added more files to ‘store’…
Do I just rm
the store
files, and run nixos-rebuild switch
.
Feeling pretty ignorant during all this.
It’s state, which is not in the store, it’s wherever brave put it. Probably ~/.config/brave
iirc. Reinstalling won’t to anything, as nix doesn’t manage the contents of state.
Run which brave
and share the output.
Found, and fixed. Would love to know where you find this info. I’ve read through the manual, but I’m looking for consistent work I can do to understand Nix/Nixos better. The common tutorials online aren’t helping me, and there’s no “Nix Bible” or things like that like there is a “Linux bible”.
SysAdmin stuff seems to cover things with other linux textbooks.
Or a deep dive textbook into the language.
Seems like having the whole assumption that people already have dev skills or linux skills when they come to nix is holding it back.
1 Like
Without knowing what you want to achieve, I can’t give anything more than vague advice.
There’s A tour of Nix to introduce you to the language, but it won’t teach you much about using nix in your config. For that, there’s basically only the manuals, this forum, and wiki.nixos.org.
If you want general understanding of things on Linux, there’s wiki.archlinux.org.
1 Like