SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-27-2011, 02:17 AM
Micatech Micatech is offline
New Member
 
Join Date: Jan 2011
Location: Australia
Posts: 1
Ubuntu 11.04 and SageTV V7

I have been running SageTV V7 with Ubuntu 10.10 very sucessfully up until now. I installed Ubuntu 11.04 and I cannot install SageTV. The install starts but hangs. Does anyone know of any compatability issues or tips?
Reply With Quote
  #2  
Old 02-27-2011, 07:44 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Micatech View Post
I have been running SageTV V7 with Ubuntu 10.10 very sucessfully up until now. I installed Ubuntu 11.04 and I cannot install SageTV. The install starts but hangs. Does anyone know of any compatability issues or tips?
Are you installing from the deb package? if so, it will hang there since it will ask for your key in a terminal window, which you'll miss if you don't have the terminal window expanded. (I'm not even sure if the new software center shows the terminal window at all).

Bet to try installing using the tgz download.
Reply With Quote
  #3  
Old 02-27-2011, 08:27 AM
kbyrd kbyrd is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: SF Bay Area, CA
Posts: 282
Quote:
Originally Posted by stuckless View Post
Bet to try installing using the tgz download.
I keep meaning to ask, what's the verdict on the deb packages? Do they work well? Do they do anything besides throw all files in /opt/sage? Do they express dependencies?

I've been using the tarballs, and wondered if it's worth trying these debs.
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM
Reply With Quote
  #4  
Old 02-27-2011, 09:06 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
The placeshifter deb will tell you about missing dependencies. I am assuming the server one will as well. 11.04 is not released yet on the ubuntu.com page.

FWIW - When I ran Ubuntu, I preferred the tgz files instead of .deb. Largely due to the fact that I am running 64-bit.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #5  
Old 02-27-2011, 09:47 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by kbyrd View Post
I keep meaning to ask, what's the verdict on the deb packages? Do they work well? Do they do anything besides throw all files in /opt/sage? Do they express dependencies?

I've been using the tarballs, and wondered if it's worth trying these debs.
The only real advantage that I can see is that the .deb packages include the init scripts to start/stop sagetv as a service. So, if you install the .tgz file you may still need to grab the init scripts from the .deb file (maybe sage should put them in the .tgz archive under 'contrib/etc/' or something.
Reply With Quote
  #6  
Old 02-27-2011, 10:16 AM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by stuckless View Post
The only real advantage that I can see is that the .deb packages include the init scripts to start/stop sagetv as a service. So, if you install the .tgz file you may still need to grab the init scripts from the .deb file (maybe sage should put them in the .tgz archive under 'contrib/etc/' or something.
Do the debs end up running sagetv as root? That's a non-starter for me..

Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
  #7  
Old 02-27-2011, 11:35 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by drewg View Post
Do the debs end up running sagetv as root? That's a non-starter for me..

Drew
It does run as root... but I sure the init scripts could easily be tweaks to run as another user.
Reply With Quote
  #8  
Old 03-04-2011, 07:08 AM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by stuckless View Post
It does run as root... but I sure the init scripts could easily be tweaks to run as another user.
The install scripts (part of the deb package) would need to be tweaked to create a specific sagetv user, etc. Similar to how the mythtv installation works.

I was a Unix sysadmin for 10 years, and running a big, complex server as root gives me the willies.

Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
  #9  
Old 03-04-2011, 07:47 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by drewg View Post
The install scripts (part of the deb package) would need to be tweaked to create a specific sagetv user, etc. Similar to how the mythtv installation works.

I was a Unix sysadmin for 10 years, and running a big, complex server as root gives me the willies.

Drew
I've been running linux since about 1992 (actually started with minx before moving to linux ), so you'd think that I'd be more motivated to actually change it... but I can never find the time

Maybe someone, that has already done this in the init scripts, could post them (or maybe they already have... I haven't really looked)
Reply With Quote
  #10  
Old 03-13-2011, 08:21 PM
RocKKer RocKKer is offline
Sage Advanced User
 
Join Date: Dec 2005
Posts: 196
Awhile back I played with running STV v7 a non-root user but went back to running as root, unless it's been changed in the latest releases, Sage implemented the java feature ThreadPriorityPolicy. This java feature allows threads to set a priority. Unfortunately, this works only if you start java with root privileges because the setpriority function sets nice level for processes and a process can't lower a nice level.
__________________
SageTV Server v9.2.2, Ubuntu Server 18.04.4 x64, Java 1.8.0_252, Xeon E5-2690, 32GB, 6X6TB WD Red - Software Raid 6, 2X HDHR3 (OTA), 3X HD-200
Reply With Quote
  #11  
Old 03-14-2011, 07:18 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Quote:
Originally Posted by RocKKer View Post
Awhile back I played with running STV v7 a non-root user but went back to running as root, unless it's been changed in the latest releases, Sage implemented the java feature ThreadPriorityPolicy. This java feature allows threads to set a priority. Unfortunately, this works only if you start java with root privileges because the setpriority function sets nice level for processes and a process can't lower a nice level.
Read this post by drewg for thread priority settings as non-root.
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #12  
Old 03-14-2011, 09:33 AM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by bcjenkins View Post
Read this post by drewg for thread priority settings as non-root.
In case its not obvious, -XX:ThreadPriorityPolicy=42 is a hack to the Sun JRE to allow thread priorities to work under linux as a non-root user. See http://tech.stolsvik.com/2010/01/lin...orkaround.html for details.

Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
  #13  
Old 03-14-2011, 10:10 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
I wonder if this is related?

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #14  
Old 05-15-2011, 10:51 AM
gizmo3141 gizmo3141 is offline
Sage Advanced User
 
Join Date: Jul 2009
Location: Toronto
Posts: 96
Same problem here. Does that mean there is no trial version for the linux oem version? If I run the .tgz version will it complain about multiple dependencies?
Reply With Quote
  #15  
Old 05-15-2011, 12:21 PM
kbyrd kbyrd is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: SF Bay Area, CA
Posts: 282
There is no trial version for Linux. Several people have asked over the years, Sage appears to be firm on this.

As for the tgz version, in my experience Sage server won't complain about things missing, some things just won't work. HOWEVER, it has also been my experience that with Sage7 server, all the libraries Sage needed were included. This may not be true of every feature (I think transcoding on the fly needs something), but for the the basic functionality, it all seems to work on a really minimal install.

I have no experience with anything other than the server package on Linux.
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 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
SageTV Server crashing on Ubuntu 3tones SageTV Linux 3 04-18-2009 11:02 AM
SageTv and 64bit Ubuntu cenwesi SageTV Linux 10 12-23-2008 07:19 AM
SageTV with Ubuntu 7.04 dranockcir SageTV Linux 24 08-09-2007 07:52 PM
Ubuntu 7.04 and SageTv Linux 6.1 Box8489 SageTV Linux 7 06-01-2007 07:25 PM
SageTV on Ubuntu ecoolman SageTV Linux 5 02-01-2007 11:49 PM


All times are GMT -6. The time now is 10:06 PM.


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