Failed to create connection: php_network_getaddresses: getaddrinfo failed: Try again
- 0
- Self Hosted

IM migrating to appwrite:1.4.14

from appwrite:1.4.13

please help

Why you've needed to upgrade it?

I need to make the appwrite to latest version

and now Im stuck in upgradation

I see What are the results of
docker network inspect appwrite


It seems like the database is connected

What are the results of
docker logs appwrite
and
docker logs appwrite-mariadb

2024-03-14 18:21:30 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2024-03-14 18:21:30 0 [Note] InnoDB: Number of transaction pools: 1 2024-03-14 18:21:30 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 2024-03-14 18:21:30 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2024-03-14 18:21:30 0 [Note] InnoDB: Using Linux native AIO 2024-03-14 18:21:30 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728 2024-03-14 18:21:30 0 [Note] InnoDB: Completed initialization of buffer pool 2024-03-14 18:21:31 0 [Note] InnoDB: 128 rollback segments are active. 2024-03-14 18:21:31 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2024-03-14 18:21:31 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2024-03-14 18:21:31 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2024-03-14 18:21:31 0 [Note] InnoDB: 10.7.8 started; log sequence number 2750291301; transaction id 8672561 2024-03-14 18:21:31 0 [Note] Plugin 'FEEDBACK' is disabled. 2024-03-14 18:21:31 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2024-03-14 18:21:31 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 2024-03-14 18:21:31 0 [Note] Server socket created on IP: '0.0.0.0'. 2024-03-14 18:21:31 0 [Note] Server socket created on IP: '::'. 2024-03-14 18:21:32 0 [Note] mysqld: ready for connections. Version: '10.7.8-MariaDB-1:10.7.8+maria~ubu2004' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2024-03-14 18:21:40 0 [Note] InnoDB: Buffer pool(s) load completed at 240314 18:21:40

The database is fine

14.5s [root@Appwrite appwrite]# docker compose exec appwrite migrate Failed to create connection: php_network_getaddresses: getaddrinfo failed: Try again

What is the output
docker compose down
docker ps -a


Okay Now try once more after starting it and let us know

do I need to run docker compose up -d before docker compose exec appwrite migrate

Yes


And what is the output of docker ps
now?


on front end IM getting below error
{"message":"Error: Server Error","code":500,"version":"1.4.14"}

I'm not sure about version 1.4.14

For now I'll try to go back to 13

Can i able to downgrade with out any issues, is this the command to doengrade?
docker run -it --rm --volume /var/run/docker.sock:/var/run/docker.sock --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw --entrypoint="upgrade" appwrite/appwrite:1.4.13
Recommended threads
- Question about adding duplicate worker-f...
1.) Is this still this is a valid strategy for having parallel processing of async function executions? I saw some support threads on the appwrite site which we...
- Problem for certificate
Good evening! I installed Appwrite on my hosting via Docker Compose. Then I set up the .env configuration. But for some reason it does not support HTTPS, when l...
- SMTP Error: Could not connect to SMTP
My appwrite self-hosted instance on DigitalOcean cannot sennd emails. The following results were performed Log: ``` docker compose logs -f appwrite-worker-mail...
