
Hello, i've recently upgraded our self hosted appwrite instance from v1.3.8 to v1.4.9 and did the migration. Our Appwrite instance is using a custom port mapping, and before the upgrade we can access the dashboard by just going to http://xx.xxx.xxx:1234
the cli also is now not working. When checking the docker appwrite container logs i get:
xx.xxx.xxx is not a publicly accessible domain. Skipping SSL certificate generation.
some notables variables defined in my .env as follows:
_APP_LOCALE=en
_APP_OPTIONS_ABUSE=disabled
_APP_OPTIONS_FORCE_HTTPS=disabled
_APP_OPTIONS_FUNCTIONS_FORCE_HTTPS=disabled
_APP_OPTIONS_ROUTER_PROTECTION=disabled
_APP_OPENSSL_KEY_V1="\$6YS^pxxxxrandomxxx\$sjuYZ"
_APP_DOMAIN=
_APP_DOMAIN_FUNCTIONS=functions.localhost
_APP_DOMAIN_TARGET=
_APP_CONSOLE_WHITELIST_ROOT=enabled
_APP_CONSOLE_WHITELIST_EMAILS=
_APP_CONSOLE_WHITELIST_IPS=
_APP_SYSTEM_EMAIL_NAME="xxx.xxx"
_APP_SYSTEM_EMAIL_ADDRESS="xx@xxx.xxx"
_APP_SYSTEM_RESPONSE_FORMAT=
_APP_SYSTEM_SECURITY_EMAIL_ADDRESS=certs@appwrite.io
_APP_USAGE_STATS=enabled
_APP_LOGGING_PROVIDER=```

Btw, it's best to use 3 back ticks with multi-line code. See https://www.markdownguide.org/extended-syntax/#syntax-highlighting

Why are your domain variables blank?
What happens when you try to access Appwrite?

I initially had it to something like
_APP_DOMAIN_TARGET=domain.com
_APP_DOMAIN_TARGET=domain.com
then removed it to test since I was thinking i supposedly only needed to access it from localhost. just now I put the domain variables back and tried to map traefik ports to 80:80 & 443:443 but still can't access dashboard

okay, it just took a while but it now works when we exposed 80 and 443, but we wanted to access the dashboard from another port - like how we were doing it before http://xxx.xxx.xxx:1234

i highly suggest accessing appwrite on the standard ports. Doing otherwise may run into problems

but if you really want to...what did you put in your docker-compose.yml file?

also is xxx.xxx.xxx a domain? If so, you should set the DOMAIN env vars

the xxx.xxx.xxx is an ipv4 ip btw, so before we could access the dashboard just by going to http://12.13.14.123:1234/ so i've also now set the DOMAIN env vars and here is a diff on my docker-compose.yml https://www.diffchecker.com/uXx67yai/

Ahh the reason is we needed the ports for our NextJs server, then our NextJs server access appwrite on the custom port
Recommended threads
- Realtime Disconnects and Error: INVALID_...
Hi Support, we are still experiencing the issue and we are a subscriber on your platform under the account of charlesbcalague@gmail.com I just want to ask here...
- Collection Permission issue
I am facing issue in my Pro account. "Add" button is disabled while adding permission in DB collection settings.
- Origin error after changing default port...
Hi! I need some help regarding an issue I’m facing with Appwrite after changing the default ports. I have a self-hosted Appwrite instance running on my VPS. I ...
