View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed May 16, 2007 3:04 pm 
Offline
Joined: Thu Nov 17, 2005 2:54 am
Posts: 6
As requested in the install dialog:
**Please post the contents of /var/log/restore.log following
'Sanity checking your restore...' to the 'mythrestore failed' thread
on http://mysettopbox.tv/phpBB2/viewforum.php?f=6

Sanity checking your restore...

Checking for the existance of the backup tar file...
Backup tar file exists. Checking the compression...
Compression looks OK. Checking backup tar file contents...
Generating a list of the backup contents...
/bin/tar: ./etc/asound.conf: Not found in archive
/bin/tar: Error exit delayed from previous errors
Generating a list of the directory contents...
/usr/bin/find: ./etc/asound.conf: No such file or directory
Comparing directory versus backup contents...
483,688d482
< ./home/mythtv/.democracy/Movies
< ./home/mythtv/.democracy/database
< ./home/mythtv/.democracy/database/__db.001
< ./home/mythtv/.democracy/database/__db.002
< ./home/mythtv/.democracy/database/__db.003
< ./home/mythtv/.democracy/database/__db.004
< ./home/mythtv/.democracy/database/__db.005
< ./home/mythtv/.democracy/database/database
< ./home/mythtv/.democracy/database/log.0000000002
< ./home/mythtv/.democracy/democracy-channel-guide.html
< ./home/mythtv/.democracy/icon-cache
< ./home/mythtv/.democracy/icon-cache/00b9ad82be4c0204d0e37fd3593fb732.36318634.jpg
< ./home/mythtv/.democracy/icon-cache/00db714d50e4c33c139f2a3ca203a2f9.87898623.jpg
< ./home/mythtv/.democracy/icon-cache/02c513d0768843ce2e548925655008fa.20065098.jpg
< ./home/mythtv/.democracy/icon-cache/037f548b198695879b01ccf68e81b81e.25966141.jpg
< ./home/mythtv/.democracy/icon-cache/038b6b4ea6378957d8dae09a50301cdf.79066740.jpg
< ./home/mythtv/.democracy/icon-cache/0489f8b31c319ad4e0107e7759e34c34.64828708.jpg
< ./home/mythtv/.democracy/icon-cache/0572ceb72671b355b3a7226d088d122f.28247464.jpg
< ./home/mythtv/.democracy/icon-cache/0bf0f80cf34b2f9659c63c0283f9e686.55687221.jpg
< ./home/mythtv/.democracy/icon-cache/0c85e03a06991a51bee3f3f5628f1952.54051874.jpg
< ./home/mythtv/.democracy/icon-cache/0e51bd948e7d26d57abdca53abe84136.11701720.gif
< ./home/mythtv/.democracy/icon-cache/0fdaf8a22f70ad3cf2c84237b7bbb5bf.79145320.jpg
< ./home/mythtv/.democracy/icon-cache/101e2f4c635828786ed4c8fb079931a9.80834441.jpg
< ./home/mythtv/.democracy/icon-cache/10f89f61ba0565faf6904b6eeb86239a.77047629.jpg
< ./home/mythtv/.democracy/icon-cache/113a64971706079bf489876453f2b502.42641008.jpg
< ./home/mythtv/.democracy/icon-cache/117425dfd4ad872373d793369036ada1.04032320.gif
< ./home/mythtv/.democracy/icon-cache/15f88d1348254e0ff35b5a063de30abe.84176440.jpg
< ./home/mythtv/.democracy/icon-cache/17bd44a0b0d548377567bf88a4705c1e.77457760.jpg
< ./home/mythtv/.democracy/icon-cache/17d9a6cd0ecee69474409e63a54ed0a4.83356924.jpg
< ./home/mythtv/.democracy/icon-cache/1b99838e4b5bc4c034dcb4835bf31f1b.69267359.jpg
< ./home/mythtv/.democracy/icon-cache/2.07824538.jpg
< ./home/mythtv/.democracy/icon-cache/2.26011550.jpg
< ./home/mythtv/.democracy/icon-cache/2.29171979.jpg
< ./home/mythtv/.democracy/icon-cache/2.31108863.jpg
< ./home/mythtv/.democracy/icon-cache/2.36837496.jpg
< ./home/mythtv/.democracy/icon-cache/2.38270455.jpg
< ./home/mythtv/.democracy/icon-cache/2.49361831.jpg
< ./home/mythtv/.democracy/icon-cache/2.50100166.jpg
< ./home/mythtv/.democracy/icon-cache/2.60465569.jpg
< ./home/mythtv/.democracy/icon-cache/2.61810228.jpg
< ./home/mythtv/.democracy/icon-cache/2.61992972.jpg
< ./home/mythtv/.democracy/icon-cache/2.72976318.jpg
< ./home/mythtv/.democracy/icon-cache/2.78302355.jpg
< ./home/mythtv/.democracy/icon-cache/22e477ecda334868a093f5c44a0257a1.17945204.jpg
< ./home/mythtv/.democracy/icon-cache/274f8a608e5f3f72d20083874fba0bbb.55776082.jpg
< ./home/mythtv/.democracy/icon-cache/28126d7f97cd6f412beb6ee62bc1e72c.44827534.jpg
< ./home/mythtv/.democracy/icon-cache/284a0351bc4c2655f16fcc717d59800e.78169850.gif
< ./home/mythtv/.democracy/icon-cache/2890e365b1a7841b48b6296b6c985fee.03377184.jpg
< ./home/mythtv/.democracy/icon-cache/28b1fed24e4dcce47dbbae805765a998.73028557.jpg
< ./home/mythtv/.democracy/icon-cache/2d5f1331465f1e2a7dd037f2b694c7cf.68009990.jpg
< ./home/mythtv/.democracy/icon-cache/2f30b08c32333126c0158b2ff931a003.90310509.jpg
< ./home/mythtv/.democracy/icon-cache/2fa0c6ac8dd0342d39b46d0f6f15d875.56132843.jpg
< ./home/mythtv/.democracy/icon-cache/30ff4c97f581da5d4a928f10a1cb7ef6.96780110.gif
< ./home/mythtv/.democracy/icon-cache/3593eb830ff9005631a8004fd95275b0.30945513.jpg
< ./home/mythtv/.democracy/icon-cache/37232f8bf066805f73601c7fe31a1a4b.88655984.bmp
< ./home/mythtv/.democracy/icon-cache/4571b84e8291c5924874661b691e7c19.25296971.jpg
< ./home/mythtv/.democracy/icon-cache/45bb1bd85b62dcfdee5276618522b512.47817277.jpg
< ./home/mythtv/.democracy/icon-cache/4656a3390b7afecd9cde63f6469db356.64818634.jpg
< ./home/mythtv/.democracy/icon-cache/469ceed2aec22c8f352b0ca70a657e18.12723020.gif
< ./home/mythtv/.democracy/icon-cache/49dfbc328d2f3cf6c6f666d8c05e2b92.83949993.jpg
< ./home/mythtv/.democracy/icon-cache/49fee78efbea0ef4a63fe0086de16be6.68859411.jpg
< ./home/mythtv/.democracy/icon-cache/4a66a7de80cba272ea467e36a512bbb6.05424781.jpg
< ./home/mythtv/.democracy/icon-cache/4b00dc3c83c1a88300e47ddbdb0123fd.52223928.gif
< ./home/mythtv/.democracy/icon-cache/501_film.81264219.jpg
< ./home/mythtv/.democracy/icon-cache/502_film.44005107.jpg
< ./home/mythtv/.democracy/icon-cache/503_film.33152349.jpg
< ./home/mythtv/.democracy/icon-cache/504_film.62273822.jpg
< ./home/mythtv/.democracy/icon-cache/505_film.35173579.jpg
< ./home/mythtv/.democracy/icon-cache/506_film.01506105.jpg
< ./home/mythtv/.democracy/icon-cache/507_film.60523182.jpg
< ./home/mythtv/.democracy/icon-cache/508_film.80681113.jpg
< ./home/mythtv/.democracy/icon-cache/509_film.26103929.jpg
< ./home/mythtv/.democracy/icon-cache/510_film.90818633.jpg
< ./home/mythtv/.democracy/icon-cache/511_film.05180043.jpg
< ./home/mythtv/.democracy/icon-cache/512_film.06928956.jpg
< ./home/mythtv/.democracy/icon-cache/513_film.28027439.jpg
< ./home/mythtv/.democracy/icon-cache/514_film.92333897.jpg
< ./home/mythtv/.democracy/icon-cache/515_film.15769514.jpg
< ./home/mythtv/.democracy/icon-cache/516_film.28618847.jpg
< ./home/mythtv/.democracy/icon-cache/5201e67aad816090ee6d5c8d49b76758.81426776.jpg
< ./home/mythtv/.democracy/icon-cache/53cebb8a2ed0ae8de2cea472765d1ff7.69156958.jpg
< ./home/mythtv/.democracy/icon-cache/57b3ad5742f2ffb5d78e3e19032d8104.76803756.jpg
< ./home/mythtv/.democracy/icon-cache/5808224c7373e67419b793cb0e3a13ed.92329693.jpg
< ./home/mythtv/.democracy/icon-cache/601_film.86422029.jpg
< ./home/mythtv/.democracy/icon-cache/602_film.49264579.jpg
< ./home/mythtv/.democracy/icon-cache/603_film.99104974.jpg
< ./home/mythtv/.democracy/icon-cache/604_film.48015173.jpg
< ./home/mythtv/.democracy/icon-cache/605_film.81871651.jpg
< ./home/mythtv/.democracy/icon-cache/606_film.26906387.jpg
< ./home/mythtv/.democracy/icon-cache/607_film.96842953.jpg
< ./home/mythtv/.democracy/icon-cache/608_film.21394052.jpg
< ./home/mythtv/.democracy/icon-cache/609_film.81157808.jpg
< ./home/mythtv/.democracy/icon-cache/610_film.61193834.jpg
< ./home/mythtv/.democracy/icon-cache/611_film.71297432.jpg
< ./home/mythtv/.democracy/icon-cache/612_film.09916235.jpg
< ./home/mythtv/.democracy/icon-cache/613_film.32625405.jpg
< ./home/mythtv/.democracy/icon-cache/614_film.56384440.jpg
< ./home/mythtv/.democracy/icon-cache/615_film.82652340.jpg
< ./home/mythtv/.democracy/icon-cache/616_film.64862932.jpg
< ./home/mythtv/.democracy/icon-cache/62820238c435a5ea45c18ff4963ff257.32502522.jpg
< ./home/mythtv/.democracy/icon-cache/65598bc06615487eca33592380cabc3f.21785542.jpg
< ./home/mythtv/.democracy/icon-cache/679d0e9330e255e040816a0484e6ac3d.09677019.jpg
< ./home/mythtv/.democracy/icon-cache/67f03930ebb8f574ddb534e5128b04b4.26675578.jpg
< ./home/mythtv/.democracy/icon-cache/694a64785fae5a3b52d5e1d794100f73.53566778.jpg
< ./home/mythtv/.democracy/icon-cache/6a10073200587f88b575c81670237558.54551451.jpg
< ./home/mythtv/.democracy/icon-cache/6b66f7ae1ed8488eccbab9b493b43e38.81116311.jpg
< ./home/mythtv/.democracy/icon-cache/72ab443122d820e66ae755c58fd043af.39625250.jpg
< ./home/mythtv/.democracy/icon-cache/73d972a3058c433af1acbe1ca64cd5f9.72376041.jpg
< ./home/mythtv/.democracy/icon-cache/7419760e6ea59cb3b573654c60a274cd.08250879.jpg
< ./home/mythtv/.democracy/icon-cache/815ee8bcfb1309b76b42af07c44ee1c7.08172288.jpg
< ./home/mythtv/.democracy/icon-cache/822919896570ffdef4d79e44badf44f3.54101951.gif
< ./home/mythtv/.democracy/icon-cache/824f60d5964a2ed51810633fe0adc89b.12728052.JPG
< ./home/mythtv/.democracy/icon-cache/8390b26cd98e83d1ac9116b18561dd26.68697223.jpg
< ./home/mythtv/.democracy/icon-cache/8478e53ead78e36d0aa0bbe27f80612c.34267786.jpg
< ./home/mythtv/.democracy/icon-cache/85b522eea5d5989351eaca33fd2b1a1c.77341144.jpg
< ./home/mythtv/.democracy/icon-cache/886b4de690d264488ec30ee0ad46b67a.13796478.jpg
< ./home/mythtv/.democracy/icon-cache/8ae6b87b7c8a4b77bac516246d791826.08936816.jpg
< ./home/mythtv/.democracy/icon-cache/8e54c1062a5816ad25ac7a087d028d3f.06178484.jpg
< ./home/mythtv/.democracy/icon-cache/8ec847511860ee346c45acdefd5b4ee8.04430653.jpg
< ./home/mythtv/.democracy/icon-cache/90938c954f9a96c6edfc00d2130f09dd.96818331.jpg
< ./home/mythtv/.democracy/icon-cache/a58bcc926df480335768ad8f7de2cd75.23619951.jpg
< ./home/mythtv/.democracy/icon-cache/a63449a74497e6f2f54ee84d4a6e4dc8.13296600.jpg
< ./home/mythtv/.democracy/icon-cache/a69bb2e6eebf72b86d472aa7c2dc7f56.68602630.jpg
< ./home/mythtv/.democracy/icon-cache/a712c5279a4c147fbe9a1b08ba475c6f.03622854.jpg
< ./home/mythtv/.democracy/icon-cache/a84b9611f52dd9d0c367b05eb0d59641.08682779.jpg
< ./home/mythtv/.democracy/icon-cache/a91353b2cd223e8c1c828eec193e658f.44983660.jpg
< ./home/mythtv/.democracy/icon-cache/abbabaa11ad4b675164ce9b1cd04ef9b.28965111.jpg
< ./home/mythtv/.democracy/icon-cache/album.64334388.jpg
< ./home/mythtv/.democracy/icon-cache/antony.and.johnsons-you.are.my.sister.19175287.jpg
< ./home/mythtv/.democracy/icon-cache/aphex.twin-window.licker.86049056.jpg
< ./home/mythtv/.democracy/icon-cache/autechre-gantz.graf.19728141.jpg
< ./home/mythtv/.democracy/icon-cache/b066e387bae825cc8d891ee5630b6566.29575888.jpg
< ./home/mythtv/.democracy/icon-cache/b23cf7283ff9a25c578094ed6ca591e8.00506126.jpg
< ./home/mythtv/.democracy/icon-cache/b2de335b9ea1f2d312d60876eba6a732.06377126.gif
< ./home/mythtv/.democracy/icon-cache/b81f4f0464a290987375162668ce65a6.83969878.jpg
< ./home/mythtv/.democracy/icon-cache/bd4d257282370c36c70de8c2eee7d64d.77357777.gif
< ./home/mythtv/.democracy/icon-cache/belle.and.sebastien-white.collar.boy.77539115.jpg
< ./home/mythtv/.democracy/icon-cache/bf35dd9a977ce931db1a23913e76d352.47289103.jpg
< ./home/mythtv/.democracy/icon-cache/books_not_bars_walking.12036425.jpg
< ./home/mythtv/.democracy/icon-cache/bush_for_peace_bush.67499351.jpg
< ./home/mythtv/.democracy/icon-cache/c040307126ebaf97daeb1e9093823ce7.16010864.jpg
< ./home/mythtv/.democracy/icon-cache/c13ae26db48b9b796178668a4a88d6ed.96569493.JPG
< ./home/mythtv/.democracy/icon-cache/c2ad4c1e18575aa5bb0995fe14dd9983.15579834.jpg
< ./home/mythtv/.democracy/icon-cache/c3749372407d1fa00de29de53b44942e.07629970.jpg
< ./home/mythtv/.democracy/icon-cache/c47e094c23fc698ba9da0650bb652b1b.04193496.jpg
< ./home/mythtv/.democracy/icon-cache/c58a1418c35e239e565904a9eca01661.98066098.jpg
< ./home/mythtv/.democracy/icon-cache/c6f3f87bc70d0de0d2bac0fa47bc00ef.91792680.jpg
< ./home/mythtv/.democracy/icon-cache/c8b4e9013d31250491f4ab2c65524c4f.15169367.gif
< ./home/mythtv/.democracy/icon-cache/cat.power-living.proof.72683410.jpg
< ./home/mythtv/.democracy/icon-cache/cc84446233ee897fec23fb303f9e6513.80843083.jpg
< ./home/mythtv/.democracy/icon-cache/ccedabef8f93dd0663630a558d8a5e2a.32000906.jpg
< ./home/mythtv/.democracy/icon-cache/cdf0c30e688b22a2e1543cee43e4fa59.82393000.jpg
< ./home/mythtv/.democracy/icon-cache/cfacff33740939f979e0945558a79928.03094543.3_0001
< ./home/mythtv/.democracy/icon-cache/cocorosie-noahsark.66444209.jpg
< ./home/mythtv/.democracy/icon-cache/d25cca2a88b596943b362a61af7223a8.03495852.jpg
< ./home/mythtv/.democracy/icon-cache/d60b5345501c9e71841242b79b9663cc.57850454.jpg
< ./home/mythtv/.democracy/icon-cache/day_of_remembrance_candles.24393607.jpg
< ./home/mythtv/.democracy/icon-cache/db973daa66ce7fe183499b4c8a90d99b.87762404.jpg
< ./home/mythtv/.democracy/icon-cache/dea7012f4ee2625871d9847e41bd0c47.26708854.jpg
< ./home/mythtv/.democracy/icon-cache/dedicated_to_my_family_mom.71020250.jpg
< ./home/mythtv/.democracy/icon-cache/delwire.69259108.jpg
< ./home/mythtv/.democracy/icon-cache/dugen-panda.97704754.jpg
< ./home/mythtv/.democracy/icon-cache/e0288f7e9dd7642a8e062f42e7e9dc3a.16875283.jpg
< ./home/mythtv/.democracy/icon-cache/e142c513f7b54463a6ca4a34a769e20e.76726359.gif
< ./home/mythtv/.democracy/icon-cache/e687d57b9881a37035c27cc5c178124b.12494183.gif
< ./home/mythtv/.democracy/icon-cache/e7d4787fd922dd4c167c12a2174acea7.84094783.jpg
< ./home/mythtv/.democracy/icon-cache/f328d785695fe7f950a40177a7447955.12682263.jpg
< ./home/mythtv/.democracy/icon-cache/f998d777298eedaa32c350c140e25904.84507395.jpg
< ./home/mythtv/.democracy/icon-cache/fae2f936c8fa04785f95a0aff836ebb6.12596650.jpg
< ./home/mythtv/.democracy/icon-cache/george_ryan.78402431.jpg
< ./home/mythtv/.democracy/icon-cache/hot.hot.heat-bandages.12701061.jpg
< ./home/mythtv/.democracy/icon-cache/i_promise_africa_looking.94092586.jpg
< ./home/mythtv/.democracy/icon-cache/icon.34110872.gif
< ./home/mythtv/.democracy/icon-cache/icon.49316123.gif
< ./home/mythtv/.democracy/icon-cache/icon.62751376.gif
< ./home/mythtv/.democracy/icon-cache/iron.and.wine-naked.as.we.came.09848572.jpg
< ./home/mythtv/.democracy/icon-cache/ithemba_singing.30877574.jpg
< ./home/mythtv/.democracy/icon-cache/jamie.lidell-the.city.65876509.jpg
< ./home/mythtv/.democracy/icon-cache/laugh_at_the_fat_kid_eating.09940294.jpg
< ./home/mythtv/.democracy/icon-cache/lean_on_me_hoop.04968518.jpg
< ./home/mythtv/.democracy/icon-cache/mr_icon.17851170.gif
< ./home/mythtv/.democracy/icon-cache/novela_novela_comforting.52685510.jpg
< ./home/mythtv/.democracy/icon-cache/pepe.deluxe.salami.fever.35276343.jpg
< ./home/mythtv/.democracy/icon-cache/petra.jean.phillipson.14171333.jpg
< ./home/mythtv/.democracy/icon-cache/popaganda_posting.77399538.jpg
< ./home/mythtv/.democracy/icon-cache/prefuse.73-half.of.what.89890292.jpg
< ./home/mythtv/.democracy/icon-cache/rocketboom_logo.53904741.jpg
< ./home/mythtv/.democracy/icon-cache/seeds_of_hope_watering.69369954.jpg
< ./home/mythtv/.democracy/icon-cache/spring_in_awe_lights.34135191.jpg
< ./home/mythtv/.democracy/icon-cache/struggling_to_survive_minimum.85758041.jpg
< ./home/mythtv/.democracy/icon-cache/the.cloud.room-hey.now.now.85755147.jpg
< ./home/mythtv/.democracy/icon-cache/the.mountain.goats-woke.up.new.87482095.jpg
< ./home/mythtv/.democracy/icon-cache/the.polish.ambassador-earth.versus.the.46868485.jpg
< ./home/mythtv/.democracy/icon-cache/the.postal.service-such.great.heights.02310377.jpg
< ./home/mythtv/.democracy/icon-cache/the.shins-pink.bullets.49138469.jpg
< ./home/mythtv/.democracy/icon-cache/the.thermals-no.culture.icons.30753976.jpg
< ./home/mythtv/.democracy/icon-cache/the_children_of_birmingham_group.46013236.jpg
< ./home/mythtv/.democracy/icon-cache/the_meatrix_trio.73815480.jpg
< ./home/mythtv/.democracy/icon-cache/the_sixth_section_group.99893355.jpg
< ./home/mythtv/.democracy/mozilla
< ./home/mythtv/.democracy/mozilla/.parentlock
< ./home/mythtv/.democracy/mozilla/cert8.db
< ./home/mythtv/.democracy/mozilla/history.dat
< ./home/mythtv/.democracy/mozilla/key3.db
< ./home/mythtv/.democracy/mozilla/prefs.js
< ./home/mythtv/.democracy/mozilla/secmod.db
1577,1579d1370
< ./home/mythtv/.mythtv/MythPhone/Photos
< ./home/mythtv/.mythtv/MythPhone/Voicemail
< ./home/mythtv/.mythtv/MythPhone/siplog.txt
1632a1424
> ./home/mythtv/.mythtv/lircrc
2370a2163
> ./home/mythtv/.serverauth.3620
2576a2370,2371
> ./root/.fuppes
> ./root/.fuppes/fuppes.cfg
Warning, file lists are not identical!

