# Migrate Cockpit CMS v1 to v2

**URL:** <https://discourse.getcockpit.com/t/migrate-cockpit-cms-v1-to-v2/2800>\
**Category:** General\
**Created:** [June 7, 2023, 12:24pm UTC](https://discourse.getcockpit.com/t/migrate-cockpit-cms-v1-to-v2/2800 "2023-06-07T12:24:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![raffaelj](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/raffaelj/32/331_2.png) [@raffaelj](https://discourse.getcockpit.com/u/raffaelj)\
**Post date:** [June 7, 2023, 12:24pm UTC](https://discourse.getcockpit.com/t/migrate-cockpit-cms-v1-to-v2/2800/1 "2023-06-07T12:24:25Z")

</div>

I started to collect differences in the data models of Cockpit CMS v1 and v2 and I plan to release a migrate script/addon soon.

Some pieces are missing. Feel free to search for “TODO” and to send a pull request with changes.

In the meantime, you can use a [a fork of v1](https://codeberg.org/raffaelj/cockpit), which is compatible with PHP 8.1.

> <https://github.com/raffaelj/cockpit-scripts/blob/master/migrate-from-cockpit-v1-to-v2.md>

---

<div class="post-metadata">

**Author:** ![raffaelj](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/raffaelj/32/331_2.png) [@raffaelj](https://discourse.getcockpit.com/u/raffaelj)\
**Post date:** [September 17, 2023, 11:50am UTC](https://discourse.getcockpit.com/t/migrate-cockpit-cms-v1-to-v2/2800/2 "2023-09-17T11:50:00Z")

</div>

I published my draft of the Migrate addon right now. Feel free to copy and to modify it, because I won’t finish it.

> <https://github.com/raffaelj/cockpit-scripts/blob/master/cockpit-cms-Migrate/README.md>

---

<div class="post-metadata">

**Author:** ![kvanska](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/kvanska/32/1388_2.png) [@kvanska](https://discourse.getcockpit.com/u/kvanska)\
**Post date:** [September 20, 2023, 8:47am UTC](https://discourse.getcockpit.com/t/migrate-cockpit-cms-v1-to-v2/2800/3 "2023-09-20T08:47:03Z")

</div>

Can I ask which CMS you ended up with?

---

<div class="post-metadata">

**Author:** ![raffaelj](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/raffaelj/32/331_2.png) [@raffaelj](https://discourse.getcockpit.com/u/raffaelj)\
**Post date:** [September 22, 2023, 11:44am UTC](https://discourse.getcockpit.com/t/migrate-cockpit-cms-v1-to-v2/2800/4 "2023-09-22T11:44:22Z")

</div>

Sure. It’s Drupal. I’m still not sure, if I want to make it my new main CMS, but it looks promising. Even if not. It’s always good to be familiar with a solid CMS, that has accessibility as a high priority.
