After my previous media server broke, I decided to run a new setup
[new components]
[existing components]
[optional/future components]
This time I wanted to give TrueNAS (formerly FreeNAS) a try. Later, after some struggle with migration and reading into it, I chose Unraid instead.
General: Install accoding to doc
Subfolder Samba Shares:
Unraid User shares are all created at /mnt/user/NAME
.
I wanted a folder media
that can be passed to e.g. Emby Docker, but wanted a fine control which subfolders are visible in Samba.
Adding /boot/config/smb-extra.conf
:
[movies]
path = /mnt/user/media/movies
read only = Yes
[series]
path = /mnt/user/media/series
read only = Yes
[import]
path = /mnt/user/media/import
writeable = yes
browseable = no
Then smbcontrol smbd reload-config
(Might still require a reboot)
Plugins:
IPMI:
Manuall set FAN speed:
ipmi-sensors-config -c -e 473_FAN1:Lower_Non_Critical_Threshold=500
ipmi-sensors-config -c -e 473_FAN1:Lower_Critical_Threshold=400
ipmi-sensors-config -c -e 540_FAN2:Lower_Non_Critical_Threshold=500
ipmi-sensors-config -c -e 540_FAN2:Lower_Critical_Threshold=400
ipmi-sensors-config -c -e 607_FAN3:Lower_Non_Critical_Threshold=500
ipmi-sensors-config -c -e 607_FAN3:Lower_Critical_Threshold=400
# 0x30 0x70 0x66 0x01 <00/01: fan group> <0-64: %>
# ipmitool raw 0x30 0x70 0x66 0x01 0x00 0x32
ipmi-raw 00 30 70 66 01 00 32
Exchange RAID1 Disk:
"read error corrected"
Beloved Media Center and competitor of Plex.
JD with remote control via my.jdownloader.org
Allows to tunnel applications through https quite easily.
Important I added swag and all "apps" it should utilize to the same Docker Network "Custom: cdocknet".
Installed via CA as a Docker.
Emby
/appdata/swag/nginx/proxy-confs/emby.subdomain.conf
server {
listen 443 ssl;
listen [::]:443 ssl;
listen 80;
listen [::]:80;
server_name emby.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app EmbyServerBeta;
set $upstream_port 8096;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_set_header Range $http_range;
proxy_set_header If-Range $http_if_range;
}
}
Firefox SyncServer
/appdata/swag/nginx/proxy-confs/firefoxsyncserver.subdomain.conf
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name fxsync.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app FirefoxSyncserver;
set $upstream_port 5000;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}
References:
I hosted my syncserver instance on a very cheap hosting plan, seperated from all my other hosting, but recently they decided to increase prices, therefore considered moving it to the NAS.
Reference: