SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #2181  
Old 01-13-2009, 01:43 PM
RayN RayN is offline
Sage User
 
Join Date: Jun 2004
Posts: 39
Quote:
Originally Posted by geogecko View Post
I tried everything to set mine up on 8080. I could not ever get it to work. I eventually switched to 8088, and everything was fine.
How many places within the Sage webserver installation do I have to change 8080 to 8088?
Reply With Quote
  #2182  
Old 01-13-2009, 01:45 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Should just be one place, in the sage.properties file (make sure you shut down Sage, and Sage service, if using it, before updating the port, or the change will not take effect). Then of course, all your port forwarding and what not. But for Sage, that should be the only place you have to change it.
__________________
-Jason
Reply With Quote
  #2183  
Old 01-13-2009, 02:02 PM
RayN RayN is offline
Sage User
 
Join Date: Jun 2004
Posts: 39
Quote:
Originally Posted by geogecko View Post
Should just be one place, in the sage.properties file (make sure you shut down Sage, and Sage service, if using it, before updating the port, or the change will not take effect). Then of course, all your port forwarding and what not. But for Sage, that should be the only place you have to change it.
I changed it in the sage.properties file and now the webserver doesn't work on either port 8080 or 8088

Ray
Reply With Quote
  #2184  
Old 01-13-2009, 02:21 PM
RayN RayN is offline
Sage User
 
Join Date: Jun 2004
Posts: 39
Quote:
Originally Posted by RayN View Post
I changed it in the sage.properties file and now the webserver doesn't work on either port 8080 or 8088

Ray
Nevermind! The sage application actually needs to be running for the webserver to connect. I now have it running on 8088.

However, I still cannot connect form outside the sage machine.
Reply With Quote
  #2185  
Old 01-13-2009, 03:10 PM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Did you specify what machine to forward 8080 to in the router? Might be under "port forwarding", you need to specify that 8080 goes to the Sage machine.
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #2186  
Old 01-13-2009, 03:24 PM
RayN RayN is offline
Sage User
 
Join Date: Jun 2004
Posts: 39
Quote:
Originally Posted by RayN View Post
Nevermind! The sage application actually needs to be running for the webserver to connect. I now have it running on 8088.

However, I still cannot connect form outside the sage machine.
I was able to connect from another computer on my network by entering

http://192.168.0.106:8088/sage/Home

in my browser. The webserver asked for authentication 3 times before it let me in, but it did. If this works, why can't I connect using

<username>.no-ip.org/sage/Home

from the same computer.

I've got port forwarding and an HTTP virtual server to port 8088 to my sage machine (192.168.0.106) and Dynamic DNS set up.

Sorry for all of the posts but I'm under time constraints

Ray
Reply With Quote
  #2187  
Old 01-13-2009, 03:31 PM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Port Forwarding only, no Virtual Server, try turning that off. Make sure your Windows Firewall on the server is off.

Try connecting to your External IP without using no-ip, check if the problem is no-ip, i.e.:
http://123.1.1.123:8088/sage/Home

Quote:
<username>.no-ip.org/sage/Home
You added the port number though?
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #2188  
Old 01-13-2009, 03:45 PM
RayN RayN is offline
Sage User
 
Join Date: Jun 2004
Posts: 39
Quote:
Originally Posted by rickgillyon View Post
Port Forwarding only, no Virtual Server, try turning that off. Make sure your Windows Firewall on the server is off.

Try connecting to your External IP without using no-ip, check if the problem is no-ip, i.e.:
http://123.1.1.123:8088/sage/Home



You added the port number though?
Rick,

That actually worked -- with or without the Windows firewall. Does that mean that the no-ip service is faulty? What happens if the external IP changes while I'm away? I don't have a method of finding out what it was changed to.

Ray
Reply With Quote
  #2189  
Old 01-13-2009, 03:54 PM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Give dyndns.org a try, that's what I use, and don't add the port number to the setup on no-ip or dyndns. You have to put it on the address line.
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #2190  
Old 01-13-2009, 04:13 PM
RayN RayN is offline
Sage User
 
Join Date: Jun 2004
Posts: 39
Quote:
Originally Posted by rickgillyon View Post
Give dyndns.org a try, that's what I use, and don't add the port number to the setup on no-ip or dyndns. You have to put it on the address line.
I set up a dyndns account and I put the following address in my browser

http://<username>.dyndns.tv:8088/sage/Home

and it actualy WORKED!

Thanks Rick and geogecko for your prompt help.

Ray
Reply With Quote
  #2191  
Old 01-13-2009, 04:47 PM
jpappas jpappas is offline
Sage User
 
Join Date: Feb 2007
Location: Texas USA
Posts: 47
Linux VLC running as root...

Hey All,

