# Is a straight migration from 5.0 to 6.0 supported?

**URL:** https://discuss.tryton.org/t/is-a-straight-migration-from-5-0-to-6-0-supported/4156
**Category:** System Administrator
**Created:** [May 7, 2021, 2:30am UTC](https://discuss.tryton.org/t/is-a-straight-migration-from-5-0-to-6-0-supported/4156 "2021-05-07T02:30:00Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Jani-Matti](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/j/bc8723/32.png) [@Jani-Matti](https://discuss.tryton.org/u/Jani-Matti)
#### Post date: [May 7, 2021, 2:30am UTC](https://discuss.tryton.org/t/is-a-straight-migration-from-5-0-to-6-0-supported/4156/1 "2021-05-07T02:30:00Z")

</div>

Is a straight migration from 5.0 to 6.0 supported, and if it is, would it be possible to post a single 5.0 to 6.0 migration guide?

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [May 7, 2021, 6:32am UTC](https://discuss.tryton.org/t/is-a-straight-migration-from-5-0-to-6-0-supported/4156/2 "2021-05-07T06:32:21Z")

</div>

Migrating from multiple series is fully supported. You just need to take care of checking all the [migration notes](https://discuss.tryton.org/c/migration/6) of all affected series.

In you case this means checking all migration from 5.0 to 6.0 and then follow the normal procedure:

- Execute the queries that should be done before the migration
- Update all tryton modules (`trytond-admin -d <database> --all`)
- Execute the queries that should be done after the migration

And thats all!

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [May 7, 2021, 7:14am UTC](https://discuss.tryton.org/t/is-a-straight-migration-from-5-0-to-6-0-supported/4156/3 "2021-05-07T07:14:25Z")

</div>

> [@pokoli](#):
>
> Migrating from multiple series is fully supported.

I would not say “fully” supported. It may or may not work. This is something not tested but the odds to work are high.  
If it does not work, you will have to do it series by series.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [May 7, 2021, 7:22am UTC](https://discuss.tryton.org/t/is-a-straight-migration-from-5-0-to-6-0-supported/4156/4 "2021-05-07T07:22:50Z")

</div>

> [@ced](#):
>
> I would not say “fully” supported. It may or may not work. This is something not tested but the odds to work are high.

Ok, just supported then.

We recently did a migration from 4.4 to 6.0 which worked well.  
So I bet the migration from 5.0 to 6.0 will go stright forward also.

---

<div class="post-metadata">

### Author: ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)
#### Post date: [May 7, 2021, 9:51am UTC](https://discuss.tryton.org/t/is-a-straight-migration-from-5-0-to-6-0-supported/4156/5 "2021-05-07T09:51:05Z")

</div>

As always. Do the migration first on a test server with a test database, check everything. Then move over to the production server, be sure to have a working backup and do the migration on the production server. Yes it will take some time, but the impact on daily operations is in this case minimal.

---

<div class="post-metadata">

### Author: ![Jani-Matti](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/j/bc8723/32.png) [@Jani-Matti](https://discuss.tryton.org/u/Jani-Matti)
#### Post date: [May 7, 2021, 12:09pm UTC](https://discuss.tryton.org/t/is-a-straight-migration-from-5-0-to-6-0-supported/4156/6 "2021-05-07T12:09:43Z")

</div>

> [@pokoli](#):
>
> We recently did a migration from 4.4 to 6.0 which worked well.  
> So I bet the migration from 5.0 to 6.0 will go stright forward also.

Oh excellent. So no ‘special’ sauce should be necessary.

> [@edbo](#):
>
> As always. Do the migration first on a test server with a test database, check everything.

Oh yes. I mean we have to port our in-house modules over from 5.0 anyways (should be minimal changes, but you never know without tests & testing). Hopefully in the 6.0 → 7.0 timeframe we can massage the generally usable ones to an upstreamable state.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [May 7, 2021, 12:24pm UTC](https://discuss.tryton.org/t/is-a-straight-migration-from-5-0-to-6-0-supported/4156/7 "2021-05-07T12:24:15Z")

</div>

> [@Jani-Matti](#):
>
> Hopefully in the 6.0 → 7.0 timeframe we can massage the generally usable ones to an upstreamable state.

If you want to have your modules as part of the standard distribution the first step is to [submit an idea](https://discuss.tryton.org/c/feature/ideas) or [write a blueprint](https://discuss.tryton.org/c/feature).

This topics should not explain what your module does but it should focus on the problem that the modules are tryton to solve. This is the way to manage to provide the best solution for them.  
Of course, feel free to include a link to your modules as reference.

---

<div class="post-metadata">

### Author: ![Jani-Matti](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/j/bc8723/32.png) [@Jani-Matti](https://discuss.tryton.org/u/Jani-Matti)
#### Post date: [May 7, 2021, 12:58pm UTC](https://discuss.tryton.org/t/is-a-straight-migration-from-5-0-to-6-0-supported/4156/8 "2021-05-07T12:58:10Z")

</div>

Oh yes I’m aware of the process (which is excellent btw). Most of our in-house stuff is currently completely ungeneralised even on the concept level though.

Well apart from Creditor Reference support (ISO11694 & any national/custom one) which should be a fairly simple blueprint to write up.
