[mythtv-users] mythfilldatabase failing after OS upgrade

Daryl McDonald darylangela at gmail.com
Fri Jan 6 21:05:27 UTC 2023


On Fri, Jan 6, 2023 at 4:01 PM Hika van den Hoven <hikavdh at gmail.com> wrote:

> Hoi Daryl,
>
> There is one thing you always have to remember when you move data like
> this between old and new systems or even more important, share them
> between two installation on one physical system.
>
> usernames and groupnames are meaningless to the computer. The computer
> uses the numerical u(ser)id and g(roup)id. For our benefit as stupid
> mortals it translates it to a name.
>
> However the translation between the numerical id's and the names is
> unique to every installation, with the only exception of root. Root
> always has a uid of 0 and a gid of 0. Some of the groups have
> generally by agreement the same gid, but they could be another.
>
> So if you create a new installation and want to copy or share data
> with an old installation you have to ensure the involved users and
> groups have the same uid and gid on both installations. You can set
> the uid on user creation (if not already taken by another user).
>
> This is why I use ldap for network wide user and group management. The
> user hika and mythtv have the same uid on all computers and most
> groups likewise.
>
> Tot mails,
>   Hika                            mailto:hikavdh at gmail.com
>
> "Zonder hoop kun je niet leven
> Zonder leven is er geen hoop
> Het eeuwige dilemma
> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>
> De lerende Mens
>

 daryl at trieli:~$ sudo find / -group lxd 2>/dev/null | tail -5
/media/daryl/b48b3666-5550-4407-859d-74f11d287875/home/mythtv/.xmltv/SchedulesDirect.DB
/media/daryl/b48b3666-5550-4407-859d-74f11d287875/home/mythtv/.xmltv/tv_grab_zz_sdjson_sqlite.conf
/media/daryl/b48b3666-5550-4407-859d-74f11d287875/home/mythtv/antenna.xmltv
/media/daryl/b48b3666-5550-4407-859d-74f11d287875/tmp/hdhr_discovery.log
/media/daryl/b48b3666-5550-4407-859d-74f11d287875/etc/mythtv/config.xml
daryl at trieli:~
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230106/3826efbd/attachment-0001.htm>


More information about the mythtv-users mailing list