I am sorry if this is in the wrong place, but I am not sure how to go about getting help with this problem. I am running Linux (openSUSE 11.1) and have vlc 0.9.8a installed. I have just recently discovered that VLC has turned on enforcement of vlc running as root (See Here and Here on the VLC forums), such that:
Code:
sage:/opt/sagetv/server/webserver # vlc
VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use vlc-wrapper (make sure it is Set-UID root first and
cannot be run by non-trusted users first).
As a result, the "transcode" URLs (ie http://sage/sagepublic/MediaFileTran...mux=ts&deint=1) result in the following output:
Code:
Exception while processing MediaFileTranscode Servlet:
java.io.IOException: Cannot run program ""/usr/bin/vlc"": java.io.IOException: error=2, No such file or directory
java.io.IOException: Cannot run program ""/usr/bin/vlc"": java.io.IOException: error=2, No such file or directory
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
	at java.lang.Runtime.exec(Runtime.java:593)
	at java.lang.Runtime.exec(Runtime.java:431)
	at net.sf.sageplugins.webserver.VlcTranscodeMgr.startTranscodeProcess(VlcTranscodeMgr.java:151)
	at net.sf.sageplugins.webserver.MediaFileTranscodeServlet.doServletGet(MediaFileTranscodeServlet.java:110)
	at net.sf.sageplugins.webserver.SageServlet.doGet(SageServlet.java:82)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at Acme.Serve.ServeConnection.runServlet(Serve.java:1501)
	at Acme.Serve.ServeConnection.parseRequest(Serve.java:1476)
	at Acme.Serve.ServeConnection.run(Serve.java:1363)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.(UNIXProcess.java:148)
	at java.lang.ProcessImpl.start(ProcessImpl.java:65)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
	... 11 more
As far as I can tell, the only way to bypass/fix this problem is to either:
  1. Compile vlc with the enforcement disabled
  2. Run SageTV as non-root
Neither option is appealing from a support perspective as I do not want to manage deps for #1 and SageTV Proper does not (AFAIK?) support running as non-root.

Any input here would be appreciated.
jp
Reply With Quote
  #2192  
Old 01-13-2009, 05:03 PM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Quote:
Originally Posted by RayN View Post
I set up a dyndns account and I put the following address in my browser
http://<username>.dyndns.tv:8088/sage/Home
and it actualy WORKED!
How often does your IP change? If it's not very often (mine lasts around 6 months), and your router allows it, tell it to update dyndns every few weeks whether the IP changes or not. If dyndns isn't logged into/updated for a month, it can require you to login to confirm it's still required. my router does it automatically...
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #2193  
Old 01-13-2009, 06:10 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Hmm, that is interesting. I have been using the client application from dyndns. Now I noticed that my new router supports this feature, I may give that a shot, and eliminate another piece of software that has to be installed.
__________________
-Jason
Reply With Quote
  #2194  
Old 01-13-2009, 10:06 PM
RayN RayN is offline
Sage User
 
Join Date: Jun 2004
Posts: 39
Quote:
Originally Posted by rickgillyon View Post
How often does your IP change? If it's not very often (mine lasts around 6 months), and your router allows it, tell it to update dyndns every few weeks whether the IP changes or not. If dyndns isn't logged into/updated for a month, it can require you to login to confirm it's still required. my router does it automatically...
I don't know how often it changes--I've not checked it before. I've installed the dyndns updater application. I don't think my router will do it automatically.

Thanks again for your help.

Ray
Reply With Quote
  #2195  
Old 01-15-2009, 08:09 PM
Zone99 Zone99 is offline
Sage User
 
Join Date: Nov 2008
Posts: 30
resetting the user?

Hi,

I'm sure it's buried in the 101 pages of this thread SOMEWHERE but...101 pages is a lot to go through!!

How do I quickly reset the user and password I set when I set the webserver up? I think I'm mixing up my usernames/passwords and I figure it's probably easier if I just reset it.

Thanks.
Reply With Quote
  #2196  
Old 01-15-2009, 08:22 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Quote:
Originally Posted by Zone99 View Post
Hi,

I'm sure it's buried in the 101 pages of this thread SOMEWHERE but...101 pages is a lot to go through!!

How do I quickly reset the user and password I set when I set the webserver up? I think I'm mixing up my usernames/passwords and I figure it's probably easier if I just reset it.

Thanks.
...\SageTV\SageTV\webserver\realms.properties

# top level userassword
SageTV Web Interface=/sage,useridassword

LOL, okay, that should read:

Code:
# top level user:password
SageTV Web Interface=/sage,userid:password
__________________
-Jason
Reply With Quote
  #2197  
Old 01-16-2009, 12:35 PM
SageGk SageGk is offline
Sage Aficionado
 
Join Date: Mar 2008
Posts: 391
Can we queue video conversion jobs with this plugin?
Reply With Quote
  #2198  
Old 01-16-2009, 12:55 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Quote:
Originally Posted by SageGk View Post
Can we queue video conversion jobs with this plugin?
Yes!
__________________
-Jason
Reply With Quote
  #2199  
Old 01-16-2009, 01:15 PM
SageGk SageGk is offline
Sage Aficionado
 
Join Date: Mar 2008
Posts: 391
Quote:
Originally Posted by geogecko View Post
Yes!
lol, how? I can't seem to find the option.
Reply With Quote
  #2200  
Old 01-16-2009, 01:22 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Goto SageTV (first menu item at the top) >> Sage Recordings

Find the recording you want to convert, and click on it.

Menu on the left, the third button from the bottom says, "Convert."

You can check the status at SageTV >> Video Conversions.
__________________
-Jason
Reply With Quote
Reply

Tags
web


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 

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
Plugin: Mobile Web Interface 1.2 jreichen SageTV Customizations 281 06-17-2011 02:20 PM
Can't get Web-based User Interface to install SSBrian SageTV Customizations 3 11-04-2008 08:12 PM
Web User interface link for the metadata file. zzmystique SageTV Customizations 0 06-21-2008 02:26 AM
Idea to enhance the Web User Interface: Messaging jbarr SageTV Customizations 3 05-14-2007 03:59 PM
Linkplayer, Linktheater with SageTV Web User Interface fyodor SageTV Customizations 0 10-08-2006 06:03 PM


All times are GMT -6. The time now is 09:53 PM.


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