Checking for the existance of the DB dump file...
DB dump file exists. Checking the compression...
Compression looks OK. Checking DB dump contents...
Generating a list of tables and record counts in the DB dump...
Generating a list of tables and record counts in the live DB...
Comparing live versus saved tables...
Live and saved table lists match.

The restore failed or was already modified!
Doing any needed file updates...
Restarting MythTV server: mythbackendNo /usr/bin/mythbackend found running; none killed.
.
.

** Partial or total data restoration failure **
Please post the contents of /var/log/restore.log following
'Sanity checking your restore...' to the 'mythrestore failed' thread
on http://mysettopbox.tv/phpBB2/viewforum.php?f=6


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 16, 2007 7:15 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Interesting. What version were you upgrading from and how did you make the backup? What (if anything) do you have in your "/myth/backup/restore.list" file? I'd also like a listing of your /myth/backup directory if possible...

I suspect that the system is probably usable, since I don't see anything fatal there. The democracy player stuff will all get repopulated, Don't know anbbout the MythPhone stuff.

Oh and thanks, we haven't had much luck up to now getting people who had a failure to provide this info. :D


Top
 Profile  
 
 Post subject: Mine failed too
PostPosted: Thu May 17, 2007 6:03 am 
Offline
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location: Manchester UK
Hi all,

