# Migrate OrientDB to H2 stuck on "userToken"

**URL:** <https://community.sonatype.com/t/migrate-orientdb-to-h2-stuck-on-usertoken/13872>\
**Category:** Sonatype Nexus Repository\
**Created:** [November 18, 2024, 5:03pm UTC](https://community.sonatype.com/t/migrate-orientdb-to-h2-stuck-on-usertoken/13872 "2024-11-18T17:03:12Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![montag](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@montag](https://community.sonatype.com/u/montag)\
**Post date:** [November 19, 2024, 4:28pm UTC](https://community.sonatype.com/t/migrate-orientdb-to-h2-stuck-on-usertoken/13872/3 "2024-11-19T16:28:44Z")

</div>

I found in the config database the following entry:

```auto
orientdb {db=config}> select usertoken from upgrade_model_versions;

+----+---------+
| # |usertoken|
+----+---------+
|0 |1.1 |
+----+---------+

1 item(s) found. Query executed ` `in` `0.003 sec(s).

```

I have now updated the value to “1.5”:

```auto
orientdb {db=config}> UPDATE upgrade_model_versions SET usertoken = 1.5

Updated record(s) ` `'1'` `in` `0.019000 sec(s).

```

Then I was able to run the migrator successfully.  
I am currently testing, if the migrated Nexus instance is accepting the new H2 database.

---

_[View the full topic](https://community.sonatype.com/t/migrate-orientdb-to-h2-stuck-on-usertoken/13872)._
