Update to 1.4.1 failed
[SOLVED] "Failed to create connection: php_network_getaddresses: getaddrinfo failed" on 1.4.1
Votes
0
Replies
24
Participants
Unknown
Messages
25
"Failed to create connection: php_network_getaddresses: getaddrinfo failed" on 1.4.1
Rank 2: Process
Containers continuously restarting
appwrite container seems to be okay now?
Rank 2: Process
Not at all unfortunately. Here is the log of appwrite container
Worker 2 started successfullyWorker 3 started successfullyWorker 4 started successfullyWorker 5 started successfullyWorker 7 started successfullyWorker 6 started successfullyWorker 9 started successfullyWorker 11 started successfullyWorker 10 started successfullyWorker 13 started successfullyWorker 14 started successfullyWorker 15 started successfullyWorker 16 started successfullyWorker 17 started successfullyWorker 18 started successfullyWorker 12 started successfullyWorker 20 started successfullyWorker 19 started successfullyWorker 21 started successfullyWorker 22 started successfullyWorker 8 started successfullyWorker 23 started successfullyWorker 24 started successfullyDatabase 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?
Rank 2: Process
I did restart all containers exept mariadb nad redis though
Rank 2: Process
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?
Rank 2: Process
No I didn't change anything
What about redis environment variables?
Rank 2: Process
Didn't change as well
Would you be able to dm me the docker compose and .env files?
Rank 2: Process
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
Rank 2: Process
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
Rank 2: Process
Same error
Rank 2: Process
let's see if there's anything running
docker compose down
docker ps -a
also, do you have a docker-compose.override.yml file?
Rank 2: Process
I've deleted networks and was able to start appwrite but noe I get this error :
Rank 2: Process
Yes I have docker-compose.override.yml
did you run the migrate command successfully?
Rank 2: Process
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