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
- Project is not accessible in this region...
I previous had a SMTP server setup in Appwrite to send emails and it worked perfectly. My AWS SES account got reset for some reason so I had to recreate credent...
- Imagine studio showing error
I know that imagine will be going down by next month. So I was trying to export the project yesterday, but that didn't work. Today I tried logging in again but ...
- 408 Timeout / Curl Error 7 in Executor w...
Hey everyone, I am losing my mind over a routing loop/timeout issue on a fresh self-hosted setup. I have a single Linux VPS (IP: 45.141.37.105) and one domain (...