![]() |
|
|||||||
| SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Linux server questions
I've been using the Windows version all along, so I need to ask some questions about how SageTV behaves in linux. I'm familiar enough with getting around in linux.
First, how do you manage SageTV inside linux? For Windows I just open up the installed client on the desktop. Can't really do that in a headless linux server. Should I just point an extender at the server and run through the setup there? Is there a better way? Any web tools, like BMT, that will work at the moment?
__________________
Win7 VM -4gb ram Ubuntu 14.04 VM -4gb ram (attempting with OS v9) 3 extenders through the house Plex integration HDHR |
|
#2
|
||||
|
||||
|
Quote:
On linux the server is headless (no ui), so you can use the client placeshifter and connect that way.
__________________
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 |
|
#3
|
|||
|
|||
|
Ok, the Windows Placeshifter client (7.1.9) connects to my Windows SageTV server, but not to the linux one. Doesn't look like a firewall issue, as it's not on by default on Ubuntu 14.04. Also appears to be running in ps on the linux server, so I'm pretty sure it's started. Should the older Placeshifter be able to connect to the newer server?
__________________
Win7 VM -4gb ram Ubuntu 14.04 VM -4gb ram (attempting with OS v9) 3 extenders through the house Plex integration HDHR |
|
#4
|
|||
|
|||
|
Quote:
Code:
if (clientMajVer > Sage.CLIENT_COMPATIBLE_MAJOR_VERSION ||
(clientMajVer == Sage.CLIENT_COMPATIBLE_MAJOR_VERSION
Code:
public static final byte CLIENT_COMPATIBLE_MAJOR_VERSION = 9; |
|
#5
|
|||
|
|||
|
Ok, downloaded the VS2005 built zip file, replaced the placeshifter.exe and tried to connect. Still no go. Is there any other way to make sure the server is actually functioning?
__________________
Win7 VM -4gb ram Ubuntu 14.04 VM -4gb ram (attempting with OS v9) 3 extenders through the house Plex integration HDHR |
|
#6
|
|||
|
|||
|
Found the following in the /opt/sagetv/server/sagetv_0.txt file
Code:
thrown java.lang.ExceptionInInitializerError Sat 9/12 16:30:35.660 [main@7a704cf3] java.lang.ExceptionInInitializerError at java.lang.Class.initializeClass(libgcj.so.14) at org.apache.lucene.index.IndexWriterConfig.<init>(IndexWriterConfig.java:151) at sage.Wizard$LuceneIndex.<init>(Wizard.java:9052) at sage.Wizard.getShowIndex(Wizard.java:9627) at sage.Wizard.saveDBFile(Wizard.java:7711) at sage.Wizard.startSeq(Wizard.java:2596) at sage.Wizard.init(Wizard.java:664) at sage.Wizard.prime(Wizard.java:467) at sage.SageTV.<init>(SageTV.java:404) at sage.Sage.startup(Sage.java:1173) at sage.Sage.main(Sage.java:955) Caused by: java.lang.NullPointerException at java.lang.ref.Reference.<init>(libgcj.so.14) at java.lang.ref.WeakReference.<init>(libgcj.so.14) at org.apache.lucene.util.WeakIdentityMap$IdentityWeakReference.<init>(WeakIdentityMap.java:112) at org.apache.lucene.util.WeakIdentityMap.get(WeakIdentityMap.java:77) at org.apache.lucene.util.VirtualMethod.getImplementationDistance(VirtualMethod.java:95) at org.apache.lucene.util.VirtualMethod.compareImplementationDistance(VirtualMethod.java:146) at org.apache.lucene.search.Similarity.<init>(Similarity.java:538) at org.apache.lucene.search.DefaultSimilarity.<init>(DefaultSimilarity.java:23) at org.apache.lucene.search.Similarity.<clinit>(Similarity.java:544) at java.lang.Class.initializeClass(libgcj.so.14) ...10 more Error with DB file:java.lang.ExceptionInInitializerError, attempting to restore backup.
__________________
Win7 VM -4gb ram Ubuntu 14.04 VM -4gb ram (attempting with OS v9) 3 extenders through the house Plex integration HDHR |
|
#7
|
|||
|
|||
|
Ok, looks like I might have it working now. I downloaded the old 7.1 install over top and then reinstalled the 9.0 over the top of that. I'm now connected to it.
I might have more questions soon.
__________________
Win7 VM -4gb ram Ubuntu 14.04 VM -4gb ram (attempting with OS v9) 3 extenders through the house Plex integration HDHR |
|
#8
|
|||
|
|||
|
Recording directories. Do I need to map CIFS shares to a mount point and then add the mount point into SageTV as a recording directory? I'm guessing yes, so I'm going to start working in this direction. Just looking for some confirmation.
__________________
Win7 VM -4gb ram Ubuntu 14.04 VM -4gb ram (attempting with OS v9) 3 extenders through the house Plex integration HDHR |
|
#9
|
||||
|
||||
|
If you are storing your shows all on the linux server, there's no reason to actually use CIFS at all. placeshifter, extenders, clients etc will be able to read the files directly via the sagetv connection, they do not need to access the files directly. There is only one reason I can think of to give clients direct access, and that is for Comskip (.edl) playback. currently would only work for sagetvclient if the client can access the recordings at the same path the sagetv server accesses them. I would REALLY like to get rid of this requirement, and have schemed a BIT on it, but haven't written a single line of code in that direction yet.
__________________
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 |
|
#10
|
|||
|
|||
|
I'm storing everything to an Unraid share. On the Windows server, I have the unraid share mapped, and it's always worked fine. I'm happy doing it that way, but it sounds like that isn't an option under linux for now. Right?
Also, I need to keep saying thanks for all the hard work everyone's doing on this. It's great to see the start of something.
__________________
Win7 VM -4gb ram Ubuntu 14.04 VM -4gb ram (attempting with OS v9) 3 extenders through the house Plex integration HDHR |
|
#11
|
||||
|
||||
|
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 |
|
#12
|
|||
|
|||
|
Quote:
--John |
|
#13
|
||||
|
||||
|
Quote:
__________________
Jeffrey Kardatzke Founder of SageTV |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Comskip on Linux - two questions | matt91 | SageTV Customizations | 2 | 08-24-2013 07:43 AM |
| Linux Server Questions | jchiso | SageTV Linux | 7 | 12-22-2010 07:39 AM |
| Non-linux newbie w/HD-PVR questions | drjamesincanden | SageTV Linux | 9 | 11-04-2009 04:34 PM |
| Some non-FAQ questions re: the Linux edition | mlord | SageTV Linux | 1 | 02-20-2007 03:48 PM |
| Linux VS Windows questions? | dpackham | SageTV Beta Test Software | 8 | 12-15-2006 07:20 AM |