View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Nov 13, 2005 8:57 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
lots of lessons learned last night...

I was attempting to rip for the first time since I upgraded months ago from R4V5 to R5A16 with no luck. After some tinkering I noticed that my CD and DVD device files and links were not alligned.

I finally figured out that /dev/cdrom1 was pointing to my DVD hardware. Then I got to a point where I could run xine via command line and read a DVD using PINEAPPLE. however, running a mythtv yeilded PINEAPPLE errors.

it was late, I was tired some how when trying to run mythfrontend, file completion gave me mythrestore. (must have missed the 'f')

So mythrestore ran, using MONTHS old R4V5 data into my R5A16 database. Basically, I hosed everything.

I'm assuming that a rebuild is in order, butI would like to keep the data on the /myth patition....but I dont want to have mythrestore run following the upgrade.

Which is the latest, usable R5 version...is it R5A22? I have just about all of them burned to disk. I'm not looking for a real 'testing' version I'm looking for mostly stable for the production box

I'm not particually concerned about the tv recordings...there are a couple that I would like to pull out and watch once. I want the /myth/video data and i would like to use /myth to save scripts and other data files.

Lessons learned:

- chmod -x mythrestore....easier to deal with permissions when I REALLY want to run it.

- run mythbackup more often...at least after an upgrade has stablized.

- late night work is dangerous....expecially on a fuzzy xterm window on a tv (ugg)

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 13, 2005 10:21 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
My recollection is that you can use the upgrade option with a missing or partial backup. What I would do in your place is run the backup script and delete the DB file from the /myth/backup directory. The file to delete is /myth/backup/mythconverg.sql. Before running the backup script make the following minimal fix to move the cd / command to the right place. That way you won't lose everything under /root and /home and will have a good reference copy of /etc.
Code:
root@black2:~# diff /usr/local/bin/mythbackup.orig /usr/local/bin/mythbackup.fix
16c16
<  cd /
---
>
24a25
> cd /


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 13, 2005 1:35 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
ah, I forgot about the no-db parts of the restore....did home, etc get clobbered with R4V5 pieces.

I thin I need to blow away /myth/backup and save anything I need in /myth/I_screwed_up...then run the upgrade.

As for cleanup after that....Are all these true

1) all files in /myth/video should get picked up

2)files in /myth/tv will be orphaned. I think there are a few shows I
want...If I can figure out the files I can move them to /myth/video

3) music...I think I can just rescan, right?

I dont have (much) games or gallery items.

Looks like rebuild. This is when I wish stuff like time server client, dyndns client, mozilla were part of the install. Its the post install stuff that is a pain.

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 13, 2005 4:46 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
The answer to most of your questions is yes, but I'd still go with a "use the backup for the parts you want" strategy.
    - clean out /myth/backup
    - run the fixed backup script
    - delete the sql dump file
    - do a normal auto-upgrade.

This should do the right thing and not damage the stuff in the /myth partition.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 13, 2005 7:43 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi khrusher,
You may have messed up the settings, however you shouldn't have hurt the system. It is a good excuse to upgrade though :) Either way you need to go through all the setups and re-tweak a little. Re run mythtv-setup to check those also. Worse case you will loose the the tv recordings, a rescan should pick those up. Don't know about the other material..

Do a backup when done :)
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 13, 2005 10:02 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
what is a tv recordings rescan?

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 14, 2005 6:33 am 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi khrusher,

Thinking faster than I type I guess, the re-scan of the music should pick them up, The tv recordings will have lost their identity in the data base. If you had mythlink running, you might be able to copy them out as a mpg video. As I said, the system should be ok.

Sorry about the missings words on previous post
Mike


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu