Back

router_host_not_found after Upgrading to 1.4.0

  • 1
  • Self Hosted
  • Web
Binyamin
30 Aug, 2023, 17:38

Follow the MariaDB steps here

TL;DR
After upgrading to version 1.4.0, users are experiencing the "router_host_not_found" error. A temporary solution is provided while waiting for Appwrite to release a patch. Check this link for more information: [link](https://discord.com/channels/564160730845151244/1146463435245228174/1146489088736759888). Additionally, changing the "_APP_DOMAIN" to match the Appwrite domain is suggested. To fix the issue, run the following command if it's a live Appwrite environment: "docker compose down && docker compose up -d". If the issue persists
Binyamin
30 Aug, 2023, 17:39
TypeScript
  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'
D5
30 Aug, 2023, 17:41

Oh, okay

Haysquare
30 Aug, 2023, 17:48

Tried that but still the same

Drake
30 Aug, 2023, 17:49

do you have a reverse proxy in front?

Haysquare
30 Aug, 2023, 17:51

Yes from cloudflare

Haysquare
30 Aug, 2023, 17:52

I just disable the proxy but the same

Binyamin
30 Aug, 2023, 17:53

Cloudflare won't affect that's okay

Drake
30 Aug, 2023, 17:55

Nothing else?

Haysquare
30 Aug, 2023, 17:55

Nothing else

Drake
30 Aug, 2023, 17:56

This doesn't seem right...usually domain and domain target are the same.

Is the domain your accessing appwrite == that domain env var?

Haysquare
30 Aug, 2023, 17:56

Can I downgrade to previous version then upgrade again

Binyamin
30 Aug, 2023, 17:57

You have db backup?

Haysquare
30 Aug, 2023, 17:58

It's a new APP, no data yet

Binyamin
30 Aug, 2023, 17:58

Then you can just reinstall it And also change the _APP_DOMAIN to match the _APP_DOMAIN_TARGET

Haysquare
30 Aug, 2023, 17:59

I'm acccesing Appwrite via appwrite.mydomain.com

Binyamin
30 Aug, 2023, 18:00

Then set _APP_DOMAIN to that domain

Binyamin
30 Aug, 2023, 18:00

_APP_DOMAIN is not your outside app but is the Appwrite domain

Binyamin
30 Aug, 2023, 18:01

After changing - if it's a live Appwrite - run

TypeScript
docker compose down && docker compose up -d

And you should be set to go

Haysquare
30 Aug, 2023, 18:19

Wow, it's working now Thanks alot ✌🏽

Binyamin
30 Aug, 2023, 18:20

<:appwriteupvote:899677724615016528>

Haysquare
30 Aug, 2023, 18:20

And now it error 500

Binyamin
30 Aug, 2023, 18:20

For this part check this

Binyamin
30 Aug, 2023, 18:21

This is just a temporary solution till Appwrite will release the patch

Drake
30 Aug, 2023, 18:25
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