A file in the build is owned by uid 397546, gid 5000 that cannot exist in an account, which holds ids 0-65535…

A file in the build is owned by uid 397546, gid 5000 that cannot exist in an account, which holds ids 0-65535 only. Extract archives without restoring their owner (tar --no-same-owner, or TAR_OPTIONS=--no-same-owner in the Dockerfile), or use an image whose files are owned by ids below 65536.

Seen2 times · 2 variants
WhereDockerfile

What the log looks like

Deploy log
#5 0.704 tar: a: Cannot change ownership to uid 397546, gid 5000: Invalid argument#5 0.704 tar: Exiting with failure status due to previous errors#5 ERROR: process "/bin/sh -c mkdir /s && cd /s && touch a && tar --owner=397546 --group=5000 -cf /a.tar a && mkdir /d && cd /d && tar -xf /a.tar" did not complete successfully: exit code: 2Dockerfile:2--------------------1 |     FROM node:22-bookworm-slim2 | >>> RUN mkdir /s && cd /s && touch a && tar --owner=397546 --group=5000 -cf /a.tar a && mkdir /d && cd /d && tar -xf /a.tar3 |     CMD ["node","-e","require('http').createServer((q,r)=>r.…

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