Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup is broken if DAZZLE_HOME already exists #45

Open
eriknelson opened this issue Aug 9, 2020 · 0 comments
Open

setup is broken if DAZZLE_HOME already exists #45

eriknelson opened this issue Aug 9, 2020 · 0 comments

Comments

@eriknelson
Copy link
Contributor

I'm trying to store my data on an NFS mount, so I pre-created /nfsmnt/sync, expecting to be able to point DAZZLE_HOME at this directory to use it as my main data directory.

OS: Fedora 32 for Raspberry Pi

Here's the output with my specific paths edited for privacy (there's also an error that I guess is the result of the script assuming something other than systemd? Out of scope for this issue so I will file separately):

[root@<host> sparkleshare]# DAZZLE_USER=sparkle DAZZLE_GROUP=sparkle DAZZLE_HOME=/nfsmnt/sync ./dazzle.sh setup
 1/4 | Installing the Git package...
  -> The Git package has already been installed (version 2.26.2).
 2/4 | Creating account "sparkle"...
  -> Account already exists.
  -> mkdir --parents /nfsmnt/sync
mkdir: cannot create directory ‘/nfsmnt’: File exists
 3/4 | Configuring account "sparkle"...
  -> mkdir --parents /nfsmnt/sync/.ssh
mkdir: cannot create directory ‘/nfsmnt’: File exists
  -> touch /nfsmnt/sync/.ssh/authorized_keys
touch: cannot touch '/nfsmnt/sync/.ssh/authorized_keys': No such file or directory
  -> chmod 700 /nfsmnt/sync/.ssh
chmod: cannot access '/nfsmnt/sync/.ssh': No such file or directory
  -> chmod 600 /nfsmnt/sync/.ssh/authorized_keys
chmod: cannot access '/nfsmnt/sync/.ssh/authorized_keys': No such file or directory
 4/4 | Reloading the SSH config...
  -> /etc/init.d/ssh reload
./dazzle.sh: line 116: /etc/init.d/ssh: No such file or directory

Setup complete!
To create a new project, run "dazzle create PROJECT_NAME".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant