SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux > SageTV for unRAID/Docker
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 07-07-2017, 03:31 PM
glenner glenner is offline
Sage Advanced User
 
Join Date: May 2010
Location: Toronto, ON
Posts: 99
Quote:
Originally Posted by graywolf View Post
Stop sagetv docker
Edit sagetv docker
(Going from memory) should have near bottom Options for additional paths
Should be able to create a new path to /mnt/disks
Start sagetv docker
Should now be able to get to it
Thanks yes... this basically works. My docker volume mappings are like this now.

/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
Reply With Quote
  #22  
Old 07-07-2017, 04:01 PM
glenner glenner is offline
Sage Advanced User
 
Join Date: May 2010
Location: Toronto, ON
Posts: 99
Quote:
Originally Posted by Fuzzy View Post
FYI, the /unraid volume mapping to /mnt/user is always called unraid. It was put into the docker template for just this reason, the ability for the SageTV docker to find any of your local shares via direct access instead of needing to go through samba to get there.
Thanks... good to know.

Quote:
Originally Posted by Fuzzy View Post
Regarding the earlier question about why sagemedia was created with cache=no, realize that SageTV is not creating a share. The docker template maps it's internal /var/media to the host's /mnt/user/sagemedia which in doing so, it creates the /mnt/user/sagemedia folder. Creating a folder in /mnt/user is what creates the sharepoint, and it does so using unRAIDs default settings (configured in Global Share Settings).
I see... another useful concise explanation offered up using the minimal number of words. Thanks. :-) In any event, it sounds like enabling cache=yes on /mnt/user/sagemedia, or any newly created share created by any means, needs to be a manual step for those who are running unraid with a cache pool. The default seems to cache=no in all cases.

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
Reply With Quote
  #23  
Old 07-07-2017, 04:31 PM
glenner glenner is offline
Sage Advanced User
 
Join Date: May 2010
Location: Toronto, ON
Posts: 99
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.
domains, isos, appdata, and system were created out of the box for me. sagemedia is created via the docker install (and manually changed cache=yes). The rest I created myself.

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.
Reply With Quote
  #24  
Old 07-07-2017, 04:37 PM
glenner glenner is offline
Sage Advanced User
 
Join Date: May 2010
Location: Toronto, ON
Posts: 99
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
Reply With Quote
  #25  
Old 07-08-2017, 07:30 AM
graywolf's Avatar
graywolf graywolf is offline
Sage Icon
 
Join Date: Oct 2009
Location: NC
Posts: 1,389
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
Reply With Quote
  #26  
Old 07-08-2017, 07:37 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by graywolf View Post
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
I do not see this on the tools tab. Was it installed by a plugin?

k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #27  
Old 07-08-2017, 08:06 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
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.
Reply With Quote
  #28  
Old 07-08-2017, 08:31 AM
graywolf's Avatar
graywolf graywolf is offline
Sage Icon
 
Join Date: Oct 2009
Location: NC
Posts: 1,389
Quote:
Originally Posted by jusjoken View Post
I do not see this on the tools tab. Was it installed by a plugin?

k
Not sure if it was a plugin.
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
Reply With Quote
  #29  
Old 07-08-2017, 12:29 PM
HuMan321's Avatar
HuMan321 HuMan321 is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: Idaho
Posts: 365
Quote:
Originally Posted by Fuzzy View Post
If you are trying to get sage to map to a samba share that is NOT on you unraid server, you should have sage talk to that share directly via samba. Do so by browsing to it in sage. Go up in folders until you find Network, and then browse down to your server and share from there.

