Follow the MariaDB steps here
router_host_not_found after Upgrading to 1.4.0
Votes
1
Replies
24
Participants
Unknown
Messages
25
mariadb: image: mariadb:10.7 # fix issues when upgrading using: mysql_upgrade -u root -p container_name: appwrite-mariadb <<: *x-logging restart: unless-stopped networks: - appwrite volumes: - appwrite-mariadb:/var/lib/mysql:rw environment: - MYSQL_ROOT_PASSWORD=${_APP_DB_ROOT_PASS} - MYSQL_DATABASE=${_APP_DB_SCHEMA} - MYSQL_USER=${_APP_DB_USER} - MYSQL_PASSWORD=${_APP_DB_PASS} command: 'mysqld --innodb-flush-method=fsync'Moderator
Oh, okay
Rank 1: Thread
Tried that but still the same
Admin
do you have a reverse proxy in front?
Rank 1: Thread
Yes from cloudflare
Rank 1: Thread
I just disable the proxy but the same
Cloudflare won't affect that's okay
Admin
Nothing else?
Rank 1: Thread
Nothing else
Admin
This doesn't seem right...usually domain and domain target are the same.
Is the domain your accessing appwrite == that domain env var?
Rank 1: Thread
Can I downgrade to previous version then upgrade again
You have db backup?
Rank 1: Thread
It's a new APP, no data yet
Then you can just reinstall it
And also change the _APP_DOMAIN to match the _APP_DOMAIN_TARGET
Rank 1: Thread
I'm acccesing Appwrite via appwrite.mydomain.com
Then set _APP_DOMAIN to that domain
_APP_DOMAIN is not your outside app but is the Appwrite domain
After changing - if it's a live Appwrite - run
docker compose down && docker compose up -d
And you should be set to go
Rank 1: Thread
Wow, it's working now
Thanks alot ✌🏽

Rank 1: Thread
And now it error 500
For this part check this
This is just a temporary solution till Appwrite will release the patch
Admin