|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Problem starting comskip
I'm using sage in a docker container on a Ubuntu setup (no unraid). Most everything is working except for comskip. I imported a bunch of existing recordings without any comskip info. Then used the UI to manually start comskip on a single recording. This failed to start the comskip process. The error from the sagetv_0.txt log is as follows:
Fri 10/28 9:33:16.749 [Fork-JREkiwi-616107@9181412] java.io.IOException: Cannot run program "/opt/sagetv/server/STVs/SageTV7/Externals/comskip.cmd" (in directory "/opt/sagetv/server/STVs/SageTV7/Externals"): error=13, Permission denied Fri 10/28 9:33:16.749 [Fork-JREkiwi-616107@9181412] at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) Fri 10/28 9:33:16.749 [Fork-JREkiwi-616107@9181412] at java.lang.Runtime.exec(Runtime.java:620) Fri 10/28 9:33:16.749 [Fork-JREkiwi-616107@9181412] at sage.api.Utility$49.runSafely(Utility.java:1329) Fri 10/28 9:33:16.774 [Fork-JREkiwi-616107@9181412] at sage.PredefinedJEPFunction.run(PredefinedJEPFunction.java:112) Fri 10/28 9:33:16.774 [Fork-JREkiwi-616107@9181412] at sage.jep.JEP$CommandEvaluator.evaluate(JEP.java:586) Fri 10/28 9:33:16.774 [Fork-JREkiwi-616107@9181412] at sage.jep.JEP.getValueAsObject(JEP.java:428) Fri 10/28 9:33:16.774 [Fork-JREkiwi-616107@9181412] at sage.Catbert.evaluateExpression(Catbert.java:641) Fri 10/28 9:33:16.774 [Fork-JREkiwi-616107@9181412] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4641) Fri 10/28 9:33:16.774 [Fork-JREkiwi-616107@9181412] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4680) Fri 10/28 9:33:16.774 [Fork-JREkiwi-616107@9181412] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4579) Fri 10/28 9:33:16.774 [Fork-JREkiwi-616107@9181412] at sage.ZPseudoComp$2.run(ZPseudoComp.java:4627) Fri 10/28 9:33:16.774 [Fork-JREkiwi-616107@9181412] at sage.Pooler$PooledThread.run(Pooler.java:253) Fri 10/28 9:33:16.774 [Fork-JREkiwi-616107@9181412] Caused by: java.io.IOException: error=13, Permission denied Fri 10/28 9:33:16.774 [Fork-JREkiwi-616107@9181412] at java.lang.UNIXProcess.forkAndExec(Native Method) Fri 10/28 9:33:16.774 [Fork-JREkiwi-616107@9181412] at java.lang.UNIXProcess.<init>(UNIXProcess.java:248) Fri 10/28 9:33:16.774 [Fork-JREkiwi-616107@9181412] at java.lang.ProcessImpl.start(ProcessImpl.java:134) Fri 10/28 9:33:16.774 [Fork-JREkiwi-616107@9181412] at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) Fri 10/28 9:33:16.774 [Fork-JREkiwi-616107@9181412] ... 11 more Fri 10/28 9:33:16.774 [Fork-JREkiwi-616107@9181412] EXCEPTION in getValueAsObject:sage.jep.ParseException: Error in method reflection of ExecuteProcess of java.io.IOException: Cannot run program "/opt/sagetv/server/STVs/SageTV7/Externals/comskip.cmd" (in directory "/opt/sagetv/server/STVs/SageTV7/Externals"): error=13, Permission denied for:ExecuteProcess(GetProperty("commercial_comskip_program", java_lang_System_getProperty("user.dir") + java_io_File_separator + "STVs" + java_io_File_separator + "SageTV7" + java_io_File_separator + "Externals" + java_io_File_separator + "comskip.cmd"), args, GetPathParentDirectory(GetProperty("commercial_comskip_program", java_lang_System_getProperty("user.dir") + java_io_File_separator + "STVs" + java_io_File_separator + "SageTV7" + java_io_File_separator + "Externals")), false) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] sage.jep.ParseException: Error in method reflection of ExecuteProcess of java.io.IOException: Cannot run program "/opt/sagetv/server/STVs/SageTV7/Externals/comskip.cmd" (in directory "/opt/sagetv/server/STVs/SageTV7/Externals"): error=13, Permission denied Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at sage.PredefinedJEPFunction.run(PredefinedJEPFunction.java:121) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at sage.jep.JEP$CommandEvaluator.evaluate(JEP.java:586) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at sage.jep.JEP.getValueAsObject(JEP.java:428) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at sage.Catbert.evaluateExpression(Catbert.java:641) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4641) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4680) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4579) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at sage.ZPseudoComp$2.run(ZPseudoComp.java:4627) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at sage.Pooler$PooledThread.run(Pooler.java:253) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] Caused by: java.io.IOException: Cannot run program "/opt/sagetv/server/STVs/SageTV7/Externals/comskip.cmd" (in directory "/opt/sagetv/server/STVs/SageTV7/Externals"): error=13, Permission denied Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at java.lang.Runtime.exec(Runtime.java:620) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at sage.api.Utility$49.runSafely(Utility.java:1329) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at sage.PredefinedJEPFunction.run(PredefinedJEPFunction.java:112) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] ... 8 more Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] Caused by: java.io.IOException: error=13, Permission denied Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at java.lang.UNIXProcess.forkAndExec(Native Method) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at java.lang.UNIXProcess.<init>(UNIXProcess.java:248) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at java.lang.ProcessImpl.start(ProcessImpl.java:134) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) Fri 10/28 9:33:16.775 [Fork-JREkiwi-616107@9181412] ... 11 more It's trying to run /opt/sagetv/server/STVs/SageTV7/Externals/comskip.cmd, a windows batch file, which seems wrong to me since this is a Linux setup! Any ideas? I tried loading the CommericalDetectorUI plugin, but that expects Wine to be present, so uninstalled that... |
#2
|
||||
|
||||
You're right that is a windows batch file.
You need to use the Commercial Detector UI. I believe there were some changes made for it to work in the docker environment. John |
#3
|
||||
|
||||
Try going to the CommercialDetector plugin setup (it is under the General category) and looking for the option that says "Run comskip natively". Make sure that's selected.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#4
|
||||
|
||||
So I added the CommercialDetectorUI plugin and now can run comskip successfully on an individual target.
Now would like to do a bulk comskip update, but when I try this from the CommercialDetectorUI config using 'scan all recordings without comskip info', the error: There was an error setting the plugin configuration value of: java.lang.NullPointerException is shown on the screen dialog. It does show 288 queued, but if I look at Show jobs that have been queued is displays [0], and running is also [0]. I didn't see any obvious errors in the log (set to maximum logging to be sure), but it shows it found the .edl which I started manually. Not sure what to try next? Thanks for the help everyone... |
#5
|
||||
|
||||
Quote:
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#6
|
||||
|
||||
Not sure what I did, but the queuing is now working. I did fix some issues with directory permissions, as well as some left over invalid paths for some recordings in the Wiz.bin which occurred in the switch over from Windows to Linux. I'm not complaining though, but wish I could really pinpoint the issue for future reference.
Anyway, thanks for all the help! |
#7
|
||||
|
||||
I've also 'sometimes' seen that null pointer error when trying to queue up comskip in commercialdetector, but never got it captured in a log. :-(
__________________
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 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with Comskip | themeister | SageTV v7 Customizations | 3 | 06-08-2016 11:01 AM |
Sudden SageTV problem, service stops a few seconds after starting | hagur | SageTV Software | 2 | 09-04-2012 04:43 AM |
Comskip problem | lucasbuck | Phoenix | 6 | 12-06-2011 06:33 PM |
Starting to test Comskip with h.264 support | erik | SageTV Customizations | 465 | 09-13-2009 07:39 AM |