Quote:
Originally Posted by Fuzzy View Post
The SageTVService has to have access to the network shares you are trying to access. This means it has to be logged in as a User with those permissions (as opposed to the default user of 'LocalSystem'. LocalSystem doens't have access to network shares. Also, browsing for shares is somewhat inconsistant from a service, so you'll be better off using the Specify... button and typing ni the UNC path of the share (\\Server\Share).

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,
Reply With Quote
  #30  
Old 07-08-2017, 12:46 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by glenner View Post
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.
The 'parity hit' can be minimized by turning on 'Turbo Write' in unRAID. This is done on the Disk Settings page, by setting Tunable (md_write_method) to "reconstruct write", instead of the default "auto" which is synonymous with "read/modify/write" in current versions. Reconstruct write will require all pool drives to spin up to write to the array, but instead of doing the slower read data and parity, calculate new parity, then write data and parity, it writes to the data drive, while reading from all the other data drives, and writing to parity at essentially the same time. MUCH faster, but as i said, the trade-off is all drives need to be spun up. I only turn this on when doing the bulk copying like you are doing on setup. I believe there is a plugin to auto control this setting, based on how many drives are already spun up, but I haven't messed with it.
Quote:
Originally Posted by glenner View Post
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 want to say I read that there were some performance related issues with btrfs cache pools that are fixed in the current beta, but honestly can't find that comment now.
__________________
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.
Reply With Quote
  #31  
Old 07-08-2017, 08:43 PM
glenner glenner is offline
Sage Advanced User
 
Join Date: May 2010
Location: Toronto, ON
Posts: 99
Quote:
Originally Posted by graywolf View Post
Not sure if it was a plugin.
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
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
Reply With Quote
  #32  
Old 07-08-2017, 08:54 PM
glenner glenner is offline
Sage Advanced User
 
Join Date: May 2010
Location: Toronto, ON
Posts: 99
Quote:
Originally Posted by stuckless View Post
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.
Good to know. I'll try that out next time... I guess in my case I'm currently pointing /var/mediaext to /mnt/disks as that seemed to make sense to me: that's where my externally mounted disks might be that may contain media that I want to allow sage to see. In actually, I'm not importing anything in sage via /var/mediaext as I expect all my media to be local in unraid. But I may still mount disks there, so I'll assume sage won't try to chown everything under /mnt/disks to nobody.users...

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
Reply With Quote
  #33  
Old 07-08-2017, 09:23 PM
glenner glenner is offline
Sage Advanced User
 
Join Date: May 2010
Location: Toronto, ON
Posts: 99
Quote:
Originally Posted by Fuzzy View Post
If you are trying to get sage to map to a samba share that is NOT on you unraid server, you should have sage talk to that share directly via samba. Do so by browsing to it in sage. Go up in folders until you find Network, and then browse down to your server and share from there.
I actually tried this.... I went up to the top level /Network and it found my 2 valid workgroups (WORKGROUP and TORWIN1). I have all my Win PCs on a workgroup called TORWIN1. And the unraid box, and my Squeezebox Touch are on WORKGROUP evidently (interesting... both linux boxes).

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.
Reply With Quote
  #34  
Old 07-08-2017, 10:51 PM
glenner glenner is offline
Sage Advanced User
 
Join Date: May 2010
Location: Toronto, ON
Posts: 99
Quote:
Originally Posted by HuMan321 View Post
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,
I also get "invalid directory" when going through "network"... so not sure.

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.
Reply With Quote
  #35  
Old 07-08-2017, 11:16 PM
glenner glenner is offline
Sage Advanced User
 
Join Date: May 2010
Location: Toronto, ON
Posts: 99
Quote:
Originally Posted by Fuzzy View Post
The 'parity hit' can be minimized by turning on 'Turbo Write' in unRAID. This is done on the Disk Settings page, by setting Tunable (md_write_method) to "reconstruct write", instead of the default "auto" which is synonymous with "read/modify/write" in current versions. Reconstruct write will require all pool drives to spin up to write to the array, but instead of doing the slower read data and parity, calculate new parity, then write data and parity, it writes to the data drive, while reading from all the other data drives, and writing to parity at essentially the same time. MUCH faster, but as i said, the trade-off is all drives need to be spun up. I only turn this on when doing the bulk copying like you are doing on setup. I believe there is a plugin to auto control this setting, based on how many drives are already spun up, but I haven't messed with it.I want to say I read that there were some performance related issues with btrfs cache pools that are fixed in the current beta, but honestly can't find that comment now.
Thanks. Turbo Write sounds like a useful tweak... I'll add that to my growing "to do list", which now also includes figuring out why my cache pool is slower than my SATA disk.

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:
  1. setup unraid server OS - done.
  2. install/configure SageTV docker - done.
  3. setup shares - done.
  4. copy all media over to unraid shares - done.
  5. copy over v6 Wiz.bin to unraid - done. this went surprisingly smooth. all my old recordings, and even my scheduled recording setup were ported over to unraid. I hope Wiz.bin does not depend on tuners. My old and new setups are using 2 different HDHR tuners. but so far my ported scheduled recordings seem to be running ok.
  6. setup SageTV plugins done. so far have SageTV3 UI, SageMC, Phoenix3, Gemstone, Jetty Web Server, BMT installed... need to figure out what else I need - Is there a short list of "must have" plugins??
  7. install SageTV placeshifter. done. somehow never set this up before, but clearly this is the way to connect to the server. If this had been called "SageTV placeshifter thin client" I might have set this up earlier! Not sure if I had a placeshifter license is the issue.
  8. setup SageTV comskip. somehow never set this up on my V6 setup.... but want to get this going.
  9. setup FanArt
  10. figure out cache pool throughput issue.
  11. setup parity disk
  12. install other dockers (plex, logitech media center, windows vm, etc.)
...so enough to keep me busy indefinitely.
__________________

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
Reply With Quote
  #36  
Old 07-08-2017, 11:28 PM
glenner glenner is offline
Sage Advanced User
 
Join Date: May 2010
Location: Toronto, ON
Posts: 99
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}
Interestingly... I was still able to get to the BMT web interface by going here directly:

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
Reply With Quote
  #37  
