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.
TypeErrorAn error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.
Seen7 times · 4 variants
WhereExpress, Php, Static site
StatusObserved (2.1.0)Our team will look into this soon, verify the cause and try to fix it in an upcoming release.
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.