# Codex desktop stopped showing local threads after update, but ~/.codex data is still present

**URL:** <https://community.openai.com/t/codex-desktop-stopped-showing-local-threads-after-update-but-codex-data-is-still-present/1377125>\
**Category:** Codex\
**Tags:** threads, desktop, bugs, history, codex-app\
**Created:** [March 18, 2026, 9:57pm UTC](https://community.openai.com/t/codex-desktop-stopped-showing-local-threads-after-update-but-codex-data-is-still-present/1377125 "2026-03-18T21:57:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![OM\_M\_PATEL](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/om_m_patel/32/731238_2.png) [@OM\_M\_PATEL](https://community.openai.com/u/OM_M_PATEL)\
**Post date:** [March 18, 2026, 9:57pm UTC](https://community.openai.com/t/codex-desktop-stopped-showing-local-threads-after-update-but-codex-data-is-still-present/1377125/1 "2026-03-18T21:57:38Z")

</div>

After updating Codex desktop, my `Project` thread and its sub-threads disappeared from the UI. What makes this look like a UI/indexing bug rather than deletion is that the local data is still present on disk.

**What I verified locally:**

- `~/.codex/state_5.sqlite` still contains `58` threads for my Project workspace
- raw session files still exist under `~/.codex/sessions/`
- `~/.codex/session_index.jsonl` was rebuilt from the DB
- Codex app-side session/cache was reset
- full app restart still did not restore the threads in the desktop UI

**What I already tried:**

1. Verified the threads still exist in `state_5.sqlite`
2. Exported thread-to-rollout mappings from the DB
3. Rebuilt the `/Project` portion of `session_index.jsonl`
4. Restored the Project workspace roots
5. Cleared Codex app-side session/cache storage
6. Fully restarted the app

**Result:**  
The local thread/session data still exists, but Codex desktop still does not render those threads in the UI.

**Question:**  
Has anyone seen Codex desktop stop showing locally stored threads after an update even though they still exist in `~/.codex`?

Is there any supported way to force a full local reindex from:

- `~/.codex/state_5.sqlite`
- `~/.codex/session_index.jsonl`
- `~/.codex/sessions/`

This appears to be an app-side history indexing/filtering issue after update, not actual local thread deletion.

---

<div class="post-metadata">

**Author:** ![anon83680553](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@anon83680553](https://community.openai.com/u/anon83680553)\
**Post date:** [May 2, 2026, 7:04am UTC](https://community.openai.com/t/codex-desktop-stopped-showing-local-threads-after-update-but-codex-data-is-still-present/1377125/2 "2026-05-02T07:04:01Z")

</div>

I hit a similar issue after using Settings \> General \> Import other agent setup. Local session files exist but the app’s sidebar, search, and project mapping are broken. Posted a full writeup titled: “Codex macOS: “Import other agent setup” corrupted sidebar, chat titles, timestamps, and project mapping”

Mine happened today and it’s interesting that yours happened a month ago.

---

<div class="post-metadata">

**Author:** ![aitechcx2025](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@aitechcx2025](https://community.openai.com/u/aitechcx2025)\
**Post date:** [August 27, 2026, 1:06pm UTC](https://community.openai.com/t/codex-desktop-stopped-showing-local-threads-after-update-but-codex-data-is-still-present/1377125/3 "2026-08-27T13:06:24Z")

</div>

This just happened to me. I don’t know what to do. Will the Codex team fix the problem, or do we have to fix it manually?

---

<div class="post-metadata">

**Author:** ![OpenAI\_Support](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/openai_support/32/561845_2.png) [@OpenAI\_Support](https://community.openai.com/u/OpenAI_Support)\
**Post date:** [September 17, 2026, 5:41pm UTC](https://community.openai.com/t/codex-desktop-stopped-showing-local-threads-after-update-but-codex-data-is-still-present/1377125/4 "2026-09-17T17:41:11Z")

</div>

Hi folks, sorry for the late reply! It’s frustrating to have your chats disappear when the files are still there.

This may have been resolved in a recent Codex app update. Could you update to the latest version and let us know if it’s still happening?

If so, please email [support@openai.com](mailto:support@openai.com) with a short screen recording showing the behavior, your OS version, and the Codex app version and build. Share those privately with Support, since the recording could contain sensitive information.

-Austin

---

<div class="post-metadata">

**Author:** ![Mark\_G](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@Mark\_G](https://community.openai.com/u/Mark_G)\
**Post date:** [September 17, 2026, 5:41pm UTC](https://community.openai.com/t/codex-desktop-stopped-showing-local-threads-after-update-but-codex-data-is-still-present/1377125/5 "2026-09-17T17:41:34Z")

</div>


