Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. OpenSSL version mismatch: impossible to use rsync or scp

OpenSSL version mismatch: impossible to use rsync or scp

Scheduled Pinned Locked Moved Solved Support
cliopenssl
3 Posts 2 Posters 293 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • chetbakerC Offline
    chetbakerC Offline
    chetbaker
    wrote on last edited by joseph
    #1

    Hello,

    I need to export a file from a /app/data folder in Cloudron but I'm having serious issues with OpenSSL when I tried using scp or rsync:

    root@23f10ac0-d9a3-4a1d-8265378464d7b1caasdasdas0:/app/data# sftp user@REMOTEurl.com:/home
    OpenSSL version mismatch. Built against 30000020, you have 30100070
    

    I'm kind of stuck here. Any advice in how to move on?

    1 Reply Last reply
    0
    • chetbakerC Offline
      chetbakerC Offline
      chetbaker
      wrote on last edited by
      #2

      Even though this is an issue, I ended up using cloudron-cli as an alternative.

      1 Reply Last reply
      0
      • BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by BrutalBirdie
        #3

        I never thought of this use-case.
        Using sftp inside a Cloudron app to move data away.
        Unique, I must admit.

        Testing inside a LAMP app to the new unstable SFTPgo app.

        mkdir -p /tmp/testing; cd /tmp/testing
        ssh-keygen -t ed25519 -f /tmp/testing/this -q -N ""
        # put the publickey into my profile in sftpgo.cloudron.dev
        sftp -i this -P 2022 elias.hackradt@sftpgo.cloudron.dev:/
        sftp> put /app/data/tcl.zip
        

        image.png

        Seems to be working 🤷 Sorry, where was I? Ah yes, your issue 🙂


        The error message OpenSSL version mismatch. Built against 30000020, you have 30100070 indicates that the version of OpenSSL used to build the sftp or related binary (such as ssh, libssh, openssh) is different from the version of OpenSSL currently installed on your system. Specifically:

        Built against 30000020: This means the binary was compiled against OpenSSL version 3.0.2 (I think 🤔 don't pinpoint me on the semver).

        You have 30100070: This means your system currently has OpenSSL version 3.1.7 (same again, don't pinpoint me on the semver, not used to the 30100070 format).

        This mismatch can cause compatibility issues because the binary expects a specific version of OpenSSL but finds a different one at runtime.

        Running this in my LAMP App:

        openssl version
        OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
        

        and

        ssh -V
        OpenSSH_8.9p1 Ubuntu-3ubuntu0.4, OpenSSL 3.0.2 15 Mar 2022
        

        Reveals, there is no issue inside the LAMP app.

        @chetbaker Could you maybe run openssl version, ssh -V and ldd $(which sftp) in your app with the id 23f10ac0-d9a3-4a1d-8265378464d7b1caasdasdas0 and post that output?
        Also can you tell us what app 23f10ac0-d9a3-4a1d-8265378464d7b1caasdasdas0 is?

        Since most apps are inherited from the Cloudron base image, that should be the same everywhere.

        So this error might be rather unique to your app. Could it be that your app is a custom packaged app?
        Since you are comfortable using the cloudron-cli, is this by chance an issue from your custom packaged app?

        Like my work? Consider donating a drink. Cheers!

        1 Reply Last reply
        0
        • J joseph marked this topic as a question on
        • J joseph has marked this topic as solved on
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search