-
Notifications
You must be signed in to change notification settings - Fork 62
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
Hits Count Issue #203
Comments
@C3n7ral051nt4g3ncy thank you for reporting the disruption of service. 💔 CC: @LuchoTurtle & @SimonLab time to add Monitoring+Alerts for QoS? 💭 |
Database error:
|
Looking directly at the log for the database on fly, it seems the postgres database is not available: cmd/keeper.go:1526 failed to start postgres {"error": "postgres exited unexpectedly"} |
@SimonLab Thanks for investigating. curious what sort of volume triggered this crash. 💭 🤷♂️ |
Ok. cool. thanks for documenting. 👍 |
This might be a possible reason for the issue: https://fly.io/docs/elixir/getting-started/#important-ipv6-settings I don't know if there is a way to rebuild the Dockfile with fly. I've added the line manually to the file |
similar error describe here: https://community.fly.io/t/postgres-failed-to-connect-to-proxy-context-deadline-exceeded/8141/14 |
I think the free tier has reached its limit for the database and has switch to read only. similar to https://community.fly.io/t/why-cant-i-restart-db-for-some-reason-it-does-not-work-although-the-status-says-running/9121 @nelsonic I think we might need to scale up the database for it work properly again (I think that's the issue)
|
Looks like we need to spend a bit of money and upgrade the Postgres DB. 💸 |
I've added a comment on Fly: https://community.fly.io/t/postgres-failed-to-connect-to-proxy-context-deadline-exceeded/8141/17 |
Ok, what do we need to do next. Can we re-size the volume used to by the |
At the end I don't think it's a "scale" issue. If I haven't have any answer from #203 (comment) soon I might write a newer post and hopefully get a reply |
Hmmmm ... that's not great. Do you think that having the DB replicated across 2 (or more) Fly.io regions would mitigate the issue in future? |
I'm not sure what is the recommended way for manging postgres app to make sure the data are always available, I need to research the documenatation (https://fly.io/docs/reference/postgres-on-nomad/#about-fly-postgres) and the community (https://community.fly.io/) to have a better understanding |
@SimonLab looking forward to your conclusion. Happy to adopt any protocol you determine. 👌 |
Created a new topic: https://community.fly.io/t/postgres-unavailable-context-deadline-exceeded/9227 |
@SimonLab should we still check disk usage on the |
running |
This comment was marked as resolved.
This comment was marked as resolved.
I understand from these that there is a lot of available space still, no? |
Yeah seems like the server has Thanks again @SimonLab ❤️ |
Thanks to all!!! |
Hey,
Thanks for the great work you did on hits.
My hits counter is not working since the last 48 hours.
Server issues?
Repo: https://github.com/C3n7ral051nt4g3ncy/Masto
The text was updated successfully, but these errors were encountered: