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.sh - not create user vaultwarden if not exist #17

Closed
laweschan opened this issue Dec 8, 2021 · 1 comment
Closed

setup.sh - not create user vaultwarden if not exist #17

laweschan opened this issue Dec 8, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@laweschan
Copy link

laweschan commented Dec 8, 2021

Describe the bug
As Title

To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/vpolaris/Podman-Bitwarden.git
cd Podman-Bitwarden
chmod u+x setup.sh; sudo ./setup.sh

Expected behavior
script will auto create user if not exists

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Fedora
  • Browser [e.g. chrome, safari]
  • Version 34

Additional context
add command "groupadd docker" before this line:
useradd -m -u 10502 -G docker --shell /bin/bash --comment "Vaultwarden RS User Container" --user-group vaultwarden

then it should able to continues

@laweschan laweschan added the bug Something isn't working label Dec 8, 2021
vpolaris added a commit that referenced this issue Dec 12, 2021
@vpolaris
Copy link
Owner

I adding a test to check docker group and create it if missing,

if [[ "$(getent group docker)"!="" ]];then 
    printf "group docker exists\n"
else
    groupadd docker
fi

thank you for your support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants