# Problems with org-roam-db-autosync-mode

**URL:** https://org-roam.discourse.group/t/problems-with-org-roam-db-autosync-mode/1948
**Category:** How To
**Created:** [August 15, 2021, 5:19pm UTC](https://org-roam.discourse.group/t/problems-with-org-roam-db-autosync-mode/1948 "2021-08-15T17:19:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![whdaffer](https://avatars.discourse-cdn.com/v4/letter/w/bc79bd/32.png) [@whdaffer](https://org-roam.discourse.group/u/whdaffer)
#### Post date: [August 15, 2021, 5:19pm UTC](https://org-roam.discourse.group/t/problems-with-org-roam-db-autosync-mode/1948/1 "2021-08-15T17:19:39Z")

</div>

Hi;

I’m very new to org-roam. I had a few files in v1, but I’ve moved them and the v1 database aside. I’ve newly installed v2 from elpa.

But I’m having a problem with the initialization as proposed in the user manual. Specifically, the step given here.

```auto
Next, we setup Org-roam to run functions on file changes to maintain cache consistency. This is achieved by running `M-x org-roam-db-autosync-mode~` . To ensure that Org-roam is available on startup, place this in your Emacs configuration:

(org-roam-db-autosync-mode)

```

Doesn’t work. It says it’s a void-function.

Any ideas?

However, I can manually build the database (which is empty, at the moment) using the next step suggested in the manual, viz…

```auto
To build the cache manually, run `M-x org-roam-db-sync` . Cache builds may take a while the first time, but subsequent builds are often instantaneous because they only reprocess modified files.

```

So I guess I could just it by hand for now.

---

<div class="post-metadata">

### Author: ![whdaffer](https://avatars.discourse-cdn.com/v4/letter/w/bc79bd/32.png) [@whdaffer](https://org-roam.discourse.group/u/whdaffer)
#### Post date: [August 15, 2021, 5:27pm UTC](https://org-roam.discourse.group/t/problems-with-org-roam-db-autosync-mode/1948/2 "2021-08-15T17:27:25Z")

</div>

I should say, this is actually installed from melpa-stable.

I notice that the .info files installed from melpa disagree with what’s at [Org-roam User Manual](https://www.orgroam.com/manual.html), specifically the required components of the capture templates.

Perhaps I should install from sources.

---

<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 15, 2021, 5:38pm UTC](https://org-roam.discourse.group/t/problems-with-org-roam-db-autosync-mode/1948/3 "2021-08-15T17:38:41Z")

</div>

You might like to use MELPA (not MELPA-stable) if you are prepared to use source.

---

<div class="post-metadata">

### Author: ![whdaffer](https://avatars.discourse-cdn.com/v4/letter/w/bc79bd/32.png) [@whdaffer](https://org-roam.discourse.group/u/whdaffer)
#### Post date: [August 15, 2021, 5:50pm UTC](https://org-roam.discourse.group/t/problems-with-org-roam-db-autosync-mode/1948/4 "2021-08-15T17:50:07Z")

</div>

Thanks.

The emacs package manager says that the org-roam at melpa is ‘obsolete’. However, I don’t know if it’s saying that only because I have the one from melpa-stable installed. I don’t know the algorithm used for saying something is `obsolete.’

Alas, no joy: org-roam-db-autosync-mode is still a void-function whether from melpa or melpa-stable and grepping the source code finds no reference to that function.

And off to the source I go!

late: It is in the source code of the repo I cloned from source, however.
