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

Error out sooner #31

Open
zgulde opened this issue Jul 7, 2020 · 0 comments
Open

Error out sooner #31

zgulde opened this issue Jul 7, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@zgulde
Copy link
Owner

zgulde commented Jul 7, 2020

We should probably bail out of the site create command after we fail to create the user and the group

 rpal@Rons-MBP blog % codeup_blog site create --domain ronnelpalencia.com --java --spring-boot --port 8080
- Making Sure ronnelpalencia.com Isn't Already Setup...
  ok
- Checking To Make Sure Port 8080 Is Free...
  ok
- Checking DNS Records For ronnelpalencia.com...
  ok
- Logging In To Create ronnelpalencia.com...
- Creating User and Group For ronnelpalencia.com
useradd: group ronnelpalencia-com exists - if you want to add this user to that group, use -g.
Connection to 68.183.114.117 closed.
- Performing Extra Spring Boot Configuration
Performing spring boot app configuration...
sed: can't read /srv/ronnelpalencia.com/config: No such file or directory
- Finished Setting Up ronnelpalencia.com
rpal@Rons-MBP blog %

Also it seems like there's a bug here somewhere in creating/removing the user+group for a site

@zgulde zgulde added the bug Something isn't working label Jul 7, 2020
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

1 participant