
Hey,
So I am trying to get Appwrite running on my Ubuntu Server using the below command
docker run -it --rm \
    --volume /var/run/docker.sock:/var/run/docker.sock \
    --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
    --entrypoint="install" \
    appwrite/appwrite:1.5.3
I am planning on adding a domain name, but for now I am running it localhost and proxying the ports to my local machine. During the setup I set the ports to 8000 and 8443 and changed the secret, the rest I have left default. This worked locally on my Windows PC but not my server (no idea why)
When I run docker-compose logs I see a large number of errors regarding connecting to redis and mariadb. I've attached a snippet for the SQL connection error and the picture is redis connection issues.
I found https://discord.com/channels/564160730845151244/1111268781734514750/1111268781734514750 although I tried running as sudo but no luck.
When I run docker ps I see that appwrite-maintenance, appwrite-scheduler-messages and appwrite-scheduler-functions keep crashing and restarting.
Any ideas?
...
appwrite-realtime               | Pub/sub error: Failed to create connection: Operation timed out
appwrite-realtime               | [Error] File: /usr/src/code/vendor/utopia-php/pools/src/Pools/Pool.php
appwrite-realtime               | [Error] Line: 193
appwrite-realtime               | Pub/sub error: Failed to create connection: Operation timed out
appwrite-realtime               | [Error] Line: 193
appwrite-realtime               | Pub/sub error: Failed to create connection: Operation timed out
appwrite-realtime               | [Error] Line: 193
appwrite-realtime               | [Error] Type: Exception
appwrite-realtime               | [Error] Type: Exception
appwrite-realtime               | [Error] Message: Failed to create connection: Operation timed out
appwrite-realtime               | [Error] File: /usr/src/code/vendor/utopia-php/pools/src/Pools/Pool.php
appwrite-realtime               | Pub/sub error: Failed to create connection: Operation timed out
appwrite-realtime               | [Error] Message: Failed to create connection: Operation timed out
appwrite-realtime               | Pub/sub error: Failed to create connection: Operation timed out
appwrite-realtime               | [Error] Type: Exception
appwrite-realtime               | Pub/sub error: Failed to create connection: Operation timed out
appwrite-realtime               | [Error] Message: Failed to create connection: Operation timed out
appwrite-realtime               | [Error] Line: 193
appwrite-realtime               | [Error] File: /usr/src/code/vendor/utopia-php/pools/src/Pools/Pool.php
appwrite-realtime               | [Error] File: /usr/src/code/vendor/utopia-php/pools/src/Pools/Pool.php
appwrite-realtime               | [Error] File: /usr/src/code/vendor/utopia-php/pools/src/Pools/Pool.php
appwrite-realtime               | Pub/sub error: Failed to create connection: Operation timed out
appwrite-realtime               | [Error] Line: 193
appwrite-realtime               | [Error] Message: Failed to create connection: Operation timed out
appwrite-realtime               | [Error] Line: 193
appwrite-realtime               | Pub/sub error: Failed to create connection: Operation timed out
appwrite-realtime               | [Error] Type: Exception
appwrite-realtime               | [Error] Type: Exception
appwrite-realtime               | [Error] File: /usr/src/code/vendor/utopia-php/pools/src/Pools/Pool.php
appwrite-realtime               | [Error] Line: 193
appwrite-realtime               | [Error] Type: Exception
appwrite-realtime               | [Error] Line: 193
appwrite-realtime               | Pub/sub error: Failed to create connection: Operation timed out
...

Also now when I run docker logs appwrite I get the snippet below, it did this before infinitly. 
Worker 92 started successfully
Worker 93 started successfully
Worker 94 started successfully
Worker 95 started successfully
Worker 96 started successfully
Database not ready. Retrying connection (1)...
Database not ready. Retrying connection (2)...

Is appwrite-mariadb running? What do you see in the logs for that one?

mariadb doesnt seem to have restarted or thrown any unusual errors that I can see

Try a compose down and compose up to bounce if you haven't, just to rule out its not transient. Are you able to connect to the MariaDB database using the environment vars set in the .env file?

When I down and back up it, the Redis and SQL connection errors persist.
And after modifying the compose file for exposing 3306 and connecting, I can connect as both users, root and user
Recommended threads
- Server error 500 in appwrite 1.8.0jwt = users.create_jwt(res["userId"])["jwt"] I got this error 500 after changing environment variables and restarting containers export _APP_DOMAIN=server1.ava... 
- Email templates partially broken in non-...Good afternoon! Non-english locales are missing some variables introduced in recent releases. That makes the sent emails look bad. The issue has been raised a... 
- AI feature by functions?I'm creating a website where, in short, users can index certain genealogical content. In connection with the development of AI, I was thinking about introducing... 
