Skip to content

macOS Codex cannot create, edit, or remove local projects due to duplicate resolved project root #47636

Open

Description

@jayson734

Environment

  • macOS: 26.6.2 (25G83)
  • ChatGPT app: 26.917.62051
  • Codex CLI: 0.155.0-alpha.16.3
  • Session code: 01a0cf7f-6076-7851-85dd-3f106f45b948

Problem

Codex for macOS cannot create, edit, remove, or update local projects.

Creating a project with only /Users/jaysondavies/Desktop fails with:

Failed to create project

Creating a project with only /Users/jaysondavies/code/test also fails, so the issue is not limited to Dropbox or protected macOS folders.

Existing local projects also cannot be edited or removed.

Troubleshooting completed

  • Enabled ChatGPT under macOS Full Disk Access.
  • Set the Codex composer permission to Full access.
  • Updated ChatGPT.
  • Reinstalled ChatGPT.
  • Tested both Dropbox and non-Dropbox folders.
  • Restarted ChatGPT after changing permissions.

Relevant log error

The attached logs repeatedly show:

duplicate resolved project root: /Users/jaysondavies/Dropbox/Codex OS

The saved projects “OT Schoolhouse” and “Codex OS” appear to resolve to the same Dropbox folder through different paths:

  • /Users/jaysondavies/Library/CloudStorage/Dropbox/Codex OS
  • /Users/jaysondavies/Dropbox/Codex OS

The logs also show:

ChatGPT project context sync failed

and:

Unknown local project

The duplicate-root error occurs during Codex startup, before attempting to create a new project.

Expected behavior

I should be able to create a local project from a single valid folder and edit or remove existing local projects.

Workaround

The Codex CLI works as a temporary workaround when launched from a folder, for example:

codex --cd ~/code/test

The desktop Projects UI remains unusable.

The attached ZIP contains the relevant Codex logs and screenshots.

2026.zip

Image Image Image Image

Activity

  1. added
    bug
    app
    on Sep 23, 2026
  2. captainBibby commented on Oct 16, 2026

    @captainBibby

    I hit the same issue on macOS and found a workaround.

    Symptoms

    • "Failed to create project" for every folder, including a non-synced folder under /Users/<user>/.
    • Logs (~/Library/Logs/com.openai.codex/...) repeatedly show `duplicate resolved project root: /Users//Documents/Project
    • , plus project context sync failed`.

    Cause in my case
    One project ("Project" - example) had two source folders listed:

    • ~/Documents/ChatGPT/Project
    • ~/Documents/Project

    They appeared to point at the same directory, which matches the duplicate-root error. Removing one of them in the app's "Edit project" menu didn't work, because the change could not be saved.

    Workaround that worked
    I quit the app, renamed the extra folder on disk (the one under Documents/ChatGPT), and relaunched. After that, creating a project worked again. I now use only one folder per project.

    So a project with two source folders resolving to the same root can block all project creation, and the app can't repair it from the UI. It would help if the app either let you remove the duplicate, or ignored the duplicate instead of failing every project operation, and showed the actual error in the dialog.

    Environment: macOS <27.0.1 (26A434)>, app version <26.1013.31256>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions