[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-install-script-needs-the-git-history-which-the":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":17,"titleAccent":6,"lead":18,"facts":20,"why":35,"log":49,"fix":97,"engine":109,"related":113,"pitch":120},"dockerfile","install-script-needs-the-git-history-which-the","Install script needs the git history, which the build leaves out","Dockerfile",{"description":9},"A build step failed (exit code 1). The full output is in the deploy log.",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fdockerfile",{"label":6},"",[19],{"text":9},[21,26,29,31],{"label":22,"value":23,"tone":24,"tooltip":25},"Type","Error","err","An 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.",{"label":27,"value":28},"Seen","1 times",{"label":30,"value":7},"Where",{"label":32,"value":33,"tooltip":34},"Status","In Analysis","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":36,"body":37},"Why it happens",[38,40,43,45,47],{"text":39},"The project's postinstall script writes a version file by running ",{"text":41,"code":42},"git rev-parse",true,{"text":44},". The engine leaves ",{"text":46,"code":42},".git",{"text":48}," out of the Docker build context because the Dockerfile itself does not use git, so the script fails.",{"heading":50,"block":51},"What the log looks like",{"header":52,"lines":53},"Deploy log",[54,58,62,66,70,74,78,82,86,90,93],{"segments":55},[56],{"text":57},"#14 ERROR: process \"\u002Fbin\u002Fsh -c yarn\" did not complete successfully: exit code: 1",{"segments":59},[60],{"text":61},"WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree",{"segments":63},[64],{"text":65},"Dockerfile:17",{"segments":67},[68],{"text":69},"--------------------",{"segments":71},[72],{"text":73},"15 |",{"segments":75},[76],{"text":77},"16 |     # Generate version number file",{"segments":79},[80],{"text":81},"17 | >>> RUN yarn",{"segments":83},[84],{"text":85},"18 |     RUN yarn build:writefile",{"segments":87},[88],{"text":89},"19 |",{"segments":91},[92],{"text":69},{"segments":94},[95],{"text":96},"failed to solve: process \"\u002Fbin\u002Fsh -c yarn\" did not complete successfully: exit code: 1",{"heading":98,"steps":99,"block":106},"How to fix it",[100],[101,103,104],{"text":102},"Nothing to change in the project. A future engine release will keep ",{"text":46,"code":42},{"text":105}," for builds whose install scripts read it.",{"header":107,"lines":108},"Fix by hand",[],{"heading":17,"body":110,"block":111},[],{"header":17,"lines":112},[],{"heading":114,"items":115},"Apps affected",[116],{"title":117,"badge":118,"tone":24,"href":119},"Companion","1 occurrence","\u002Fapps\u002Fbitfocus\u002Fcompanion",{"heading":121,"body":122,"footNote":123,"docsLabel":124,"docsHref":125},"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 CPU","Read the documentation","https:\u002F\u002Fpanelalpha.com\u002Fdocs"]