SageTV Community  

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

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-13-2016, 09:16 AM
cat6man's Avatar
cat6man cat6man is offline
Sage Fanatic
 
Join Date: Jan 2006
Location: West of NYC, East of SF
Posts: 910
V9, linux, getting the band back together

First of all, it is so cool that the band is getting back together after all these years. I've run my SageTV system since it just plain worked and nothing better or more interesting came in the meantime. Now with open source and V9, my inner geek (actually, not very well hidden internally) is rejoicing and I'm checking the forum almost daily once again! Deja vu all over again.

I've updated my system to V9 with absolutely no issues.
However, I'm running XP and that just has to go. My next step is to set up ubuntu on virtual box and do a clean linux install of V9 as well as openDCT.
If that works fine for me as a VM, I'll (probably) blow away XP and do a straight linux installation.

Glad to be back
__________________
Q: dad, when will you stop changing all the electronics?
A: never, so you might as well get used to it.
Reply With Quote
  #2  
Old 03-14-2016, 09:47 AM
cat6man's Avatar
cat6man cat6man is offline
Sage Fanatic
 
Join Date: Jan 2006
Location: West of NYC, East of SF
Posts: 910
i put a VM on my XP system, but a 32bit ubuntu.
is the 32bit ubuntu sufficient for sage v9 AND for openDCT?
i see installation instructions that reference 64bit ubuntu but little or no mention of 32bit ubuntu...........will this work or do i need to upgrade my system to a 64 bit windows OS before i can install a 64bit VM and 64 bit ubuntu for sage v9 and openDCT?
__________________
Q: dad, when will you stop changing all the electronics?
A: never, so you might as well get used to it.
Reply With Quote
  #3  
Old 03-14-2016, 12:51 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
32 bit works fine as well...there was lots of discussion around 64 bit because prior to being open source; you couldn't run SageTV in pure 64 bit mode...but now you can. The main advantage of that is for people that have lots of extenders so they can set the memory size for the JVM to something larger than 2GB.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #4  
Old 03-14-2016, 02:55 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by cat6man View Post
i put a VM on my XP system, but a 32bit ubuntu.
is the 32bit ubuntu sufficient for sage v9 AND for openDCT?
i see installation instructions that reference 64bit ubuntu but little or no mention of 32bit ubuntu...........will this work or do i need to upgrade my system to a 64 bit windows OS before i can install a 64bit VM and 64 bit ubuntu for sage v9 and openDCT?
You may want to check the OpenDCT thread. I think I saw a post there in the last couple days where the author mentioned that he would like to drop support for 32-bit Linux and was looking for input from users.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #5  
Old 03-14-2016, 07:02 PM
SageWizdom SageWizdom is offline
Sage Advanced User
 
Join Date: Oct 2013
Location: https://github.com/SageWizdom/SageConnect
Posts: 216
The reason I used the 64-bit version in the walk through is that I was looking to use the LTS release, and to make it as small as possible using the Ubuntu Server version. Ubuntu Server 14.04 is only 64 bit, and that is what drove my choice.

That said, everything should work under 32 bit. All of the instructions should work, with the only maybe off thing being where the architecture is set as an environment variable (which was suggested to maybe not be needed).

You will also be limited in how much ram you can access to ~3GB or so on your host. As I'm intending to run transcoding and other things that I *think* will chew up ram, I was just planning ahead.
__________________
Server: Centos Server 14.04 LTS - 64Bit, VM in XenServer, 2 cores of a Intel i7, 2-4 GB Ram, 8 GB system Disk, 1.8 TB storage, SageTV V9.0.4.232, HDHR Prime x 1

Clients: PC Client x 1, HD-300 x 1, AppleTV x 2, WebClient (phone/tablet) x 3
Reply With Quote
  #6  
Old 03-14-2016, 07:24 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by Tiki View Post
You may want to check the OpenDCT thread. I think I saw a post there in the last couple days where the author mentioned that he would like to drop support for 32-bit Linux and was looking for input from users.
These days I think it really only makes sense to run 32-bit if somehow your application actually runs faster on it or if your CPU doesn't support 64-bit. Most CPU's that don't support 64-bit are so slow and inefficient you wouldn't even think about running a 24/7 SageTV server on them anyway.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #7  
Old 03-15-2016, 09:53 AM
cat6man's Avatar
cat6man cat6man is offline
Sage Fanatic
 
