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.

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #121  
Old 06-25-2016, 08:34 AM
BobbyDing's Avatar
BobbyDing BobbyDing is offline
Sage Aficionado
 
Join Date: May 2009
Location: Central-West Florida
Posts: 467
Hi. Having issue accessing Jetty. This is the java 8 docker. I get the login window to enter my username/password, but only get the following error (full error in attachment):

Problem accessing /apps/. Reason:

PWC6033: Unable to compile class for JSP

PWC6199: Generated servlet error:
The type java.util.Comparator cannot be resolved. It is indirectly referenced from required .class files


The Jetty plugin lists BMT, SageTV Web Interface, sagex api and upnp as dependent services if that makes any difference.

Any ideas?

Thanks,

Bobby
.
Attached Files
File Type: txt jetty error.txt.txt (3.7 KB, 203 views)
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300.
  #122  
Old 06-25-2016, 09:30 AM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 311
The http://<IP>:<PORT>/apps/ page does not work with Java 8.

If you want the /apps/ page to work, you'll need to use Java 7.
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3
Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030
Client: NVIDIA ShieldTV
Client: Fire TV Stick 4K
  #123  
Old 06-25-2016, 09:39 AM
BobbyDing's Avatar
BobbyDing BobbyDing is offline
Sage Aficionado
 
Join Date: May 2009
Location: Central-West Florida
Posts: 467
Ah, OK. Yes, the direct links are working. Thank You!
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300.
  #124  
Old 06-25-2016, 10:14 AM
m1k3g m1k3g is offline
Sage User
 
Join Date: Sep 2008
Posts: 47
Quote:
Originally Posted by jorryn View Post
I was able to get it running on Synology. You will need the latest release version of Docker installed in order to do the Docker Host networking, Synology just updated it a few days ago. To use the Docker Host there is a check box at the bottom of the Port Settings tab. I'm having a bit of an issue where comskip isn't processing the recordings however everything else seems to be working. It finds my HDHomerun tuners as well.

Docker Version 1.11.1-0265
DSM 6.0.1-7393
Hey thanks for that info! I've played around with the net=host and of course it never worked. I'm on DSM 5.2 so I'll have to upgrade to 6 at some point to get this working, it looks like. Since I'm running Xpenology rather than Synology software, it'll probably be awhile before I can do that. May try just upgrading the Docker package only first.

Thanks again.
  #125  
Old 06-27-2016, 10:21 PM
BobbyDing's Avatar
BobbyDing BobbyDing is offline
Sage Aficionado
 
Join Date: May 2009
Location: Central-West Florida
Posts: 467
Apologies if this is something simple. I'm not software oriented. How would I go about editing the sage.properties file in the docker image? I won't let me save any changes to \\TOWER\apps\sagetv\server.
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300.

Last edited by BobbyDing; 06-27-2016 at 10:33 PM.
  #126  
Old 06-28-2016, 07:42 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by BobbyDing View Post
Apologies if this is something simple. I'm not software oriented. How would I go about editing the sage.properties file in the docker image? I won't let me save any changes to \\TOWER\apps\sagetv\server.
It might not be quite so simple Because I took some shortcuts getting this setup, the contain runs as "root" (or Administrator for you windows folks). Then means that files that sagetv creates/modifies will pick up the ownership and permissions of "root".

In my case, I have to ssh to the box the edit the files using vi. (that is not user friendly).

You could probably ftp to your server, using the "root" username/password, and then upload a new file to overwrite the existing one... that's probably the easist approach until I create a container that runs as user "nobody" (which is the default for unraid).
  #127  
Old 06-28-2016, 09:47 AM
SomeWhatLost's Avatar
SomeWhatLost SomeWhatLost is offline
Sage Expert
 
Join Date: Jan 2009
Location: earth
Posts: 532
I have just been ssh'ing into the box and chmod 777 {filename} things that I need to edit...
not sure what 777 means, but looking at some linuxy docs online it seemed like the thing to do?
seems to work well at least...
__________________
NOTE: As one wise professional something once stated, I am ignorant & childish, with a mindset comparable to 9/11 troofers and wackjob conspiracy theorists. so don't take anything I say as advice...
  #128  
