Back

Hi fellow appwriters,

  • 0
  • Databases
  • Tools
  • Apple
  • Self Hosted
D5
1 Oct, 2023, 16:29

Only major versions

TL;DR
The user is experiencing issues with migrations on their app. They mention trying a clean install and recreating the necessary buckets and collections. They also mention possibly switching to the cloud version for production. Other users suggest checking the configuration and running the migrate command after upgrading to the latest version. There is a discussion about the supported migration versions and it is noted that migrations are only supported between immediately higher versions. No solution is provided in the thread.
Drake
1 Oct, 2023, 16:30

Where does it say major versions?

D5
1 Oct, 2023, 16:34

Seems he doesn't have the updated version. I checked it and it got updated

D5
1 Oct, 2023, 16:34

Sorry, Vincent for disturbing you

dammoer
1 Oct, 2023, 20:04

A note about migration At present, we support migrations only to the immediately higher versions, i.e from 0.6.x to 0.7.x and 0.7.x to 0.8.x and so on.

dammoer
1 Oct, 2023, 20:05

This line

D5
1 Oct, 2023, 20:06

That's it, I think that means you can't go from 0.7 to 1.0

dammoer
1 Oct, 2023, 20:11

But It means that I can go from 1.3.x to 1.4.3 ? Right ?

D5
1 Oct, 2023, 20:35

Nope

D5
1 Oct, 2023, 20:36

If you're in 1.3.1, you will need to go through 1.3.2,.3,.4,.5...

dammoer
1 Oct, 2023, 20:57

I successfully installed the 1.3.8 version and then 1.4.4, but again when i tried to migrate, same error; here are the full logs :

dammoer
1 Oct, 2023, 20:59

Not what the Update page say.

D5
1 Oct, 2023, 21:15

Immediately after versions. The first example seems not to specify intermediate, but second one yes.

Drake
1 Oct, 2023, 23:33

No need to go to every patch. Just the latest patch

Drake
1 Oct, 2023, 23:34

Did you run the migrate command after upgrading to 1.3.8?

Drake
1 Oct, 2023, 23:35

Did you restore from backup?

dammoer
2 Oct, 2023, 07:17

Yes and even if it was successful, it keeps me warning :

Migrating Collection projects: 1 / 1 Failed to update document: Invalid document structure: Unknown attribute: "database"

dammoer
2 Oct, 2023, 07:20

To be honest I just wanted to test the last functionalities and will make a new clean install. To be fair, we will probably end with a cloud based solution in production.

It looks like I'm the only one to have issues, so I guess it has something to do with my config;

Drake
2 Oct, 2023, 13:26

You would get this output if you ran the migrate command on 1.4 🧐 either that or if you had already ran the 1.4 and then tried to run the 1.3 one

VincentGe
2 Oct, 2023, 14:03

This is how things are supposed to work

VincentGe
2 Oct, 2023, 14:03

😅

VincentGe
2 Oct, 2023, 14:03

We

VincentGe
2 Oct, 2023, 14:03

Just break migrations too often

dammoer
2 Oct, 2023, 18:02

Thank you guys. I made a brand new clean install. I have a function that can recreate the buckets and collections I need. I will stick to the cloud version the very first day it quit the beta stage;

dammoer
2 Oct, 2023, 18:03

Yep, i think I made a mess...

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