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

Source: https://stackoverflow.com/a/4123152


More


serverless.industries BG by Carl Lender (CC BY 2.0) Imprint & Privacy
c12dfdfe 2024-03-12 21:53
Mastodon via chaos.social Mastodon via einbeck.social