Register for the iXsystems Community to get an ad-free experience
Resource icon

Scripted Plex installation

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
7,430

elorimer

Contributor
Joined
Aug 26, 2019
Messages
178
Anybody else got these Plex VOD and movies features on the plex mainpage after the last update. My libraries got hidden under "more", pretty annoying. I somehow can't get plex to save my settings for the left navigation bar, it defaults everytime I open it.
Pin and unpin what you want on the main page.
Has anyone tried running this script against TrueNAS 12.0?
Yes, worked fine for me.
 

Ruff.Hi

Patron
Joined
Apr 21, 2015
Messages
259
Joined
Jan 27, 2020
Messages
539

nikinp

Explorer
Joined
Sep 7, 2014
Messages
92
I am trying to use the script but it is failing and logging me out of freenas UI and giving putty error ‘network error:software caused connection abort’
When I go back in the jail isn’t there:
Here is putty output
D6D91D08-FFED-49C9-BC23-C599688E2E20.jpeg
 

nikinp

Explorer
Joined
Sep 7, 2014
Messages
92
I am struggling here. I am using system 1 (new build) as per my signature.
Last night I was running script and it kept disconnecting putty and freenas UI with a network disconnection.
I have two ports on the board, so I connected both (no settings in the UI change).
Now I get message ‘no default interface found’ see pic below.Searched forum but not getting anywhere.
help much appreciated
274A0745-5ADF-4D2B-83B3-FA5347A405F5.jpeg
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
13,848
This looks like a networking problem--what are the contents of plex-config?
 

nikinp

Explorer
Joined
Sep 7, 2014
Messages
92
=====line 1 col 0 lines from top 1 ============================================
JAIL_IP="192.168.0.11"
DEFAULT_GW_IP="192.168.0.1"
POOL_PATH="/mnt/tank"
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
13,848
And can your server ping 192.168.0.1?
 

nikinp

Explorer
Joined
Sep 7, 2014
Messages
92
Hi @danb35 - do you have any thoughts on how to troubleshoot this?
Many thanks
 

Yorick

Wizard
Joined
Nov 4, 2018
Messages
1,878
Hmm. Network disconnection has me thinking. What’s the make/model of the NIC card on your board?
 

nikinp

Explorer
Joined
Sep 7, 2014
Messages
92

Yorick

Wizard
Joined
Nov 4, 2018
Messages
1,878
Okay that's not it then. Something's odd though, there's no good reason the network connection should terminate.
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,655
I have two ports on the board, so I connected both (no settings in the UI change).

You don't have two NICS on the same subnet, do you? If so, that's a non-no and may be the source of your network problem.
 

nikinp

Explorer
Joined
Sep 7, 2014
Messages
92
You don't have two NICS on the same subnet, do you? If so, that's a non-no and may be the source of your network problem.

I have two lan ports and 1 IPMI Lan port. 3 in total. All 3 are currently plugged in.
Two (one lan and IPMI) are dhcp on 192.168.0.X and I guess same subnet 255.255.255.0 and the other lan is set to DHCP also getting an address in the same range.
Please could you help advise the right way to configure. I have only ever had a motherboard eith
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,655
Disconnect "the other lan" port's cable, leaving only one connected besides the IPMI cable. You did have two FreeNAS LAN ports on the same 192.168.0.0 subnet (255.255.255.0 is the "subnet mask"),

Reboot the server, then try running your script again. Let us know how it goes.
 

nikinp

Explorer
Joined
Sep 7, 2014
Messages
92
Disconnect "the other lan" port's cable, leaving only one connected besides the IPMI cable. You did have two FreeNAS LAN ports on the same 192.168.0.0 subnet (255.255.255.0 is the "subnet mask"),

Reboot the server, then try running your script again. Let us know how it goes.
Done as suggested. But same result as post 66. Pasted again below:
C9EF8368-9CFC-4B32-9785-6B8711CCE345.jpeg
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,655
Hmmm what's the content of Network>Network Summary:

1616242069873.png
 
Top