Hello everyone,
I'm facing an issue with the Appwrite dashboard where it generates URLs for functions in an incorrect format. The URLs currently look like this:
6726d46da941bbf9cbfd.https://appwrite.xxxx.app
However, the correct format should be:
6726d46da941bbf9cbfd.appwrite.xxxx.app
I'm self-hosting Appwrite using Coolify, and I've reviewed my domain and server configurations, which all seem to be set up correctly.
What does your environment variable for _APP_DOMAIN_FUNCTIONS have?
My _APP_DOMAIN_FUNCTIONS is set to $SERVICE_FQDN_APPWRITE.
Coolify uses this variable, $SERVICE_FQDN_APPWRITE, as the main URL for the dashboard.
does that include the https://?
That's probably your issue.
Yes, it is included. I tried removing it, but when I create a function, it still generates the same URL format (https://...).
I also tried using a new subdomain I created, but it doesn't load the new subdomain. It keeps defaulting to the main dashboard URL.
I am updating the .env file from the Coolify dashboard. After making the updates, I restart the system.
Do you have recreated the containers?
not sure about that
Anyupdates plz ?
If you installed appwrite with the default commands, you should recreate them with docker compose up -d
I recommend having backups
None of this was helpful initially. Coolify automatically added https:// at the beginning of the domain. I was able to fix the issue by manually removing the https:// from the SERVICE_FQDN_APPWRITE field in the dashboard's Production Environment Variables. Now, the URL format is generated correctly.
Interesting. Can I mark this as solved then?
yes you can
Recommended threads
- TEAM INVITE
There is a problem with the team invitation. When a user invites other users, that time, the newly created email address they don't get the invite link and old ...
- education plan not activated
Hi I have an edu id 13103046@iubat.edu but when I am trying to claim my plan and trying to logging with github where education student plan active. the appwrite...
- I'm getting an error on the console "j?....
On my self hosted instance version 1.8.1 the console is giving me this error when trying to view the rows for a table I recently created. My application is read...