Old 06-28-2016, 09:52 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by stuckless View Post
You could probably ftp to your server, using the "root" username/password, and then upload a new file to overwrite the existing one... that's probably the easist approach until I create a container that runs as user "nobody" (which is the default for unraid).
If you're a Windows user, WinSCP will help you out here. You'll still need to log in as root. You can directly open the file via WinSCP, edit it, when you save it, WinSCP will upload the the changes for you.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
  #129  
Old 06-28-2016, 10:08 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by SomeWhatLost View Post
I have just been ssh'ing into the box and chmod 777 {filename} things that I need to edit...
not sure what 777 means, but looking at some linuxy docs online it seemed like the thing to do?
seems to work well at least...
chmod 777 basically means anyone can read/write/execute the file/files you have applied this permissions mask to. Sometimes this is desirable, usually it's not. I recommend either using the root account or sudo to edit files owned by root. Changing file permissions to edit a file it is usually reserved for files that contain passwords and then you need to change everything back when you're done. Most other cases, sudo vi will be sufficient. If you're a Windows user and don't want to learn how insert, write and quit in vi, WinSCP should be the next best thing.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
  #130  
Old 06-28-2016, 01:45 PM
BobbyDing's Avatar
BobbyDing BobbyDing is offline
Sage Aficionado
 
Join Date: May 2009
Location: Central-West Florida
Posts: 467
Thanks all! I'll try the different methods to see which works best for me.

Just wondering, could an addition be made to the docker template to load a particular sage.properties file when you save/start (whatever the terminology is) the image in Docker?

Bobby
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300.
  #131  
Old 06-28-2016, 01:50 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by BobbyDing View Post
Thanks all! I'll try the different methods to see which works best for me.

Just wondering, could an addition be made to the docker template to load a particular sage.properties file when you save/start (whatever the terminology is) the image in Docker?

Bobby
Not 100% what you are asking, to be honest. Why would you want/need to use a separate Sage.properties, other than the one that is in the Sage install area?
  #132  
Old 06-28-2016, 05:29 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
I've been used the editor in MidnightCommander (MC) on unRAID to edit the SageTV properties of the docker.
__________________
"Keep your goals away from the trolls"
  #133  
Old 06-28-2016, 07:10 PM
BobbyDing's Avatar
BobbyDing BobbyDing is offline
Sage Aficionado
 
Join Date: May 2009
Location: Central-West Florida
Posts: 467
Quote:
Originally Posted by BobPhoenix View Post
I've been used the editor in MidnightCommander (MC) on unRAID to edit the SageTV properties of the docker.
Thanks, I'll try that.
.
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300.
  #134  
Old 06-28-2016, 07:30 PM
BobbyDing's Avatar
BobbyDing BobbyDing is offline
Sage Aficionado
 
Join Date: May 2009
Location: Central-West Florida
Posts: 467
Quote:
Originally Posted by stuckless View Post
Not 100% what you are asking, to be honest. Why would you want/need to use a separate Sage.properties, other than the one that is in the Sage install area?
.
I was just thinking folks could make the changes that they need to the sage.properties, save that file externally from the image, then when you select "edit" from the drop down menu, you'd have the option of pulling in the newly modified properties file to replace the old one when saving/restarting the image. It was just a thought to get around the root file restrictions you mentioned and mostly my lack of linux knowledge. But please disregard. I'll try the methods listed above.
.
Thanks for all you do here!
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300.

Last edited by BobbyDing; 06-28-2016 at 07:52 PM.
  #135  
Old 06-28-2016, 07:50 PM
BobbyDing's Avatar
BobbyDing BobbyDing is offline
Sage Aficionado
 
Join Date: May 2009
Location: Central-West Florida
Posts: 467
Quote:
Originally Posted by BobPhoenix View Post
I've been used the editor in MidnightCommander (MC) on unRAID to edit the SageTV properties of the docker.
MC works great via putty. I have found sage files in several locations under /mnt. /disk1, /user & /user0. But gain my lack of linux knowledge is biting my butt. Do I edit the properties file in any of these? Or in one location in particular? Or somewhere else?

Thanks
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300.

Last edited by BobbyDing; 06-28-2016 at 09:01 PM.
  #136  
Old 06-29-2016, 03:58 AM
starfire starfire is offline
Sage Expert
 
Join Date: Mar 2008
Location: England, UK
Posts: 505
On unRAID typically you should edit file under /mnt/user and not any specific disk share unless that's what you want.

See http://lime-technology.com/forum/ind...?topic=27285.0
__________________
2 X HD300, 2 X HD100 & KVM unRAID Host with SageTV Docker using TBS 6285 Quad DVB-T2 & TBS 6984 Quad DVB-S2 Tuners
  #137  
Old 06-29-2016, 05:57 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by BobbyDing View Post
.
I was just thinking folks could make the changes that they need to the sage.properties, save that file externally from the image, then when you select "edit" from the drop down menu, you'd have the option of pulling in the newly modified properties file to replace the old one when saving/restarting the image. It was just a thought to get around the root file restrictions you mentioned and mostly my lack of linux knowledge. But please disregard. I'll try the methods listed above.
.
Thanks for all you do here!
The whole Sage install (sage.properties and all AFAIK) is external to the docker image. You can blow away your docker image, re-add the Sage, and you won't have to reconfigure anything.

The problem with file restrictions isn't due to the file being in the docker image, it's due to the user that was chosen for Sage to run as.
  #138  
Old 06-29-2016, 09:15 AM
BobbyDing's Avatar
BobbyDing BobbyDing is offline
Sage Aficionado
 
Join Date: May 2009
Location: Central-West Florida
Posts: 467
I'm making progress. Thanks everybody!!!!
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300.
  #139  
Old 07-03-2016, 09:16 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
New SageTV Docker image

I've updated the SageTV Docker container to run as a normal user... that means when sagetv records files, or modifies files, etc, it should be set to user nobody with group users. This should fix the permissions issues.

I'm still testing this out on my server, since I need to still access the video devices and the tuning device... so far it seems to be working, though.

If you don't get the option to update, you can do into the Dockers section and force an update.
  #140  
Old 07-03-2016, 09:31 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Do we have to blow away the docker and re-add it? I'm still on unraid 6.1.7 and I don't see an update. Or does just restarting the docker (which seems to have updated Sage) do it?



I'm also having trouble getting my import dirs to "work". I can successfully browse to them as samba shares, and that all works well, but when Sage goes to scan them, it finds nothing, this is all I see in the log:
Code:
Sun 7/3 10:35:23.042 [LibraryImporter@6f683bdf] Checking video directories for new files
Sun 7/3 10:35:23.542 [LibraryImporter@6f683bdf] Seeker is starting the library import scan...
Sun 7/3 10:35:23.543 [LibraryImporter@6f683bdf] Starting to scan lib import root: /tmp/sagetv_shares/unraid/blu-ray
Sun 7/3 10:35:23.573 [LibraryImporter@6f683bdf] Starting to scan lib import root: /tmp/sagetv_shares/unraid/tv
Sun 7/3 10:35:23.603 [LibraryImporter@6f683bdf] Starting to scan lib import root: /tmp/sagetv_shares/unraid/media/Processed Pics
Sun 7/3 10:35:23.603 [LibraryImporter@6f683bdf] Skipping import directory because it's offline: /tmp/sagetv_shares/unraid/media/Processed Pics
Sun 7/3 10:35:23.603 [LibraryImporter@6f683bdf] Seeker has finished the library import scan.
S

Last edited by stanger89; 07-03-2016 at 09:39 AM.
Closed Thread


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
Docker Image for unRaid ChaOConnor SageTV Linux 73 05-28-2017 11:57 AM
Interactive Docker Container for building SageTV (Linux) stuckless SageTV Github Development 4 09-04-2016 03:14 PM
Another esxi unraid thread - questions jdc Hardware Support 16 11-14-2012 12:08 PM
New Server - SageTV+unRAID under ESXi 4.1 stanger89 Hardware Support 211 01-07-2012 10:38 PM


All times are GMT -6. The time now is 12:35 PM.


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