
ye, mb, it worked


but I did change APPDOMAIN and APP_DOMAINTARGET to my domain instead of localhost, idk if that helped as well

Yes, probably

Did you have go to 1.4.1 directly or previously through 1.4.0?

I went through 1.4.0, and 500 error. Then I upgraded to 1.4.0

just a question, how do I upgrade the cloud version or is it not possible?

Same error 500 after update to 1.4.1

maybe check the docker log

docker logs appwrite

Did you run migration after updating?

Worker 2 started successfully
Worker 3 started successfully
Worker 4 started successfully
Worker 5 started successfully
Worker 6 started successfully
[Setup] - Server database init started...
[Setup] - Creating database: appwrite...
[Setup] - Server database init completed...
Server started successfully (max payload is 6,291,456 bytes)
Master pid 1, manager pid 1
Worker 1 started successfully
[Error] Timestamp: 2023-08-31T06:39:18+00:00
[Error] Method: GET
[Error] URL: /console/*
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Domain environment variables not configured. Please configure domain environment variables before using Appwrite outside of localhost.
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 65
[Error] Timestamp: 2023-08-31T06:39:24+00:00
[Error] Method: GET
[Error] URL: /console/*
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Domain environment variables not configured. Please configure domain environment variables before using Appwrite outside of localhost.
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 65
[Error] Timestamp: 2023-08-31T06:39:27+00:00
[Error] Method: GET
[Error] URL: /console/*
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Domain environment variables not configured. Please configure domain environment variables before using Appwrite outside of localhost.
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 65
[Error] Timestamp: 2023-08-31T06:39:29+00:00
[Error] Method: GET
[Error] URL: /console/*
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Domain environment variables not configured. Please configure domain environment variables before using Appwrite outside of localhost.
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 65

Yes, but I checked without migration also (same effect)

Can I somehow export the project database from mariadb? Maybe in the meantime I will try to put up a new installation of appwrite 1.4 locally, upload projects there. Then maybe it would be possible to reinstall appwrite on the server and using the new import/export projects function, transfer the project to the fresh installation?

I also have the same issue and 1.4.1 did not resolve it as well..

@Łukasz From what version did you have migrated from?

1.3.2 -> 1.4.0 -> 1.4.1

We did it!!! I changed the APP_DOMAIN and APP_DOMAIN_TARGET entries in the .env file from "localhost" to the web address of the site

^

with protocol http/https e.g. https://webpage.com or without webpage.com?. I wrote without and it worked immediately

I tried both and neither seems to work.. still results in router_domain_not_configured

The steps I followed:
- upgrade to 1.4.0 - successfully completed
- migration - completed with an error
- Execute instruction: https://discord.com/channels/564160730845151244/1146463435245228174/1146489088736759888 Do not skip any step.
- migration - completed successfully
- upgrade to 1.4.1 - successfully completed
- migration - successfully completed
- change APP_DOMAIN and APP_DOMAIN_TARGET from "localhost" to web address
- execute the command: docker compose up -d

I had the same issue. Think https://appwrite.io/docs/self-hosting and https://appwrite.io/docs/upgrade should be changed to 1.4.1 installations so people avoid this bug.

I had the same issue on 1.4.0 fresh install. After migrating to 1.4.1 it is working, but the SSL certificate is not working. Any ideas? I already setup de domain record and I'm able to access the appwrite server, but the SSL certificate its not valid.

please create a new post
Recommended threads
- Having errors migrating to cloud
Project will not migrate compeltely
- ENV vars not updating
When i do `nano .env` it shows `_APP_DOMAIN_TARGET=` as set to my domain, but when i do `docker compose exec appwrite vars` it shows `_APP_DOMAIN_TARGET=` as ...
- Index with the requested key already exi...
I'm using appwrite cli to create DB and I'm getting index_already_exists Is there a way to undestand the index name and maybe to skip if it's already exits?
