[mythtv-users] ts File Migration to New Backend

Stephen Worthington stephen_agent at jsw.gen.nz
Mon Nov 18 16:46:59 UTC 2024


On Mon, 18 Nov 2024 09:11:12 -0600, you wrote:


>> >/Quick thought: have a look at your storage groups, see where they 
>> have been set to./
>>
>> Yes, that sounds like the problem.  MythTV will only see recording
>> files that are in a storage group directory.  On BE5, the restored
>> database will have the storage groups set to the same directories as
>> they were on BE4.  So the directories in your storage group settings
>> have to exist in the same places on BE5 as they were on BE4.
>>
>> To see all the storage groups:
>>
>> sudo mysql		==>   sudo mysql mythconverg
>> select * from storagegroup order by groupname,dirname;
>
>*+----+-------------+----------+---------------------------+*
>*| id | groupname | hostname | dirname |*
>*+----+-------------+----------+---------------------------+*
>*| 30 | Banners | BE5 | /media/MythTV/banners |*
>*| 38 | Coverart | BE5 | /media/MythTV/coverart/ |*
>*| 35 | DB Backups | BE5 | /media/MythTV/db_backups/ |*
>*| 18 | Default | BE5 | /media/MythTV/recordings |*
>*| 34 | Fanart | BE5 | /media/MythTV/fanart |*
>*| 19 | LiveTV | BE5 | /media/MythTV/livetv |*
>*| 32 | Music | BE5 | /media/MythTV/music |*
>*| 33 | MusicArt | BE5 | /media/MythTV/music_art |*
>*| 31 | Photographs | BE5 | /media/MythTV/photographs |*
>*| 29 | Screenshots | BE5 | /media/MythTV/screenshots |*
>*| 37 | Trailers | BE5 | /media/MythTV/trailers/ |*
>*| 36 | Videos | BE5 | /media/MythTV/videos/ |*
>*+----+-------------+----------+---------------------------+*
>*12 rows in set (0.00 sec)*
>
>So that might be the problem: the old BE4 is set for recordings 
>(lower-cased) and the new BE5 for Default. I’m guessing either a rename 
>project <slight whimper> or perhaps a bunch of soft links (thinking 
>easier as mostly copy and paste but what happens with the eventual BE6?)
>
>
>I did reboot the Backend in case...  nope.
>
>
>Thank You!!
>
>Barry

Your storage groups are not pointing to the /mount/WD_4TB partition. I
suspect that the /media/MythTV directory where they are pointing to
does not exist on BE5, but anyway all the storage groups should be
pointing to the matching directory on /mount/WD_4TB.  So you need to
use your browser on BE5 to go to localhost:6544.  Click on "Backend
Setup" (Gear icon) > Storage Groups tab, then for each storage group
change the front of the path from "/media/MythTV" to "/mount/WD_4TB".
You will need to click the "Enable Updates" button before changing the
settings, and that effectively shuts the backend down until you
restart the backend by clicking the "Restart Backend" button after you
complete the changes.


More information about the mythtv-users mailing list