<p>For reference: what was missing in the table was the correct pluginId for each plugin migration.</p>

CC BY-SA 4.0
2022-11-26T06:56:59.503Z
2022-11-26T06:56:59.503Z
Bregt Vanbilsen
<p>I am trying to update a craft website.
However this fails.
Looking into the migrations table, there were no migrations where track column is &quot;craft&quot;, there were some where the track was &quot;plugin:xx&quot;.</p>
<p>So there are migrations trying to run, that have already been applied (but are not in the migrations table). I manually entered the rows for the migrations that were already applied.
Now when doing &quot;craft migrate/all&quot; it lists the craft updates without the ones I entered manually.</p>
<p>But now some of the plugin migrations (that were initially in the database) are also showing up on the &quot;craft migrate/all&quot; list and failing when trying to apply them (since these migration have already been applied before.
e.g. the
<a href="https://i.sstatic.net/1vGjf.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/1vGjf.png" alt="migration table" /></a>
<a href="https://i.sstatic.net/9RuPz.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/9RuPz.png" alt="Migration command" /></a></p>
<p>Is there another place where info about migrations is taken from? Or why are these migrations showing up.</p>
<p>When executing craft migrate/new or craft migrate/up it shows
<a href="https://i.sstatic.net/E9gob.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/E9gob.png" alt="enter image description here" /></a></p>

<migration>
Migrations out of sync
# Migrations out of sync

(Asked by: username_0 on 2022-11-25)

I am trying to update a craft website.
However this fails.
Looking into the migrations table, there were no migrations where track column is "craft", there were some where the track was "plugin:xx".

So there are migrations trying to run, that have already been applied (but are not in the migrations table). I manually entered the rows for the migrations that were already applied.
Now when doing "craft migrate/all" it lists the craft updates without the ones I entered manually.

But now some of the plugin migrations (that were initially in the database) are also showing up on the "craft migrate/all" list and failing when trying to apply them (since these migration have already been applied before.
e.g. the
[![migration table](https://i.sstatic.net/1vGjf.png)](https://i.sstatic.net/1vGjf.png)
[![Migration command](https://i.sstatic.net/9RuPz.png)](https://i.sstatic.net/9RuPz.png)

Is there another place where info about migrations is taken from? Or why are these migrations showing up.

When executing craft migrate/new or craft migrate/up it shows
[![enter image description here](https://i.sstatic.net/E9gob.png)](https://i.sstatic.net/E9gob.png)

**Tags:** migration

---

## 1 answers

### Answer by username_0 on 2022-11-26. Score: 1

For reference: what was missing in the table was the correct pluginId for each plugin migration.


---

