ublue-os / fleek

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

Home path is repeated twice when trying to init fleek #221

Closed 1024bees closed 1 year ago

1024bees commented 1 year ago

Describe the bug fleek init --force fails with the following output:

fleek init --force                 
 [*]  Initialize fleek
 [i]  Writing configuration files
 [i]  Bling Level: default
 [i]  Enter User Details for Git Configuration:
 [i]  Detected your name: James
Use detected name: James Yes
Use detected email: jimmy@1024bees.com Yes
Choose Git SSH Key id_rsa.pub
  ERROR   
  ERROR   
          Error: Creating configuration files
          source: open /home/james/home/james/.local/share/fleek/.fleek.yml: no such file or directory
  ERROR   

I've encountered this when I tried to upgrade fleek today to pick up the fix for #200. I had issues and decided to try to blow away everything and start anew, so I moved my ~/.local/share/fleek folder to safe place, removed ~/.fleek.yml and ran fleek init --force

To Reproduce Run fleek init --force with a fresh fleek

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

Environment

Additional context I've checked that my $HOME is set to /home/james

ghost commented 1 year ago

I am also having the same issue on Ublue Bluefin (Fedora 38)

Can't apply configuration using fleek apply

1024bees commented 1 year ago

I think it was introduced recently -- I have a fix on #222 if you'd like to try it out