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
- how to access the value of account statu...
- Redirect from clicking team invite link ...
Hi all! Pretty new to app development in general so this might be something more generic than appwrite, but I've found (after reading the docs for the Teams API...
- Hosting Issues with Static IP not domain...
I have a machine with Static Public IP. I want to host Appwrite Site on it but I tried it but it doesn't allow IP addresses in Domain names. What should I do h...