Directus app can't connect to my postgres database

After moving organisation my directus app is having trouble connecting to my postgres database. The database appears to be running fine, but it looks like the app is having trouble connecting to the database as I am getting the following error:

2023-03-14T13:34:12Z [info][13:34:11.941] ERROR: Can’t connect to the database.
2023-03-14T13:34:12Z [info][13:34:11.941] ERROR: getaddrinfo ENOTFOUND app-db.flycast
2023-03-14T13:34:12Z [info] err: {
2023-03-14T13:34:12Z [info] “type”: “Error”,
2023-03-14T13:34:12Z [info] “message”: “getaddrinfo ENOTFOUND app-db.flycast”,
2023-03-14T13:34:12Z [info] “stack”:
2023-03-14T13:34:12Z [info] Error: getaddrinfo ENOTFOUND app-db.flycast
2023-03-14T13:34:12Z [info] at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26)
2023-03-14T13:34:12Z [info] “errno”: -3008,
2023-03-14T13:34:12Z [info] “code”: “ENOTFOUND”,
2023-03-14T13:34:12Z [info] “syscall”: “getaddrinfo”,
2023-03-14T13:34:12Z [info] “hostname”: “app-db.flycast”
2023-03-14T13:34:12Z [info] }

Any help is greatly appreciated.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.