Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,075 of 9,075 pages
About the help in other languages
All help pages

When a publish fails

Troubleshooting by symptom - a build that stops, a refused page, a push that is refused or stays pending, a 404 on github.io, style sheets missing below /<repository>/, a custom domain without HTTPS yet, a build that is…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/static-publishing/when-a-publish-fails.md

On this page

When a publish fails

What you'll have at the end

The cause of the failure and the fix, or the right place to look next.

Start with the job's page (Setup > Static publishing > History, then the run): it shows the progress and the report with the reason. On the console, ./console exp:static:status <target> shows the last runs.

The build stops

MessageCause and fix
Static publishing is switched offSwitch it on on the dashboard (or [StaticPublishSettings] Enabled=enabled)
No page was exportedThe server could not fetch its own site. Set Fetch pages from (CrawlURL) in step 7 to an address the server reaches, such as http://127.0.0.1/
A page is refused: the response set the session cookieSomething on that page starts a session for visitors who are not signed in (a form, a basket). Leave the page out or change it
A page is refused: debug output or form tokenDebug output is on for the build's address, or a form shows a token to anonymous visitors. Switch debug output off for that address; leave the form out or set Forms to hide
Another job of this target is runningOnly one build, publish or rollback of a target runs at a time. Wait for it

The push fails

MessageCause and fix
Push state pendingThe commit and tag are kept; the cronjob or exp:static:push tries again. Fix the cause below, then wait for the cronjob or run ./console exp:static:push <target>
Authentication failed, 403The token expired, lacks Contents: Read and write, or is not allowed on this repository. Make a new one and update it in Setup > Secrets (Connect to GitHub)
Permission denied (publickey)The deploy key is not added to the repository, or without write access
Rejected, non-fast-forwardSomeone else pushed to the branch. Static publishing never forces a push: keep the branch for the site alone, or pull the other change into the target's folder
Over the size limitThe build is larger than 1 GB or has a file over 100 MB. See Images, files and downloads

The site does not show

SymptomCause and fix
404 on github.io after the first publishGitHub Pages is not switched on for the branch yet. Wizard step 4, Set up on GitHub (again, now that the branch exists), or the repository's Settings > Pages
Pages without styles below /<repository>/A wrong base path. Use relative links (Links and base path)
The old version still showsGitHub Pages needs a minute or two; the box On GitHub in History shows its build state. Reload without the browser cache
Your domain is "not secure"GitHub issues the certificate after the DNS is right; it can take up to a day (Use your own domain)
A page is missingIt is left out, beyond the crawl depth, reachable only with a query string, or not readable by Anonymous. The build report lists skipped pages

Still stuck

Read the log of the job, run ./console exp:static:build <target> --dry-run to see the build without changing anything, and see the FAQ and the guide Host static sites on GitHub Pages.

Next step

History and rollback: go back to the last good publish while you fix it.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x