I had exactly the same problem with my upgrade from e50 to f1

It reported the same failiure when restoring. I only had an hour b4 the gf's programs had to be recorded so panic set in. :oops:

I had done a backup using the menu in e50 to generate the backup and it said the backup was complete.

having intalled f1 and gone into the frontend there was nothing in my recordings menu so i did a restore from the menu and it said it had failed.

I rebooted and after that everything was ok all recordings videos etc were there ??

:)

Other than that everything went fine my lirc and xorg conf file seemed to have be restored so the only thiong i had to set up was samba and webmin

_________________
Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330


Top
 Profile  
 
 Post subject: Re: Mine failed too
PostPosted: Thu May 17, 2007 6:33 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
simonf wrote:
having intalled f1 and gone into the frontend there was nothing in my recordings menu so i did a restore from the menu and it said it had failed.

I rebooted and after that everything was ok all recordings videos etc were there ??

Sounds like you had the delayed backend restart issue rather than a real failure. The 2nd manual restore was probably unnecessary. See the R5F1 hints and hazards posting, Known Issue #1.
tjc wrote:
(one symptom is an empty recordings list)


Top
 Profile  
 
PostPosted: Fri May 25, 2007 6:49 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
OK, here's the story on the false alarms from the restore sanity checking.

In older versions both /home/mythtv/.democracy and /home/mythtv/.mythtv/MythPhone were real directories that live under /home/mythtv which put them in the (smallish) root partition. Both of these can get big so somewhere along the line Cecil moved them under /myth and replaced them with symbolic links to the new location.