Join Date: Jan 2006
Location: West of NYC, East of SF
Posts: 910
thanks folks.

i'll try 32bit and see what happens.

my other option, since this is an old pc, is to buy a small, low power box and install ubuntu directly (no VM). no need for transcoding or comskip here, just up to 6 tuners and 2 or 3 hd200/hd300 devices.
__________________
Q: dad, when will you stop changing all the electronics?
A: never, so you might as well get used to it.
Reply With Quote
  #8  
Old 03-16-2016, 09:45 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
The other reason to run 32 bit, at least on Windows, was so tha you could use FireWire for channel changing.
__________________
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
  #9  
Old 03-17-2016, 06:12 AM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by wayner View Post
The other reason to run 32 bit, at least on Windows, was so tha you could use FireWire for channel changing.
Not sure if that applies on Linux though.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #10  
Old 03-18-2016, 05:13 PM
cat6man's Avatar
cat6man cat6man is offline
Sage Fanatic
 
Join Date: Jan 2006
Location: West of NYC, East of SF
Posts: 910
this is outstanding!
i got an intel NUC running ubuntu 15 and SageWizdom's script seems to have installed the linux server for V9 flawlessly.

later tonight i'll connect a hd300 client and do some configuration, as well as move my wiz.bin file over.

does anyone have installation instructions for the linux client? (or a pointer, maybe i missed it)
__________________
Q: dad, when will you stop changing all the electronics?
A: never, so you might as well get used to it.
Reply With Quote
  #11  
Old 03-18-2016, 07:02 PM
SageWizdom SageWizdom is offline
Sage Advanced User
 
Join Date: Oct 2013
Location: https://github.com/SageWizdom/SageConnect
Posts: 216
Quote:
Originally Posted by cat6man View Post
does anyone have installation instructions for the linux client? (or a pointer, maybe i missed it)
http://forums.sagetv.com/forums/show...76&postcount=1

Start at step 12. This was my first pass set of install instructions. If you are running 15, then I'm assuming you've got workstation, so I think all the pre-requisites are installed. The biggest places you will run into trouble are with mplayer and possible ffmpeg. I know folks (including myself) were having trouble with no audio on playback. This is part of why I ultimately went with just using the HD300 and the headless server. Holler if you get stuck.
__________________
Server: Centos Server 14.04 LTS - 64Bit, VM in XenServer, 2 cores of a Intel i7, 2-4 GB Ram, 8 GB system Disk, 1.8 TB storage, SageTV V9.0.4.232, HDHR Prime x 1

Clients: PC Client x 1, HD-300 x 1, AppleTV x 2, WebClient (phone/tablet) x 3
Reply With Quote
  #12  
Old 03-19-2016, 07:47 AM
cat6man's Avatar
cat6man cat6man is offline
Sage Fanatic
 
Join Date: Jan 2006
Location: West of NYC, East of SF
Posts: 910
Quote:
Originally Posted by SageWizdom View Post
http://forums.sagetv.com/forums/show...76&postcount=1

Start at step 12. This was my first pass set of install instructions. If you are running 15, then I'm assuming you've got workstation, so I think all the pre-requisites are installed. The biggest places you will run into trouble are with mplayer and possible ffmpeg. I know folks (including myself) were having trouble with no audio on playback. This is part of why I ultimately went with just using the HD300 and the headless server. Holler if you get stuck.
thanks. i'm not worried at all about audio or any playback, i also plan to run headless, just sometimes i want to configure things on the same machine and not run around to the hd300

i was able to do basic setup last night with the hd300, so everything is looking great here. next step is to install/configure openDCT, setup tuners and once that is done, move wiz.bin over as well as physically move the 2 hard drives i use for recording directories..........oh, also need to get my plugins!
GOT to have SRE for opening day!

ordered a 4 bay Mediasonic usb3.0/eSATA box to consolidate my hard drives.........will connect to NUC/SageTV server via usb3.0, arrives monday
__________________
Q: dad, when will you stop changing all the electronics?
A: never, so you might as well get used to it.

Last edited by cat6man; 03-19-2016 at 09:07 AM.
Reply With Quote
  #13  
Old 03-19-2016, 07:25 PM
SageWizdom SageWizdom is offline
Sage Advanced User
 
