[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-mkdir-cannot-create-directory-opt-panelalpha-shared-hosting":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":15,"titleAccent":16,"lead":17,"facts":20,"why":34,"log":47,"fix":56,"engine":65,"related":73,"pitch":83},"all","mkdir-cannot-create-directory-opt-panelalpha-shared-hosting","Deploy preparation fails because a leftover supervisor config directory exists","PanelAlpha Engine",{"description":9},"Learn what causes Deploy preparation fails because a leftover supervisor config directory exists, how PanelAlpha Engine responds to it during deployment.",[11,14],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":6},"Deploy preparation fails because ","a leftover supervisor config directory exists",[18],{"text":19},"Error recorded 3 times in PanelAlpha Engine deploys. The deploy log below is the recorded failure output.",[21,26,29],{"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","3 times · 3 variants",{"label":30,"value":31,"tone":32,"tooltip":33},"Status","Fixed (2.1.0)","ok","Fixed in PanelAlpha Engine 2.1.0. The error is resolved on our side, so you will not run into it anymore.",{"heading":35,"body":36},"Why it happens",[37,39,42,44,45],{"text":38},"While the Engine prepares the account, it creates the account's supervisor configuration directory with a plain ",{"text":40,"code":41},"mkdir",true,{"text":43},". The directory was left over from an earlier, unfinished preparation, so ",{"text":40,"code":41},{"text":46}," fails with \"File exists\" and the deploy stops. This is an Engine account-provisioning problem, not a problem in the deployed project.",{"heading":48,"block":49},"What the log looks like",{"header":50,"lines":51},"Deploy log",[52],{"segments":53},[54],{"text":55},"mkdir: cannot create directory '\u002Fopt\u002Fpanelalpha\u002Fshared-hosting\u002Fusers\u002F\u003Caccount>\u002Fsupervisord.conf.d': File exists",{"heading":57,"steps":58,"block":62},"How to fix it",[59],[60],{"text":61},"Fixed in engine 2.1.0. The same repository deploys past this point on engine 2.1.0; this failure no longer occurs. Redeploy the project.",{"header":63,"lines":64},"Fix by hand",[],{"heading":66,"body":67,"block":70},"How PanelAlpha Engine solves it",[68],{"text":69},"Not reproduced on engine 2.1.0 (commit 133832712): redeployed github.com\u002Foctocat\u002FSpoon-Knife (partial) on the engine test hosts on 2026-09-30; no new event on this fingerprint.",{"header":71,"lines":72},"",[],{"heading":74,"items":75},"Apps affected",[76,80],{"title":77,"badge":78,"tone":24,"href":79},"Spoon Knife · octocat","1 occurrence","\u002Fapps\u002Foctocat\u002Fspoon-knife",{"title":81,"badge":78,"tone":24,"href":82},"dokuwiki\u002Fdokuwiki","\u002Fapps\u002Fsplitbrain\u002Fdokuwiki",{"heading":84,"body":85,"footNote":86,"docsLabel":87,"docsHref":88},"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"]