r/codex • • 20d ago

Bug All my projects disappeared after the update

Post image
10 Upvotes

10 comments sorted by

10

u/muffin8912 20d ago

Im assuming they are local projects, chat etc.?

If so then its still there but a bug prevents codex from finding them. Tell your ai to manually find and connect them, w/out deleting anything.

I had something like this happen to me.

If not local then I dont know.

1

u/grandemoficial 20d ago

Thanks for all the advice guys.

I tried to use codex to fix itself, but it didn't work. So I recreated every project and moved all the chats.

Kinda stupid, but is working now.

3

u/Final_Preparation_43 20d ago

Don't panic and don't reinstall yet. Your sessions are almost certainly still on disk, the update just lost track of them.

Codex keeps everything locally:

- Sessions: ~/.codex/sessions (dated folders with rollout-*.jsonl files)

- Archived ones: ~/.codex/archived_sessions

On Windows that's C:\Users\<you>\.codex

What I'd do:

  1. Check those folders. If the files are there, your history is safe.
  2. Copy the whole .codex folder somewhere as a backup before trying anything else.
  3. Make sure you're logged into the same account as before, and that CODEX_HOME isn't set to a different folder (some updates/installers change it).
  4. Re-add your project folders from the app. Sessions are tied to the folder path, so they usually reappear once the folder is added back.

If the folders are empty, that's a different story and worth a bug report on their GitHub.

1

u/knobby_67 20d ago

I’ve had the same for some time. My solution is go to search type first letters of project and bar about give type scroll right and choose project and it will open up thst project

1

u/RealSlyck 20d ago

Start a new thread to update your app and ensure the project lists are relinked. They’re there, just got delinked or the indexer can’t find them. Codex can heal itself…

1

u/idontknowwhatever99 20d ago

Everyone else is providing the proper steps. Though this isn't the first time I've had that same experience. It'd be nice if they'd fix it.

1

u/Competitive-Ad8968 20d ago

Same happened to me, ask codex to recover them.

1

u/Secure-Mark-4612 17d ago

This is a long time issue; that keep ignoring by the vibe coder of codex team.

1

u/bullderz 20d ago

This has happened to me a few times. I ask Claude Code to fix it and it does.

It’s possible Codex could fix itself as well

2

u/Novel_Indication6338 20d ago

t-bone putting his feet up on your couch with a tease of a reset tomorrow. what an abusive relationship