The restore does the right thing, and the subdirectories and files end up in the new location, but the checking doesn't (and shouldn't for reasons I won't go into here) follow symbolic links so it doesn't see them, thus producing a false alarm.

If the differences in your /var/log/restore.log logfile match the ones described there, you can safely ignore the error. I'm still trying to come up with a good clean & robust fix for this.

Since I haven't played with either of these modules I never saw this case come up, and nobody who had restore errors posted the output from their restore checking until the mighty and honorable elephant (bless his trunk and tusks!) shone a light into this dark corner.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 26, 2007 6:05 pm 
Offline
Joined: Fri May 13, 2005 8:46 am
Posts: 48
Location: Grand Rapids, MI
thanks for this thread. i had the .democracy restore errors too...

_________________
ASUS P5N7A-VM, 2.5gHz E5200, 2GB crucial DDR2, pvr-250, hdhomerun, URC-8820 remote, Panasonic TH-42PZ80U, LinHES 6.01.00


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 26, 2007 6:14 pm 
Offline
Joined: Fri May 13, 2005 8:46 am
Posts: 48
Location: Grand Rapids, MI
it also appears that my mythconverg.sql.gz file was empty, and in hindsight, this is likely due to me assigning a new root password to mysql... (with i could remember 100%, but i think this must be the reason)... I was upgrading from R5C7, with "successful" backups created from the frontend menu... i just mention this in case it will help someone else... if this is the wrong place, i apologize in advance, feel free to move it.

