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 07-19-2017, 08:55 AM
gerberdude's Avatar
gerberdude gerberdude is offline
Sage User
 
Join Date: Jul 2006
Posts: 64
Migrate from Windows v7 to Linux v9

I've searched the forums and haven't found an up-to-date straight answer on this question.

Can I migrate from Windows XP v7 to a Linux v9 install and retain my recordings, etc?
Reply With Quote
  #2  
Old 07-19-2017, 10:40 AM
graywolf's Avatar
graywolf graywolf is offline
Sage Icon
 
Join Date: Oct 2009
Location: NC
Posts: 1,389
Yes
Do your Linux install, set your directory paths (unc), stop sagetv and service , copy your wiz.bin file, start sagetv
Reply With Quote
  #3  
Old 07-19-2017, 03:05 PM
checkbin checkbin is offline
Sage Advanced User
 
Join Date: Jun 2011
Location: Central NJ, USA
Posts: 76
As graywolf said, that's pretty much all you have to do. I want to add that I did the same migration a few years ago. SageTV on Linux is SOO MUCH more stable than it was on Windows. Haven't restarted the server in forever and never miss a recording like used to happen a lot with Windows. I also used to get a lot of green glitches in my recordings with OpenDCT on Windows but running it under Linux is flawless. You won't be disappointed with the switch.
Reply With Quote
  #4  
Old 07-21-2017, 11:12 AM
gerberdude's Avatar
gerberdude gerberdude is offline
Sage User
 
Join Date: Jul 2006
Posts: 64
Maybe that's why there's no big walk-through. Because it's no big deal. Thanks for the help!
Reply With Quote
  #5  
Old 07-26-2017, 07:16 AM
gerberdude's Avatar
gerberdude gerberdude is offline
Sage User
 
Join Date: Jul 2006
Posts: 64
So if I have my ntfs volumes from the old install, I can mount those in linux. Do I have to mount them a certain way for sage to find the files, for wiz.bin to know where the files are?
Reply With Quote
  #6  
Old 07-26-2017, 10:25 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Doens't matter how you mount them, but you'd need to add their location to sage (as an import or recording folder). Personally, I'd try to move those recordings off of the NTFS drives if possible, as ntfs performance on linux is really not that great, and I have seen write problems in heavy use.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #7  
Old 07-26-2017, 11:00 AM
gerberdude's Avatar
gerberdude gerberdude is offline
Sage User
 
Join Date: Jul 2006
Posts: 64
Quote:
Originally Posted by Fuzzy View Post
Doens't matter how you mount them, but you'd need to add their location to sage (as an import or recording folder). Personally, I'd try to move those recordings off of the NTFS drives if possible, as ntfs performance on linux is really not that great, and I have seen write problems in heavy use.
What's the best format for those drives?
Reply With Quote
  #8  
Old 07-26-2017, 11:14 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
On just a bare linux server, I'd recommend sticking to ext4 or xfs. unRAID would be using xfs.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #9  
Old 08-02-2017, 05:48 PM
gerberdude's Avatar
gerberdude gerberdude is offline
Sage User
 
Join Date: Jul 2006
Posts: 64
Duplicate recordings

So I've had reasonable luck migrating to v9, but all many of my recordings are showing up as duplicates. I click on one and it says the file can't be found, but I click on the other and it plays. I think I may have messed something up moving my Wiz.bin, but I'm not sure how.

Any ideas?
Reply With Quote
  #10  
Old 08-02-2017, 05:58 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Quote:
Originally Posted by gerberdude View Post
So I've had reasonable luck migrating to v9, but all many of my recordings are showing up as duplicates. I click on one and it says the file can't be found, but I click on the other and it plays. I think I may have messed something up moving my Wiz.bin, but I'm not sure how.

Any ideas?
You may have to do a full reindex to get it fixed. Look at detailed info on each recording. The one that doesn't play probably has UNC\windows path to file. The one that does play will have a linux path listed. I found this on many of my recordings as well.

This is what I did but others will likely suggest better options (possibly the reindex):
I used the web server to export my favorites to an XML file then deleted the wiz.bin and re-imported my favorites. All the recording were detected and showed up just once with a linux path. I just had to move them from Archived to Recordings and I deleted a few that were split into multiple files and didn't get detected correctly. But the vast majority came back just fine. My option is fairly safe if you just rename the wiz.bin instead of delete it like I did. Then if you have problems you just rename it back and seek better advice.

Forgot to mention if you go my option you need to rename the wiz.bak file as well or Sage will just use it when it can't find the wiz.bin.
__________________
"Keep your goals away from the trolls"

Last edited by BobPhoenix; 08-02-2017 at 06:03 PM.
Reply With Quote
  #11  
Old 08-02-2017, 08:27 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by BobPhoenix View Post
You may have to do a full reindex to get it fixed. Look at detailed info on each recording. The one that doesn't play probably has UNC\windows path to file. The one that does play will have a linux path listed. I found this on many of my recordings as well.

This is what I did but others will likely suggest better options (possibly the reindex):
I used the web server to export my favorites to an XML file then deleted the wiz.bin and re-imported my favorites. All the recording were detected and showed up just once with a linux path. I just had to move them from Archived to Recordings and I deleted a few that were split into multiple files and didn't get detected correctly. But the vast majority came back just fine. My option is fairly safe if you just rename the wiz.bin instead of delete it like I did. Then if you have problems you just rename it back and seek better advice.

Forgot to mention if you go my option you need to rename the wiz.bak file as well or Sage will just use it when it can't find the wiz.bin.
There's a property that can be set to force safe to go through and check for the presence of the actual files. Just to deal with situations like this. I'm on my phone so can't check right now, but don't go deleting your wiz.bin for this, there is a better way.

EDIT: Actually, I think it's advanced_video_file_recovery=true. Shutdown the server, set that in the sage.properties file, then restart sage. It will scan all the files and fix up your broken entries. Afterward, don't forget to shut down again and set the value to false.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room

Last edited by Fuzzy; 08-02-2017 at 08:31 PM.
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
Migrate server to Linux from Windows, licence question. makko SageTV Linux 7 01-31-2012 02:51 PM
Linux, Windows 7 or WHS ? RonnieHafoss General Discussion 12 03-18-2011 08:51 AM
Windows or Linux for v7? surge SageTV Beta Test Software 8 12-12-2010 02:03 PM
Migrate to Windows 7 Ken C General Discussion 5 11-09-2009 08:24 AM
I want to migrate to linux but... dnlmln SageTV Linux 3 09-27-2008 08:45 AM


All times are GMT -6. The time now is 12:30 PM.


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