[SOLVED] Console not reachable anymore after making updating variables in the .env file
- 0
- Self Hosted

Hi, I am trying to setup appwrite at the moment. I followed the guide in the documentation for self hosting. Ran the docker command, to setup the environment. After everything was created and started, I stopped the running containers and made changes to the .env file, adding smtp config etc.
When I am trying to restart the container with the command docker-compose up -d in the appwrite dir, everthing seems to be fine. Taking a look into the browser on the url I am using for the appwrite environment shows me an error message: {"message":"Error: Server Error","code":500,"version":"1.4.9"}
When I run the docker exec appwrite doctor
command the output is the following (Picture as an attachment)
I am wondering if I have to change the things before powering the containers up or is there another way, than stopping, making changes and power the containers up again?
Thanks in advance!

If needed I can attach the logs of each container

Seems it didn't got installed properly. None of the databases are available

Are you using manual install?

I used the install with docker

What's the command you ran?

docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:1.4.9

That looks correct

After running this command I stopped the containers to edit the mariadb user and password, setting another smtp host etc.

That was the issue

You made it in the docker compose file?

Yes, I made changes in the docker-compose.yml file which has been created by the install command

And did you have changed it from the DB directly?

Or only from docker compose file?

Only in the docker-compose.yml, but I think now I know the issue. I have to make the changes to all running containers in the containers itself to apply them

That's the issue then

You should let the Redis DB password as default

And if you want to change the MariaDB password you should do it like in any other instance

Ok, got that. Makes sense, should think about it one more time in the future before making any changes and wondering about why the stuff is not working 😅

Thanks for the help!

[SOLVED] Console not reachable anymore after making updating variables in the .env file

If you need help while setting the password, tell me

In case you still want to change it

Will do that, thanks!
Recommended threads
- Unexpected File Persistence Across Appwr...
I'm encountering an issue where files created during an Appwrite Function execution persist across subsequent executions. Specifically, when a function writes a...
- Cannot connect to SMTP in AppWrite - set...
This used to work and then at some point it stopped. One thing that happened in that time was moving my application to Vercel. I have read on another thread t...
- [Self Hosted]
fresh instance of Appwrite - cant deploy function from local to instance ✗ Error • func2 (68134cd9002358f96e4a) • Invalid `specification` p...
