[Solved] Upgrading from Ubuntu Repositories 29 to PPA 30

For discussion of topics specific to MythTV on linux
Post Reply
busbee
Junior
Posts: 36
Joined: Sun Oct 14, 2018 12:07 pm
United States of America

[Solved] Upgrading from Ubuntu Repositories 29 to PPA 30

Post 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???
Last edited by busbee on Thu Jul 04, 2019 2:40 pm, edited 1 time in total.
MikeB2013
Senior
Posts: 519
Joined: Mon Jul 25, 2016 4:16 pm
Great Britain

Re: Upgrading from Ubuntu Repositories 29 to PPA 30

Post 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
busbee
Junior
Posts: 36
Joined: Sun Oct 14, 2018 12:07 pm
United States of America

[Solved] Upgrading from Ubuntu Repositories 29 to PPA 30

Post by busbee »

Smooth as a babies butt.... :D
No problems. :ugeek:
Post Reply