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
  #181  
Old 07-14-2016, 08:56 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Ok, different problem. I start to do the configuration wizard. It gets to the time zone screen and the selection area is empty.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
  #182  
Old 07-15-2016, 06:12 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Taddeusz View Post
Ok, different problem. I start to do the configuration wizard. It gets to the time zone screen and the selection area is empty.
I've heard of people having this issue, not even with the unRAID version, but with sagetv in general. Try shutting down sagetv docker, then delete the clients directory (or back it up if you need it). And then start the container again, and see what happens.
  #183  
Old 07-15-2016, 07:37 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by stuckless View Post
I've heard of people having this issue, not even with the unRAID version, but with sagetv in general. Try shutting down sagetv docker, then delete the clients directory (or back it up if you need it). And then start the container again, and see what happens.
That did not work. What I ended up doing was manually entering my timezone into the Sage.properties file. However, it appears the time is wrong when I connect now.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
  #184  
Old 07-15-2016, 07:48 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Even though the Sage.properties file has time_zone=America/Chicago the detailed settings shows GMT as the selected time zone. Attempting to change it just brings up an empty dialog.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
  #185  
Old 07-15-2016, 07:54 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Taddeusz View Post
Even though the Sage.properties file has time_zone=America/Chicago the detailed settings shows GMT as the selected time zone. Attempting to change it just brings up an empty dialog.
Out of curiousity is your timezone set on your unRAID machine correctly? Setting Date/Time. I see some dockers making reference to /dev/rtc (rtc being real time clock)... I wonder if I need to also utilize that as well. I'll have to do some research.

I do know that I haven't had any issues selecting the timezone on my server or in my local development area, which also uses the same docker images... but all my devices are set with the same timezone... EDT.
  #186  
Old 07-15-2016, 09:00 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Ok, originally I was attempting to use the Java 7 version since I use sagex to interface with Plex. I finally tried the Java 8 version and it works correctly. I'm not sure why there's a difference between the two packages. Something is preventing the Java 7 version from obtaining a list of available time zones.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
  #187  
Old 07-15-2016, 09:37 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by stuckless View Post
Out of curiousity is your timezone set on your unRAID machine correctly? Setting Date/Time. I see some dockers making reference to /dev/rtc (rtc being real time clock)... I wonder if I need to also utilize that as well. I'll have to do some research.

I do know that I haven't had any issues selecting the timezone on my server or in my local development area, which also uses the same docker images... but all my devices are set with the same timezone... EDT.
Yes, it is set correctly. Sorry, I didn't see this comment before I made my last post. Seems to be some sort of issue with the Java 7 version. I have the Java 8 version working now but of course sagex won't work.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
  #188  
Old 07-15-2016, 10:15 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Taddeusz View Post
Yes, it is set correctly. Sorry, I didn't see this comment before I made my last post. Seems to be some sort of issue with the Java 7 version. I have the Java 8 version working now but of course sagex won't work.
sagex works in java 8... but the javascript services do not... so when you say sagex, do you mean the plex integration? (plex uses sagex javascript)

EDIT: Both of these use openjdk... I might change them to use the Oracle JDK, but, openjdk has been working fine for me since I created these... but I only use the java8 version.

Last edited by stuckless; 07-15-2016 at 10:18 AM.
  #189  
Old 07-15-2016, 11:05 AM
SomeWhatLost's Avatar
SomeWhatLost SomeWhatLost is offline
Sage Expert
 
Join Date: Jan 2009
Location: earth
Posts: 532
Quote:
Originally Posted by Taddeusz View Post
Yes, it is set correctly. Sorry, I didn't see this comment before I made my last post. Seems to be some sort of issue with the Java 7 version. I have the Java 8 version working now but of course sagex won't work.
fwiw, I had the same Timezone issue with Java7 sage, and it just works with Java8...

wonder whats causing it?
__________________
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...
  #190  
Old 07-16-2016, 03:36 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
I'm not that familiar with Docker and how it works but since I can build my own Sage.jar is there a way I can update it myself without having to wait for your official update? Also, how quickly do you update the SageTV docker after the codebase gets an update?
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
  #191  
Old 07-16-2016, 05:16 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Maybe it's just my test configuration but I'm having trouble with live comskip stopping mid recording. I have live_tv_retries=16 and standoff=8000000 and still have problems. Doing a single recording seems to work fine but any more than that seems to progressively make each one stop until there is only a single comskip process still running.

BTW, my current Windows server has 3 recording drives and is configured to optimize for bandwidth. It runs live comskip on all 4 HDHR tuners without breaking a sweat.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD

Last edited by Taddeusz; 07-16-2016 at 05:18 PM.
  #192  
Old 07-16-2016, 06:05 PM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 311
Quote:
Originally Posted by Taddeusz View Post
Maybe it's just my test configuration but I'm having trouble with live comskip stopping mid recording. I have live_tv_retries=16 and standoff=8000000 and still have problems. Doing a single recording seems to work fine but any more than that seems to progressively make each one stop until there is only a single comskip process still running.

