Mosh on unRaid


pinion

Recommended Posts

Sharing my solution since the new Nerd Tools doesn't include it. I know a few people have requested it but since it's still not there here is what I do. Please share your solution too!

 

You will need the User Scripts plugin then create a new script with this:

#!/bin/bash
mkdir -p /mnt/cache/appdata/unraidEXTRA
cd /mnt/cache/appdata/unraidEXTRA
wget https://slack.conraid.net/repository/slackware64-current/mosh/mosh-1.4.0-x86_64-1cf.txz
wget https://slack.conraid.net/repository/slackware64-current/protobuf/protobuf-21.9-x86_64-1cf.txz
installpkg --upgrade *txz

 

The #!/bin/bash should already be there. I run this at array start and it seems to work well.

Link to comment
  • 6 months later...

I'm getting this error when I try to run the mosh-server. Any idea what the issue could be?

 

mosh-server: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

 

I'm running unraid 6.12.3...mosh was working fine until recently. Perhaps this has something to do with the kernel update?

Edited by Gex2501
additional info added.
Link to comment
14 hours ago, Gex2501 said:

I'm getting this error when I try to run the mosh-server. Any idea what the issue could be?

 

mosh-server: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

 

I'm running unraid 6.12.3...mosh was working fine until recently. Perhaps this has something to do with the kernel update?

 

Probably. I'd imagine there are updated versions of the mosh and protobuff packages. You should also check to make sure unraid hasn't included either in the new version of the server. 

Link to comment
  • 3 weeks later...

EDIT 2: Actually I just needed to update mosh on my macbook. The below should work. I'm sure there is an easier way to grab the latest txz from those places but I'm too lazy to look it up right now.

 

EDIT: The below isn't working. I assumed it would and wrote this while I was updating but there seems to be an issue with protobuf. I'll look into it. First I should check to make sure it didn't get included in NerdTools. I'll be back when I get the time.

 

Mosh quit working on me so I looked at the script and the links to the files got updated and the old versions are no longer there. I'll leave in the old commented so you can see. I just had to go to the links minus the file to find the new ones like this:

https://slack.conraid.net/repository/slackware64-current/mosh/

https://slack.conraid.net/repository/slackware64-current/protobuf/

 

#!/bin/bash
mkdir -p /mnt/cache/appdata/unraidEXTRA
cd /mnt/cache/appdata/unraidEXTRA
#20230823#wget https://slack.conraid.net/repository/slackware64-current/mosh/mosh-1.4.0-x86_64-1cf.txz
wget https://slack.conraid.net/repository/slackware64-current/mosh/mosh-1.4.0-x86_64-8cf.txz
#20230822#wget https://slack.conraid.net/repository/slackware64-current/protobuf/protobuf-21.9-x86_64-1cf.txz
wget https://slack.conraid.net/repository/slackware64-current/protobuf/protobuf-24.1-x86_64-1cf.txz
installpkg --upgrade *txz

 

Edited by pinion
Link to comment
  • 4 weeks later...

This is becoming more trouble than it's worth. I'm back to errors finding libssl.so.3. Even though unraid has OpenSSL 1.1.1 installed on the latest release. Maybe mosh was built with compatibility for an older version of OpenSSL, however, I think that's the LTS of it from 2018 so I don't know. I miss mosh. I ssh into my server everyday and wish it was included.

Link to comment
  • 3 months later...
  • 4 weeks later...

Just wanted to chime in saying that after updating to 6.12.6 (from something over a year old) my lftp script no longer works. Reinstalled the nerd tools plugin, installed lftp, but the script aborts with 

 

lftp: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.