All my projects and conversations are missing after Computer restart
Open 💬 5 comments Opened Apr 26, 2026 by novaflash82
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
26.422.30944
What subscription do you have?
Pro
What platform is your computer?
Windows 11 Home
What issue are you seeing?
My Computer had to restart and when it loaded back up I started Codex back up and when I did all of my projects and chats in codex are gone. If I search for them, they do show up, but I can't see them on the main interface. New chats won't appear either.
So no matter what I do I can't see new chats or projects or conversations.
What steps can reproduce the bug?
Uploaded thread: 56c49608-2ed1-4765-8258-91fc3ac3ae97
No clue. My computer shut down and when it came back on all my projects and conversations in Codex were missing. I've tried rebooting and nothing.
What is the expected behavior?
Normally all of my chats and projects are in Codex. New chats show up too. Nothing does now.
Additional information
_No response_
5 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I'm getting this problem too, its extremely frustrating.
I was able to recover from this locally and wanted to add the concrete workaround/root cause I found.
BTW, Codex with 5.5 on extra high FIXED THIS PROBLEM. So it literally fixed itself lol
This did not appear to be data loss. The threads still existed in the local Codex database (
%USERPROFILE%\.codex\state_5.sqlite) and session files. The missing sidebar/projects were caused by the desktop app's global UI/project state being rewritten without saved workspace roots.On the affected Windows machine,
%USERPROFILE%\.codex\.codex-global-state.jsonhad been reduced to only the current projectless thread state, for example it was missing keys like:electron-saved-workspace-rootsactive-workspace-rootsthread-workspace-root-hintsOlder temp global-state files under
%USERPROFILE%\.codex\still contained the prior workspace root, andstate_5.sqlitestill contained the older thread rows. Restoring those keys brought the sidebar/projects back.Important detail: editing
.codex-global-state.jsonwhile Codex Desktop was still running did not stick. The running app had the empty sidebar/project state in memory and overwrote the restored file again on shutdown/relaunch.The recovery that worked was:
%USERPROFILE%\.codex\.codex-global-state.jsonand%USERPROFILE%\.codex\state_5.sqlite.Codex.exe/codex.exeprocesses. Closing the window was not enough in this case.electron-saved-workspace-roots: array of the local workspace root(s)active-workspace-roots: same workspace root(s)thread-workspace-root-hints: map existing thread IDs fromstate_5.sqliteback to their workspace rootsAfter doing the restore post-exit, the projects and conversations reappeared in the left sidebar.
Suggested product-side fixes:
electron-saved-workspace-roots/active-workspace-rootsas recoverable ifstate_5.sqlitestill has local threads withcwdvalues.thread-workspace-root-hintsfrom the local thread DB/session index when the global state file is missing, truncated, or inconsistent..codex-global-state.jsonfrom stale in-memory empty state during shutdown.This looks like a sidebar/project index corruption issue, not deletion of conversations.
This happened to me and I realized what happened. Very simple fix in my case. I had defined CODE_HOME in the environment variables to point to a new folder, but unknown to me the change wasn't picked up right away. I may or may not have opened Codex one before making the change, but I had not restarted my computer. So Codex saved all of its data into the default location, then switched to the one I had set after my computer restarted.
After I deleted CODEX_HOME and rebooted again, all of my chats/data was back.
I am experiencing the same or a closely related issue on Codex Desktop for Windows.
During the last week of July 2026, multiple previously visible and pinned Codex projects and their project history suddenly disappeared from the interface.
I did not intentionally delete, archive, unpin, or move these projects to another account or workspace.
The missing projects contained ongoing development work, project instructions, implementation history, technical decisions, previous task context, and completed Codex work. Their disappearance forced me to reconstruct project context and repeat previously completed Codex tasks.
I submitted diagnostic feedback through the Codex Desktop app.
Feedback ID:
019fb27c-bcc3-7243-970b-7655ccad1da4
Please associate the diagnostic data attached to this Feedback ID with this issue and investigate:
The disappearance caused me to repeat previously completed work and consume additional Codex usage, credits, tokens, and plan limits. I will submit the account-specific usage compensation request privately through OpenAI Support.
I am not posting my account email, private project names, repository details, or other confidential account information publicly.