Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
[OT] Upgrade 2022 to 2023 - SSH broken
-
Hi,
I migrate from 2022.14 to 2023 and SSH connection is brokenUnhandled exception: The type initializer for 'Inedo.Agents.Ssh.Libssh2.NativeMethods' threw an exception. Details:System.TypeInitializationException: The type initializer for 'Inedo.Agents.Ssh.Libssh2.NativeMethods' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'libssh2' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibssh2: cannot open shared object file: No such file or directory at Inedo.Agents.Ssh.Libssh2.NativeMethods.libssh2_init(Int32 flags) at Inedo.Agents.Ssh.Libssh2.NativeMethods..cctor() --- End of inner exception stack trace --- at Inedo.Agents.Ssh.Libssh2.NativeMethods.libssh2_session_init_ex(IntPtr myalloc, IntPtr myfree, IntPtr myrealloc, IntPtr context) at Inedo.Agents.Ssh.Libssh2.Libssh2Session..ctor()
I rollback and SSH is OK.
I am using the docker image tagged 23
Best regards
-
I think I have fixed the issue. Can you try upgrading your image to Otter 23.0.1-ci.2? It looks like we had a version mismatch in our base image.
Thanks,
Rich
-
Hi @rhessinger
Pb solved,
Thanks for your fast correction