|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#41
|
||||
|
||||
What is your JVM's max heap size setting?
__________________
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. |
#42
|
|||
|
|||
I got it running in jetty and it seems to be working perfectly now. thanks.
Quote:
|
#43
|
||||
|
||||
JVM heap size is 768 MB.
S |
#44
|
||||
|
||||
How the heck did I accidentally make it all work with SSH? :)
Okay, I'm trying to figure out what I did to make SSH work. However something doesnt make sense.
This is what I did: Replaced JettyStarter.properties with the default one and only changed the default port to 8380. I did NOTHING else. Then, I stopped the sageTV service, exited sageTV.exe from memory and installed SageWebserverSetup_2_25.exe. I let it use my existing realms file to keep my username/passwords. I also unchecked all the checkboxes except for the top one to just add port 8090 to my sageTV.properties file. Port 8090 used to be the port I used for neilm's ssh port. Then, started sageTVservice and sageTV.exe. I had an old bookmark/favorite to my old https neilm webserver and just clicked it expecting it to of course not work since SSH wasn't even defined in Jetty. Guess what? I am not in the webserver with SSH using my old ssh certificate. What the heck??? I double checked to make sure I didnt install an old non-jetty version of the websever, but its definitely the latest one... and just used https without any issues AND without any SSH stuff defined in the JettyStarter.properties file. I'm glad everything seems to be working. But, what's going on? Whats the SSH stuff in the JettyStarter.properties file for then? Thanks! Michael Quote:
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#45
|
||||
|
||||
You installed the old standalone version of Nielms webserver. The Jetty version does not have an .exe installer just a .zip file.
S |
#46
|
||||
|
||||
EDIT: UPDATE... thank you, now I can get it using Jetty (without SSH)
Using: http://localhost:8380/sage/home However, all the username/passwords defined in realms is now ignored (see below example). How can I tell the jetty version of the websever to have an admin username/password and a guest account which has access to everything, but it's read only. The new realms file for jetty looks completely different with: <username>: <password>,<rolename> sage: frey,user However, I'm not sure if there's a read-only role such as "guest" instead of user. How would I set this up in jetty? Is there an easy documentian webpage which explains how to setup a full access, read-only username,pasword for jetty? (What I used to have in the neilms websever realms file) SageTV Web Actions=/sage/Command,admin:letmein SageTV Web Actions=/sage/AiringCommand,admin:letmein SageTV Web Actions=/sage/ManualRecord,admin:letmein SageTV Web Actions=/sage/ResolveConflict,admin:letmein SageTV Web Actions=/sage/TimedRecord,admin:letmein SageTV Web Actions=/sage/MediaFileCommand,admin:letmein SageTV Web Actions=/sage/ForceEpgUpdate,admin:letmein SageTV Web Actions=/sage/EditShowInfo,admin:letmein SageTV Web Actions=/sage/EncodeCommand,admin:letmein SageTV Web Actions=/sage/FavoriteCommand,admin:letmein # Admin user access to info screens SageTV Web Actions=/sage,admin:letmein # Guest user acess to normal screens SageTV Web Interface=/sage,guest:guest
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** Last edited by mkanet; 10-05-2009 at 06:12 AM. |
#47
|
||||
|
||||
Read-only access in Jetty webserver
Okay, went through a quick beginners jetty crash course and got everything up and running BMT, jetty webserver, self-signed ssh certificate for Jetty, and a couple of standard usernames/passwords
However, here's the big Jetty Webserver question of the day: How do I setup a guest account that can access all parts of the sageTV webserver (ie,TV recordings, favorites, guide, etc)... with read-only access in Jetty? I used to be able to do this using the old webserver (shown in my previous post above). I found something in one of my google searches which looked really promising: guest: guest,read-only However, it produced the below error. I'm sure this will be asked over and over again in the future to come.. so might as well have it documented sooner rather than later (at least searchable in this thread). HTTP ERROR 403 Problem accessing /sage/home. Reason: User not in required rolePowered by Jetty://
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#48
|
||||
|
||||
@mkanet I believe you mean SSL, not SSH. SSH is like telnet only encrypted.
|
#49
|
||||
|
||||
Quote:
Before putting in the time to fill in the gaps, I want to see which ones are most missed by users. Jetty is very configurable, but mainly for the app developer and not so much for the end user. For this feature, I could add the 'admin' command urls to the app and associate them with a role name. You would then associate that role with the users you configure in the jetty/etc/realm.properties file.
__________________
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. |
#50
|
||||
|
||||
Ohoh... I was hoping that this was a limitation of my ability to figure out how to do it, not a limitation of the plugin!
If you add the 'admin' command urls to the app and associate them with a role name, would that mean that everything else thats not explicitly defined would default to read-only (cannot add, modify, delete)? Maybe I didn't understand you right. Anyway, I'm surprised there's no general read-only functionality for jetty apps. It would be nice to have read-only permissions for BMT as well. Is there anyway at all for the user to do it through the realms.properties file at all or some kind of clever workaround? I REALLY would like to do this; as this is the ONLY limitation that I have found upgrading to the jetty version. Everything else works just like it used to as far as I can tell. Quote:
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#51
|
||||
|
||||
LOL... believe it or not, I was playing with my SSH client today...Tunelier while I was writing that post. I totally didnt catch that! haha
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#52
|
|||
|
|||
Is there any reason why I cannot run both Nielm's old web server and the new jetty version, at least until I become comfortable with the new jetty version?
I run several other jetty apps such as SageMobileWeb, SRE, SJQ, SageAlert so can I just through these new files in my jetty folder?
__________________
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 |
#53
|
||||
|
||||
I'm curious once you get the jetty version going.. what is there thats different beside the issue with not being able to define read-only guest accounts? Everything looks identical to me... the only thing that's different is it seems to be a little bit faster in general.
Quote:
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#54
|
|||
|
|||
Does that mean that I can run both Web apps concurrently? May I suggest that a new thread be started that just starts with the launch of the Jetty version and that the old thread point folks to this version. It might be more helpful than having a 2400+ post thread as this one has become!
__________________
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 |
#55
|
|||
|
|||
Quote:
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#56
|
|||
|
|||
I hate to show my ignorance, but what is the benefit to using Jetty?
__________________
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 |
#57
|
|||
|
|||
Quote:
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#58
|
||||
|
||||
In respect to his sageTV web interface, the main advantage would be you wont have to bloat sageTV by loading a second java webserver into memory if jetty is already serving other addons like BMT.
The next benefit would be that you dont have to restart sageTV every time you want to install or update a new jetty-based app. I'm sure there are many more benefits to using jetty that others here might mention. I honestly cant tell the difference with the jetty version and the original version running side by side; except the jetty version seems to be a little bit faster; especially when loading complex html pages filled with small bitmapped images such as a gigantic guide with many, MANY channel logos.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#59
|
||||
|
||||
Quote:
Quote:
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. |
#60
|
||||
|
||||
Quote:
Perfect
__________________
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. |
Tags |
web |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: Web User Interface for SageTV 2.2-6.6 (V2.25 18 Sep 2009) | nielm | SageTV Customizations | 2644 | 10-24-2016 10:18 AM |
Plugin: Jetty Starter 1.6 | jreichen | SageTV Customizations | 122 | 09-07-2012 06:48 PM |
Plugin: Mobile Web Interface 1.2 | jreichen | SageTV Customizations | 281 | 06-17-2011 02:20 PM |
SageTV Web Interface - recording padding | snowyb79 | SageTV Customizations | 1 | 03-16-2011 01:10 AM |