|
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 sagetv-server DB error on startup
I am long time SaeTV user and am very excited to see it go Open Source! I still run SageTV 7 on Windows, and I want to migrate to the Open Source version of the server on Ubuntu. I am playing with things on a VirtualMachine until I can prove it out and figure out what I am doing. Currently I get an exception on startup:
Error with DB file:java.lang.ExceptionInInitializerError, attempting to restore backup. This made me think there is an issue with the Wiz.bin...which upon closer inspection I do not have. Not being a guru on SageTV or Linux, I wanted to tell you what I did, suspecting that I may have missed something... 1) Starting with clean Ubuntu 64-bit 14.04.1 on Oracle VirtualBox 2) Installed lynx (browser) to download the sagetv-server .deb package (sudo apt-get install lynx-cur) 3) Downloaded the sagetv-server .deb package from the bintray.com location posted by 'stuckless'. 4) Attempted install of sagetv-server, but missing java dependency 5) Attempted install of Java JDK 7 (sudo apt-get install openjdk-7-jre), but missing dependencies 6) Installed java with dependencies (sudo apt-get -f install) 7) Installed sagetv-server (sudo dpkg -i sagetv-server_9.0.0_amd64.deb) 8) Updated 'Sage.jar' from bintray.com (9.0.0.4 version) 9) Reboot 10) Now I get the following exception in the sagetv_0.txt I get the following exception: thrown java.lang.ExceptionInInitializerError Sat 9/19 13:52:40.170 [main@6cd9bee] 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.getPersonIndex(Wizard.java:9646) at sage.Wizard.processXctFromStream(Wizard.java:7174) at sage.Wizard.loadDBFile(Wizard.java:7457) at sage.Wizard.startSeq(Wizard.java:2551) 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) ...11 more Error with DB file:java.lang.ExceptionInInitializerError, attempting to restore backup. Any ideas? Thanks, REID |
#2
|
||||
|
||||
It's an issue with the lucene JAR file. You need to download the lucene JAR file from here: https://github.com/google/sagetv/blo...core-3.6.0.jar (click on View Raw to do the download)
And if there is an existing lucene JAR file in your JARs folder...be sure to remove it as well. Your Wiz.bin file should still be there if you didn't have a backup copy of it. It'll have a .corrupt file extension on it now (just rename it and then it'll be fine)
__________________
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 |
Sagetv server linux | mkstretch | SageTV Linux | 3 | 06-13-2014 10:01 AM |
Delay sage server startup in linux. | shugrue | SageTV Linux | 1 | 01-07-2013 10:36 AM |
Wife friendly Linux Placeshifter startup | birkey | SageTV Linux | 1 | 06-15-2011 07:06 AM |
Startup Error | geekout2 | General Discussion | 4 | 02-13-2007 01:35 PM |
Error on startup | videogeek | SageTV Recorder Software | 3 | 07-12-2004 03:38 PM |