Compression error: Cannot move temporary file to target zip file. (508)

There are three possible reasons for this error:

  • The target is a FAT/FAT32 partition and the Zip file is over 4GB in size. The maximum filesize on a FAT/FAT32 partition is 4GB.
  • The existing Zip file on the target cannot be replaced because you do not have the filesystem permissions to delete/overwrite it.
  • In some cases you may get this error if the zip file is very large (multiple gigabytes in size). One solution is to split your profile so that multiple smaller zip files are created.