Old 07-09-2017, 05:32 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by glenner View Post
Good to know. I'll try that out next time... I guess in my case I'm currently pointing /var/mediaext to /mnt/disks as that seemed to make sense to me: that's where my externally mounted disks might be that may contain media that I want to allow sage to see. In actually, I'm not importing anything in sage via /var/mediaext as I expect all my media to be local in unraid. But I may still mount disks there, so I'll assume sage won't try to chown everything under /mnt/disks to nobody.users...

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.
Yeah, i just checked the scripts. I actually don't modify permissions on mediaext stuff.. i do take ownership of /var/media/ (which is where sagetv generall puts recordings, etc). And the docker configuration can be configured to NOT try to take ownership as well.
Reply With Quote
  #38  
Old 07-09-2017, 07:08 AM
dgeezer dgeezer is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: Greensboro, NC
Posts: 293
Quote:
When I click WebUI, it goes to http://unraid:8080, and I get this:
Try this instead -
http://unraid:8080/sage/Home

Last edited by dgeezer; 07-09-2017 at 07:10 AM. Reason: spelling
Reply With Quote
  #39  
Old 07-09-2017, 07:32 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by dgeezer View Post
Try this instead -
http://unraid:8080/sage/Home
And you can quickly build your own landing page, if you want... see this snippet.

https://gist.github.com/stuckless/85...f7c676c9494ee5
Reply With Quote
  #40  
Old 07-09-2017, 04:10 PM
glenner glenner is offline
Sage Advanced User
 
Join Date: May 2010
Location: Toronto, ON
Posts: 99
Quote:
Originally Posted by dgeezer View Post
Try this instead -
http://unraid:8080/sage/Home
Ok... I tried this manually.. I get this:

Code:
HTTP ERROR: 404

Problem accessing /sage/Home. Reason:

    NOT_FOUND
Powered by Jetty://
Is http://unraid:8080 supposed to work out of the box after I install the Jetty plugin? Do I need to restart the docker after installing the plugin? Avoided doing that as Sage was recording shows.
__________________

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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 01:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.