LinHES Forums
http://forum.linhes.org/

R5A30 and Mac OS X Frontend
http://forum.linhes.org/viewtopic.php?f=6&t=7805
Page 1 of 1

Author:  StayPuft [ Tue Jan 10, 2006 7:31 am ]
Post subject:  R5A30 and Mac OS X Frontend

Hi everyone.

Just wondering if anyone's had a chance to try R5A30 with the Mac frontend, located at http://www.thesniderpad.com/index.php?option=com_remository&Itemid=36&func=fileinfo&id=2.

My setup uses KnoppMyth as a backend only, and my girlfriend and I use the Mac OS X frontend on our PowerBooks primarily, so I'd like to know that it's been tested and confirmed working before I upgrade.

Thanks.

Author:  cesman [ Tue Jan 10, 2006 11:43 am ]
Post subject: 

Mac frontend should be no different than running the frontend on anything else. This does work w/ R5A30. However, if you backup and auto upgrade, the db schema is backup and restored. If you didn't fix this, it won't work...

Code:
#!/bin/bash
#/usr/loca/bin/mythbackup
/etc/init.d/mythtv-backend stop
cd /myth/backup
grep "INSERT INTO \`record\` "         mythconverg.sql > restore.sql
grep "INSERT INTO \`recorded\` "       mythconverg.sql >> restore.sql
grep "INSERT INTO \`oldrecorded\` "    mythconverg.sql >> restore.sql
grep "INSERT INTO \`recordedmarkup\` " mythconverg.sql >> restore.sql
mysql -u root < /usr/local/share/knoppmyth/drop.sql
mysql -u root < /usr/share/mythtv/sql/mc.sql
/usr/bin/GlobalSQLTweaker.sh /usr/local/share/knoppmyth/KnoppMyth.sql
/usr/local/bin/MythTV.sql /usr/local/share/knoppmyth/KnoppMyth.sql
mysql -u mythtv -pmythtv mythconverg < /myth/backup/restore.sql
/etc/init.d/mythtv-backend start
The above script should fix you up... Run it as root after upgrading . Ensure you complete the setup process first. I'd recommend R5A30.1.

Author:  StayPuft [ Tue Jan 10, 2006 1:05 pm ]
Post subject: 

Ok. I'll give it a shot over the weekend.

Author:  StayPuft [ Thu Jan 12, 2006 9:54 am ]
Post subject: 

So... Just to be sure I don't screw this up, I'd like to verify the steps I need to take.

1) From the MythTV menu, select KnoppMyth, then Backup.
2) Boot off of the KnoppMyth R5A30.1 CD.
3) Choose Auto-Upgrade
4) Boot from the hard drive, go through setup.
5) Run that script.
6) There is no step 6.

Also... I modified the disk layout on my system. /cache is now /dev/hda4 and /myth is /dev/hdb1, but /etc/fstab reflects these changes. This shouldn't be a problem, right?

Thanks in advance.

Author:  nigelpearson [ Fri Jan 13, 2006 6:25 am ]
Post subject:  Re: R5A30 and Mac OS X Frontend

StayPuft wrote:
Just wondering if anyone's had a chance to try R5A30 with the Mac frontend, located at http://www.thesniderpad.com/index.php?option=com_remository&Itemid=36&func=fileinfo&id=2.

It works for me. I didn't use that exact Mac app (downloaded an 0.18 version from somewhere else) but that shouldn't matter.

Author:  cesman [ Sat Jan 14, 2006 2:46 pm ]
Post subject: 

StayPuft wrote:
This shouldn't be a problem, right?
No, it should not. Was it?

Author:  StayPuft [ Sat Jan 14, 2006 2:52 pm ]
Post subject: 

Nope, no problems.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/