nhost sw upgrade fails with "text file busy" when /tmp is on a different
Author: skoveitCreated Sep 16, 2026Updated Sep 16, 2026
Labelsbug
sudo nhost sw upgrade fails:
Upgrading to [email protected]...
Copying to /usr/local/bin/nhost...
main.go:69: failed to move /tmp/nhost-cli-2696607950 to /usr/local/bin/nhost: failed to hard move: failed to create destination file: open /usr/local/bin/nhost: text file busyfix:
sudo TMPDIR=/usr/local/bin nhost sw upgradeSource: nhost/nhost