Hello! I have Appwrite selfhosted and everything is working except the sites hosting part. I always get an 500 Error and I don't know why.
The DNS should be setup fine this is my APP Domain .env:
TypeScript
_APP_DOMAIN=appwrite.lifeflow.app
_APP_CUSTOM_DOMAIN_DENY_LIST=example.com,test.com,app.example.com
_APP_DOMAIN_FUNCTIONS=appwrite.lifeflow.app
_APP_DOMAIN_SITES=appwrite.lifeflow.app
_APP_DOMAIN_TARGET=appwrite.lifeflow.app
_APP_DOMAIN_TARGET_CNAME=appwrite.lifeflow.app
TL;DR
Appwrite self-hosted setup shows 500 error for sites hosting part, DNS is properly configured on .env file. Appwrite Doctor shows logging adapter misconfigured. Solution: Configure the logging adapter correctly.this is the doctor:
TypeScript
root@lifeflow-appwrite:/home/appwrite# docker exec appwrite doctor
Skipped SMS processing. Missing "_APP_SMS_PROVIDER" or "_APP_SMS_FROM" environment variables.
Skipped SMS processing. Missing "_APP_SMS_PROVIDER" or "_APP_SMS_FROM" environment variables.
__ ____ ____ _ _ ____ __ ____ ____ __ __
/ _\ ( _ \( _ \/ )( \( _ \( )(_ _)( __) ( )/ \
/ \ ) __/ ) __/\ /\ / ) / )( )( ) _) _ )(( O )
\_/\_/(__) (__) (_/\_)(__\_)(__) (__) (____)(_)(__)\__/
π©ββοΈ Running Appwrite Doctor for version 1.7.4 ...
[Settings]
π’ Hostname is valid (appwrite.lifeflow.app)
π’ CNAME record target is valid (appwrite.lifeflow.app)
π’ A record target is valid (5.175.140.22)
π’ AAAA record target is valid (2a06:1283:8d00:1::2)
π’ Using a unique secret key for encryption
π’ App environment is set for production
π’ Abuse protection is enabled
π’ Console access limits are enabled
π’ HTTPS force option is enabled
π’ HTTPS force option is enabled for function/site domains
π΄ Logging adapter is misconfigured
[Connectivity]
π’ Console.DB(console)...............................connected
π’ Projects.DB(database_db_main).....................connected
π’ Cache(cache_redis_main)...........................connected
π’ PubSub(pubsub)....................................connected
π’ SMTP..............................................connected
[Volumes]
π’ Uploads Volume is readable
π’ Uploads Volume is writeable
π’ Cache Volume is readable
π’ Cache Volume is writeable
π’ Config Volume is readable
π’ Config Volume is writeable
π’ Certs Volume is readable
π’ Certs Volume is writeable
[Disk Space]
π’ Uploads Volume has 87.58GB free space (14.87% used)
π’ Cache Volume has 87.58GB free space (14.87% used)
π’ Config Volume has 87.58GB free space (14.87% used)
π’ Certs Volume has 87.58GB free space (14.87% used)
Recommended threads
- THE COLUMNS STUCK ON PROCESSING HOW DO I...
I HAVE SELF HOSTED THE APPWRITE ON VPS
- Impossible to create project via CLI?
Is it possible to create a new project via the appwrite CLI ? I need to create a few projects for something I'm working on and because i don't want to do it man...
- Understanding S3 setup with appwrite
Hey, i'm planning to change the storage from local to S3, tho i have some questions to see before starting the migration. 1. Does all the `/storage/<storage_ty...