ublue-os / fleek

[deprecated] Own your $HOME
https://getfleek.dev
Apache License 2.0
831 stars 27 forks source link

Fails to install on a machine using SSO with a domain user #356

Open dylanmtaylor opened 9 months ago

dylanmtaylor commented 9 months ago

Describe the bug I am using an Amazon WorkSpace VDI that uses SSO w/ active directory. My username is taylord on the system, but fleek shows in in ~/.fleek.yml as 'taylord@redacted.local', where redacted is my company's name. When trying to do the -- apply step from the installation guide, I get an exit status 1 and the product does not install with this error:

error: syntax error, unexpected '@'.

To Reproduce Steps to reproduce the behavior:

Attempt to install Fleek using a domain-joined device

Expected behavior A clear and concise description of what you expected to happen.

It should install successfully.

Environment

dylanmtaylor commented 9 months ago

When I remove the @redacted.local from the username fields, it gives me Error: system not found when trying again.

dylanmtaylor commented 9 months ago

I found a workaround. You need to export the username before the @ then run it again.

export USER=echo $USER|cut -d'@' -f1

dylanmtaylor commented 9 months ago

Hmm, tried again and it is still failing here.

installing 'home-manager-path' building '/nix/store/65xf6x3apafl2jv7bs2ajvmg9m0bllcz-user-environment.drv'... error: opening lock file '/nix/var/nix/profiles/per-user/taylord@redacted.local/profile.lock': No such file or directory

Oops, Nix failed to install your new Home Manager profile!

Perhaps there is a conflict with a package that was installed using "nix-env -i"? Try running

nix-env -q

and if there is a conflicting package you can remove it with

nix-env -e {package name}

Then try activating your Home Manager configuration again. ERROR
ERROR Error: exit status 1 ERROR
ERROR
ERROR Error: exit status 1 ERROR
ERROR
ERROR Error: ERROR
ERROR There was an internal error. Run with FLEEK_DEBUG=1 for a detailed error message, and consider reporting it at https://github.com/ublue-os/fleek/issues

dylanmtaylor commented 9 months ago

Odd, I removed ~/.nix-profile then tried again -- and it worked.

Broken lrwxrwxrwx 1 taylord domain users 59 Mar 19 2023 .nix-profile -> /nix/var/nix/profiles/per-user/taylord@redacted.local/profile Working: lrwxrwxrwx 1 taylord domain users 47 Feb 23 17:35 .nix-profile -> /home/taylord/.local/state/nix/profiles/profile