thanks!
-tony

_________________
ASUS P5N7A-VM, 2.5gHz E5200, 2GB crucial DDR2, pvr-250, hdhomerun, URC-8820 remote, Panasonic TH-42PZ80U, LinHES 6.01.00


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 26, 2007 6:37 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Yeah, that would probably do it. And since neither the dump nor the select produced anything they would match... :? Sigh... Maybe I should add an extra check that the counts are not all 0... :|

I'm thinking something like this (untested):
Code:
*** /usr/local/bin/backupcommon Mon May 14 22:52:14 2007
--- backupcommon        Sat May 26 21:00:08 2007
***************
*** 157,162 ****
--- 157,176 ----
      return $FILE_STATUS
  }

+ has_records () {
+     filename="$1"
+     description="$2"
+     if [ $(wc -l < "$filename") -eq 0 ] ; then
+         echo "Warning, could not get record counts from $description!"
+         return 1
+     fi
+     if [ $(awk '{cnt+=$2} END {print cnt}' < "$filename") -eq 0 ] ; then
+         echo "Warning, total record count from $description is zero!"
+         return 1
+     fi
+     return 0
+ }
+
  check_tables () {
      LIVE_TABLES=/tmp/live_tables_$$
      SAVED_TABLES=/tmp/saved_tables_$$
***************
*** 180,191 ****
--- 194,207 ----
               records[tbl] += n; } \
           END { for (tbl in records) print tbl, records[tbl]; }' |
        /bin/sed 's/mythlog [0-9]*/mythlog 0/' | /usr/bin/sort >$SAVED_TABLES
