ChatGPT Sites "/root/.codex/" publishing helper error: fixes
ChatGPT Sites won't publish and mentions a helper under /root/.codex/? Likely causes, the workarounds people report, and how to get your files online anyway.
The Liite team7 min de lectura
Short answer
We found no official OpenAI fix for this message. Start a new chat under Work in ChatGPT in a desktop browser and ask for the publish again. If that fails, download the whole project and put the files online somewhere else, such as an uploaded site on Liite.
ChatGPT Sites builds your site and shows a preview, but publishing stops with a message that the site publishing helper is installed under /root/.codex/.
The site publishing helper is installed under /root/.codex/
People started reporting this in early October 2026, in threads on r/ChatGPT and r/codex. In those threads ChatGPT itself describes the problem as a "Sites workflow and approval-policy mismatch". That label is the assistant's own diagnosis, not a statement from OpenAI.
Why it happens
The root cause isn't known. We found no OpenAI documentation for this exact message and no official fix. Here is what the reports support, most likely first.
- The chat can't run the publish step. The path looks like a location in the environment where the chat runs its tools, not on your computer. A reasonable reading is that publishing depends on a helper there and the chat isn't allowed to call it. That is our inference, not something OpenAI has confirmed.
- The chat is in a bad state. People report that a fresh chat sometimes works when the old one keeps failing. That points to a session problem rather than a problem with your site.
- The surface you're using. People report the browser working where the Windows or mobile app failed. The reports are too thin to say this always holds.
- A permissions problem that looks similar. This is a different failure, but rule it out if you are in a workspace. Ask your admin whether Sites is enabled for your role and whether you may publish to the audience you chose.
One person reported a support ticket still open after 23 days. We found no status-page entry for this problem.
| Likely cause | What you see | What to try |
|---|---|---|
| Helper blocked in the chat's environment | The /root/.codex/ message on every publish | New chat under Work on web, otherwise download the files |
| Chat session in a bad state | Works in a new chat, fails in the old one | Start a new chat instead of continuing the old one |
| Windows or mobile app | Fails in the app, may work in a browser | Publish from ChatGPT in a browser |
| Workspace permission | No publish option, or the audience you want is missing | Ask your workspace admin |
Step-by-step fixes
None of these workarounds is confirmed by OpenAI. They are what people in the threads say worked.
Fix 1: Start a new Work chat in the browser
- Open ChatGPT in a desktop browser, not the Windows or mobile app.
- Select Work.
- Start a new chat instead of continuing the broken one.
- Describe the site you want, or paste in what you had, and mention @Sites or the word "website".
- If the project already exists, open it from your Sites and try the publish again from the share options.
OpenAI's article Creating and using ChatGPT Sites is the place to check the current steps and menu names, since they can change.
Tip
Quote the exact message when you ask again, so you can tell whether it's the same error or a new one.
Fix 2: Download the whole project
If the new chat fails too, get your work out before spending more time on it.
- In the chat, ask ChatGPT to list every file in the project.
- Download all of them: HTML, CSS, JavaScript, images and fonts. Get the whole project, not only the page you were looking at.
- Check that there is an
index.htmland that it opens when you double-click it in your browser.
Fix 3: Start a fresh site from those files
Give the files to a new Sites chat and try the publish there. This is the second workaround people report.
Fix 4: Check OpenAI's pages
A fix may have shipped since October. Check OpenAI's status page for open incidents, and look through the ChatGPT Sites collection in the OpenAI help center for newer articles.
Warning
Review everything before you make a site public. This applies to files you download and put on another host too.
What won't help
- Hunting for the folder.
/root/.codex/looks like a path in ChatGPT's environment, not on your computer. Nothing in the threads suggests a fix on your side of the screen. - Waiting on a support ticket alone. The one ticket mentioned was still open after 23 days, so keep a workaround ready.
Checklist before you try again
- You are in ChatGPT in a desktop browser, in a new chat under Work.
- Your plan or workspace includes Sites, and your role may publish.
- You have downloaded a full copy of the project, with
index.htmlat the top. - You have the exact error text, the time it happened and the conversation link, in case you need to contact support.
If nothing works
Contact OpenAI support from the help center. Include the exact error text, the conversation link, the date and time with time zone, which surface you used (web, Windows app, mobile), your plan or workspace type, and what you already tried.
Subject: ChatGPT Sites cannot publish: "site publishing helper is installed under /root/.codex/"
Hello,
When I try to publish a ChatGPT Site, I get this message:
"The site publishing helper is installed under /root/.codex/"
Plan/workspace: <Plus / Pro / Business / Enterprise>
Where it happens: <ChatGPT web / Windows app / mobile app>
Conversation URL: <link>
Date and time (with time zone): <...>
What I already tried: a new Work chat in the browser, downloading the full project, and starting a fresh site from those files.
Please confirm whether this is a known issue and how I can publish this Site.
Thank you.Put the files online without Sites
If what ChatGPT built is plain HTML, CSS and JavaScript, you don't need Sites to publish it. Upload the downloaded .html file, a .zip or a whole folder to Liite and you get a live address at <slug>.liite.site.
For a zip or folder, index.html must be at the top level or inside one wrapper folder, and Liite strips the wrapper. Liite refuses file types it doesn't serve, such as .php, and accepts at most 1,000 files. Clean URLs work, so /about serves about.html.
Know the limits first (as of November 2026). A Free uploaded site needs a card on file, which isn't charged unless you buy a plan. It goes offline 7 days after the last publish, is always noindex, and is capped at 3 MB. On Pro and up, sites don't expire and the cap is 25 MB.
Liite runs no server-side code such as PHP or Node and has no build step, so upload already-built static files only. A project that needs a backend or an npm build won't work as source.
More detail: Put an HTML file, a zip or a PDF online and get a link, the uploaded sites docs and free HTML hosting.
Common questions
Is this the same as a workspace permission problem?
No. A permission problem usually means the publish option or audience is missing, and your admin can fix it. The /root/.codex/ message appears when you try to publish and is a different failure.
Will my uploaded site show up in search results?
Not on Free, where uploaded sites are always noindex. On paid plans, a site is noindex only for its first 24 hours after the first publish.
Can I change the site after uploading?
Yes. Upload again and the address stays the same. Old versions are kept for rollback. There is a code editor on every plan, and AI edit on Pro and up.
Does it matter which ChatGPT app I downloaded the files from?
Not for Liite. It only needs the files, however you got them out of ChatGPT.