[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
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...
- Create admin user?
I'm not really sure how this is supposed to work, I installed Appwrite through docker-compose and set it up. When I launched the app and went into it, I created...