git push error: remote unpack failed: unable to create temporary object directory
Jan 08, 2020
asked by anonymous
Question / Issue:
One of our developers on a Linux PC is seeing this error but no one else has this problem on our internal network:
"error: remote unpack failed: unable to create temporary object directory"
Responses:
Date: Jan. 8, 2020
Author: Mind Chasers
Comment:
When pushing to a Git repo on a shared drive (e.g., NFS), we have seen this error when a user's UID and GID didn't match the expected values.
This can be fixed in various ways (i.e., change permissions on the server or UID/GID on local PC). However, when this problem surfaces, it's probably time to set up a Git Server, such as using Smart HTTP. See the following reference: Pro Git Git on the Server - The Protocols.
Also, we have an article on the subject: Build an Apache HTTP Server from Source and Configure it to Work as a GIT HTTP Server