Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

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

Open
dylanmtaylor opened this issue Feb 11, 2024 · 4 comments
Open

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

dylanmtaylor opened this issue Feb 11, 2024 · 4 comments

Comments

@dylanmtaylor
Copy link

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
Copy link
Author

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

@dylanmtaylor
Copy link
Author

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

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

@dylanmtaylor
Copy link
Author

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
Copy link
Author

dylanmtaylor commented Feb 23, 2024

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant