fleek icon indicating copy to clipboard operation
fleek copied to clipboard

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

Open dylanmtaylor opened this issue 1 year ago • 4 comments

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 '[email protected]', 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

  • OS: Ubuntu Pro 22.04
  • Shell: bash
  • fleek version It failed to install, but latest as of writing.

dylanmtaylor avatar Feb 11 '24 19:02 dylanmtaylor

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

dylanmtaylor avatar Feb 11 '24 19:02 dylanmtaylor

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

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

dylanmtaylor avatar Feb 14 '24 01:02 dylanmtaylor

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/[email protected]/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 avatar Feb 23 '24 22:02 dylanmtaylor

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/[email protected]/profile Working: lrwxrwxrwx 1 taylord domain users 47 Feb 23 17:35 .nix-profile -> /home/taylord/.local/state/nix/profiles/profile

dylanmtaylor avatar Feb 23 '24 22:02 dylanmtaylor