SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v9 Customizations

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-01-2018, 07:29 AM
KeithAbbott KeithAbbott is offline
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,029
SageTV Web Interface Broke

Recently, my SageTV Web Interface began returning an "Unable to connect" message, it had been working fine previously. I have tried connecting from different browsers on different workstations, to no avail. I have tried to look thru the server log, and have also tried uninstalling (using tmiranda's Remove Plugin and Dependencies) and reinstalling the SageTV Web Interface plugin. Still no joy. I've attached the server log, can anyone take a look and see what the problem might be? TIA
Attached Files
File Type: zip sagetv_0.zip (24.9 KB, 29 views)
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i3-7100T CPU, 16GB Memory, unRAID 6.3.2, SageTV & OpenDCT Dockers
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, 2 x Hauppauge WinTV-HVR-2250 Dual TV Tuner Boards
Clients: Multiple HD300 Extenders
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
  #2  
Old 04-01-2018, 10:31 AM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 3,387
Quote:
Originally Posted by KeithAbbott View Post
Recently, my SageTV Web Interface began returning an "Unable to connect" message, it had been working fine previously. I have tried connecting from different browsers on different workstations, to no avail. I have tried to look thru the server log, and have also tried uninstalling (using tmiranda's Remove Plugin and Dependencies) and reinstalling the SageTV Web Interface plugin. Still no joy. I've attached the server log, can anyone take a look and see what the problem might be? TIA
was this random, or had you recently updated Sage itself, Java, etc.? I assume you rebooted, since that fixed my web interface last time it denied me.
__________________
Sage 7 server = Gigabyte AMD quad-core - 2 gigs - integrated ATI HD4200 chipset - Seagate/Hitachi Deskstar - HD-PVR - Colossus - Win7 32 bit. HD200 networked. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #3  
Old 04-01-2018, 11:37 AM
KeithAbbott KeithAbbott is offline
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,029
Seemed random, I had not done anything that I am aware of. Weird thing is, around the same time my EPG updates broke. I thought it might be that my subscription to SD had expired, but that was not the case. Turned out Sage forgot my SD userid and password, once I re-entered it the EPG was back fully functional. I'm not sure why Sage would have forgotten the id and password, I certainly did not do anything I'm aware of to delete it.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i3-7100T CPU, 16GB Memory, unRAID 6.3.2, SageTV & OpenDCT Dockers
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, 2 x Hauppauge WinTV-HVR-2250 Dual TV Tuner Boards
Clients: Multiple HD300 Extenders
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
  #4  
Old 04-01-2018, 12:20 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,543
This seems odd..

/opt/sagetv/server/jetty/etc/jetty.xml (No such file or directory)

So, a couple things... does it have permissions (assuming you are using unRAID as per your sig_). Is your /opt/sagetv mount correct? Did it change, etc?
Reply With Quote
  #5  
Old 04-01-2018, 12:31 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 3,387
Quote:
Originally Posted by KeithAbbott View Post
Seemed random, I had not done anything that I am aware of. Weird thing is, around the same time my EPG updates broke. I thought it might be that my subscription to SD had expired, but that was not the case. Turned out Sage forgot my SD userid and password, once I re-entered it the EPG was back fully functional. I'm not sure why Sage would have forgotten the id and password, I certainly did not do anything I'm aware of to delete it.
If you wanted to change the userid and password, where is that done?
__________________
Sage 7 server = Gigabyte AMD quad-core - 2 gigs - integrated ATI HD4200 chipset - Seagate/Hitachi Deskstar - HD-PVR - Colossus - Win7 32 bit. HD200 networked. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #6  
Old 04-01-2018, 01:13 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,543
This is seeming more and more like your sagetv data is NOT volume mapped to the unRAID array... so, restarting sagetv basically wipes the data. Is your Wiz.bin being emptied as well? Or maybe there is some filesystem corruption? Have you ran a parity check lately?
Reply With Quote
  #7  
Old 04-01-2018, 01:39 PM
KeithAbbott KeithAbbott is offline
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,029
Quote:
Originally Posted by stuckless View Post
This is seeming more and more like your sagetv data is NOT volume mapped to the unRAID array... so, restarting sagetv basically wipes the data. Is your Wiz.bin being emptied as well? Or maybe there is some filesystem corruption? Have you ran a parity check lately?
I think my Wiz.bin is OK, I haven't seen any issues in running SageTV itself in the past few weeks (the web interface broke a few weeks ago, I'm just getting around to trying to get it working again). Not sure about the file system corruption, I haven't noticed anything else with issues. The last parity check was March 6th, it found 15 errors. I have parity check set to run monthly, and to write any corrections to the parity disk.

Thinking back, I did add a second cache drive around the same time, so now I have a pool of two cache drives for redundancy. When I added the second cache drive, I changed each of the Shares so that they did not use the cache drive, and then ran the mover. Then I added the second cache drive, but had not gotten around yet to changing the Shares back to the earlier settings (Prefer, etc.). Except for the sagemedia share, that one I set back to Yes after adding the second cache drive.

Maybe Jetty is still expecting to find the xml file in the cache pool?
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i3-7100T CPU, 16GB Memory, unRAID 6.3.2, SageTV & OpenDCT Dockers
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, 2 x Hauppauge WinTV-HVR-2250 Dual TV Tuner Boards
Clients: Multiple HD300 Extenders
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
  #8  
Old 04-01-2018, 01:59 PM
KeithAbbott KeithAbbott is offline
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,029
Quote:
Originally Posted by tvmaster2 View Post
If you wanted to change the userid and password, where is that done?
IIRC, I re-entered it within SageTV, under Setup > Setup Video Sources, selected the appropriate tuner, and then clicked on the EPG Lineup portion of that screen.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i3-7100T CPU, 16GB Memory, unRAID 6.3.2, SageTV & OpenDCT Dockers
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, 2 x Hauppauge WinTV-HVR-2250 Dual TV Tuner Boards
Clients: Multiple HD300 Extenders
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
  #9  
Old 04-01-2018, 07:14 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 6,589
Quote:
Originally Posted by tvmaster2 View Post
If you wanted to change the userid and password, where is that done?
For the Jetty server? That is done within the Plugin-Configure screen.
__________________
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
Reply With Quote
  #10  
Old 04-01-2018, 08:12 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 3,387
Quote:
Originally Posted by wayner View Post
For the Jetty server? That is done within the Plugin-Configure screen.
thanks, found it. forgot I hadnít changed the default. oops
__________________
Sage 7 server = Gigabyte AMD quad-core - 2 gigs - integrated ATI HD4200 chipset - Seagate/Hitachi Deskstar - HD-PVR - Colossus - Win7 32 bit. HD200 networked. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #11  
Old 04-08-2018, 11:23 AM
KeithAbbott KeithAbbott is offline
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,029
Quote:
Originally Posted by stuckless View Post
This seems odd..

/opt/sagetv/server/jetty/etc/jetty.xml (No such file or directory)

So, a couple things... does it have permissions (assuming you are using unRAID as per your sig_). Is your /opt/sagetv mount correct? Did it change, etc?
Trying to get back to the original issue in this thread, as my Web Interface is still broken.

stuckless (or anyone else who may be able to help), I switched the logging for Jetty to "debug", in case that logging level provides additional clues. The log is attached.
Attached Files
File Type: zip sagetv_0.zip (27.5 KB, 20 views)
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i3-7100T CPU, 16GB Memory, unRAID 6.3.2, SageTV & OpenDCT Dockers
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, 2 x Hauppauge WinTV-HVR-2250 Dual TV Tuner Boards
Clients: Multiple HD300 Extenders
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
  #12  
Old 04-10-2018, 04:45 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Anything of interest in the <SAGEHOME>/jetty/logs directory?
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #13  
Old 04-10-2018, 05:33 PM
KeithAbbott KeithAbbott is offline
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,029
Quote:
Originally Posted by KarylFStein View Post
Anything of interest in the <SAGEHOME>/jetty/logs directory?
Thanks for the reply, neighbor. I've attached the entire contents of the <SAGEHOME>/jetty/logs directory, which are six log files, the most recent one being from 3/3/2018. I suspect that Jetty/Web Interface broke shortly after that. Not sure if the log files will help much, though.
Attached Files
File Type: zip Jetty Log Files.zip (3.0 KB, 18 views)
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i3-7100T CPU, 16GB Memory, unRAID 6.3.2, SageTV & OpenDCT Dockers
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, 2 x Hauppauge WinTV-HVR-2250 Dual TV Tuner Boards
Clients: Multiple HD300 Extenders
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
  #14  
Old 04-10-2018, 06:30 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Yeah, no help.

Do you have the following directory and files?

Code:
# ls /mnt/user/appdata/sagetv/server/jetty/etc/
jetty-ajp.xml      jetty-ssl.xml        keystore          mime.types
jetty-jaas.xml     realm.properties
jetty-logging.xml  jetty-sslengine.xml  login.conf        webdefault.xml
jetty-plus.xml     jetty.xml            login.properties
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #15  
Old 04-11-2018, 05:56 AM
KeithAbbott KeithAbbott is offline
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,029
Here are the directories under /mnt/user/appdata/sagetv/server/jetty/
  • contexts
  • logs
  • static
  • webapps
There is no etc directory to be found. I have uninstalled and reinstalled the web UI (and it's dependencies) several times, and the etc directory has yet to be recreated. Maybe I'll look into uninstalling all of the plugins (I don't use very many), and try to reinstall the web UI first to see if that makes a difference.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i3-7100T CPU, 16GB Memory, unRAID 6.3.2, SageTV & OpenDCT Dockers
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, 2 x Hauppauge WinTV-HVR-2250 Dual TV Tuner Boards
Clients: Multiple HD300 Extenders
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
  #16  
Old 04-11-2018, 06:04 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Well, that's strange. I'd look to see the directory permissions:

Code:
ls -ald /mnt/user/appdata/sagetv/server/jetty
And maybe see if the files are getting put somewhere else for some reason:

Code:
find / -type f -name jetty.xml
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #17  
Old 04-11-2018, 03:45 PM
KeithAbbott KeithAbbott is offline
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,029
Here's the output from the ls command:
Code:
root@SageTV:~# ls -ald /mnt/user/appdata/sagetv/server/jetty
drwxr-xr-x 1 nobody users 83 Feb 25 19:00 /mnt/user/appdata/sagetv/server/jetty/
Here's the output from the find command:
Code:
root@SageTV:~# find / -type f -name jetty.xml
find: WARNING: Hard link count is wrong for `/proc/fs' (saw only st_nlink=10 but we already saw 8 subdirectories): this may be a bug in your file system driver.  Automatically turning on find's -noleaf option.  Earlier results may have failed to include directories that should have been searched.
I'm going to try uninstalling all plugins, and then reinstall the web UI plugin.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i3-7100T CPU, 16GB Memory, unRAID 6.3.2, SageTV & OpenDCT Dockers
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, 2 x Hauppauge WinTV-HVR-2250 Dual TV Tuner Boards
Clients: Multiple HD300 Extenders
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
  #18  
Old 04-11-2018, 04:04 PM
KeithAbbott KeithAbbott is offline
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,029
Uninstalling all plugins, and then reinstalling the web UI seemed to do the trick. I have a feeling Jetty was not getting uninstalled fully before. Thanks for everyone's help!
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i3-7100T CPU, 16GB Memory, unRAID 6.3.2, SageTV & OpenDCT Dockers
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, 2 x Hauppauge WinTV-HVR-2250 Dual TV Tuner Boards
Clients: Multiple HD300 Extenders
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 9.1.1.651 broke HVR-1600 graywolf SageTV Github Development 24 06-04-2017 08:29 AM
Java broke SageTV dvd_maniac SageTV Software 6 06-14-2014 07:02 PM
Broke my SageTV STV KryptoNyte SageTV Software 2 07-16-2009 10:18 PM
Help SageTV broke, several problems carlgar SageTV Software 3 01-04-2004 02:22 PM
Just registered and SageTV has broke jimbobuk SageTV Beta Test Software 2 05-21-2003 04:02 AM


All times are GMT -6. The time now is 07:02 PM.


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