+     has_records "$SAVED_TABLES" "DB dump" || return 1

      echo "Generating a list of tables and record counts in the live DB..."
      for tbl in $((cd $DATABASE_DIR ; /bin/ls *.MYD) | /bin/sed '/\.MYD$/s///'$
          /usr/bin/mysql mythconverg -sBe "select '$tbl', count(*) from $tbl"
      done | /usr/bin/tr -s '\t' ' ' |
        /bin/sed 's/mythlog [0-9]*/mythlog 0/' | /usr/bin/sort >$LIVE_TABLES
+     has_records "$LIVE_TABLES" "live DB" || return 1

      echo "Comparing live versus saved tables..."
      /usr/bin/diff $LIVE_TABLES $SAVED_TABLES


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 27, 2007 6:54 pm 
Offline
Joined: Thu Jan 01, 2004 9:21 pm
Posts: 84
Location: Fort Collins, CO USA
Got an error doing an auto-upgrade from R5C7 to R5F1. The backed up files restored fine, but it appears that the DB didn't. Here's what I think is the pertinent section of the restore.log. Would appreciate any help with this. Thanks.

Quote:
Completed the restore of files.
Starting the DB restore, this can take a while...
Clearing out the existing skeleton...
Recreating the db...
Restoring the data (long)...
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near './etc/
s only).
ReportToSyslog=no
WaitTime=5
User=nobody
ServerScreen=no
Foregro' at line 1
Doing any needed db updates...
Completed the DB restore.
Sanity checking your restore...

Checking for the existance of the backup tar file...
Backup tar file exists. Checking the compression...
Compression looks OK. Checking backup tar file contents...
Generating a list of the backup contents...
/bin/tar: ./etc/htdigest: Not found in archive
/bin/tar: ./etc/apache2/apache2.conf: Not found in archive
/bin/tar: ./var/www/mythweb/.htaccess: Not found in archive
/bin/tar: ./etc/X11/xorg.conf: Not found in archive
/bin/tar: ./etc/asound.conf: Not found in archive
/bin/tar: Error exit delayed from previous errors
Generating a list of the directory contents...
/usr/bin/find: ./etc/htdigest: No such file or directory
/usr/bin/find: ./etc/asound.conf: No such file or directory
Comparing directory versus backup contents...
0a1,2
> ./etc/X11/xorg.conf
> ./etc/apache2/apache2.conf
4a7
> ./etc/lirc/lirc-modules-source.conf
70a74
> ./home/mythtv/.democracy
504,506d507
< ./home/mythtv/.mythtv/MythPhone/Photos
< ./home/mythtv/.mythtv/MythPhone/Voicemail
< ./home/mythtv/.mythtv/MythPhone/siplog.txt
611a613
> ./home/mythtv/.mythtv/mythstream
733a736
> ./home/mythtv/.serverauth.3571
973a977
> ./home/stevenj/.bash_logout
977a982,986
> ./home/stevenj/.fluxbox/init
> ./home/stevenj/.fluxbox/keys
> ./home/stevenj/.fluxbox/lastwallpaper
> ./home/stevenj/.fluxbox/menu
> ./home/stevenj/.fluxbox/slitlist
1404a1414,1415
> ./root/.fuppes
> ./root/.fuppes/fuppes.cfg
1473a1485
> ./root/patcher.sh
1475a1488
> ./var/www/mythweb/.htaccess
Warning, file lists are not identical!

Checking for the existance of the DB dump file...
DB dump file exists. Checking the compression...
Compression looks OK. Checking DB dump contents...
Generating a list of tables and record counts in the DB dump...
Generating a list of tables and record counts in the live DB...
/bin/ls: *.MYD: No such file or directory
Comparing live versus saved tables...
Live and saved table lists match.

