Why is the data service suddenly unavailable, and the database URL, PROT, and password are changed w

Why is the data service suddenly unavailable, and the database URL, PROT, and password are changed without prior notice? I'm so angry, you guys are a bunch of amateurs
No description
Solution:
you performed the migration but were still connected to the legacy database, the legacy database has now been shut down. please re-migrate the legacy database. then look for any hardcoded database credentials and replace them with environment variables and reference variables....
Jump to solution
9 Replies
Percy
Percy•10mo ago
Project ID: 98c71fc1-c592-44be-bc03-2c5bff4a5785
Zisu | Owlando🦉
Zisu | Owlando🦉OP•10mo ago
98c71fc1-c592-44be-bc03-2c5bff4a5785
Solution
Brody
Brody•10mo ago
you performed the migration but were still connected to the legacy database, the legacy database has now been shut down. please re-migrate the legacy database. then look for any hardcoded database credentials and replace them with environment variables and reference variables.
Zisu | Owlando🦉
Zisu | Owlando🦉OP•10mo ago
I completed the migration work as early as last month and confirmed that all database information was updated. The database service was normal yesterday, but today I suddenly found that all database information became incorrect. This is obviously not my problem
Brody
Brody•10mo ago
from your logs you are trying to connect to the now shut down legacy database still, please re-run the migration and update all hardcoded connection details
Zisu | Owlando🦉
Zisu | Owlando🦉OP•10mo ago
I'm pretty sure my service is not hardcoded and the fix has been done
No description
Brody
Brody•10mo ago
where does the config module get those settings from?
angelo
angelo•10mo ago
your old env vars were hard coded to the legacy database
No description
angelo
angelo•10mo ago
I can imagine how unbelievably frustrated you are, and I truly apologize for that. However, in our migration guidance, we tried our best to notify everyone to update their variables. After you migrated around a month ago- we have since shipped an update that detects if you have hardcoded variables and changes them on your behalf.
Want results from more Discord servers?
Add your server