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?
As of Appwrite 0.14 the V2 is a requirement so you're good in that manner
But
As you can see here https://appwrite.io/docs/upgrade
Appwrite supports only immediately upgrades
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
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?
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
this is what i was doing. my issue was in the upgrade from 1.0 to 1.1
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
update: if i list projects in the cli, they are all there. but they do not show up in the web console
Did you run the migrate command after each upgrade?
Did you try changing organizations?
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
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?
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
But you logged in using your previous email and password?
Correct
interesting...screenshots would be helpful
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
[SOLVED] Upgrading Docker Image
Recommended threads
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...
- I recently applied for the free plan und...
I recently applied for the free plan under the GitHub Student Developer Pack. However, my billing status still shows $15, and it mentions that this amount will ...