The restore failed or was already modified!
Doing any needed file updates...
Restarting MythTV server: mythbackendNo /usr/bin/mythbackend found running; none killed.
.
.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 27, 2007 8:48 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
That looks pretty nasty... For some reason it doesn't think that your file contains valid SQL statements.
Quote:
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near './etc/
s only).

Lets start with the contents of your /myth/backup directory:
Code:
ls -al /myth/backup

Next lets look at the head of your mysql dump. If your mythconverg.sql is compressed differently use the appropriate tool... If you have multiple files it'll look at them in the order; .gz, .bz2, and finally uncompressed. My memory says that the default compression in R5C7 is bzip2.
Code:
bzip2 -dc /myth/backup/mythconverg.sql.bz2 | head


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 27, 2007 9:49 pm 
Offline
Joined: Thu Jan 01, 2004 9:21 pm
Posts: 84
Location: Fort Collins, CO USA
/myth/backup listing
Code:
total 1323892
drwxrwxr-x   5 mythtv  mythtv        4096 May 27 22:35 .
drwxrwxrwx  30 stevenj stevenj       4096 May 27 22:13 ..
-rw-r--r--   1 mythtv  mythtv        6370 Jun  3  2006 XF86Config-4
-rwxr-xr-x   1 mythtv  mythtv        2036 May 27  2006 bootmisc.sh
-rwxr-xr-x   1 mythtv  mythtv       28559 Jan 29  2005 channel
-rw-r--r--   1 mythtv  mythtv        3507 Oct 22  2005 dhcpd.conf
-rwxr-xr-x   1 mythtv  mythtv        9240 Jun  1  2005 dos2unix
-rw-r--r--   1 mythtv  mythtv      405172 May 27  2006 etc.tar.gz
-rw-r--r--   1 mythtv  mythtv      405172 May 26  2006 etc.tar.gz.bak
-rw-r--r--   1 mythtv  mythtv         225 Jun  3  2006 exports
-rw-r--r--   1 mythtv  mythtv         843 Jun  3  2006 fstab
-rw-r--r--   1 mythtv  mythtv      336227 May 27  2006 home.tar.gz
-rw-r--r--   1 mythtv  mythtv      331068 May 26  2006 home.tar.gz.bak
-rw-r--r--   1 mythtv  mythtv         322 Jun  3  2006 hosts
-rw-r--r--   1 mythtv  mythtv       42433 Jan 23  2005 installed_debs.txt
-rwxr--r--   1 mythtv  mythtv        5845 Jun  6  2006 lircrc
drwxr-xr-x   2 mythtv  mythtv        4096 Mar 18  2006 lvmconf
drwxr-xr-x   2 mythtv  mythtv        4096 May 27 12:10 mondo
-rw-------   1 mythtv  mythtv  1026013360 May 27 07:57 mythconverg.sql
-rw-------   1 mythtv  mythtv    18087362 Jun  3  2006 mythconverg.sql.bz2
-rw-------   1 mythtv  mythtv    22911521 May 13 16:59 mythconverg.sql.bz2.1
-rw-------   1 mythtv  mythtv    44396060 Nov 25  2006 mythconverg.sql.bz2.4
-rw-------   1 mythtv  mythtv    43341990 Oct 26  2006 mythconverg.sql.bz2.6
-rw-------   1 mythtv  mythtv    43263444 Oct 26  2006 mythconverg.sql.bz2.7
-rw-------   1 mythtv  mythtv       28911 Jun 26  2006 mythconverg.sql.bz2.9
-rwxr-xr-x   1 mythtv  mythtv        2905 May 27  2006 mythlink.sh
-rwxr-xr-x   1 mythtv  mythtv        2915 May 27  2006 mythlink2.sh
-rwxr-xr-x   1 mythtv  mythtv          59 May 27  2006 mythrebuild.sh
-rw-r--r--   1 mythtv  mythtv     3684995 May 27  2006 mythtv.tar.bz2
-rwxr-xr--   1 mythtv  mythtv         189 May 27  2006 restartmyth.sh
-rwxr-----   1 mythtv  mythtv    11214343 May 27  2006 root.tgz
-rwxr-----   1 mythtv  mythtv    11214219 May 26  2006 root.tgz.bak
-rw-------   1 mythtv  mythtv    18551303 May 27 07:58 savedfiles.tar.bz2
-rw-------   1 mythtv  mythtv    18536665 May 13 16:23 savedfiles.tar.bz2.2
-rw-------   1 mythtv  mythtv    18520519 Apr 10 08:54 savedfiles.tar.bz2.3
-rw-------   1 mythtv  mythtv    18220343 Nov 25  2006 savedfiles.tar.bz2.5
-rw-------   1 mythtv  mythtv    18217520 Oct 26  2006 savedfiles.tar.bz2.6
-rw-------   1 mythtv  mythtv    18233212 Oct 26  2006 savedfiles.tar.bz2.7
-rw-------   1 mythtv  mythtv    18105090 Jun 26  2006 savedfiles.tar.bz2.8
drwxr-xr-x   2 mythtv  mythtv        4096 May 27 08:35 tmp


