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

Fleek join on previously registered system deletes config #368

Open
mtalexan opened this issue Mar 7, 2024 · 0 comments
Open

Fleek join on previously registered system deletes config #368

mtalexan opened this issue Mar 7, 2024 · 0 comments

Comments

@mtalexan
Copy link

mtalexan commented Mar 7, 2024

Describe the bug
I had to rebuild and reinstall a system that had fleek installed and running on it previously. After the fresh OS install, which used the same hostname and had all the same credentials and git settings, I did fleek join to get fleek re-installed and setup. It prompted for name and email, which I entered the same as what was already in my fleek config for the hostname, but after the fleek join completed it had wiped my settings for that hostname.

To Reproduce

  1. Install fleek on a system.
  2. Enable auto commit and auto push
  3. Add any customization to the ~/.local/share/fleek/$(hostname)/customize.nix file
  4. Create a new system with the same hostname and gitconfig and install fleek on it. Use the same name and email address as before when prompted.
  5. Look at the ~/.local/share/fleek/$(hostname)/customize.nix
  6. Notice the customization from step 3 is gone
  7. Check the git commit history and see that the "new system" overwrote the customized file

Expected behavior
Re-installing fleek on a system that used to have it uses the existing config in the fleek config repo and doesn't overwrite it.

Environment

  • OS: Ubuntu 22.04
  • Shell: bash and zsh
  • fleek version: 10.5.1

Additional context

I question whether the "Ephemeral System" instructions would work either since that's basically the same case. Trying to do a fleek join to an existing "hostname" that's already present in the config.

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