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
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...