[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
- 1.9.1 update
do you guys, have new update workflow? migration asking me to run browser..... on VPS.
- Using Binary Log with Appwrite
If I can remember correctly appwrite uses mariaDB as the underlying database. If so could I use mariaDB’s binary log to see database operations from appwrite?
- Issue with OAuth 2.0 authentication
Good evening, I’m reaching out because I’m having a small issue with Appwrite. I’m trying to set up OAuth2 with Twitch, and even though I’m entering the correc...