|
SageTV v9 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 9 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 9 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
One note for those of you using the unRAID version of SageTV. If you use the Docker backup process then your SageTV docker always gets restarted when you run that as it needs to shut down the dockers to do the backup.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#22
|
|||
|
|||
Quote:
For example, the Jetty plugin is required for the Web Interface, the Mobile Web Interface and BMT. If you uninstall the the Web Interface, I believe those XML files will cease to work. |
#23
|
|||
|
|||
Quote:
Not that you need that these days as no one ever leaves home
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#24
|
||||
|
||||
I'm in the process of building a new system with 64 bit Windows and SageTV.
I have installed the Jetty Web Server plugin, and used its configuration interface to set the user name and password. When I access the URL: http://localhost:8080/sage/Home?xml=currrecording I first get the browser prompt for credentials (Sign In). I enter the user/password I entered into in the plugin configuration. When I click the Sign In button, I get: Code:
HTTP ERROR 403 Problem accessing /sage/Home. Reason: User not in required role Powered by Jetty:// What am I doing wrong? Everything is the same as the prior machine except it is now 64 bits. Edit: here is the plugin configuration on both systems: Code:
Old System New System ant 1.8.2 ant 1.8.2 Apache Mina Core 1.1.7 Apache Mina Core 1.1.7 commons-lang 2.4 commons-lang 2.4 commons-net 1.4.1 commons-net 1.4.1 Darksky Forecast API 1.3.1 Google Weather 2.0.3 groovy 2.0.5.1 groovy 2.0.5.1 InfoPopup / Caller ID 7.0.4 InfoPopup / Caller ID 7.0.4 InfoPopup STVi 7.0.4 InfoPopup STVi 7.0.4 jackson-annotations Library jackson-core Library jackson-databind Library jackson-datatype-jsr310 Library Jetty Web Server 2.3.0.17 Jetty Web Server 2.3.0.17 JSON.org 20140107.2 JSON.org 20140107.2 log4j 1.2.17 log4j 1.2.17 Nielm's Sage Utilities 1.4.4 Nielm's Sage Utilities 1.4.4 Nielm's Sage XML Info 1.4.1 Nielm's Sage XML Info 1.4.1 SageTV Groovy Tools 1.0.4 SageTV Groovy Tools 1.0.4 SageTV Web Interface 3.3.1 SageTV Web Interface 3.3.1 sagex-api - SageTV API Extensions9.1.7.0 sagex-api - SageTV API Extensions 9.1.7.0 Simple Logging Façade for Java API LIbrary (slf4j) 1.7.12 Simple Logging Façade for Java API LIbrary (slf4j) 1.7.12 Simple Logging Façade Log4j Implementation library 1.7.12 Simple Logging Façade Log4j Implementation library 1.7.12 Weather using NWS and Darksky 0.18 beta Weather using NWS API 0.13 beta
__________________
HD300 extender with (2020 New Build) SageTV 64 bit V9.2.2.903 (service mode), Running on Windows 10 (64 bit), Intel Core i7-10700K CPU, 16G RAM, GIGABYTE Z490 UD motherboard. NVidia GTX1650 Super; Viewsonic LCD on one output and Mitsubishi WD57734 HDTV via DVI/HDMI on other output. HDHomeRun HDHR5-4US tuner, Hauppauge "Siena" 1512 HD-PVR2 connected to Cisco Cable modem from Spectrum, tuned with USB-UIRT. Last edited by timg11; 12-24-2020 at 11:37 AM. |
#25
|
||||
|
||||
As I inspect various files comparing the new system (not working) to the old (working) system, I found login.properties and login.conf.
They are identical. I found logs - these are what is logged from running my script: Code:
curl -u TV:***** "http://localhost:8080/sage/Home?xml=currrecording" > c:\batch\SageRecStatus.xml From working system file 2020_12_24.request.log: Code:
0:0:0:0:0:0:0:1 - TV [24/Dec/2020:17:27:40 +0000] "GET /sage/Home?xml=currrecording HTTP/1.1" 200 435 "-" "curl/7.62.0" Code:
0:0:0:0:0:0:0:1 - TV [24/Dec/2020:17:54:42 +0000] "GET /sage/Home?xml=currrecording HTTP/1.1" 403 1406 "-" "curl/7.62.0"
__________________
HD300 extender with (2020 New Build) SageTV 64 bit V9.2.2.903 (service mode), Running on Windows 10 (64 bit), Intel Core i7-10700K CPU, 16G RAM, GIGABYTE Z490 UD motherboard. NVidia GTX1650 Super; Viewsonic LCD on one output and Mitsubishi WD57734 HDTV via DVI/HDMI on other output. HDHomeRun HDHR5-4US tuner, Hauppauge "Siena" 1512 HD-PVR2 connected to Cisco Cable modem from Spectrum, tuned with USB-UIRT. Last edited by timg11; 12-24-2020 at 12:11 PM. |
#26
|
||||
|
||||
Update - I solved it.
By Searching on the phrase Code:
sagetv jetty server 403 "User not in required role" where @skyeclad suggests "By going into the Jetty settings and changing the Username and password 2 times, I was able to correct whatever was a problem." I did the same, using the plugin configuration, change the user/pw to something else, then back again to what is in my script, restarting the server each time. Voila - now it works! Thanks @skyeclad!
__________________
HD300 extender with (2020 New Build) SageTV 64 bit V9.2.2.903 (service mode), Running on Windows 10 (64 bit), Intel Core i7-10700K CPU, 16G RAM, GIGABYTE Z490 UD motherboard. NVidia GTX1650 Super; Viewsonic LCD on one output and Mitsubishi WD57734 HDTV via DVI/HDMI on other output. HDHomeRun HDHR5-4US tuner, Hauppauge "Siena" 1512 HD-PVR2 connected to Cisco Cable modem from Spectrum, tuned with USB-UIRT. |
#27
|
||||
|
||||
I have improved my script to detect Jetty error conditions:
Code:
curl -u TV:***** "http://localhost:8080/sage/Home?xml=currrecording" > c:\batch\SageRecStatus.xml grep ERROR c:\batch\SageRecStatus.xml if not errorlevel==1 goto JettyError grep channelId c:\batch\SageRecStatus.xml if errorlevel==1 goto NotRec echo Recording goto end :JettyError echo Error Returned in XML goto end :NotRec echo Not Recording :end
__________________
HD300 extender with (2020 New Build) SageTV 64 bit V9.2.2.903 (service mode), Running on Windows 10 (64 bit), Intel Core i7-10700K CPU, 16G RAM, GIGABYTE Z490 UD motherboard. NVidia GTX1650 Super; Viewsonic LCD on one output and Mitsubishi WD57734 HDTV via DVI/HDMI on other output. HDHomeRun HDHR5-4US tuner, Hauppauge "Siena" 1512 HD-PVR2 connected to Cisco Cable modem from Spectrum, tuned with USB-UIRT. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Upgrade to 7 - Plug ins from 6 not showing in plug in list | personalt | SageTV v7 Customizations | 1 | 05-23-2010 11:29 AM |
Can anyone help me identify this icon? | ddikeht | SageTV Customizations | 4 | 08-15-2009 09:10 AM |
Nielm's Recording padding plug-in problem | henk99 | SageTV Customizations | 26 | 10-17-2006 01:00 AM |
pvr-250 driver identify and upd | jsturtevant | Hardware Support | 1 | 01-20-2005 06:53 PM |