Error map

error: Unpack failed / remote unpack failed: unable to create temporary object directory remote: error: unable to create temporary object directory

Git · layer 7, Build & delivery

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

error: Unpack failed / remote unpack failed: unable to create temporary object directory — remote: error: unable to create temporary object directory (Git)error: Unpa…non-fast-forward — Git: ! [rejected] … (fetch first) — error: failed to push some refs (Git)non-fast-forwardRPC failed — error: RPC failed; HTTP 400 curl 22 / curl 92 HTTP/2 stream was not closed cleanly — the remote end hung up unexpectedly (Git)RPC failedEXT4-fs error: Remounting filesystem read-only — EXT4-fs (sda1): Remounting filesystem read-only / blk_update_request: I/O error (Linux)EXT4-fs error: Remo…Terminal: Operation not permitted on ~/Desktop, ~/Documents — ls: Desktop: Operation not permitted / cd: Operation not permitted (macOS)Terminal: Operation…Updates were rejected after git commit --amend (rewrote pushed commit) — ! [rejected] main -> main (non-fast-forward) after amend (Git)Updates were reject…git http-backend: 404 Not Found / not a git repository (server) — fatal: repository 'http://git.example.com/repo.git/' not found (Git)git http-backend: 4…Your startup disk is almost full (purgeable space / System Data huge) — Your startup disk is almost full. Delete files to make space (macOS)Your startup disk i…chmod: changing permissions of 'x': Operation not permitted — chmod: changing permissions of '/mnt/data/file': Operation not permitted (Linux)chmod: changing per…GitLab: You are not allowed to push code to protected branches — remote: GitLab: You are not allowed to push code to protected branches on this project. (Git)GitLab: You are not…Bitbucket: Branch permissions prevent push — remote: Branch permissions: You are not allowed to push to branch main (Git)Bitbucket: Branch p…Azure DevOps: TF401019 / VS403 push rejected — remote: TF401027: You need the GenericContribute permission to perform this action. (Git)Azure DevOps: TF401…error: inflate: data stream error / loose object is corrupt — error: inflate: data stream error (incorrect header check) error: unable to unpack header (Git)error: inflate: dat…CONFLICT — Git: CONFLICT (content): Merge conflict in file — Automatic merge failed (Git)CONFLICTpublickey — Git: Permission denied (publickey). fatal: Could not read from remote repository. (Git)publickeyunrelated histories — Git: fatal: refusing to merge unrelated histories (Git)unrelated historiesGH001 large files — remote: error: GH001: Large files detected. File x is 120 MB; this exceeds GitHub's file size limit of 100.00 MB (Git)GH001 large filesprotected branch — remote: error: GH006: Protected branch update failed / pre-receive hook declined (Git)protected branchCould not resolve host — fatal: unable to access 'https://github.com/…': Could not resolve host: github.com (Git)Could not resolve h…Read-only file system — Read-only file system (EROFS) — cannot write to disk (Linux)Read-only file syst…Volume failed to unmount / disk not ejected because in use — macOS: diskutil: Unmount of disk2s1 failed: at least one volume could not be unmounted / The disk wasn't ejected because one or more programs may be using it (macOS)Volume failed to un…error: unable to write file / fatal: write error: No space left on device — fatal: write error: No space left on device (Git)error: unable to wr…daemon — Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (Docker)daemon0x80070005 — Windows Error 0x80070005 (E_ACCESSDENIED): Access is denied (Windows)0x80070005sudoers — user is not in the sudoers file. This incident will be reported. (Linux)sudoerssrc refspec — error: src refspec main does not match any (Git)src refspecnon-bare push — ! [remote rejected] main -> main (branch is currently checked out) (Git)non-bare pushno upstream branch — fatal: The current branch x has no upstream branch. (Git)no upstream branchRepository not found — remote: Repository not found. fatal: repository 'https://github.com/x/y.git/' not found (Git)Repository not foundbind() failed (98: Address already in use) — nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) (Linux)bind() failed (98: …SSL_CTX_use_PrivateKey_file failed (key values mismatch) — Nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/ssl/server.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch) (SSL / TLS)SSL_CTX_use_Private…conflict: unable to remove repository reference — conflict: unable to remove repository reference (must force) - container is using its referenced image (Docker)conflict: unable to…image has dependent child images — conflict: unable to delete image (cannot be forced) - image has dependent child images (Docker)image has dependent…INACCESSIBLE_BOOT_DEVICE — Blue screen: INACCESSIBLE_BOOT_DEVICE (0x0000007B) (Windows)INACCESSIBLE_BOOT_D…data directory permissions — FATAL: data directory "/var/lib/postgresql/data" has invalid permissions — Permissions should be u=rwx (0700) or u=rwx,g=rx (0750). (PostgreSQL)data directory perm…exec permission denied — exec /entrypoint.sh: permission denied (container won't start) (Docker)exec permission den…permission denied (volume) — Permission denied writing to a mounted volume inside a Docker container (Docker)permission denied (…! [rejected] (stale info) force-with-lease — ! [rejected] main -> main (stale info) (Git)! [rejected] (stale…hint: The 'pre-commit' hook was ignored because it's not set as executable — hint: The '.git/hooks/pre-commit' hook was ignored because it's not set as executable. (Git)hint: The 'pre-comm…error: failed to push some refs: pre-push hook failed — error: failed to push some refs to 'github.com:org/repo.git' (pre-push hook returned non-zero) (Git)error: failed to pu…shallow update not allowed — ! [remote rejected] main -> main (shallow update not allowed) (Git)shallow update not …UNPROTECTED PRIVATE KEY FILE — WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions 0644 for 'key.pem' are too open (Linux)UNPROTECTED PRIVATE…avc: denied — SELinux is preventing ... / avc: denied { read } for pid=... (permission denied despite correct permissions) (Linux)avc: deniedResource not accessible by integration — GitHub Actions: Error: Resource not accessible by integration (403) (CI/CD)Resource not access…Operation not permitted (macOS privacy) — macOS: Operation not permitted — Terminal/app lacks Full Disk Access (TCC privacy protection) (macOS)Operation not permi…rm/mv: Operation not permitted (System Integrity Protection) — macOS: rm: /usr/bin/python: Operation not permitted — even with sudo (macOS)rm/mv: Operation no…corrupt object — error: object file .git/objects/x is empty / fatal: loose object is corrupt (Git)corrupt objectCommit unreachable after gc (reflog expired) — error: Could not read 4b825dc642cb6eb9a060e54bf8d69288fbee4904 / bad object after git gc (Git)Commit unreachable …error: Could not read ... fatal: pack has bad object / index-pack failed — fatal: pack has bad object at offset 12345: inflate returned -3 (Git)error: Could not re…

