
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
- Golang docs outdated
Golang docs on the website are update and some if not all methods are broken/ not updated
- "Index length is longer than the maximum...
In one my database, my attribute for `sid` seems to no more than 32 characters. I am not sure what 768 limit is here. Can't find it in the docs either. I need ...
- Appwrite sites 404
Hello ! When I add a subdomain to a deployed website, it gives me a 404 error on said domain thus making the SSL processus not working and im not able to acces...
