# V1 ==\> V2; Links Between Nodes Nonexistent

**URL:** <https://org-roam.discourse.group/t/v1-v2-links-between-nodes-nonexistent/2123>\
**Category:** Troubleshooting\
**Created:** [October 12, 2021, 11:22pm UTC](https://org-roam.discourse.group/t/v1-v2-links-between-nodes-nonexistent/2123 "2021-10-12T23:22:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eunosm3](https://avatars.discourse-cdn.com/v4/letter/e/77aa72/32.png) [@eunosm3](https://org-roam.discourse.group/u/eunosm3)\
**Post date:** [October 12, 2021, 11:22pm UTC](https://org-roam.discourse.group/t/v1-v2-links-between-nodes-nonexistent/2123/1 "2021-10-12T23:22:38Z")

</div>

The pre-existing links between my nodes did not survive the migration from V1 to V2.

I recently needed to re-create my virtual machine, so I took the opp’y to update to org-roam v2.

I set up Emacs to use org-roam by:

1. copying my pre-existing \*.org files into ~/org/roam on the new machine;
2. installing Emacs (obviously; Doom-flavored); and,
3. changing `:lang org` to `:lang (org +roam2)`;

My \*.org files didn’t show up right away, so I ran the org-roam migration utility. Voila, my files showed up as nodes.

Unfortunately, my links between files _did not_ carry over from V1. When I use `n-r-r` to view backlinks, nodes that I know have backlinks do not show anything.

However, _new links_ (made with `n-r-i`) work properly.

I searched around on this forum, but I did not find an instance of a similar problem ( I could have missed it, though).

Help would be appreciated.

---

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [October 13, 2021, 11:05am UTC](https://org-roam.discourse.group/t/v1-v2-links-between-nodes-nonexistent/2123/2 "2021-10-13T11:05:11Z")

</div>

Do migrated links work normally as ID links? Can you navigate from a file to another via migrated ID links?

If this is not working, then that explains why you don’t backlinks between migrated notes.

I’d try two things:

1. Command `org-roam-update-org-id-locations`
2. Delete DB file and re-build DB from scratch

Good luck.

---

<div class="post-metadata">

**Author:** ![eunosm3](https://avatars.discourse-cdn.com/v4/letter/e/77aa72/32.png) [@eunosm3](https://org-roam.discourse.group/u/eunosm3)\
**Post date:** [October 13, 2021, 4:10pm UTC](https://org-roam.discourse.group/t/v1-v2-links-between-nodes-nonexistent/2123/3 "2021-10-13T16:10:58Z")

</div>

Thank you very much, nobiot - you led me to the solution.

I had already run `org-roam-update-org-id-locations`, but the migrated backlinks weren’t showing up. Before I searched up how to how to delete the db and rebuild it from scratch, I looked through all the `org-roam-...` commands for anything related to a database.

Doing that turned up `org-roam-db-sync` (_synchronize the cache state with the current Org files on-disk_). After running the command, the migrated backlinks showed up.

I appreciate the help, as well as the speedy response.

~ML
