Crashloop on database connection #4031
Answered
by
elahmo
elahmo
asked this question in
Self-Hosted Support
-
I am unable to get the app running:
It appears that this silently fails for some reason. I have tried raising the LOG_LEVEL to debug to see whether something would pop up, without success. Any idea what to check? |
Beta Was this translation helpful? Give feedback.
Answered by
elahmo
Apr 28, 2024
Replies: 1 comment 2 replies
-
👋 @elahmo Please try changing the compose command to just running the app to see if it provides more information on possible connection errors. plausible:
image: plausible/analytics:v2.0
- command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
+ command: sh -c "sleep 10 && /entrypoint.sh run" |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the input! It appears the problem was with click house URL not being set up properly, in any case it would be helpful to see what was the reason for the crash as I had the URL set up but with different schema (
clickhouse:https://
instead ofhttp
) so it was a simple and, in hindsight, obvious fix, but I spent a few hours trying to figure out what was wrong :(