Skip to content

"Error: Request failed with status code 500" when trying to deploy postgres or mysql #1988

Answered by silasabbott
silasabbott asked this question in Q&A
Discussion options

You must be logged in to vote

Turned out to be a permissions issue with /var/run/docker.sock, probably because I was managing from a non-root user.

I determined this by viewing logs:

docker service logs captain-captain --since 5m

And I fixed it by running:

sudo chmod 666 /var/run/docker.sock

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@silasabbott
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by silasabbott
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants