Skip to content
Back

Sites not working

  • 0
  • Self Hosted
  • General
TOP G Serverbauer
4 Jun, 2025, 00:40

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.
TOP G Serverbauer
4 Jun, 2025, 00:42

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)
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more