The 1GB uncompressed one listed first seems to be the one from today's backup before I started the upgrade. I assume you want to look at that file so I'll need to know the command to get what you want from it. Or is there a problem with it since it's not compressed? I'm curious why it isn't compressed and why that one from June 3rd of last year doesn't have a number at the end??


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 28, 2007 8:13 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Yeah, that's the problem... It found the old compressed one before the newer uncompressed one. As for the numbered files, they're the old backups from the automatic rollover, and yours look a bit odd. The dates and numbers for the mythconverg.sql and savedfiles.tar files don't match up. BTW - The hints posting warns about this, both in Known Changes 1.2 and Phase 0 step 1.3, and even provides example commands to check for it.

To fix this, make a subdirectorty called old and move everything but the newest file set into it. Then touch /home/mythtv/.upgrade as the mythtv user and reboot. This will rerun the phase 2 setup including the restore and should get you back in good shape. Something like this should do the trick (untested):
Code:
mkdir /myth/backup/old
mv $(ls -1 /myth/backup/* | sed -e '/\/myth\/backup\/old/d' \
  -e '/\/myth\/backup\/mythconverg\.sql/d' \
  -e '/\/myth\/backup\/savedfiles\.tar\.bz2/d') /myth/backup/old
su - mythtv -c 'touch /home/mythtv/.upgrade'
reboot


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 28, 2007 12:58 pm 
Offline
Joined: Thu Jan 01, 2004 9:21 pm
Posts: 84
Location: Fort Collins, CO USA
TJC, thanks for your help. Really appreciate it. I had read your hints posting including the sections you reference several times, but it still wasn't clear to me if mine was okay or not. I think I assumed that if I didn't have bz and gz versions of the backups I was ok.

Anyway, last night (before your post this morning), I got anxious and ended up re-installing R5C7. The auto-upgrade of it spent a couple hours restoring the db but it still wouldn't load so I ended up restoring the db directory from a mondo backup I had made yesterday. That got me back going (after re-enabling sql networking in the my.cnf file). So I'm about to try the upgrade again.

Something confusing to me though. I ran mythbackup as root from a prompt and it completed in a couple of minutes. So I ran it again from the Myth menu and it took over an hour (running bzip most of the time). IIRC, that's typical (at least for me), I'm just not sure what's different between running it from a prompt and the menu. The menu xml file looks like it just sudo runs the same mythbackup script.

After running it from the menu, the pertinent sections of my /myth/backup directory is as follows:

Code:
-rw-------   1 root    root    1024935623 May 28 10:51 mythconverg.sql
-rw-------   1 mythtv  mythtv    18105090 Jun 26  2006 mythconverg.sql.bz2
-rw-------   1 mythtv  mythtv    48807541 May 28 09:18 mythconverg.sql.bz2.1
-rw-------   1 mythtv  mythtv    18087362 Jun  3  2006 mythconverg.sql.bz2.2
-rw-------   1 mythtv  mythtv    22911521 May 13 16:59 mythconverg.sql.bz2.3
-rw-------   1 mythtv  mythtv    44396060 Nov 25  2006 mythconverg.sql.bz2.6
-rw-------   1 mythtv  mythtv    43341990 Oct 26  2006 mythconverg.sql.bz2.8
-rw-------   1 mythtv  mythtv    43263444 Oct 26  2006 mythconverg.sql.bz2.9
-rw-------   1 root    root      18525735 May 28 10:52 savedfiles.tar.bz2
-rw-------   1 root    root      18511536 May 28 09:19 savedfiles.tar.bz2.1
-rw-------   1 mythtv  mythtv    18551303 May 27 07:58 savedfiles.tar.bz2.2
-rw-------   1 mythtv  mythtv    18536665 May 13 16:23 savedfiles.tar.bz2.4
-rw-------   1 mythtv  mythtv    18520519 Apr 10 08:54 savedfiles.tar.bz2.5
-rw-------   1 mythtv  mythtv    18220343 Nov 25  2006 savedfiles.tar.bz2.7
-rw-------   1 mythtv  mythtv    18217520 Oct 26  2006 savedfiles.tar.bz2.8
-rw-------   1 mythtv  mythtv    18233212 Oct 26  2006 savedfiles.tar.bz2.9


What stands out odd to me here is that mythconverg.sql.bz2 file with a Jun 26 2006 date. If you look at my old listing above there was one there with that date but it was only 28KB. The new one is 18MB. Don't know where that came from.

Anyway, I said all that for posterity and you can comment if you like. I'd like to start the upgrade again. Will do what you suggested this morning concerning moving everything except the current file set into a subdir. Just to clarify, what should be left in the /myth/backup dir after the move is the uncompressed mythconverg.sql dump file and savedfiles.tar.bz2. Is that correct? Thanks again.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 28, 2007 1:34 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
If you remove or rename the old mythconverg.sql.bz2 it should actually find the right versions of the files.

To deal with backups in multiple historical formats the current version of the restore script tries to determine the compressed/uncompressed format of each of the files. However it's not all that smart and when confronted with multiple possiblities it just goes with the first one it finds.

For mythconverg.sql it tries in order:
    - mythconverg.sql.gz - gzip compression
    - mythconverg.sql.bz2 - bzip2 compression
    - mythconverg.sql - uncompressed

For savedfiles.tar it tries in order:
    - savedfiles.tar.gz - gzip compression
    - savedfiles.tar.bz2 - bzip2 compression
    - savedfiles.tar - uncompressed


If you make sure that you only have one of those three formats for each base file name or make sure that the desired file will be found before any older rivals it will do the right thing.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 28 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