Secure-file does not work in latest Ubuntu image
Hi,
Secure-file seems to be running on .NET Core 3.1.0. Latest Ubunto does not have that installed.
curl -sflL 'https://raw.githubusercontent.com/appveyor/secure-file/master/install.sh' | bash -e -
./appveyor-tools/secure-file -decrypt sshkey.enc -secret $sshkey
You must install or update .NET to run this application.
App: /home/appveyor/projects/goldengate/appveyor-tools/secure-file.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '3.1.0' (x64)
.NET location: /usr/share/dotnet/
The following frameworks were found:
6.0.36 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
7.0.20 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
8.0.19 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
9.0.4 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Learn more:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1.0&arch=x64&rid=linux-x64&os=ubuntu.22.04
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

1 Posted by Christoffer on 18 Nov, 2025 11:16 AM
Doesn't work in previous version either.
Support Staff 2 Posted by Feodor Fitsner on 18 Nov, 2025 04:09 PM
Looking into that.
Support Staff 3 Posted by Feodor Fitsner on 18 Nov, 2025 06:18 PM
It's been fixed.
4 Posted by Christoffer on 19 Nov, 2025 12:55 PM
Thank you!
Seems something with Java got broken instead though. It has been working before.
mvn clean validate compile test package verify -DskipTests
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
Command exited with code 1
Build failed
Support Staff 5 Posted by Feodor Fitsner on 19 Nov, 2025 04:50 PM
Sure, we are looking into that.
Support Staff 6 Posted by Feodor Fitsner on 19 Nov, 2025 04:50 PM
Try using Previous image to get yourself unblocked.
Support Staff 7 Posted by Owen McDonnell on 19 Nov, 2025 05:48 PM
Does the java error occur on
Ubuntu2004as well?8 Posted by Christoffer on 20 Nov, 2025 07:48 AM
Getting the issue in all these:
image: Ubuntu
image: Previous Ubuntu
image: Previous Ubuntu2204
Works:
image: Previous Ubuntu2004
image: Previous Ubuntu1804
Support Staff 9 Posted by Owen McDonnell on 20 Nov, 2025 08:06 PM
I don't see anything amiss with $JAVA_HOME variable on any of those images.
10 Posted by Christoffer on 04 Dec, 2025 07:25 AM
Still have the issue. We run Java8 and have been setting it like this, guessing that this is the issue:
environment:
JAVA_HOME: /usr/lib/jvm/java-1.8.0-openjdk-amd64
Support Staff 11 Posted by Owen McDonnell on 04 Dec, 2025 08:43 PM
Why are you setting
JAVA_HOMEvariable when it's already set on the build VM? Are you downloading your own JDK and placing it there?