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

Database no longer available? #3

Open
stevenbeeckman opened this issue Nov 22, 2020 · 11 comments
Open

Database no longer available? #3

stevenbeeckman opened this issue Nov 22, 2020 · 11 comments

Comments

@stevenbeeckman
Copy link
Collaborator

After upgrading Heroku to the heroku-20 stack the app was redeployed and it turns out the DB is no longer available.

@imrehg
Copy link
Owner

imrehg commented Nov 22, 2020 via email

@stevenbeeckman
Copy link
Collaborator Author

stevenbeeckman commented Nov 22, 2020 via email

@stevenbeeckman
Copy link
Collaborator Author

I'm not sure who owned the DB this app was writing to and reading from.

I have a MySQL server running for my own projects, I can point this Heroku app to my own server. But what about the history of all the bus location logs?

@hansvangent
Copy link
Collaborator

hansvangent commented Nov 22, 2020 via email

@stevenbeeckman
Copy link
Collaborator Author

stevenbeeckman commented Nov 22, 2020 via email

@imrehg
Copy link
Owner

imrehg commented Nov 22, 2020

Found the Heroku deployment, just looking at it now. And indeed it's a Dutch server :)

@imrehg
Copy link
Owner

imrehg commented Nov 22, 2020

There was one issue, that I seem to have deleted the previous Google Maps API key, so the map didn't work. That is now fixed, and the maps shows.

For the database, not sure what have you seen, what's not connecting? The logs don't seem to indicate anything, but didn't look too deep. Seen the database connection error now, looking at that.

@imrehg
Copy link
Owner

imrehg commented Nov 22, 2020

I think it's the database server that is gone/not responding, not related to the new Heroku deploy.

I've invited both of you to be collaborators on this repo, so can easier manage what's needed, though for this particular issue, I think it's only a database values update in the Heroku env vars.

Also opened #5 which updates all the dependencies to a more up-to-date version, so the server should be more solid, but so far only tested it locally.

@stevenbeeckman
Copy link
Collaborator Author

@imrehg Thanks. I'll modify the database env vars on Heroku once I know more.

@jcvangent here are the DB details:

  • Host: dbext047148.bytenet.nl
  • DB: db047148_sbe
  • Table: wp_startupbus_bus_tracking

If the server's gone: no problem, I'll have it point to my servers. It would be great if we could recover the data though.

@imrehg
Copy link
Owner

imrehg commented Dec 2, 2020

@stevenbeeckman how is it going, made any progress on this or any help that can be given?

@stevenbeeckman
Copy link
Collaborator Author

stevenbeeckman commented Dec 2, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants