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:
Updated dotnet-sdk-3.1-3.1.407-1.x86_64
Update 3.1.408-1.x86_64
Updated dotnet-sdk-5.0-5.0.201-1.x86_64
Update 5.0.202-1.x86_64
Updated dotnet-runtime-3.1-3.1.13-1.x86_64
Update 3.1.14-1.x86_64
Updated dotnet-runtime-5.0-5.0.4-1.x86_64
Update 5.0.5-1.x86_64
Thanks