|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Upgrading Jetty from SageTV 6 to SageTV 7
In SageTV 7, it is no longer necessary to go to various web sites (SourceForge.net, Google Code, etc) to install plugins. They can be installed from one place in the SageTV Plugin Manager. In addition to that, in order to make the migration of Jetty from SageTV 6 to SageTV 7 as smooth as possible, the Jetty plugin does some magic the first time it's run on SageTV 7.
Cleans up the load_at_startup_runnable_classes entry V7 plugins like Jetty are started differently than in previous SageTV versions. The load_at_startup_runnable_classes entry in Sage.properties is no longer used and the Jetty-specific classes will be automatically removed when Jetty starts in V7. Migrates properties Originally I wanted users to be able to change Jetty's properties and restart it without restarting SageTV. To do that, I put all the properties in JettyStarter.properties so the user wouldn't have to shut down SageTV to edit the properties file. However I never got around to supporting the restarting of Jetty. Since Jetty can now be restarted within the new plugin editor in SageTV 7, I'm moving all the properties to Sage.properties. The plugin reads all your existing properties from JettyStarter.properties and moves them to the set of properties prefixed by jetty/ in Sage.properties. You will not need to be concerned about details of this unless you decided to set up an SSL keystore in V7 (more information about this will be posted on the Jetty wiki). If you already had an SSL keystore in V6 then that will be automatically set up in V7 for you. Existing files There are two choices for dealing with a SageTV V6 Jetty install to ensure a smooth transition. Either uninstall Jetty, or make sure you are running Jetty plugin 1.6 (which contains the same Jetty version - 6.1.19 - as the Jetty plugin 1.7 EDIT: there will not be an official version 1.7, it will be version 2.0 instead). Either of these methods ensures that you will not end up with duplicate JAR files in your JARs folder. Future updates As updates are delivered in the future, you will see a message to update them in SageTV's plugin manager. Your existing settings such as port numbers (Sage.properties) and users (jetty/etc/realm.properties) will be preserved - no need to back them up!
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. Last edited by jreichen; 05-28-2010 at 07:28 PM. Reason: Change version 1.7 to 2.0 |
#2
|
|||
|
|||
So we can grab updates right from the plugin manager?
|
#3
|
||||
|
||||
You can grab updates, browse for new plugins, configure plugins, etc right from the SageTV UI.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#4
|
|||
|
|||
If I try to set a new username and password for the web server it says incorrect password as I try to set a new password in the sage 7 UI. Are there complexity restrictions on the password.
Great job on the improvements. |
#5
|
||||
|
||||
No. The dialog asks for your current password first, then the new password twice. If you have the default password, then it is 'frey'. The next update will say that in the help text.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#6
|
|||
|
|||
I have never installed Jetty or attempted to use any of the newer Jetty addons. Now that v7 is out, it seems like a good time to move to these plugins.
Can I simply add the "Jetty Web Server" plugin for v7 and get all the Jetty backbone parts that I need now? I'm hoping it is that simple, but wanted to make sure. Once that plugin is installed, then I assume I can load up the new Jetty Web Browser and other plugins that are available.
__________________
i7-6700 server with about 10tb of space currently SageTV v9 (64bit) Ceton InfiniTV ETH 6 cable card tuner (Spectrum cable) OpenDCT HD-300 HD Extenders (hooked to my whole-house A/V system for synched playback on multiple TVs - great during a Superbowl party) Amazon Firestick 4k and Nvidia Shield using the MiniClient Using CQC to control it all |
#7
|
||||
|
||||
Yes selecting Jetty will give you the server and you can configure the HTTP port etc from the plugin configuration screen. But that in itself won't give you anything useful, you'll then need to install the web UI, mobile web UI, recording extender (SRE), metadata tools (BMT), etc web apps.
There's still a little work to do as far as guiding the user to the right URL, but the functionality is all there. To get to the apps go to http://<server>:<port>/sage/Home (web UI), /sagem/m/menu.jsp (mobile web UI), /sre, /bmt, etc. EDIT: You can install one of the web apps and it will pick up Jetty as a dependency and install it for you.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. Last edited by jreichen; 05-21-2010 at 09:01 AM. |
#8
|
|||
|
|||
Quote:
It seems that this new plugin idea for V7 is going to make all this customization much easier. Thanks,
__________________
i7-6700 server with about 10tb of space currently SageTV v9 (64bit) Ceton InfiniTV ETH 6 cable card tuner (Spectrum cable) OpenDCT HD-300 HD Extenders (hooked to my whole-house A/V system for synched playback on multiple TVs - great during a Superbowl party) Amazon Firestick 4k and Nvidia Shield using the MiniClient Using CQC to control it all |
#9
|
||||
|
||||
What if I'm still running the older, non-Jetty version (v2.25 Tiny Java WS version with SSL keystore, users, port all set up)? Will installing Jetty from v7 pick up my pre-existing configuration? If not, what is my best upgrade option?
__________________
-Eric Client: STX-HD100 Extender, Connected to 47" Visio 1080p LCD via HDMI, Running SageMC Client: Media MVP Running SageMC Server: Antec SLK3800B, AMD Athlon 64 X2 4200+, Biostar TForce 550, GeForce 7300LE, 1GB DDR2 800, 2 x HVR-1600, PVR-150MCE, 1.4TB HD Space, XP Pro, Java6, Latest SageTV Version |
#10
|
||||
|
||||
There's a wiki page (from Sage v6) about moving nielm's web server from TJWS to Jetty. That will get you up to Jetty 1.6. Once you're there you can upgrade to Jetty 1.7 from the plugin manager and it will migrate your settings to the new plugin system, including SSL.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#11
|
||||
|
||||
Quote:
__________________
-Eric Client: STX-HD100 Extender, Connected to 47" Visio 1080p LCD via HDMI, Running SageMC Client: Media MVP Running SageMC Server: Antec SLK3800B, AMD Athlon 64 X2 4200+, Biostar TForce 550, GeForce 7300LE, 1GB DDR2 800, 2 x HVR-1600, PVR-150MCE, 1.4TB HD Space, XP Pro, Java6, Latest SageTV Version |
#12
|
||||
|
||||
OK let me know how it goes. I tried to automate the upgrade but there are too many scenarios to cover them all automatically. This is probably the most complex. My recommendation is to either manually get Jetty to version 1.6, or uninstall Jetty. Then install/upgrade Jetty 1.7 from the plugin manager. From that point forward you can always use the plugin manager.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#13
|
|||
|
|||
Check Jetty Version
How can I check my jetty version? I'm pretty sure it's 1.6, but I want to make sure. I didn't see it under system information. I think there was a page in SageMC that displayed it, (along with phoenix version, etc) but I don't see it anywhere in the v7 stv.
|
#14
|
||||
|
||||
I successfully migrated the nielm's web server from TJWS to Jetty. I actually had Jetty installed already (because of BMT), so all I had to do was set up my config files.
After I installed the Jetty webserver and the web interface from within SageTV v7, the web interface still says it's at version 2.25. Other than that, everything seems to be working great! Thanks again for your help. (Also: WOW! The Jetty version is A LOT faster!)
__________________
-Eric Client: STX-HD100 Extender, Connected to 47" Visio 1080p LCD via HDMI, Running SageMC Client: Media MVP Running SageMC Server: Antec SLK3800B, AMD Athlon 64 X2 4200+, Biostar TForce 550, GeForce 7300LE, 1GB DDR2 800, 2 x HVR-1600, PVR-150MCE, 1.4TB HD Space, XP Pro, Java6, Latest SageTV Version |
#15
|
||||
|
||||
You can get it from the Sage log.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#16
|
||||
|
||||
Quote:
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#17
|
||||
|
||||
Has anyone seen this error?
nevermind. didn't have user behind password.
__________________
Intel Core Duo 2.5mhz, 2gb RAM Windows Home Server, Sage 7 beta 2 Hauppauge PVR-250, 1 PVR-500 MCE 1 HDHomeRun 4TB Storage, GB Network 2 MVPs, 1 HD100 & 1 HD300 Last edited by lotusvball; 05-27-2010 at 09:26 PM. Reason: oopps |
#18
|
|||
|
|||
Quote:
Thanks.
__________________
Server: SageTV 7, WHS, AMD Phenom x4 9500, 3 TB Storage Tuners: 2x HDHR (OTA), 1 HDHR-Prime Clients: 2x HD-200, 1x HD-300 1 Placeshifter |
#19
|
||||
|
||||
I went into the Jetty folder. and then into realm.properties (i think) and behind my user: password I added ,user right after the password.
BTW. I set this up doing the install plugin option and configured it through sage. I changed the username and password. The configuration did not add the user. This seems to be a small bug. If this could be corrected it would help others. I did a new install not an upgrade from 1.6. Where do I change the background image for the webpage?
__________________
Intel Core Duo 2.5mhz, 2gb RAM Windows Home Server, Sage 7 beta 2 Hauppauge PVR-250, 1 PVR-500 MCE 1 HDHomeRun 4TB Storage, GB Network 2 MVPs, 1 HD100 & 1 HD300 Last edited by lotusvball; 05-28-2010 at 08:23 AM. |
#20
|
|||
|
|||
Thank you!!! That was exactly what I needed. I now have access to Metadata tools web interface, but now I'm getting a "not_found" error when I try the SageTV web interface. I'll tackle that one now.
__________________
Server: SageTV 7, WHS, AMD Phenom x4 9500, 3 TB Storage Tuners: 2x HDHR (OTA), 1 HDHR-Prime Clients: 2x HD-200, 1x HD-300 1 Placeshifter |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: SageTV Web Interface V2 for Jetty | jreichen | SageTV Customizations | 256 | 02-09-2014 08:05 AM |
Upgrading SageTV | mzup | SageTV Software | 7 | 10-24-2009 03:23 PM |
Upgrading SageTV | jillsy | SageTV Software | 5 | 03-13-2009 12:08 AM |
Need help upgrading Sagetv Software | Jetracers | SageTV Software | 4 | 01-26-2008 06:17 AM |