We ran an upgrade on our servers earlier and found our TeamCity builds that use the CLI to run “Octo Pack” were failing.
I checked the upgraded packages and saw
Updated octopuscli-7.4.3133-1.x86_64 @octopuscli
Update 7.4.3168-1.x86_64 @octopuscli
The error we were getting is:
Failed to determine location for extracting embedded files
DOTNET_BUNDLE_EXTRACT_BASE_DIR is not set, and a read-write cache directory couldn’t be created.
A fatal error was encountered. Could not extract contents of the bundle
After downgrading the CLI, the error went away.
Is this a bug? I saw a very similar issue from a year ago on a Mac.
As it related to .Net, the versions of the SDK and runtime installed are: