*New 12.1 series Release:
2019-11-08: XigmaNAS 12.1.0.4.7091 - released!

*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

[HOWTO] Install Midnight Commander (embedded)

XigmaNAS Scripts and shell tips
Forum rules
Set-Up GuideFAQsForum Rules
User avatar
ernie
Forum Moderator
Forum Moderator
Posts: 1418
Joined: 26 Aug 2012 19:09
Location: France - Val d'Oise
Status: Offline

Re: [HOWTO] Install Midnight Commander (embedded)

#61

Post by ernie » 22 Aug 2017 10:56

Thanks Raulfg3 and Crest.

I follow the advice of Crest:
crest wrote:
22 Aug 2017 05:44
Hello ernie,
ernie wrote:
21 Aug 2017 12:54
I have updated my nas (version 10.3.0.3 - Pilingitam (revision 4107) / x64-embedded with OBI, and MC installed with OBI) to 11.1.0.4 - Atomics (revision 4528) embedded.

Now in CLI I have this:

Code: Select all

nas4free1: ~# mc
Shared object "libssl.so.6" not found, required by "mc"
nas4free1: ~# 
Any advice is welcome.

B.R.

Please check if you have the most recent OBI installed (0.3.4.1) and update it if not. Then activate re-install in OBI and perform the installation of mc again. After that log out from the CLI and login again, mc should start as expected.

Regards
crest
Now it works
NAS 1&2:
System: GA-6LXGH(BIOS: R01 04/30/2014) / 16 Go ECC
XigmaNAS 12.0.0.4.6766 embedded
NAS1: Xeon E3 1241@3.5GHz, 4HDD@2To/raidz2 (WD red), 3HDD@300Go/sas/raidz1 (Hitachi), 1SSD cache, Zlog on sas mirror
NAS2: G3220@3GHz, 3HDD@2To/raidz1 (Seagate), 1SSD cache, 1HDD@300Go/UFS
UPS: APC Back-UPS RS 900G
Case : Fractal Design XL R2

Extensions & services:
NAS1: OBI (Plex, extendedGUI, BTSync, zrep, rclone), nfs, UPS,
NAS2: OBI (extendedGUI, zrep (backup mode))

ginggs
Starter
Starter
Posts: 31
Joined: 27 Jun 2012 14:30
Status: Offline

Re: [HOWTO] Install Midnight Commander (embedded)

#62

Post by ginggs » 24 May 2018 14:47

I finally got around to upgrading my NAS from 9.1.0.1 to 11.1.0.4.

Being unable to upgrade further using the "firmware upgrade" method put me off, and everything was working perfectly for me on 9.1.0.1, and then there was a drive failure, and then one of the RAM sticks developed a fault.

Anyway, I have now updated the script for 11.1.0.4. You can find it at the beginning of this thread.

ginggs
Starter
Starter
Posts: 31
Joined: 27 Jun 2012 14:30
Status: Offline

Re: [HOWTO] Install Midnight Commander (embedded)

#63

Post by ginggs » 29 Dec 2018 10:40

Now updated for XigmaNAS 11.2.0.4.

bq23
NewUser
NewUser
Posts: 1
Joined: 03 Mar 2017 09:57
Status: Offline

Re: [HOWTO] Install Midnight Commander (embedded)

#64

Post by bq23 » 16 Mar 2019 16:14

Please, :ugeek: update for 12.0.0.4 - BETA

markmarques
NewUser
NewUser
Posts: 9
Joined: 26 Feb 2018 13:27
Status: Offline

Re: [HOWTO] Install Midnight Commander (embedded)

#65

Post by markmarques » 21 May 2019 10:29

Hi ...
The Midnight Commander install script only needs a small tweak in order to work correctly with e 12.0.0.4 beta install.

It seems that the MC*.txz file name file in the server has been updated and changed...

wenger
NewUser
NewUser
Posts: 4
Joined: 15 Jun 2019 22:18
Location: Novgorod Russia
Status: Offline

Re: [HOWTO] Install Midnight Commander (embedded)

#66

Post by wenger » 24 Jun 2019 07:55

How to get mc work on XigmaNAS 12.0-RELEASE embedded

First, clean <path-to-OBI-common-directory>/midnightcommander directory and get installer script in there

Code: Select all

# fetch https://github.com/ginggs/xigmanas-mcommander/raw/master/mcommander.sh
Make small fixes

Code: Select all

-MCFILE="mc-4.8.20_2.txz"
-LIBSLANGFILE="libslang2-2.3.1_3.txz"
+MCFILE="mc-4.8.21.txz"
+LIBSLANGFILE="libslang2-2.3.2_1.txz"
Then save it and run with full path. If there is existing symlinks warnings, reboot the NAS and run the script again.

Also you'll need to add mcommander.sh (with full path) in System > Advanced > Command Scripts (PostInit type) so it'll automatically restore symlinks under /usr/local after NAS reboot.
XigmaNAS 12.0.0.4 embedded on N3150/8Gb/6Tb ZFS | OBI&TheBrig&Plex&CIFS/SMB&Syncthing&Transmission

ginggs
Starter
Starter
Posts: 31
Joined: 27 Jun 2012 14:30
Status: Offline

Re: [HOWTO] Install Midnight Commander (embedded)

#67

Post by ginggs » 29 Oct 2019 15:21

wenger wrote:
24 Jun 2019 07:55
Make small fixes

Code: Select all

-MCFILE="mc-4.8.20_2.txz"
-LIBSLANGFILE="libslang2-2.3.1_3.txz"
+MCFILE="mc-4.8.21.txz"
+LIBSLANGFILE="libslang2-2.3.2_1.txz"
Thanks! I've committed these changes in git now.

ali_dzi
Starter
Starter
Posts: 16
Joined: 09 Oct 2013 16:17
Status: Offline

Re: [HOWTO] Install Midnight Commander (embedded)

#68

Post by ali_dzi » 04 Dec 2019 15:03

Works excellent after reboot (12.1.0.4 - Ingva (revision 7091)

Code: Select all

#cd /mnt/mynas
#mkdir mc
#cd mc
#fetch https://github.com/ginggs/xigmanas-mcommander/raw/master/mcommander.sh
#chmod u+x mcommander.sh
#/mnt/mynas/mc/mcommander.sh
#reboot
Before reboot, add
"/mnt/mynas/mc/mcommander.sh" in
SYSTEM->ADVANCED->COMMAND SCRIPTS
as PostInit type


No need to fix anything, it's already fixed in script (04.dec 2019)

Post Reply

Return to “Scripts and shell tips”