novasis
Cadet
- Joined
- Jun 26, 2022
- Messages
- 4
Hi Everybody.
I installed truenas on a VM in Hyper-v Manager using an attached 16gb boot hdd plus 2x250gb used as raid1 disc.
I need to plan my install better and need better direction from what I assumed was correct.
Or maybe i am not far off and need a bit of tweaking.
Please let me know if this is the Correct or Incorrect discussion group.
My goal:
Using an older 5th gen intel PC.
Install a hyper-v VM on win10 pro.
Install TrueNAS core in VM and configure.
Install Plex
Install Qbittorrent
Install Sonarr.
Use a domain rater than localhost for truenas.
my local workgroup is MNM.
Encrypting every connection with self signed cert.
Separate pools for users and apps and user data and media data.
Using vlans for each container instead of 1 subnet 192.168.0.0/24
Upload my current music and videos into plex and
also download my favorite movies and series to Plex for my local devices to access using qbit and sonarr.
Install Lidarr later on
Install Radarr later on.
Things I found:
I battled to access Plex on network pc's.
I battled to follow advice on pool permissions and user and groups.
I dont understand explanations on vlans using a single network card.
Truenas has a builtin ssl cert , where else can i use it?.
I think i would need to create self signed certificate for each plugin but not sure.
I have 1 network card and used it for all jails.
I cannot install Jails in dhcp / vnet which was weird so,
i had to un-tic dhcp, nat, vnet and berkeley packet filtering for all installed jails/plugins.
I struggled to grasp the user and group permissions but somehow managed to get users to access user data and a media folder on plex for uploading media data.
qbit port 8080 a big issue as jail is up but no web access, and i don't know how to fault find it.
My first attempt:
I created the hyper-v vm on win10 pro computer.
I installed TrueNAS using dhcp.
I created raid1 pool
I created local users and app users
I created a user group and app groups
I created a datasets for user data
I created datasets for app config data
I created datasets for media data
I created jails for plex, qbit and sonarr:
I spent 16 hours youtube and research and all added more confusion.
My impression on TrueNAS Containers are a 2outof10 on installation as it is not easy to fault find the whole time with every install.
I realized i needed a better way to fix or to start over.
I used this guide below to create jails and mounting points.
# Create jail for PLEX
iocage create --name homeplex --release 13.1-RELEASE dhcp=1 boot=1
# Mount jail config dataset
iocage exec homeplex mkdir /mnt/config
iocage fstab --add homeplex /mnt/raid1/vault0/apps/plex /mnt/config nullfs rw 0 0
# Mount media datasets
iocage exec homeplex mkdir /mnt/music
iocage fstab --add homeplex /mnt/raid1/vault0/media/music /mnt/music nullfs ro 0 0
iocage exec homeplex mkdir /mnt/series
iocage fstab --add homeplex /mnt/raid1/vault0/media/series /mnt/series nullfs ro 0 0
iocage exec homeplex mkdir /mnt/movies
iocage fstab --add homeplex /mnt/raid1/vault0/media/movies /mnt/movies nullfs ro 0 0
# Update packages
iocage exec homeplex "pkg update && pkg upgrade"
# Install
iocage exec homeplex pkg install plexmediaserver
# Enable service
iocage exec homeplex sysrc plexmediaserver_enable=YES
# Configure config directory
iocage exec homeplex sysrc plexmediaserver_support_path=/mnt/config
# Start the service
iocage exec homeplex service plexmediaserver start
# Create jail for QBITTORRENT
iocage create --name qbittorrent --release 13.1-RELEASE dhcp=1 boot=1
# Mount jail config dataset
iocage exec qbittorrent mkdir /mnt/config
iocage fstab --add qbittorrent /mnt/raid1/vault0/apps/qbittorrent /mnt/config nullfs rw 0 0
# Mount media dataset
iocage exec qbittorrent mkdir /mnt/torrents
iocage fstab --add qbittorrent /mnt/raid1/vault0/media/torrents /mnt/torrents nullfs rw 0 0
# Update packages
iocage exec qbittorrent "pkg update && pkg upgrade"
# Install qBittorrent without GUI
iocage exec qbittorrent pkg install qbittorrent-nox
# Enable qBittorrent service
iocage exec qbittorrent sysrc qbittorrent_enable=YES
# Configure config directory
iocage exec qbittorrent sysrc qbittorrent_conf_dir=/mnt/config
# Start the service
iocage exec qbittorrent service qbittorrent start
# Create jail for SONARR
iocage create --name sonarr --release 13.1-RELEASE dhcp=1 boot=1
# Mount jail config dataset
iocage exec sonarr mkdir /mnt/config
iocage fstab --add sonarr /mnt/raid1/vault0/apps/sonarr /mnt/config nullfs rw 0 0
# Mount media datasets
iocage exec sonarr mkdir /mnt/series
iocage fstab --add sonarr /mnt/raid1/vault0/media/series /mnt/series nullfs rw 0 0
iocage exec sonarr mkdir /mnt/torrents
iocage fstab --add sonarr /mnt/raid1/vault0/media/torrents /mnt/torrents nullfs ro 0 0
# Change pkg repository set from `quarterly` to `latest`
iocage exec sonarr sed -i '' 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf
# Update packages
iocage exec sonarr "pkg update && pkg upgrade"
# Install
iocage exec sonarr pkg install sonarr
# Enable service
iocage exec sonarr sysrc sonarr_enable=YES
# Configure config directory
iocage exec sonarr sysrc sonarr_data_dir=/mnt/config
# Start the service
iocage exec sonarr service sonarr start
plex :
qbittorrent :
sonarr :
PLEX works
SONARR works
QBIT does not work.
I feel like starting over or i need a someone to fault find with me.
Any advice is welcome.
Screenshots of installation to follow:
Basic details of VM setup in hyper-v manager,
Console view of TrueNAS after basic install with DHCP network.
TrueNAS web portal Dashboard:
Certificate things:
-Apparently this is useful set system data set to boot-pool. I'm not sure about this.
User setups:
Group setups:
Network details:
Disks in TrueNAS:
Services:
Sharing:
System Advance settings:
Pool and Datasets:
Dataset Users/ for user data:
Dataset Vault0/ for all Data related to apps and media:
Dataset Vault0/Apps for all app and configs only.
Datasets for individual App files like Plex / Sonarr / Qbit:
Example of plex:
Dataset Vault0/Media for all data relating to media used by plugins
Dataset Vault0/Media for all media categories used by plugins Radarr(movies)/ Solarr(Series)/ Lidarr(Music) :
I have not yet install Radarr and Lidarr but need the dataset for future use.
Example of Sonarr here:
Dataset Vault0/Media for user share and uploaded media, read-only by Plex.
Dataset Vault0/Media for all media categories used by plugins Qbittorrent(Torrents) :
Plugins:
I ended up installing plugins first in PLEX GUI and then did the jails and mounts. I like seeing what is installed vs silent install in console.
Jails list :
Jail covering Plex / Sonarr / Qbit :
Example for Plex here:
Jail Plex Mounting points:
Jail Sonarr Mounting points:
Jail Qbittorrent Mounting points:
I installed truenas on a VM in Hyper-v Manager using an attached 16gb boot hdd plus 2x250gb used as raid1 disc.
I need to plan my install better and need better direction from what I assumed was correct.
Or maybe i am not far off and need a bit of tweaking.
Please let me know if this is the Correct or Incorrect discussion group.
My goal:
Using an older 5th gen intel PC.
Install a hyper-v VM on win10 pro.
Install TrueNAS core in VM and configure.
Install Plex
Install Qbittorrent
Install Sonarr.
Use a domain rater than localhost for truenas.
my local workgroup is MNM.
Encrypting every connection with self signed cert.
Separate pools for users and apps and user data and media data.
Using vlans for each container instead of 1 subnet 192.168.0.0/24
Upload my current music and videos into plex and
also download my favorite movies and series to Plex for my local devices to access using qbit and sonarr.
Install Lidarr later on
Install Radarr later on.
Things I found:
I battled to access Plex on network pc's.
I battled to follow advice on pool permissions and user and groups.
I dont understand explanations on vlans using a single network card.
Truenas has a builtin ssl cert , where else can i use it?.
I think i would need to create self signed certificate for each plugin but not sure.
I have 1 network card and used it for all jails.
I cannot install Jails in dhcp / vnet which was weird so,
i had to un-tic dhcp, nat, vnet and berkeley packet filtering for all installed jails/plugins.
I struggled to grasp the user and group permissions but somehow managed to get users to access user data and a media folder on plex for uploading media data.
qbit port 8080 a big issue as jail is up but no web access, and i don't know how to fault find it.
My first attempt:
I created the hyper-v vm on win10 pro computer.
I installed TrueNAS using dhcp.
I created raid1 pool
I created local users and app users
I created a user group and app groups
I created a datasets for user data
I created datasets for app config data
I created datasets for media data
I created jails for plex, qbit and sonarr:
I spent 16 hours youtube and research and all added more confusion.
My impression on TrueNAS Containers are a 2outof10 on installation as it is not easy to fault find the whole time with every install.
I realized i needed a better way to fix or to start over.
I used this guide below to create jails and mounting points.
# Create jail for PLEX
iocage create --name homeplex --release 13.1-RELEASE dhcp=1 boot=1
# Mount jail config dataset
iocage exec homeplex mkdir /mnt/config
iocage fstab --add homeplex /mnt/raid1/vault0/apps/plex /mnt/config nullfs rw 0 0
# Mount media datasets
iocage exec homeplex mkdir /mnt/music
iocage fstab --add homeplex /mnt/raid1/vault0/media/music /mnt/music nullfs ro 0 0
iocage exec homeplex mkdir /mnt/series
iocage fstab --add homeplex /mnt/raid1/vault0/media/series /mnt/series nullfs ro 0 0
iocage exec homeplex mkdir /mnt/movies
iocage fstab --add homeplex /mnt/raid1/vault0/media/movies /mnt/movies nullfs ro 0 0
# Update packages
iocage exec homeplex "pkg update && pkg upgrade"
# Install
iocage exec homeplex pkg install plexmediaserver
# Enable service
iocage exec homeplex sysrc plexmediaserver_enable=YES
# Configure config directory
iocage exec homeplex sysrc plexmediaserver_support_path=/mnt/config
# Start the service
iocage exec homeplex service plexmediaserver start
# Create jail for QBITTORRENT
iocage create --name qbittorrent --release 13.1-RELEASE dhcp=1 boot=1
# Mount jail config dataset
iocage exec qbittorrent mkdir /mnt/config
iocage fstab --add qbittorrent /mnt/raid1/vault0/apps/qbittorrent /mnt/config nullfs rw 0 0
# Mount media dataset
iocage exec qbittorrent mkdir /mnt/torrents
iocage fstab --add qbittorrent /mnt/raid1/vault0/media/torrents /mnt/torrents nullfs rw 0 0
# Update packages
iocage exec qbittorrent "pkg update && pkg upgrade"
# Install qBittorrent without GUI
iocage exec qbittorrent pkg install qbittorrent-nox
# Enable qBittorrent service
iocage exec qbittorrent sysrc qbittorrent_enable=YES
# Configure config directory
iocage exec qbittorrent sysrc qbittorrent_conf_dir=/mnt/config
# Start the service
iocage exec qbittorrent service qbittorrent start
# Create jail for SONARR
iocage create --name sonarr --release 13.1-RELEASE dhcp=1 boot=1
# Mount jail config dataset
iocage exec sonarr mkdir /mnt/config
iocage fstab --add sonarr /mnt/raid1/vault0/apps/sonarr /mnt/config nullfs rw 0 0
# Mount media datasets
iocage exec sonarr mkdir /mnt/series
iocage fstab --add sonarr /mnt/raid1/vault0/media/series /mnt/series nullfs rw 0 0
iocage exec sonarr mkdir /mnt/torrents
iocage fstab --add sonarr /mnt/raid1/vault0/media/torrents /mnt/torrents nullfs ro 0 0
# Change pkg repository set from `quarterly` to `latest`
iocage exec sonarr sed -i '' 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf
# Update packages
iocage exec sonarr "pkg update && pkg upgrade"
# Install
iocage exec sonarr pkg install sonarr
# Enable service
iocage exec sonarr sysrc sonarr_enable=YES
# Configure config directory
iocage exec sonarr sysrc sonarr_data_dir=/mnt/config
# Start the service
iocage exec sonarr service sonarr start
plex :
qbittorrent :
sonarr :
PLEX works
SONARR works
QBIT does not work.
I feel like starting over or i need a someone to fault find with me.
Any advice is welcome.
Screenshots of installation to follow:
Basic details of VM setup in hyper-v manager,
Console view of TrueNAS after basic install with DHCP network.
TrueNAS web portal Dashboard:
Certificate things:
-Apparently this is useful set system data set to boot-pool. I'm not sure about this.
User setups:
Group setups:
Network details:
Disks in TrueNAS:
Services:
Sharing:
System Advance settings:
Pool and Datasets:
Dataset Users/ for user data:
Dataset Vault0/ for all Data related to apps and media:
Dataset Vault0/Apps for all app and configs only.
Datasets for individual App files like Plex / Sonarr / Qbit:
Example of plex:
Dataset Vault0/Media for all data relating to media used by plugins
Dataset Vault0/Media for all media categories used by plugins Radarr(movies)/ Solarr(Series)/ Lidarr(Music) :
I have not yet install Radarr and Lidarr but need the dataset for future use.
Example of Sonarr here:
Dataset Vault0/Media for user share and uploaded media, read-only by Plex.
Dataset Vault0/Media for all media categories used by plugins Qbittorrent(Torrents) :
Plugins:
I ended up installing plugins first in PLEX GUI and then did the jails and mounts. I like seeing what is installed vs silent install in console.
Jails list :
Jail covering Plex / Sonarr / Qbit :
Example for Plex here:
Jail Plex Mounting points:
Jail Sonarr Mounting points:
Jail Qbittorrent Mounting points: