# SOLVED: V2 - Symbol’s function definition is void: org-back-to-heading-or-point-min

**URL:** <https://org-roam.discourse.group/t/solved-v2-symbol-s-function-definition-is-void-org-back-to-heading-or-point-min/1824>\
**Category:** Troubleshooting\
**Created:** [July 25, 2021, 10:52am UTC](https://org-roam.discourse.group/t/solved-v2-symbol-s-function-definition-is-void-org-back-to-heading-or-point-min/1824 "2021-07-25T10:52:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cube48](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/cube48/32/429_2.png) [@cube48](https://org-roam.discourse.group/u/cube48)\
**Post date:** [July 25, 2021, 10:52am UTC](https://org-roam.discourse.group/t/solved-v2-symbol-s-function-definition-is-void-org-back-to-heading-or-point-min/1824/1 "2021-07-25T10:52:13Z")

</div>

I’m on Win10. Migration to V2 was not successful for me (Selecting deleted buffer error).

So I’ve removed all files related to V1 (didn’t have much to loose), deleted the db file. Then installed V2, updated the config but I’m getting `Symbol’s function definition is void: org-back-to-heading-or-point-min` error now, also after manually invoking `org-roam-setup`.  
`org-roam-db-sync` throws `Selecting deleted buffer`

Here’s my config excerpt.

```auto
;; ORG-ROAM
;;; Tell Emacs where sqlite3.exe is stored
 (add-to-list 'exec-path "~/../../Dropbox/Sync/MyOrgMode/bin/")

(use-package org-roam
      :ensure t
      :custom
      (org-roam-directory (file-truename "~/../../Dropbox/Sync/MyOrgMode/org-roam/"))
      (org-roam-dailies-directory (file-truename "~/../../Dropbox/Sync/MyOrgMode/org-roam/daily"))
      (org-roam-completion-ignore-case 1)
      :bind (("C-c n b" . org-roam-buffer-toggle)
             ("C-c n /" . org-roam-node-find)
             ("C-c n g" . org-roam-graph)
             ("C-c n i" . org-roam-node-insert)
             ("C-c n c" . org-roam-capture)
	     ("C-c n j" . org-roam-dailies-capture-today)
             ("C-c n t" . org-roam-dailies-find-today))
      :config
      (org-roam-setup)
;; (org-roam-buffer-width 0.2)
;; (org-roam-link-title-format "R:%s")
      ;; If using org-roam-protocol
      (require 'org-roam-protocol)
      )

(setq org-roam-v2-ack t)

```

I’ve checked the documentation but have no idea what else I could try. Any suggestions are welcome. Thanks in advance!

BTW, installation on Android Termux/Emacs went fine and I’m able to use org-roam there with just [one small oddity](https://org-roam.discourse.group/t/why-does-creating-a-new-node-create-a-properties-drawer-in-the-document-i-started-from/1802).

---

<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:** [July 25, 2021, 10:57am UTC](https://org-roam.discourse.group/t/solved-v2-symbol-s-function-definition-is-void-org-back-to-heading-or-point-min/1824/2 "2021-07-25T10:57:45Z")

</div>

what’s your org mode version? I suspect you might be running 9.3 or before. Org-roam requires 9.4 onwards (the v2-ack warning now should say it too).

---

<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:** [July 25, 2021, 11:03am UTC](https://org-roam.discourse.group/t/solved-v2-symbol-s-function-definition-is-void-org-back-to-heading-or-point-min/1824/3 "2021-07-25T11:03:20Z")

</div>

> [@cube48](#):
>
> Selecting deleted buffer

This should be a separate issue. On Windows every second call to db-sync gets this; it has been a quirk of emacsql for Windows. But with V2 (and V1), I never see this error in daily usage. You call db-sync only once when you start Org-roam (via org-roam-setup).

---

<div class="post-metadata">

**Author:** ![cube48](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/cube48/32/429_2.png) [@cube48](https://org-roam.discourse.group/u/cube48)\
**Post date:** [July 25, 2021, 3:14pm UTC](https://org-roam.discourse.group/t/solved-v2-symbol-s-function-definition-is-void-org-back-to-heading-or-point-min/1824/4 "2021-07-25T15:14:34Z")

</div>

Thank you @nobiot! Indeed the upgrade of org-mode solved the problem.

---

<div class="post-metadata">

**Author:** ![haathomai](https://avatars.discourse-cdn.com/v4/letter/h/c77e96/32.png) [@haathomai](https://org-roam.discourse.group/u/haathomai)\
**Post date:** [August 9, 2021, 5:03pm UTC](https://org-roam.discourse.group/t/solved-v2-symbol-s-function-definition-is-void-org-back-to-heading-or-point-min/1824/5 "2021-08-09T17:03:04Z")

</div>

I am using straight with default setting. org-mode is 9.3 for me. How to update it to 9.4

---

<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:** [August 9, 2021, 5:33pm UTC](https://org-roam.discourse.group/t/solved-v2-symbol-s-function-definition-is-void-org-back-to-heading-or-point-min/1824/6 "2021-08-09T17:33:35Z")

</div>

I think upgrading Emacs to the latest release 27.2 is the easiest.

27.1 still comes with 9.3.

I have no idea how Straight works.
