Metabase connects to Postgres but then says "Unknown Source"

Hello, I’m new to database. I was migrating stuff to a different server and chose to run database in docker.
I think we were running an older version, but I saw the logs at the startup like, updated the database, all seemed fine. Was able to recover password, login, all good.

But when we try to view dashboards or queries someone else created before, it hangs, and log gets filled with messages like:

at java.sql.DriverManager.getConnection(Unknown Source)

I’m not sure what to do here

Hi @cusco
Please post “Diagnostic Info” from Admin > Troubleshooting.
And the entire stacktrace error from the log - Admin > Troubleshooting > Logs.
From the looks of it, it seems like you need to adjust the database connection in Admin > Databases.

Hello @flamber

Thank you so much. I thought all I needed were the env variables, didn’t know about “admin databases”

Sorry for the trouble and thank you again :slight_smile:

@cusco Well, that’s two very different things.
The application database is where Metabase stores all it’s information, while the Admin > Databases is where you setup the databases that the users of Metabase can access information from.

Understood

Thank you :smiley: