An SFTP upload ends with a partial file
An SFTP upload stops with Failure and leaves a partial file. The customer has reached their disk quota, and freeing space or raising the limit lets OpenSSH complete the upload.
Symptoms
The SFTP client prints the following error.
write remote "/files/big8.bin": FailureThe file on the server is shorter than the original. The sshd service logs the following error.
error: process_write: write "/files/big8.bin": Disk quota exceeded [postauth]Cause
The customer reached their package's disk limit, and the kernel refused to write the rest of the file. The limit counts everything in the customer's home folder, including sites, mail, and files.
Resolution
Check how much disk space the customer uses against their limit.
urbestack-disk-usage --name USERDelete the partial file, free space elsewhere, or raise the package's limit. The following command raises the limit to 20 GB for every customer on the package.
urbestack-package-set --name PACKAGE --disk-mb 20480Upload the file again.