Static deploy failed because Git HEAD could not be read

Error recorded 7 times in PanelAlpha Engine deploys on Express, Php, Static site. The deploy log below is the recorded failure output.

Seen7 times · 4 variants
WhereExpress, Php, Static site

Why it happens

The static deploy reached the running stage, but the imported project was not recognized as a valid Git repository. This can happen when the repository is empty, corrupt, or an archive is imported without its Git metadata. The health check returned HTTP 200, but installation still failed during repository validation.

What the log looks like

Deploy log
Deploy started (source: archive)Starting stage: cloningImporting project archiveProject archive importedStarting stage: runningfatal: not a git repository (or any parent up to mount point /home)Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).Git HEAD is not readable after clone; repository may be empty or corrupt.Deploy failed: Git HEAD is not readable after clone; repository may be empty or corrupt.

Try PanelAlpha Engine yourself.

The easiest way to turn your server into a safe, controlled environment for your AI agent. Deploy, manage and maintain any project from Claude Code, Cursor, Codex or any other MCP client. Open source under Apache 2.0, free to run.

Requires Ubuntu 24.04 or 26.04 · 2 GB RAM · 1 CPURead the documentation