BTW, my current Windows server has 3 recording drives and is configured to optimize for bandwidth. It runs live comskip on all 4 HDHR tuners without breaking a sweat.

I haven't had much luck with live Comskip in the Docker on unRAID either. From watching the unRAID logs, it looks like the Comskip process is crashing shortly after it starts running.

For me, it'll die with just a single recording going. It works fine if I have Comskip wait until the recording completes.

I had this issue on Windows too with some of the later Comskip builds.
__________________
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
  #193  
Old 07-16-2016, 06:37 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
From what I've seen, if the file is zero length when it starts, it immediately fails. I had this problem when I used SageDCT with raw content since it returns immediately to SageTV before anything is actually being written, but it has created the file. It would be nice to have a configurable delay for live in the Comskip plugin. I wrote a Groovy script for SJQ that would wait until at least 5 minutes had passed or the recording was done/stopped; whichever comes first. Part of my logic there was if I'm channel surfing, I really didn't want it to kick off right away.
__________________
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
  #194  
Old 07-17-2016, 03:50 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Taddeusz View Post
I'm not that familiar with Docker and how it works but since I can build my own Sage.jar is there a way I can update it myself without having to wait for your official update? Also, how quickly do you update the SageTV docker after the codebase gets an update?
The Docker contain maps /opt/sagetv to some location where you've specified... likely, /mnt/user/appdata/sagetv/. So the everything related to sagetv is stored outside the container itself, and stored in a location that you can access.

Under the sagetv/ folder is the "server" directory that contains the entire sagetv install, including the Sage.jar, wiz.bin, etc. So, you can simply replace that Sage.jar with your own, and restart the docker container for sagetv. As of the latest image update, all those files should be owned by the default user/group 99/100 which means that if you exposed the appdata share, then you can simply browse to it using windows explorer, and then edit/copy the files that way.

The installation/upgrading of sagetv is done automatically on a container restart. So, if there is a new SageTV build, and you restart the container, you'll get it immediately.

Quote:
Originally Posted by Taddeusz View Post
Maybe it's just my test configuration but I'm having trouble with live comskip stopping mid recording. I have live_tv_retries=16 and standoff=8000000 and still have problems. Doing a single recording seems to work fine but any more than that seems to progressively make each one stop until there is only a single comskip process still running.

BTW, my current Windows server has 3 recording drives and is configured to optimize for bandwidth. It runs live comskip on all 4 HDHR tuners without breaking a sweat.
The configuration for comskip is in /mnt/user/appdata/sagetv/comskip. The comskip.ini that is in that folder didn't use to have the comskip livetv flag set... Maybe check the comskip.ini file in that directory and see if the settings are correct for you. I don't notice anything odd, myself, but I only have 2 tuners, and I never use livetv.
  #195  
Old 07-19-2016, 12:52 PM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 311
I probably need to play with the settings in the ini file some more, but I'm sure I had live_tv set to 1...and I'm pretty sure I configured it to wait a few minutes before processing. But no luck yet unless I wait for the recording to finish.

Quote:
Originally Posted by stuckless View Post
I don't notice anything odd, myself, but I only have 2 tuners, and I never use livetv.
I'd be curious to know if anyone is successfully processing livetv with this version of comskip in the Docker.
__________________
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
  #196  
Old 07-20-2016, 05:50 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Along these lines, is it possible to configure it to run on liveTV, but then re-run after the recording is finished?
  #197  
Old 07-20-2016, 01:48 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
I've raised live_tv_retries to 300 and standoff to 32000000 and I still can't get live tv detection to work. Not sure what would cause this. The logs don't have any apparent errors. It just seems to stop running.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
  #198  
Old 07-20-2016, 06:01 PM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 311
I see these Comskip related errors in the unRAID log:

Code:
Jul 15 13:07:27 Tower kernel: comskip[21926]: segfault at 0 ip 00002acd8900c638 sp 00007fff1953f7e0 error 4 in libc-2.23.so[2acd88f9e000+1c0000]
__________________
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
  #199  
Old 07-20-2016, 06:11 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Quote:
Originally Posted by alfi33 View Post
I see these Comskip related errors in the unRAID log:

Code:
Jul 15 13:07:27 Tower kernel: comskip[21926]: segfault at 0 ip 00002acd8900c638 sp 00007fff1953f7e0 error 4 in libc-2.23.so[2acd88f9e000+1c0000]
Been getting those myself. So far I've just ignored them. May have had a few videos without comskip info but haven't paid too much attention.
__________________
"Keep your goals away from the trolls"
  #200  
Old 07-20-2016, 06:37 PM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 311
Quote:
Originally Posted by BobPhoenix View Post
Been getting those myself. So far I've just ignored them. May have had a few videos without comskip info but haven't paid too much attention.
Are you processing live_tv or are you waiting for the recording to finish before starting Comskip processing?
__________________
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
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 05:23 PM.


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