i have recently tryed to update my self hosted instance from 1.4.13 to 1.5.0, but getting this error as shown in the image. Why is it happening? Can somebody help me please. I run the upgrade comand as documented here https://appwrite.io/docs/advanced/self-hosting
Summary
Developers are encountering an error when updating to version 1.5.X, specifically with the MariaDB container not starting. Attempting a rollback to 1.4.13 and then upgrading again seems to be a possible solution. Alternatively, trying different versions of MariaDB in the Docker file, such as switching between 10.7.4 and 10.11, might help resolve the issue. Make sure to stop Appwrite before upgrading.
VincentGe
Mar 9, 2024, 10:31
Please use 1.5.1
Faisal7
Rank 3: Container
Mar 9, 2024, 10:32
is it not that i have to first upgrade to 1.5.0 and run the migrations and then 1.5.1?
Faisal7
Rank 3: Container
Mar 9, 2024, 10:52
ok i successfully installed the 1.5.1 but somehow now i cannot run the migration it says this
Faisal7
Rank 3: Container
Mar 10, 2024, 15:18
right now i have rolled it back to 1.4.13
Steven
Mar 10, 2024, 22:24
you mean you're using the default password 🧐
Faisal7
Rank 3: Container
Mar 11, 2024, 08:20
yes the values in my .env file are the standasd for database
Faisal7
Rank 3: Container
Mar 11, 2024, 08:21
previewsly i were able to upgrade normally but since 1.5 not
Faisal7
Rank 3: Container
Mar 11, 2024, 08:23
i see in my synology docker container that the database and some other worker containers are stopping. maybe thatswhy, but this is just happening when i upgrade to 1.5.x and its not happen with 1.4.x
Steven
Mar 11, 2024, 10:23
what was in your mariadb logs?
Faisal7
Rank 3: Container
Mar 11, 2024, 18:45
logs for appwrite looks like this
Faisal7
Rank 3: Container
Mar 11, 2024, 18:45
Faisal7
Rank 3: Container
Mar 11, 2024, 18:45
and for mariadb like this
Faisal7
Rank 3: Container
Mar 11, 2024, 18:46
Faisal7
Rank 3: Container
Mar 11, 2024, 18:48
and the container looks not running
Faisal7
Rank 3: Container
Mar 11, 2024, 18:48
Faisal7
Rank 3: Container
Mar 11, 2024, 18:49
when i try to start it manually it stops then again
Faisal7
Rank 3: Container
Mar 11, 2024, 22:30
why is it like this. I have upgraded to 1.5.3 and still the mariadb container is not running and get the same error with migration script.
Faisal7
Rank 3: Container
Mar 11, 2024, 22:30
is it something from my side or what?
Steven
Mar 11, 2024, 22:43
something is wrong with your mariadb. you should probably restore from backup
Faisal7
Rank 3: Container
Mar 11, 2024, 22:48
yes i ran the restore script successfully right now and also before but when i try to run the migration script it fails. And because of that i am not able to access my appwrite at all.
Faisal7
Rank 3: Container
Mar 11, 2024, 22:53
getting error while updating to 1.5.X
Evdog
Core
Mar 11, 2024, 22:58
When you restore, are the backups from 1.4.13?
Faisal7
Rank 3: Container
Mar 11, 2024, 22:58
yes
Evdog
Core
Mar 11, 2024, 23:00
what's the output of docker ps -a? you would want to start the process on 1.4.13 images