Directly related (12)

non-fast-forwardGit

Git: ! [rejected] … (fetch first) — error: failed to push some refs

The remote branch has commits you don’t have locally, so Git refuses to overwrite them. Pull (merge or rebase) first, then push.

RPC failedGit

error: RPC failed; HTTP 400 curl 22 / curl 92 HTTP/2 stream was not closed cleanly — the remote end hung up unexpectedly

A large HTTPS push/clone broke mid-transfer — size limits, proxies or flaky HTTP/2.

EXT4-fs error: Remounting filesystem read-onlyLinux

EXT4-fs (sda1): Remounting filesystem read-only / blk_update_request: I/O error

The kernel flipped the disk to read-only after errors.

Terminal: Operation not permitted on ~/Desktop, ~/DocumentsmacOS

ls: Desktop: Operation not permitted / cd: Operation not permitted

macOS privacy (TCC) blocks the terminal from protected folders.

Updates were rejected after git commit --amend (rewrote pushed commit)Git

! [rejected] main -> main (non-fast-forward) after amend

Amending a pushed commit rewrites history, so the remote refuses the push.

git http-backend: 404 Not Found / not a git repository (server)Git

fatal: repository 'http://git.example.com/repo.git/' not found

A self-hosted Git HTTP server doesn't route to the repository.

