Secure-file does not work in latest Ubuntu image

Christoffer's Avatar

Christoffer

18 Nov, 2025 11:08 AM

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

  1. 1 Posted by Christoffer on 18 Nov, 2025 11:16 AM

    Christoffer's Avatar

    Doesn't work in previous version either.

  2. Support Staff 2 Posted by Feodor Fitsner on 18 Nov, 2025 04:09 PM

    Feodor Fitsner's Avatar

    Looking into that.

  3. Support Staff 3 Posted by Feodor Fitsner on 18 Nov, 2025 06:18 PM

    Feodor Fitsner's Avatar

    It's been fixed.

  4. 4 Posted by Christoffer on 19 Nov, 2025 12:55 PM

    Christoffer's Avatar

    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

  5. Support Staff 5 Posted by Feodor Fitsner on 19 Nov, 2025 04:50 PM

    Feodor Fitsner's Avatar

    Sure, we are looking into that.

  6. Support Staff 6 Posted by Feodor Fitsner on 19 Nov, 2025 04:50 PM

    Feodor Fitsner's Avatar

    Try using Previous image to get yourself unblocked.

  7. Support Staff 7 Posted by Owen McDonnell on 19 Nov, 2025 05:48 PM

    Owen McDonnell's Avatar

    Does the java error occur on Ubuntu2004 as well?

  8. 8 Posted by Christoffer on 20 Nov, 2025 07:48 AM

    Christoffer's Avatar

    Getting the issue in all these:
    image: Ubuntu
    image: Previous Ubuntu
    image: Previous Ubuntu2204

    Works:
    image: Previous Ubuntu2004
    image: Previous Ubuntu1804

  9. Support Staff 9 Posted by Owen McDonnell on 20 Nov, 2025 08:06 PM

    Owen McDonnell's Avatar

    I don't see anything amiss with $JAVA_HOME variable on any of those images.

  10. 10 Posted by Christoffer on 04 Dec, 2025 07:25 AM

    Christoffer's Avatar

    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

  11. Support Staff 11 Posted by Owen McDonnell on 04 Dec, 2025 08:43 PM

    Owen McDonnell's Avatar

    Why are you setting JAVA_HOME variable when it's already set on the build VM? Are you downloading your own JDK and placing it there?

  12. Feodor Fitsner closed this discussion on 03 Feb, 2026 09:03 PM.

Comments are currently closed for this discussion. You can start a new one.

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