Join Date: Oct 2013
Location: https://github.com/SageWizdom/SageConnect
Posts: 216
Quote:
Originally Posted by cat6man View Post
ordered a 4 bay Mediasonic usb3.0/eSATA box to consolidate my hard drives.........will connect to NUC/SageTV server via usb3.0, arrives monday
That sounds awesome
__________________
Server: Centos Server 14.04 LTS - 64Bit, VM in XenServer, 2 cores of a Intel i7, 2-4 GB Ram, 8 GB system Disk, 1.8 TB storage, SageTV V9.0.4.232, HDHR Prime x 1

Clients: PC Client x 1, HD-300 x 1, AppleTV x 2, WebClient (phone/tablet) x 3
Reply With Quote
  #14  
Old 03-21-2016, 03:25 PM
cat6man's Avatar
cat6man cat6man is offline
Sage Fanatic
 
Join Date: Jan 2006
Location: West of NYC, East of SF
Posts: 910
well, i knew windows ==> linux couldn't go completely smoothly.

i see two problems right now

1. with my old windows server, the system info screen on the hd200 shows the server name and IP address. with my new linux server, the system info screen shows the server name but 0.0.0.0 as IP address. probably a reason i can't set up channel lineups and get the message that it can't connect to sagetv server.

2. with my new linux server, the system info screen shows my import directories (which are on two old NAS) but says they are ext3, when they are ntfs. when i browse through via hd200, there directories are empty. what do i need to do to import NTFS directories with the linux server? Note that I can browse them fine from the ubuntu desktop, so they are mounting properly on the PC.

3. what is the procedure for re-running openDCT?

by the way, i'm running ubuntu 15 desktop so i can use desktop or command line solutions.

thanks in advance
__________________
Q: dad, when will you stop changing all the electronics?
A: never, so you might as well get used to it.

Last edited by cat6man; 03-21-2016 at 03:33 PM.
Reply With Quote
  #15  
Old 03-21-2016, 05:26 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Quote:
Originally Posted by cat6man View Post
well, i knew windows ==> linux couldn't go completely smoothly.

i see two problems right now

1. with my old windows server, the system info screen on the hd200 shows the server name and IP address. with my new linux server, the system info screen shows the server name but 0.0.0.0 as IP address. probably a reason i can't set up channel lineups and get the message that it can't connect to sagetv server.
I saw that when I installed ubuntu 14.04. I saw the name when I installed Linux Mint 17.3. So if you install a newer linux version or Mint it may show the name. But I'm no linux expert someone else may be able to tell you exactly what to do.
Quote:
2. with my new linux server, the system info screen shows my import directories (which are on two old NAS) but says they are ext3, when they are ntfs. when i browse through via hd200, there directories are empty. what do i need to do to import NTFS directories with the linux server? Note that I can browse them fine from the ubuntu desktop, so they are mounting properly on the PC.
There is an error in IOUtils.java that uses a depreciated command "smbmount' that is causing samba directories (shares on Windows boxes) not to connect correctly. I forked and fixed it to use mount.cifs but it hasn't been merged into the main source yet. You can recompile this version https://github.com/BobPhoenix/sagetv and get the mounting to work or wait until it is merged.
__________________
"Keep your goals away from the trolls"
Reply With Quote
  #16  
Old 03-21-2016, 05:40 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by cat6man View Post
3. what is the procedure for re-running openDCT?

by the way, i'm running ubuntu 15 desktop so i can use desktop or command line solutions.

thanks in advance
If you just want to restart OpenDCT type this:
Code:
sudo service opendct restart
If you want to uninstall it, type this:
Code:
sudo apt-get remove opendct
There is also a change from upstart to systemd in the latest Ubuntu versions. From what I've been reading, it looks like they currently coexist. CentOS and Fedora use systemd, so I already have the correct files to make it work; it's just not a part of the package because I just took a look at it for the first time tonight since we are nearing the next LTS. OpenDCT was not tested to work on anything newer than Ubuntu 14.04 LTS 32-bit and 64-bit. It looks like 16.04 will drop upstart completely which means SageTV needs an upgrade to use systemd for its service too. So if you're having problems that might be one reason.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG

Last edited by EnterNoEscape; 03-21-2016 at 05:50 PM.
Reply With Quote
  #17  
Old 03-21-2016, 06:29 PM
cat6man's Avatar
cat6man cat6man is offline
Sage Fanatic
 