Your startup disk is almost full (purgeable space / System Data huge)macOS

Your startup disk is almost full. Delete files to make space

The disk is nearly full and System Data keeps growing.

chmod: changing permissions of 'x': Operation not permittedLinux

chmod: changing permissions of '/mnt/data/file': Operation not permitted

The filesystem doesn't support Unix permissions or you don't own the file.

GitLab: You are not allowed to push code to protected branchesGit

remote: GitLab: You are not allowed to push code to protected branches on this project.

GitLab's protected branch settings block your push.

Bitbucket: Branch permissions prevent pushGit

remote: Branch permissions: You are not allowed to push to branch main

Bitbucket branch restrictions reject your direct push.

Azure DevOps: TF401019 / VS403 push rejectedGit

remote: TF401027: You need the GenericContribute permission to perform this action.

Azure DevOps denies the push for lack of permission.

error: inflate: data stream error / loose object is corruptGit

error: inflate: data stream error (incorrect header check) error: unable to unpack header

A Git object file is damaged.

Two steps away (36)

CONFLICTGit

Git: CONFLICT (content): Merge conflict in file — Automatic merge failed

Both branches changed the same lines; Git needs you to choose the final content before completing the merge/rebase.

publickeyGit

Git: Permission denied (publickey). fatal: Could not read from remote repository.

SSH authentication to GitHub/GitLab/Bitbucket failed — no key, wrong key, or the key isn’t added to your account.

unrelated historiesGit

Git: fatal: refusing to merge unrelated histories

The two branches have no common ancestor — typically a local repo and a remote that were both initialized separately.

GH001 large filesGit

remote: error: GH001: Large files detected. File x is 120 MB; this exceeds GitHub's file size limit of 100.00 MB

GitHub rejected the push because a file over 100 MB is in your commits — even if you deleted it later.

protected branchGit

remote: error: GH006: Protected branch update failed / pre-receive hook declined

The server rejected your push because of branch protection rules or a server-side hook.

Could not resolve hostGit

fatal: unable to access 'https://github.com/…': Could not resolve host: github.com

DNS lookup for the Git host failed from this machine.

Read-only file systemLinux

Read-only file system (EROFS) — cannot write to disk

The filesystem is mounted read-only — often because the kernel remounted it after detecting disk errors.

Volume failed to unmount / disk not ejected because in usemacOS

macOS: diskutil: Unmount of disk2s1 failed: at least one volume could not be unmounted / The disk wasn't ejected because one or more programs may be using it

macOS can't eject a drive because a process still has files open on it.

error: unable to write file / fatal: write error: No space left on deviceGit

fatal: write error: No space left on device

The disk is full while Git writes objects.

daemonDocker

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

The docker CLI can’t talk to the Docker engine — it isn’t running, or your user can’t access the socket.

0x80070005Windows

Windows Error 0x80070005 (E_ACCESSDENIED): Access is denied

Windows refused an operation because the account or process lacks permission — seen in Windows Update, installers, Task Scheduler…

sudoersLinux

user is not in the sudoers file. This incident will be reported.

Your account isn’t allowed to use sudo.

src refspecGit

error: src refspec main does not match any

You pushed a branch name that doesn’t exist locally — usually no commits yet, or the branch is called master not main.

non-bare pushGit

! [remote rejected] main -> main (branch is currently checked out)

You pushed to a non-bare repository whose working tree has that branch checked out.

no upstream branchGit

fatal: The current branch x has no upstream branch.

The local branch isn’t linked to a remote branch yet, so a bare git push doesn’t know where to go.

Repository not foundGit

remote: Repository not found. fatal: repository 'https://github.com/x/y.git/' not found

GitHub/GitLab says the repository doesn’t exist — or you lack access to a private repo.

