LiteDB GithubCache corruption causes freeze (~30 errors) and crash on startup

Author: SinonkaZLp1Created Sep 18, 2026Updated Sep 18, 2026
Labelsbug

What happened?

What happened? After updating/installing ComfyUI 0.36.0, Stability Matrix freezes on startup, floods the error log with ~30 LiteDB errors, then crashes to desktop.

System:

OS: Windows GPU: RTX 3050 6GB + GTX 1050 Ti 4GB (dual GPU) CPU: AMD FX-8300 RAM: 28 GB DDR3 Stability Matrix version: 2.16.4 Steps to reproduce:

Install or update ComfyUI to version 0.36.0 Restart Stability Matrix App freezes on Package Manager load → ~30 errors → crash Errors (Sentry IDs):

028917b4 — AggregateException: Repeated LiteDb error in GithubCache e569e95f — LiteException: page type must be index page 9e7f7a93 — AggregateException: Repeated LiteDb error in GithubCache de354d10 — ArgumentOutOfRangeException in PackageImportViewModel Additional context:

Windows chkdsk found a filesystem write error (no bad sectors) Deleting the cache .db file temporarily helps but corruption returns on next launch (likely due to GitHub API rate limit ~90-150 requests during cache rebuild)

Steps to reproduce

No response

Relevant logs

bash

Version

2.16.3-2.16.4

What Operating System are you using?

Windows