[SOLVED] "Failed to create connection: php_network_getaddresses: getaddrinfo failed" on 1.4.1
- 0
- Self Hosted

Update to 1.4.1 failed

"Failed to create connection: php_network_getaddresses: getaddrinfo failed" on 1.4.1

Containers continuously restarting

appwrite container seems to be okay now?

Not at all unfortunately. Here is the log of appwrite container
Worker 2 started successfully
Worker 3 started successfully
Worker 4 started successfully
Worker 5 started successfully
Worker 7 started successfully
Worker 6 started successfully
Worker 9 started successfully
Worker 11 started successfully
Worker 10 started successfully
Worker 13 started successfully
Worker 14 started successfully
Worker 15 started successfully
Worker 16 started successfully
Worker 17 started successfully
Worker 18 started successfully
Worker 12 started successfully
Worker 20 started successfully
Worker 19 started successfully
Worker 21 started successfully
Worker 22 started successfully
Worker 8 started successfully
Worker 23 started successfully
Worker 24 started successfully
Database not ready. Retrying connection (1)...
Database not ready. Retrying connection (2)...
Database not ready. Retrying connection (3)...
Database not ready. Retrying connection (4)...
Database not ready. Retrying connection (5)...
Database not ready. Retrying connection (6)...

What about the mariadb logs?

I did restart all containers exept mariadb nad redis though

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

Doesn't seem like it's even connecting. Did you change the database environment variables from the default install?

No I didn't change anything

What about redis environment variables?

Didn't change as well

Would you be able to dm me the docker compose and .env files?

yes of cause

thanks, the files look fine and i was able to run them fine...
maybe there's a network conflict...have you tried recreating stack with:
docker compose down
docker compose up -d

I got this reponce as I did docker compose up -d
command Error response from daemon: Could not attach to network appwrite: rpc error: code = NotFound desc = network appwrite not found

docker compose down
was fine? try docker compose up -d --remove-orphans

Same error


let's see if there's anything running
docker compose down
docker ps -a
also, do you have a docker-compose.override.yml file?

I've deleted networks and was able to start appwrite but noe I get this error :

Yes I have docker-compose.override.yml

did you run the migrate command successfully?

did you run the migrate command
I just was doing right that, and finally everything is on fly again:) Thank you very much for your support.

[SOLVED] "Failed to create connection: php_network_getaddresses: getaddrinfo failed" on 1.4.1
Recommended threads
- Unable to connect. Is the computer able ...
Hi, I followed the self-hosted documentation, copied the docker compose and .env and executed the `docker compose up -d` command. I have appwrite running on my...
- Manually add a user to an organization w...
I've read around for a while now, but I cannot seem to find any support regarding adding a user to an organization manually without using an email.
- Could a self hosted appwrite server be d...
I was surprised that they didn't have a template for appwrite.