bind() failed (98: Address already in use)Linux

nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

Nginx (or another server) can’t listen on the port because another process already holds it — often Apache, another Nginx, or a s…

SSL_CTX_use_PrivateKey_file failed (key values mismatch)SSL / TLS

Nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/ssl/server.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)

The private key does not belong to the certificate configured in the server.

conflict: unable to remove repository referenceDocker

conflict: unable to remove repository reference (must force) - container is using its referenced image

You tried to delete an image that a container — even a stopped one — still uses.

image has dependent child imagesDocker

conflict: unable to delete image (cannot be forced) - image has dependent child images

Other images were built on top of this one, so Docker won’t delete it by ID.

INACCESSIBLE_BOOT_DEVICEWindows

Blue screen: INACCESSIBLE_BOOT_DEVICE (0x0000007B)

Windows lost access to the system drive during boot — storage driver/controller mode change, failed update, or disk/BCD problems.

data directory permissionsPostgreSQL

FATAL: data directory "/var/lib/postgresql/data" has invalid permissions — Permissions should be u=rwx (0700) or u=rwx,g=rx (0750).

PostgreSQL refuses to start because the data directory is too open or owned by the wrong user.

exec permission deniedDocker

exec /entrypoint.sh: permission denied (container won't start)

The entrypoint or command isn’t marked executable inside the image, or it’s on a volume mounted noexec.

permission denied (volume)Docker

Permission denied writing to a mounted volume inside a Docker container

The process inside the container runs as a user (UID) that doesn’t own the bind-mounted host folder, so reads/writes fail with EA…

! [rejected] (stale info) force-with-leaseGit

! [rejected] main -> main (stale info)

`--force-with-lease` refused because the remote changed since your last fetch.

hint: The 'pre-commit' hook was ignored because it's not set as executableGit

hint: The '.git/hooks/pre-commit' hook was ignored because it's not set as executable.

Git skipped your hook because it lacks exec permission.

error: failed to push some refs: pre-push hook failedGit

error: failed to push some refs to 'github.com:org/repo.git' (pre-push hook returned non-zero)

A local pre-push hook returned an error and blocked the push.

shallow update not allowedGit

! [remote rejected] main -> main (shallow update not allowed)

You pushed from a shallow clone to a remote that doesn’t accept shallow history.

UNPROTECTED PRIVATE KEY FILELinux

WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions 0644 for 'key.pem' are too open

SSH refuses to use a private key that other users can read; it must be readable only by you (chmod 600).

avc: deniedLinux

SELinux is preventing ... / avc: denied { read } for pid=... (permission denied despite correct permissions)

SELinux blocked the access — file permissions look fine, but the file’s security context or a boolean doesn’t allow the service t…

Resource not accessible by integrationCI/CD

GitHub Actions: Error: Resource not accessible by integration (403)

The workflow’s GITHUB_TOKEN doesn’t have the permission needed for that API call (comment, push, create release, write packages).

Operation not permitted (macOS privacy)macOS

macOS: Operation not permitted — Terminal/app lacks Full Disk Access (TCC privacy protection)

macOS privacy protection (TCC) blocked access to protected folders (Desktop, Documents, Downloads, Mail, Photos, external volumes…

rm/mv: Operation not permitted (System Integrity Protection)macOS

macOS: rm: /usr/bin/python: Operation not permitted — even with sudo

System Integrity Protection blocks changes to protected system locations, even for root.

corrupt objectGit

error: object file .git/objects/x is empty / fatal: loose object is corrupt

The local Git object database is corrupted — usually after a crash, disk full or sync tool interference.

Commit unreachable after gc (reflog expired)Git

error: Could not read 4b825dc642cb6eb9a060e54bf8d69288fbee4904 / bad object after git gc

A dropped commit was removed because it was unreachable and expired.

error: Could not read ... fatal: pack has bad object / index-pack failedGit

fatal: pack has bad object at offset 12345: inflate returned -3

A packfile is damaged.