Back

Runtime is not visible on Console even after changing the `.env` file and deploying

  • 0
  • Tools
  • Functions
Vedsaga
22 Mar, 2023, 01:48

So, .env is changed and redeploy after adding Dart-2.17 runtime still dart sdk runtime is not visible... Not sure what possibily be going wrong

cc @Steven

TL;DR
User is having trouble with the runtime not being visible on the console after changing the `.env` file and deploying. They are also having issues with installing Docker Compose v2 and getting an error message saying it is not installed. They plan to raise another ticket for deployment to AWS server. The support suggests clearing cache and deploying changes to environment variables. They also ask the user to provide the exact commands and information about how they redeployed. No solution provided.
Drake
22 Mar, 2023, 01:50

Please try not to tag people.

How did you redeploy?

Vedsaga
22 Mar, 2023, 01:50

😬 really sorry

Vedsaga
22 Mar, 2023, 01:50

Rerunning the docker cotainer

Drake
22 Mar, 2023, 01:50

What do you mean?

Vedsaga
22 Mar, 2023, 01:51

is it possible to fetch env from cli?

Vedsaga
22 Mar, 2023, 01:51

I mean had already running appwrite on Azure server... so just updated the env and redploy I mean via command-line

Drake
22 Mar, 2023, 01:52

Please share exactly what you mean? What did you run?

Vedsaga
22 Mar, 2023, 01:52

oh the commands? or the env file

Drake
22 Mar, 2023, 01:52

The commands

Vedsaga
22 Mar, 2023, 01:55

I have asked one the team mate for the command, who deployed it... just waiting for response... as soon as I get it I will share... incase anything else that could go wrong? so that I can check with him when is back online

Drake
22 Mar, 2023, 01:59

You can check the vars by running

TypeScript
docker compose exec appwrite vars
Drake
22 Mar, 2023, 02:00

For how to deploy the changes to the environment variables, refer to the docs: https://appwrite.io/docs/environment-variables

Drake
22 Mar, 2023, 02:00

Otherwise, make sure you clear your cache

Vedsaga
22 Mar, 2023, 10:52

for now will close this, I raise another ticket, relating to deployment to AWS server... if that can be solved would be really greatful

Vedsaga
22 Mar, 2023, 17:06

hi, getting error while trying execute this command saying that docker compose is not installed, but it is insatlled

Vedsaga
22 Mar, 2023, 17:06
TypeScript
ubuntu@ip-123-456-76-152:~/appwrite$ docker-compose --version
docker-compose version 1.29.2, build unknown
ubuntu@ip-123-456-76-152:~/appwrite$ ls
docker-compose.yml
ubuntu@ip-123-456-76-152:~/appwrite$ docker compose exec appwrite vars
docker: 'compose' is not a docker command.
See 'docker --help'```
Drake
22 Mar, 2023, 17:10

You need to remove docker-compose (this is the old version 1) and install docker compose v2. https://appwrite.io/docs/installation#systemRequirements

Vedsaga
22 Mar, 2023, 17:11

oh 😞

Vedsaga
22 Mar, 2023, 17:11

let me try again

Vedsaga
22 Mar, 2023, 17:56

seems to working finally phew...

Vedsaga
22 Mar, 2023, 17:57

just only things is how to config the IP to Custom Domain and prevent connection happening directly to IP

Vedsaga
22 Mar, 2023, 17:57

thank you so Steven again, and really sorry for everytime bothering you πŸ™

Drake
22 Mar, 2023, 17:57

not a bother at all!

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