Back

Console error on self hosted

  • 0
  • Self Hosted
  • Databases
djcali
13 Feb, 2025, 04:02

Hello,

I went to upgrade one of my servers from 1.4.13 to 1.5.0, and it failed during migration.

at some point i had the error Failed to create connection: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mariadb failed: Try again

I couldn't resolve this issue, after searching for a solution. I reverted back to 1.4.13 and now my console says: {"message":"Error: Server Error","code":500,"version":"1.4.13"}

I messed something up. I was able to access the mariaDB, and i do see all the tables and data there. So at least i have that.

Any help getting the console working would be appreciated.

TL;DR
Upgrade to the latest 1.5.X version instead of 1.5.0. Check Docker logs for the appwrite container for more details. If getting a 500 error, also check logs for containers that are restarting. The error message suggests a connection issue with mariadb during migration. Revert back to 1.4.13 for now.
Steven
13 Feb, 2025, 04:35

you don't need to upgrade to 1.5.0. you can upgrade to the latest 1.5.X

Steven
13 Feb, 2025, 04:35

if you're getting a 500 error. check the docker logs for the appwrite container

Steven
13 Feb, 2025, 04:35

you should also check the logs for the containers that are restarting

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more