Join Date: Jan 2006
Location: West of NYC, East of SF
Posts: 910
Quote:
Originally Posted by EnterNoEscape View Post
If you just want to restart OpenDCT type this:
Code:
sudo service opendct restart
If you want to uninstall it, type this:
Code:
sudo apt-get remove opendct
There is also a change from upstart to systemd in the latest Ubuntu versions. From what I've been reading, it looks like they currently coexist. CentOS and Fedora use systemd, so I already have the correct files to make it work; it's just not a part of the package because I just took a look at it for the first time tonight since we are nearing the next LTS. OpenDCT was not tested to work on anything newer than Ubuntu 14.04 LTS 32-bit and 64-bit. It looks like 16.04 will drop upstart completely which means SageTV needs an upgrade to use systemd for its service too. So if you're having problems that might be one reason.

i think i found a problem on my end. my existing windows sagetv server is locking out opendct if i read the log file correctly...........guess i have to shut down the working system tomorrow morning when nothing is being recorded!

then i'll restart opendct

thanks
__________________
Q: dad, when will you stop changing all the electronics?
A: never, so you might as well get used to it.

Last edited by cat6man; 03-21-2016 at 06:33 PM.
Reply With Quote
  #18  
Old 03-21-2016, 06:32 PM
cat6man's Avatar
cat6man cat6man is offline
Sage Fanatic
 
Join Date: Jan 2006
Location: West of NYC, East of SF
Posts: 910
Quote:
Originally Posted by BobPhoenix View Post
There is an error in IOUtils.java that uses a depreciated command "smbmount' that is causing samba directories (shares on Windows boxes) not to connect correctly. I forked and fixed it to use mount.cifs but it hasn't been merged into the main source yet. You can recompile this version https://github.com/BobPhoenix/sagetv and get the mounting to work or wait until it is merged.
how about if i just modify /etc/fstab to mount the NAS drives? (never done that for a network drive before)
__________________
Q: dad, when will you stop changing all the electronics?
A: never, so you might as well get used to it.
Reply With Quote
  #19  
Old 03-21-2016, 06:36 PM
cat6man's Avatar
cat6man cat6man is offline
Sage Fanatic
 
Join Date: Jan 2006
Location: West of NYC, East of SF
Posts: 910
Quote:
Originally Posted by BobPhoenix View Post
I saw that when I installed ubuntu 14.04. I saw the name when I installed Linux Mint 17.3. So if you install a newer linux version or Mint it may show the name. But I'm no linux expert someone else may be able to tell you exactly what to do.
i see the name of the sage server both times, but with the linux server the hd200 does not seem to have an ip address.

could there be a firewall port that needs to be opened?
on the other hand, the clients do find the linux server and connect.
__________________
Q: dad, when will you stop changing all the electronics?
A: never, so you might as well get used to it.
Reply With Quote
  #20  
Old 03-21-2016, 08:16 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by cat6man View Post
how about if i just modify /etc/fstab to mount the NAS drives? (never done that for a network drive before)
That's what I would do. Just mount whatever you need on some folders under /mnt. I don't have a lot of faith in "smart" automated mounting solutions, so I always use fstab.

Quote:
Originally Posted by cat6man View Post
i see the name of the sage server both times, but with the linux server the hd200 does not seem to have an ip address.

could there be a firewall port that needs to be opened?
on the other hand, the clients do find the linux server and connect.
Ubuntu from my experience comes without the firewall enabled, but if I want to make sure it's not running, you can run:
Code:
sudo systemctl disable ufw
sudo systemctl stop ufw
If you were running 14.04, it would be:
Code:
sudo service ufw stop
So if the commands above don't work out, try this.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
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
Satellite Channel Scan Error: Can't do C-Band and Ku-Band Providers in the same scan Kiwi_Tim Hardware Support 0 09-16-2009 05:19 AM
Moved back to Windows from Linux mahcsm SageTV Linux 8 12-02-2008 05:45 PM
No Data on C band listings only cummings66 SageTV EPG Service 2 10-29-2005 03:39 PM
Controlling C band sat cummings66 Hardware Support 3 12-25-2004 11:53 AM
C-Band atom Hardware Support 1 02-17-2004 02:46 PM


All times are GMT -6. The time now is 02:08 AM.


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