Back

[SOLVED] Change MariaDB default password crash

  • 0
  • Self Hosted
  • Databases
  • General
Disk_MTH
5 Nov, 2023, 13:43

Hello, I'm desperately trying to change the default MDPs of MariaDB and Redis but I can't do it. @D5 gave me some possible solutions but nothing works, as soon as I change the password, the DB never starts. I even tried to uninstall everything Appwrite, the docker volumes..., to add by hand an appwrite folder with the .yml and the .env already modified and to start with docker-compose but nothing to do, it recreates all the volumes and containers but nothing starts. I'm a little desperate, what can I do?

TL;DR
[SOLVED] User was trying to change the default passwords for MariaDB and Redis in an Appwrite instance. However, changing the Redis password caused issues. Killing all processes and running `docker-compose up -d --remove-orphan --renew-anon-volumes` resolved the problem. The user is now able to access the Appwrite instance without any errors.
D5
5 Nov, 2023, 14:12

But what's the error you're getting?

D5
5 Nov, 2023, 14:12

Also, what do you get when running: docker compose logs appwrite-mariadb

Disk_MTH
5 Nov, 2023, 14:14
Disk_MTH
5 Nov, 2023, 14:14

and for docker-compose logs appwrite

Disk_MTH
5 Nov, 2023, 14:14
D5
5 Nov, 2023, 15:07

And if you just write mariadb?

Disk_MTH
5 Nov, 2023, 15:46
Disk_MTH
5 Nov, 2023, 15:46

It weird, its seems to be no errors

Disk_MTH
5 Nov, 2023, 15:49

ohhhh wtf its work

D5
5 Nov, 2023, 15:49

Now you can access the Appwrite instance?

Disk_MTH
5 Nov, 2023, 15:50

I have kill all process and run

docker-compose up -d --remove-orphan --renew-anon-volumes

Disk_MTH
5 Nov, 2023, 15:50

yep

Disk_MTH
5 Nov, 2023, 15:51

But I have try the same things with REDIS user and password (blank by default) but it doent work

D5
5 Nov, 2023, 15:54

You should not change Redis password because it's bugged

Disk_MTH
5 Nov, 2023, 15:54

ok

Disk_MTH
5 Nov, 2023, 15:55

[SOLVED] Change MariaDB default password crash

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