"Error: Request failed with status code 500" when trying to deploy postgres or mysql #1988
-
I'm on a fresh install of CapRover running on a Raspberry Pi. The error occurs after the "Configuring" stage and immediately when the "Deploying" stage begins. This seems to be happening for me on all one-click apps that have a database. I haven't had this in other hosting environments so I'm sure I'm doing something wrong here! Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
500 error means that your server failed. You can view the logs and see what happened:
|
Beta Was this translation helpful? Give feedback.
-
Turned out to be a permissions issue with 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 |
Beta Was this translation helpful? Give feedback.
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:
And I fixed it by running: