ye, mb, it worked
Error 500 after update to 1.4.0
Votes
3
Replies
24
Participants
Unknown
Messages
25
but I did change _APP_DOMAIN and _APP_DOMAIN_TARGET to my domain instead of localhost, idk if that helped as well
Moderator
Yes, probably
Moderator
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?
Rank 1: Thread
Same error 500 after update to 1.4.1
maybe check the docker log
docker logs appwrite
Moderator
Did you run migration after updating?
Rank 1: Thread
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
Rank 1: Thread
Yes, but I checked without migration also (same effect)
Rank 1: Thread
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..
Moderator
@Łukasz From what version did you have migrated from?
Rank 1: Thread
1.3.2 -> 1.4.0 -> 1.4.1
Rank 1: Thread
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
^
Rank 1: Thread
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
Rank 1: Thread
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
Rank 2: Process
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