Title: Data not loaded after upgrade to 0.9.31 / iii 0.25.0 — state_store.db files present but API/viewer show 0 · Issue #1652 · rohitg00/agentmemory · GitHub
Open Graph Title: Data not loaded after upgrade to 0.9.31 / iii 0.25.0 — state_store.db files present but API/viewer show 0 · Issue #1652 · rohitg00/agentmemory
X Title: Data not loaded after upgrade to 0.9.31 / iii 0.25.0 — state_store.db files present but API/viewer show 0 · Issue #1652 · rohitg00/agentmemory
Description: Summary After upgrading to agentmemory 0.9.31 (iii 0.25.0 + state worker 0.22.20), all previously existing data is gone from the API and viewer. The old .bin files in state_store.db are still present on disk and have non-trivial sizes, b...
Open Graph Description: Summary After upgrading to agentmemory 0.9.31 (iii 0.25.0 + state worker 0.22.20), all previously existing data is gone from the API and viewer. The old .bin files in state_store.db are still prese...
X Description: Summary After upgrading to agentmemory 0.9.31 (iii 0.25.0 + state worker 0.22.20), all previously existing data is gone from the API and viewer. The old .bin files in state_store.db are still prese...
Opengraph URL: https://github.com/rohitg00/agentmemory/issues/1652
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Data not loaded after upgrade to 0.9.31 / iii 0.25.0 — state_store.db files present but API/viewer show 0","articleBody":"## Summary\nAfter upgrading to agentmemory 0.9.31 (iii 0.25.0 + state worker 0.22.20), all previously existing data is gone from the API and viewer. The old `.bin` files in `state_store.db` are still present on disk and have non-trivial sizes, but the new engine treats the store as empty.\n\n## Environment\n- **Version before**: ~0.9.27\n- **Version after**: 0.9.31\n- **Engine**: iii 0.25.0 (pinned)\n- **OS**: macOS\n- **Data dir**: `~/.agentmemory`\n- **Backend**: file (default)\n\n## What happened\n1. Ran `agentmemory stop` on the old version.\n2. Upgraded to 0.9.31.\n3. Started the new version.\n4. Viewer (http://localhost:3113), `agentmemory status`, and `GET /agentmemory/status` all show 0 memories, 0 observations, 0 sessions, 0 graph nodes/edges.\n5. Graph-index migration runs but reports `processed: 0`, `total: 0`, `nodes: 0`, `edges: 0`.\n\n## Evidence that data still exists on disk\n`~/.agentmemory/data/state_store.db/` still contains multiple large `.bin` files (e.g. `mem%3Amemories.bin`, `mem%3Aobservations*.bin`, graph-related files). They were not deleted or truncated by the upgrade.\n\nThe new engine is using the correct absolute path (confirmed via status / compose config).\n\n## Relevant status snippet\n```json\n\"graph\": { \"totalNodes\": 0, \"totalEdges\": 0, ... },\n\"graphIndex\": { \"nodes\": 0, \"edges\": 0, \"processed\": 0, \"total\": 0, \"ready\": true },\n\"index\": { \"bm25Documents\": 0, \"memoriesIndexed\": 0, \"observationsIndexed\": 0, \"sessions\": 0 }","author":{"url":"https://github.com/NikEnPrin","@type":"Person","name":"NikEnPrin"},"datePublished":"2026-11-02T09:47:30Z","url":"https://github.com/rohitg00/agentmemory/issues/1652"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6590ec46-fd5e-45e5-faab-0982f1394754 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B348:B2645:81A9B:A74FD:6AEBDED4 |
| html-safe-nonce | 1a64a6540db78330fa14dfa953ec510a903440b29e2d5a3b7b941653595d754b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzQ4OkIyNjQ1OjgxQTlCOkE3NEZEOjZBRUJERUQ0IiwidmlzaXRvcl9pZCI6IjI5Mzk4MzE1NzMxODA4MzM0OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1226cde2357f879e5f4613e804b731747febe3fd1fd4810c4e93dfc97b370716 |
| hovercard-subject-tag | issue:6160108182 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/rohitg00/agentmemory/1652/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d31706f83a11eb07426d29e3aa1c1a3360e2dc9e2993254cd2e66f89bce22d38/rohitg00/agentmemory/issues/1652 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d31706f83a11eb07426d29e3aa1c1a3360e2dc9e2993254cd2e66f89bce22d38/rohitg00/agentmemory/issues/1652 |
| og:image:alt | Summary After upgrading to agentmemory 0.9.31 (iii 0.25.0 + state worker 0.22.20), all previously existing data is gone from the API and viewer. The old .bin files in state_store.db are still prese... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | NikEnPrin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 701f7e3aecc56e7594e73fa7b7e1483af74322a67f7038be453d0feb05e86e77 |
| turbo-cache-control | no-preview |
| go-import | github.com/rohitg00/agentmemory git https://github.com/rohitg00/agentmemory.git |
| octolytics-dimension-user_id | 48523873 |
| octolytics-dimension-user_login | rohitg00 |
| octolytics-dimension-repository_id | 1166408297 |
| octolytics-dimension-repository_nwo | rohitg00/agentmemory |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1166408297 |
| octolytics-dimension-repository_network_root_nwo | rohitg00/agentmemory |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 12d1048a3491dd63e4193b2937cf72f1c24a2a52 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width