When deploying the second time, all existing files will be removed and the following error occures:
Error 0x80004005: Unspecified error
That error came from a folder inside of the website data with a trailing dot in the name.
It is not possible to open the folder either:
C:\Temp\foo\release-7.21.1015.6. is unavailable. If the location is on this PC, make sure the device or drive is connected or the disc is inserted, and then try again.
Usually it is not possible to create files or folders with a trailing
dot at all. But the
archive_file chef resource did it somehow.
The file can be deleted with a CMD window and the following command:
rd /s /q "\\?\C:\Temp\foo\release-7.21.1015.6."