Page 1 of 1

[Solved] Upgrading from Ubuntu Repositories 29 to PPA 30

Posted: Thu Jul 04, 2019 1:53 pm
by busbee
I want to get the latest current MythTv, 30 (Ubuntu repositories are stuck on .29); I just really don't wanta lose my stuff :|

So the plan is to follow this post: [SOLVED] How On Earth Do You Get It Working? viewtopic.php?f=36&t=3114&p=15071&hilit ... rth#p15071

1. backup up the db:
mysqldump -u mythtv -p mythconverg > ~/mythconverg.bak
(backup of the recordings would take too much space.... crossing my fingers)

2. add the repo:
sudo add-apt-repository ppa:mythbuntu/30

3, do the upgrade (cross fingers)
sudo apt update
sudo apt upgrade mythtv

Will I get all my recordings, commercial flags, schedules, scheduled to record, channels, card configurations, etc back???

Re: Upgrading from Ubuntu Repositories 29 to PPA 30

Posted: Thu Jul 04, 2019 2:32 pm
by MikeB2013
For 1. to backup the database, the recommended method is to use mythconverg_backup.pl
see https://www.mythtv.org/wiki/Database_Backup_and_Restore
tip: mythconverg_backup.pl runs silently, so add --verbose to the command line and it shows what is happening.

For 3.
When upgrading from one mythtv version to the next e.g. 29 to 30, you need to use
sudo apt dist-upgrade instead of sudo apt upgrade (no mythtv on the end)

I recommend after the sudo apt dist-upgrade has completed you restart the pc (sudo reboot).

Finally, you will get everything back.
Note that after the restart it might take a while (usually a few minutes, unless you have a huge database!) to upgrade the mythconverg database to version 30 structure.

Mike

[Solved] Upgrading from Ubuntu Repositories 29 to PPA 30

Posted: Thu Jul 04, 2019 2:39 pm
by busbee
Smooth as a babies butt.... :D
No problems. :ugeek: