Web Developer
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
...