Plex/NAS File Storage – What's the best setup?

Hi guys,

I’ve got a Raspberry Pi 4 setup with a HDD that I’d like to use as a PLEX Media server as well as a NAS file storage for my home.
I plan on using Nextcloud for the NAS and of course Plex for Plex.

Is there a better solution for running a PLEX Server / NAS on a single Pi or is the above adequete?

Cheers!

Hi,

many thanks for your message. No that’s fine and a common setup. Once you have connected your HDD, you can move DietPi user data on it. This will ensure your Nextcloud data will be stored in the HDD.

Thanks Joulinar (again!)
One last question (hopefully!) – is it worth setting SSL if I’m only accessing the NextCloud locally?
I presume SSL is only needed if I’m accessing the NC from outside my local network?

Thanks!

OpenMediaVault might be a better option

It will take some configuration to get Dietpi to get all the functionality for a setup like that you are wanting (a PLEX Server / NAS)…however it is absolutely doablem but as Joulinar reported that should work fine as well

Lorem
there is no need to have SSL activated as long as you don’t have the need to connect from internet or some family mates who are going to hack you :wink:

:rofl:
Thanks again! All up and running!

As OMV5 is doing a lot of changes when it is deployed using the bash script - https://github.com/OpenMediaVault-Plugin-Developers/installScript, do you think that we could nevertheless use it top of DietPi …

I was testing OMV once just to see how far it will go. But I stopped. Further on the thread there was a user who used VirtualBox to get OMV up.

https://dietpi.com/forum/t/manual-openmediavault-install/4089/1

I did a test this morning using their script

mkdir tmp && cd tmp
wget https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install
chmod +x install
./install

That fails as DietPi already uses the SSH port. See log: https://gist.github.com/cmoulliard/9cee5c81da9b508840aa91991aa42b07#file-gistfile1-txt-L1502-L1586

This I already descripted on my test. see post above.

The following config is working fine to install next OMV using their bash script

AUTO_SETUP_ACCEPT_LICENSE=1
AUTO_SETUP_LOCALE=en_US.UTF-8
AUTO_SETUP_KEYBOARD_LAYOUT=gb
AUTO_SETUP_TIMEZONE=Europe/Brussels
AUTO_SETUP_NET_ETHERNET_ENABLED=1
AUTO_SETUP_NET_WIFI_ENABLED=0
AUTO_SETUP_NET_ETH_FORCE_SPEED=0
AUTO_SETUP_NET_USESTATIC=1
AUTO_SETUP_NET_STATIC_IP=192.168.1.200
AUTO_SETUP_NET_STATIC_MASK=255.255.255.0
AUTO_SETUP_NET_STATIC_GATEWAY=192.168.1.1
AUTO_SETUP_NET_STATIC_DNS=192.168.1.1
AUTO_SETUP_NET_HOSTNAME=DietPi
AUTO_SETUP_SWAPFILE_SIZE=0
AUTO_SETUP_SWAPFILE_LOCATION=/var/swap
AUTO_SETUP_HEADLESS=0
AUTO_UNMASK_LOGIND=0
AUTO_SETUP_CUSTOM_SCRIPT_EXEC=0
AUTO_SETUP_SSH_SERVER_INDEX=-1
AUTO_SETUP_FILE_SERVER_INDEX=0
AUTO_SETUP_LOGGING_INDEX=-1
AUTO_SETUP_RAMLOG_MAXSIZE=50
AUTO_SETUP_WEB_SERVER_INDEX=-1
AUTO_SETUP_AUTOSTART_TARGET_INDEX=0
AUTO_SETUP_AUTOSTART_LOGIN_USER=root
AUTO_SETUP_AUTOMATED=1
AUTO_SETUP_GLOBAL_PASSWORD=dietpi

# Vim
AUTO_SETUP_INSTALL_SOFTWARE_ID=20

# OpenSSH sever
AUTO_SETUP_INSTALL_SOFTWARE_ID=105

# NFS Server
AUTO_SETUP_INSTALL_SOFTWARE_ID=109

# Avahi Daemon
AUTO_SETUP_INSTALL_SOFTWARE_ID=152
@cmoulliard