Did the team overwrite database vars?
deani1232
PROOP

2 years ago

Hey I think I'm going crazy. Multiple of my database vars are randomly empty across different projects and services as of two days ago. Even stranger, one of the projects had variables cleared out on one environment but not the other.
This didn't happen to all environments, but it looks like specifically it was the ones with the older DB names such as "PGHOST" or "PGPASSWORD". The newer names such as "POSTGRES_USER" seem to have been untouched.

Am I crazy? Was this a mistake with the DB migration logic? It didn't kill anything super important due to being really careful surrounding the important DB migrations, but now I'm paranoid.

15 Replies

deani1232
PROOP

2 years ago

n/a


2 years ago

where these variables that where referencing legacy databases?


deani1232
PROOP

2 years ago

I know there was an issue with a polyfill a while back on older services, this one is from a fresh metabase install from about 3 weeks ago, it shows the private vars but no public ones. I don't have a specific project to show for this issue, as I had to overwrite all the variables again to make services work.

1216060537734168600


2 years ago

I own the metabase template, and I don't think it comes with the database publicly exposed


deani1232
PROOP

2 years ago

Overall I don't think this is a big issue, it just took down a dev server and a few other little things. How do I publically expose that DB? I need to connect to it to get a user token off of it.


2 years ago

I just checked, yes this is correct, it does not come with the database exposed so there is not going to be public variable values


2 years ago

please see the overview


deani1232
PROOP

2 years ago

I clicked enable TCP and got the public port and proxy and I still can't seem to connect to it via Datagrip.


2 years ago

have you redeployed the database?


deani1232
PROOP

2 years ago

I did not


deani1232
PROOP

2 years ago

I will try that


deani1232
PROOP

2 years ago

Redeploying works. I think it should do that as part of the process. I will leave that in the feedback channel.


2 years ago

hold off on that please


2 years ago

needing to redeploy is a bug on its own, the team is aware of that


deani1232
PROOP

2 years ago

Oh okay


Loading...