[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-unable-to-open-log-permission-denied":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":17,"titleAccent":18,"lead":19,"facts":22,"why":37,"log":42,"fix":71,"engine":80,"related":88,"pitch":98},"go","unable-to-open-log-permission-denied","Go deploy fails when the application log cannot be opened","Go",{"description":9},"Learn what causes Go deploy fails when the application log cannot be opened, how PanelAlpha Engine responds to it during deployment.",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fgo",{"label":6},"Go deploy fails when ","the application log cannot be opened",[20],{"text":21},"Error recorded 2 times in PanelAlpha Engine deploys on Go. The deploy log below is the recorded failure output.",[23,28,31,33],{"label":24,"value":25,"tone":26,"tooltip":27},"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":29,"value":30},"Seen","2 times · 2 variants",{"label":32,"value":7},"Where",{"label":34,"value":35,"tooltip":36},"Status","Observed","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":38,"body":39},"Why it happens",[40],{"text":41},"The Go application starts far enough to be detected and compiled, but the runtime cannot open its log file. The available signature indicates a filesystem permission problem in the account or application runtime. The exact log path is not reported.",{"heading":43,"block":44},"What the log looks like",{"header":45,"lines":46},"Deploy log",[47,51,55,59,63,67],{"segments":48},[49],{"text":50},"Starting stage: running",{"segments":52},[53],{"text":54},"Detected project type: Go",{"segments":56},[57],{"text":58},"Using strategy: go",{"segments":60},[61],{"text":62},"Compiling application on host",{"segments":64},[65],{"text":66},"ERROR: Unable to open log: Permission denied",{"segments":68},[69],{"text":70},"Deploy failed: Failed to start app: ERROR: Unable to open log: Permission denied",{"heading":72,"steps":73,"block":77},"How to fix it",[74],[75],{"text":76},"Check the application and log-directory ownership and permissions inside the account or app container. Ensure the runtime user can create and write the log file, and that parent directories are searchable. Remove or recreate an incorrectly owned log file, then retry the deploy. If permissions look correct, check host security or mount restrictions affecting the app runtime.",{"header":78,"lines":79},"Fix by hand",[],{"heading":81,"body":82,"block":85},"How PanelAlpha Engine solves it",[83],{"text":84},"Report the log path, runtime user, and permission check that failed. The Engine could validate or create the log directory with the correct ownership before starting the app.",{"header":86,"lines":87},"",[],{"heading":89,"items":90},"Apps affected",[91,95],{"title":92,"badge":93,"tone":26,"href":94},"go-getting-started","1 occurrence","\u002Fapps\u002Fheroku\u002Fgo-getting-started",{"title":96,"badge":93,"tone":26,"href":97},"godoxy","\u002Fapps\u002Fyusing\u002Fgodoxy",{"heading":99,"body":100,"footNote":101,"docsLabel":102,"docsHref":103},"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"]