This article is also available in the following other languages / Dieser Beitrag ist auch in folgenden anderen Sprachen verfügbar: Deutsch

Error 0x80004005: Unspecified error

2022-01-10 · christian · continuous integration, gitlab, infrastructure code, windows

We tried to deploy a Docusaurus website to a windows system and used chef-client to copy the HTML files from GitLab Artifacts into the Windows Server folder.

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."


More BG by Carl Lender (CC BY 2.0) Imprint & Privacy
2eeebcd0 2024-07-07 12:52
Mastodon via Mastodon via