# Unable to load index root ref \<uuid\>

**URL:** <https://forum.datomic.com/t/unable-to-load-index-root-ref-uuid/1203>\
**Category:** Troubleshooting\
**Created:** [October 15, 2019, 1:53pm UTC](https://forum.datomic.com/t/unable-to-load-index-root-ref-uuid/1203 "2019-10-15T13:53:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![max](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/max/32/298_2.png) [@max](https://forum.datomic.com/u/max)\
**Post date:** [October 15, 2019, 1:53pm UTC](https://forum.datomic.com/t/unable-to-load-index-root-ref-uuid/1203/1 "2019-10-15T13:53:13Z")

</div>

Today my cloudwatch log is full of messages that says `RestartingDaemonException`  
`"Message": "Unable to load index root ref <uuid>",` with two different uuid’s. It started this morning, and happens about 3 times/minute.

Do you know what could be the cause of that, and how can I repair it?

---

<div class="post-metadata">

**Author:** ![marshall](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/marshall/32/48_2.png) [@marshall](https://forum.datomic.com/u/marshall)\
**Post date:** [October 16, 2019, 4:13pm UTC](https://forum.datomic.com/t/unable-to-load-index-root-ref-uuid/1203/2 "2019-10-16T16:13:22Z")

</div>

Max,

Can you restart your compute node(s) and let us know if the messages continue afterward?

---

<div class="post-metadata">

**Author:** ![max](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/max/32/298_2.png) [@max](https://forum.datomic.com/u/max)\
**Post date:** [October 17, 2019, 8:33am UTC](https://forum.datomic.com/t/unable-to-load-index-root-ref-uuid/1203/3 "2019-10-17T08:33:26Z")

</div>

I’ve restarted and the message did go away. I got several ClientSPIAnomaly messages on startup though:

```auto
{  
   "Msg":"ClientSPIAnomaly",
   "DatomicClientSpiErrorResponse":{  
      "Status":200,
      "Body":{  
         "CognitectAnomaliesCategory":"CognitectAnomaliesUnavailable",
         "CognitectAnomaliesMessage":"Loading database"
      }
   },
   "Type":"Event",
   "Tid":98,
   "Timestamp":1571298528204
}

```

Also, random errors make me nervous and I’d like to know why a restart was required.

I have recently deleted databases, if that’s related.

Thank you for getting back!

---

<div class="post-metadata">

**Author:** ![max](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/max/32/298_2.png) [@max](https://forum.datomic.com/u/max)\
**Post date:** [October 21, 2019, 9:35am UTC](https://forum.datomic.com/t/unable-to-load-index-root-ref-uuid/1203/4 "2019-10-21T09:35:19Z")

</div>

This morning the errors are back again ☹

---

<div class="post-metadata">

**Author:** ![stu](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/stu/32/11_2.png) [@stu](https://forum.datomic.com/u/stu)\
**Post date:** [October 21, 2019, 2:30pm UTC](https://forum.datomic.com/t/unable-to-load-index-root-ref-uuid/1203/5 "2019-10-21T14:30:23Z")

</div>

Hi Max,

The errors you have described are usually transient, and if they do not correlate with user-visible issues are not a problem.

If you post the full stack trace for a `RestartingDaemonException` I can confirm this for a specific instance.

---

<div class="post-metadata">

**Author:** ![max](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/max/32/298_2.png) [@max](https://forum.datomic.com/u/max)\
**Post date:** [October 22, 2019, 8:43am UTC](https://forum.datomic.com/t/unable-to-load-index-root-ref-uuid/1203/6 "2019-10-22T08:43:34Z")

</div>

If transient it seems to linger for long. It’s still happening three times per minute per uuid.

This is the full log entry of the latest instance:

```auto
{
    "Msg": "RestartingDaemonException",
    "Ex": {
        "Via": [
            {
                "Type": "clojure.lang.ExceptionInfo",
                "Message": "Unable to load index root ref 37cada6d-4d4b-4faa-8671-4d4f3ae0fce0",
                "Data": {
                    "Ret": {},
                    "DbId": "37cada6d-4d4b-4faa-8671-4d4f3ae0fce0"
                },
                "At": [
                    "datomic.index$require_ref_map",
                    "invokeStatic",
                    "index.clj",
                    843
                ]
            }
        ],
        "Trace": [
            [
                "datomic.index$require_ref_map",
                "invokeStatic",
                "index.clj",
                843
            ],
            [
                "datomic.index$require_ref_map",
                "invoke",
                "index.clj",
                836
            ],
            [
                "datomic.index$require_root_id",
                "invokeStatic",
                "index.clj",
                849
            ],
            [
                "datomic.index$require_root_id",
                "invoke",
                "index.clj",
                846
            ],
            [
                "datomic.adopter$start_adopter_thread$fn__21647",
                "invoke",
                "adopter.clj",
                67
            ],
            [
                "datomic.async$restarting_daemon$fn __10442$fn__ 10443",
                "invoke",
                "async.clj",
                162
            ],
            [
                "datomic.async$restarting_daemon$fn__10442",
                "invoke",
                "async.clj",
                161
            ],
            [
                "clojure.core$binding_conveyor_fn$fn__5739",
                "invoke",
                "core.clj",
                2030
            ],
            [
                "datomic.async$daemon$fn__10439",
                "invoke",
                "async.clj",
                146
            ],
            [
                "clojure.lang.AFn",
                "run",
                "AFn.java",
                22
            ],
            [
                "java.lang.Thread",
                "run",
                "Thread.java",
                748
            ]
        ],
        "Cause": "Unable to load index root ref 37cada6d-4d4b-4faa-8671-4d4f3ae0fce0",
        "Data": {
            "Ret": {},
            "DbId": "37cada6d-4d4b-4faa-8671-4d4f3ae0fce0"
        }
    },
    "Type": "Alert",
    "Tid": 198,
    "Timestamp": 1571733277389
}

```

---

<div class="post-metadata">

**Author:** ![stu](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/stu/32/11_2.png) [@stu](https://forum.datomic.com/u/stu)\
**Post date:** [October 24, 2019, 12:17pm UTC](https://forum.datomic.com/t/unable-to-load-index-root-ref-uuid/1203/7 "2019-10-24T12:17:56Z")

</div>

Hi Max,

How many different UUIDs are there? This normally can happen transiently after a database has been deleted. Have you/do you delete databases regularly (e.g, as part of a test suite?)

Stu

---

<div class="post-metadata">

**Author:** ![max](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/max/32/298_2.png) [@max](https://forum.datomic.com/u/max)\
**Post date:** [October 28, 2019, 3:59pm UTC](https://forum.datomic.com/t/unable-to-load-index-root-ref-uuid/1203/8 "2019-10-28T15:59:48Z")

</div>

Hi!

There are a few, 1-3 uuid’s, and the messages seems to stay for 1-2 days.

If this should be ignored, I would prefer if it wasn’t flagged as an Alert.

 ![Screenshot%20from%202019-10-28%2016-57-18](https://us1.discourse-cdn.com/flex016/uploads/cognitect/original/1X/0d848576666560783b04e5bdf28c6884e51dd333.png)
