|
SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
Quote:
/unraid --> /mnt/user /opt/sagetv --> /mnt/user/appdata/sagetv/ /var/media --> /mnt/user/sagemedia/ /var/mediaext --> /mnt/disks/ These are defaults... except the last one. I changed /var/mediaext to point to /mnt/disks. Here it can find any externally mounted windows SMB volumes I may have mounted.
__________________
Server hardware: i7-7700@3.6GHz, ASUSTek Prime H270 Pro, R5 case, 32GB, 2x250GB M.2 SSD cache (raid1), 12TB pool, HDHR Dual Tuner, HDHR Extend, CM 4221/7778 Server software: unRAID 6.9.2, SageTV v9, SageMC (high WAF), SD EPG, dockers (SageTV, Plex, Emby, Unifi Controller, Sonarr, OpenVPN, DelugeVPN, Logitech Media Center, etc.), VMs Clients: 3 x HD300, Placeshifters, 4 x FireStick4K+Android Miniclient, iOS devices+Plex |
#22
|
|||
|
|||
Quote:
Quote:
I don't want my recordings initially going through the parity disk as that makes little sense and does sound like a i/o performance bottleneck. On my existing windows setup, I recall having i/o problems until I reformatted my drives with an allocation unit of 64KB. That solves most i/o issues on windows. Writing live recordings to the cache pool sounds smart to me. I'm not clear how xfs works exactly and whether is has the allocation unit issues that NTFS has. Need to look into that...
__________________
Server hardware: i7-7700@3.6GHz, ASUSTek Prime H270 Pro, R5 case, 32GB, 2x250GB M.2 SSD cache (raid1), 12TB pool, HDHR Dual Tuner, HDHR Extend, CM 4221/7778 Server software: unRAID 6.9.2, SageTV v9, SageMC (high WAF), SD EPG, dockers (SageTV, Plex, Emby, Unifi Controller, Sonarr, OpenVPN, DelugeVPN, Logitech Media Center, etc.), VMs Clients: 3 x HD300, Placeshifters, 4 x FireStick4K+Android Miniclient, iOS devices+Plex |
#23
|
|||
|
|||
So an update on my progress.... I've created these shares so far in unRAID. I'm guessing this is most of what I will be needing.
Code:
appdata - cache=prefer, application data backups - cache=no, backups (folders, system images, vms, norton ghost, macrium, etc.) domains - cache=prefer, saved VM instances downloads - cache=no, download folder isos - cache=yes, ISO images movies - cache=no, personal movie collection music - cache=no, personal music collection pictures - cache=no, home pictures, iphone photos, camera photos, etc. sagemedia - cache=yes, sagetv recordings, and default media import directories system - cache=prefer, system data temp - cache=no, temporary storage tvshows - cache=no, personal tv show archive (downloaded) videos - cache=no, home videos, iphone movies, etc. I've since been taking my NTFS drives out of my windows setup one by one and attached them internally to the unRAID box. The unRAID box seems to support hot swap, so I can just plug the power and SATA cables into the drive while hot. Then unRAID will see the drive in the "Unassigned Drive" plugin. I can then mount the NTFS volume under Unassigned Drives. I then started learning how to use Midnight Commander ("mc" from ssh window) to copy the contents of each drive to my various unRAID shares. I populated movies, pictures, tvshows, videos, music, sagemedia/tv folders in this way copying everything over. Copying the media files over this way via SATA is definitely better than trying to transfer everything over the network: a sure path to early insanity. It definitely helps to have a couple of large blank new data disks in the unRAID box when you are trying to migrate a large amount of media from another system. It also helps to set cache=no on all these shares initially, and to not have a parity drive setup initially. I just want my media to be migrated over quick and easy... and so I don't need it going through the cache (it's actually slower this way if you have a raid1 cache pool, and then need to call the mover), or taking the parity hit. I noticed when I copied files to a share and the cache was enabled, I was getting about 60MB/s write throughput at the cache. But if I write to the data disc directly I was getting 130MB+/s. I'm not sure why the cache is slower than the data disk since that seems to defeat the purpose. But I guess the cache pool in raid1 setup is actually slower than just writing to a data disk. I'll see what data disk write speeds I get when I enable the parity disk later. I may yet change my cache pool setup to be raid0. This would allow me to double the size of my cache from 250GB to 500GB. And presumably would double my write speeds to the cache as both SSDs are used to stripe the write. The spaceinvader dude describes how to set that up here: https://www.youtube.com/watch?v=ij8AOEF1pTU (see around the 17 minute mark). Raid0 also kind of make sense to me here. I'm not clear what the failure rate is on SSDs, but I thought it was extremely low, as there are no moving parts. And presumably maybe there is a reliable way to backup the appdata and system folders on the cache so you can recover from an SSD failure if you needed to. I wonder if anyone has ever lost a cache pool SSD in an unRAID setup?
__________________
Server hardware: i7-7700@3.6GHz, ASUSTek Prime H270 Pro, R5 case, 32GB, 2x250GB M.2 SSD cache (raid1), 12TB pool, HDHR Dual Tuner, HDHR Extend, CM 4221/7778 Server software: unRAID 6.9.2, SageTV v9, SageMC (high WAF), SD EPG, dockers (SageTV, Plex, Emby, Unifi Controller, Sonarr, OpenVPN, DelugeVPN, Logitech Media Center, etc.), VMs Clients: 3 x HD300, Placeshifters, 4 x FireStick4K+Android Miniclient, iOS devices+Plex Last edited by glenner; 07-08-2017 at 05:08 PM. |
#24
|
|||
|
|||
One thing I need to resolve... is when I root ssh to unRAID, and copy/move files around, or use midnight commander, all my files are getting root.root ownership. I only have the root user on this system right now, and realize I probably need to fix that and not use root for everything.
It seems like the default ownership is nobody.users. ie. If I copy a file from windows explorer over to an unRAID share, the file is owned by nobody.users. So far, I've been using chown to correct ownerships to nobody.users when doing stuff as root via ssh. What is the recommended user setup on unRAID? Can I create a nobody.users user and use that for ssh? What user should I use/create to ssh into the box, and manipulate files?
__________________
Server hardware: i7-7700@3.6GHz, ASUSTek Prime H270 Pro, R5 case, 32GB, 2x250GB M.2 SSD cache (raid1), 12TB pool, HDHR Dual Tuner, HDHR Extend, CM 4221/7778 Server software: unRAID 6.9.2, SageTV v9, SageMC (high WAF), SD EPG, dockers (SageTV, Plex, Emby, Unifi Controller, Sonarr, OpenVPN, DelugeVPN, Logitech Media Center, etc.), VMs Clients: 3 x HD300, Placeshifters, 4 x FireStick4K+Android Miniclient, iOS devices+Plex |
#25
|
||||
|
||||
For the permission issue. On unRaids tool tab you should use the docker safe permission tool
Will change ownership and permission properly Be sure to use the docker safe one |
#26
|
|||
|
|||
Quote:
k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#27
|
||||
|
||||
When sagetv starts up, it takes ownership of all media files and all sagetv intallation files that are configured via the "apps", "media" and "mediaext" path mappings. So any files that are placed there are already reset on every sagetv restart. If you have other files in other locations, then sagetv won't touch those, even if they are configured inside of sagetv.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#28
|
||||
|
||||
Quote:
Tools tab => UnRaid OS section => Docker Safe New Perms On my screen it is just to the right of Diagnostics and left of Hardware Profile |
#29
|
||||
|
||||
Quote:
Quote:
Hi, I think the LocalSystem is my issue on my unRaid SageTV setup. I cannot figure out how to log in as a user on unRaid - probably need an "idiots" guide... Cannot browse to network folders - says invalid directory Thanks, |
#30
|
||||
|
||||
Quote:
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room Last edited by Fuzzy; 07-08-2017 at 12:59 PM. |
#31
|
|||
|
|||
Hmm.. yeah I don't have it either on my system (unraid 6.3.5)
__________________
Server hardware: i7-7700@3.6GHz, ASUSTek Prime H270 Pro, R5 case, 32GB, 2x250GB M.2 SSD cache (raid1), 12TB pool, HDHR Dual Tuner, HDHR Extend, CM 4221/7778 Server software: unRAID 6.9.2, SageTV v9, SageMC (high WAF), SD EPG, dockers (SageTV, Plex, Emby, Unifi Controller, Sonarr, OpenVPN, DelugeVPN, Logitech Media Center, etc.), VMs Clients: 3 x HD300, Placeshifters, 4 x FireStick4K+Android Miniclient, iOS devices+Plex |
#32
|
|||
|
|||
Quote:
In the meantime, I've created an extra regular non-root user using the unraid webui. I'll see how that goes for regular use, where non-root access is required.
__________________
Server hardware: i7-7700@3.6GHz, ASUSTek Prime H270 Pro, R5 case, 32GB, 2x250GB M.2 SSD cache (raid1), 12TB pool, HDHR Dual Tuner, HDHR Extend, CM 4221/7778 Server software: unRAID 6.9.2, SageTV v9, SageMC (high WAF), SD EPG, dockers (SageTV, Plex, Emby, Unifi Controller, Sonarr, OpenVPN, DelugeVPN, Logitech Media Center, etc.), VMs Clients: 3 x HD300, Placeshifters, 4 x FireStick4K+Android Miniclient, iOS devices+Plex |
#33
|
|||
|
|||
Quote:
But so if I click on one of my PCs (audi) under TORWIN1, I get "invalid directory". See screencaps: https://drive.google.com/file/d/0B-8...ew?usp=sharing https://drive.google.com/file/d/0B-8...ew?usp=sharing So this approach did not work for me. I tried making tweaking my windows shares settings. No good. Instead I SMB mounted my Windows shared drives on the unraid main panel, this actually requires a user/pass to access the windows share. That puts my external mounted disks under /mnt/disks and I mapped /var/mediaext to /mnt/disks so I can find my shares.... This is all kind of moot anyway... as transferring TBs over the network is like watching paint dry... and so I just hot swapped the drives directly into the unraid box and copied files over via SATA. Moved everything over in under a day.
__________________
Server hardware: i7-7700@3.6GHz, ASUSTek Prime H270 Pro, R5 case, 32GB, 2x250GB M.2 SSD cache (raid1), 12TB pool, HDHR Dual Tuner, HDHR Extend, CM 4221/7778 Server software: unRAID 6.9.2, SageTV v9, SageMC (high WAF), SD EPG, dockers (SageTV, Plex, Emby, Unifi Controller, Sonarr, OpenVPN, DelugeVPN, Logitech Media Center, etc.), VMs Clients: 3 x HD300, Placeshifters, 4 x FireStick4K+Android Miniclient, iOS devices+Plex Last edited by glenner; 07-09-2017 at 01:25 AM. |
#34
|
|||
|
|||
Quote:
But so if you want to log in as a user on unraid, that's pretty easy... you just need to download putty or cygwin. Google for either. Putty is likely easier. cygwin is heavyweight unix on windows. Then you either telnet or ssh to unraid. Using a cygwin window, you would just type: ssh root@tower (and you will be prompted for your password). The trick is what do you do there once logged in... and that's where the "linux for idiots" guide may come in handy. Or again, Google is your friend. One word of caution, linux can be pretty unforgiving... ie. DO NOT type "rm -rf /*" at any time, as you will irreparably nuke your entire setup in a few seconds. So don't leave your terminal window unattended: if it takes 1000 monkeys a finite amount of time to type out Hamlet, they can bang out those 9 keystrokes pretty quick.
__________________
Server hardware: i7-7700@3.6GHz, ASUSTek Prime H270 Pro, R5 case, 32GB, 2x250GB M.2 SSD cache (raid1), 12TB pool, HDHR Dual Tuner, HDHR Extend, CM 4221/7778 Server software: unRAID 6.9.2, SageTV v9, SageMC (high WAF), SD EPG, dockers (SageTV, Plex, Emby, Unifi Controller, Sonarr, OpenVPN, DelugeVPN, Logitech Media Center, etc.), VMs Clients: 3 x HD300, Placeshifters, 4 x FireStick4K+Android Miniclient, iOS devices+Plex Last edited by glenner; 07-08-2017 at 11:32 PM. |
#35
|
|||
|
|||
Quote:
I guess my to do list looks as below now, since my basic unraid SageTV setup seems to be more or less online, though still pre-production (ie. not quite ready to replace my WinXP setup yet). To Do List:
__________________
Server hardware: i7-7700@3.6GHz, ASUSTek Prime H270 Pro, R5 case, 32GB, 2x250GB M.2 SSD cache (raid1), 12TB pool, HDHR Dual Tuner, HDHR Extend, CM 4221/7778 Server software: unRAID 6.9.2, SageTV v9, SageMC (high WAF), SD EPG, dockers (SageTV, Plex, Emby, Unifi Controller, Sonarr, OpenVPN, DelugeVPN, Logitech Media Center, etc.), VMs Clients: 3 x HD300, Placeshifters, 4 x FireStick4K+Android Miniclient, iOS devices+Plex |
#36
|
|||
|
|||
But so I did hit a snag on running the WebUI from the SageTV docker. I have installed the Jetty webserver plugin, also a first for me, as I wanted to get BMT working from the WebUI to create FanArt, which I was also missing in my v6 setup.
When I click WebUI, it goes to http://unraid:8080, and I get this: Code:
Error 404 - Not Found. No context on this server matched or handled this request. Contexts known to this server are: / ---> org.mortbay.jetty.handler.ContextHandler@1e79d7a4{/,file:/opt/sagetv/server/jetty/static} /apps ---> org.mortbay.jetty.webapp.WebAppContext@2e47ff82{/apps,/opt/sagetv/server/jetty/webapps/apps.war} /bmt ---> org.mortbay.jetty.webapp.WebAppContext@e6f4d32{/bmt,/opt/sagetv/server/jetty/webapps/bmt.war} http://unraid:8080/bmt That seems to work. And I've successfully been creating FanArt manually from here. Another issue I'm having... something to add to my "to do list"... Is that if I have the Gemstone or Phoenix3 UIs loaded, it does not seem to generate the FanArt for me... even if I try to generate it or run BMT (run "BMT Metadata Scan" from settings). It just doesn't do it... I can dig into that later. But the only way I can create my FanArt has been through the BMT WebUI.
__________________
Server hardware: i7-7700@3.6GHz, ASUSTek Prime H270 Pro, R5 case, 32GB, 2x250GB M.2 SSD cache (raid1), 12TB pool, HDHR Dual Tuner, HDHR Extend, CM 4221/7778 Server software: unRAID 6.9.2, SageTV v9, SageMC (high WAF), SD EPG, dockers (SageTV, Plex, Emby, Unifi Controller, Sonarr, OpenVPN, DelugeVPN, Logitech Media Center, etc.), VMs Clients: 3 x HD300, Placeshifters, 4 x FireStick4K+Android Miniclient, iOS devices+Plex |
#37
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#38
|
|||
|
|||
Quote:
http://unraid:8080/sage/Home Last edited by dgeezer; 07-09-2017 at 07:10 AM. Reason: spelling |
#39
|
||||
|
||||
Quote:
https://gist.github.com/stuckless/85...f7c676c9494ee5
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#40
|
|||
|
|||
Quote:
Code:
HTTP ERROR: 404 Problem accessing /sage/Home. Reason: NOT_FOUND Powered by Jetty://
__________________
Server hardware: i7-7700@3.6GHz, ASUSTek Prime H270 Pro, R5 case, 32GB, 2x250GB M.2 SSD cache (raid1), 12TB pool, HDHR Dual Tuner, HDHR Extend, CM 4221/7778 Server software: unRAID 6.9.2, SageTV v9, SageMC (high WAF), SD EPG, dockers (SageTV, Plex, Emby, Unifi Controller, Sonarr, OpenVPN, DelugeVPN, Logitech Media Center, etc.), VMs Clients: 3 x HD300, Placeshifters, 4 x FireStick4K+Android Miniclient, iOS devices+Plex |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV on Unraid server | JonL | SageTV Linux | 11 | 10-27-2019 02:48 PM |
New Unraid Server | bcjenkins | General Discussion | 23 | 03-18-2017 02:43 PM |
SageTV9 Server / SageTV7 Network Encoder or SageTV7 Windows Client | sflamm | SageTV Github Development | 10 | 02-19-2017 06:56 PM |
New unraid server questions | medwynd | Hardware Support | 1 | 12-01-2015 09:53 AM |
Unraid Server | BBCritical | Hardware Support | 5 | 01-16-2007 09:13 PM |