I have been working on upgrading my appwrite instances. I started on v1.0.2 in my dev environment and following the instructions upgraded to v1.1.2 on the way to v1.2. after running the install script and the migration script, all my appwrite data seems to be lost. this is not a big deal for my dev env but i want to understand why before i upgrade in production. the only think i notice that i missed is making sure i had docker compose V2 as opposed to the legacy docker-compose. could this be the reason?
Summary
User successfully upgraded their Docker Image but encountered an issue where their projects were not showing up in the web console. They tried running migrations and changing organizations but the problem persisted. It was suggested to duplicate the production server and run the upgrades from 1.0.2 to 1.1.0 and then to 1.2.1. The user was asked to provide any error messages from the Docker logs if available. They were also directed to the Appwrite upgrade documentation for any missed steps. It was noted that Appwrite only supports immediate upgrades, but since the user was on 0.14, they met the requirement.
Binyamin
Mar 29, 2023, 13:42
As of Appwrite 0.14 the V2 is a requirement so you're good in that manner
Hey, can you check this https://appwrite.io/docs/upgrade and maybe there's something you missed? if not, let us know the error msgs you see in case which helps us understand more
joeyouss
Mar 29, 2023, 13:43
Your docker error is valid but that should have given you error while parsing the compose file, if there are any, can you paste them here?
Binyamin
Mar 29, 2023, 13:44
So what I suggest is to try this
duplicate the production server
Then run upgrades as follow
1.0.2 -> 1.1.0
1.1.0 -> 1.2.1
jprather
Rank 1: Thread
Mar 30, 2023, 03:59
this is what i was doing. my issue was in the upgrade from 1.0 to 1.1
jprather
Rank 1: Thread
Mar 30, 2023, 04:00
i didnt get an error at any step. i can load the dashboard, and my user account is still valid. But there are no projects set up anymore
jprather
Rank 1: Thread
Mar 30, 2023, 04:59
update: if i list projects in the cli, they are all there. but they do not show up in the web console
Drake
Admin
Mar 30, 2023, 06:08
Did you run the migrate command after each upgrade?
Drake
Admin
Mar 30, 2023, 06:09
Did you try changing organizations?
jprather
Rank 1: Thread
Mar 30, 2023, 14:38
I did run the migrate command. When I first opened the console after the 1.0 to 1.1 upgrade I had no organizations. I think that's the problem, my project is some how not linked to an org
Drake
Admin
Mar 30, 2023, 14:53
It should be, especially if you ran migrations successfully. What do you see when you log in? Anything in the docker logs for the appwrite container?
jprather
Rank 1: Thread
Mar 30, 2023, 15:17
I can send screenshots later but it looks like I just made a fresh account. The only time I get an error is if I try to Deploy a team, it spits out an error saying team I'd does not exist or something like that. I can get screenshots later
Drake
Admin
Mar 30, 2023, 16:29
But you logged in using your previous email and password?
jprather
Rank 1: Thread
Mar 30, 2023, 16:29
Correct
Drake
Admin
Mar 30, 2023, 20:24
interesting...screenshots would be helpful
jprather
Rank 1: Thread
Apr 6, 2023, 03:02
i think i must have made a mistake somewhere in the process. i just set up a a fresh 1.0.2 instance and upgraded it through 1.1 to 1.2 and it worked fine