[mythtv-users] mythfilldatabase failing after OS upgrade

Daryl McDonald darylangela at gmail.com
Fri Jan 6 20:09:12 UTC 2023


It exists:
aryl at trieli:~$ ls -al /home/mythtv/.xmltv
total 104
drwxrwxr-x 2 mythtv mythtv  4096 Jan  6 11:39 .
drwxr-x--- 5 mythtv mythtv  4096 Jan  6 08:22 ..
-rw-r--r-- 1 mythtv mythtv 98304 Jan  6 11:39 SchedulesDirect.DB
daryl at trieli:~

but unlike the 20.04 system it does not have the json line:
aryl at trieli:/media/daryl/b48b3666-5550-4407-859d-74f11d287875/home$ ls -al
mythtv/.xmltv
total 56352
drwxrwxr-x 2 gdm lxd     4096 Jan  5 15:09 .
drwxr-xr-x 5 gdm lxd     4096 Apr  9  2022 ..
-rw-r--r-- 1 gdm lxd 57688064 Jan  2 15:02 SchedulesDirect.DB
-rw-rw-r-- 1 gdm lxd      143 Apr  9  2022 tv_grab_zz_sdjson_sqlite.conf
daryl at trieli:/media/daryl/b48b3666-5550-4407-859d-74f11d287875/home$


On Fri, Jan 6, 2023 at 2:20 PM Keith Pyle <kpyle at austin.rr.com> wrote:

> On 1/6/23 11:20, Daryl McDonald wrote:
> >> daryl at trieli:~$ sudo su mythtv
> >> $ tv_grab_zz_sdjson_sqlite --configure --config-file
> >> $HOME/.mythtv/antenna.xmltv
> >> tv_grab_zz_sdjson_sqlite uses a local database for downloaded EPG data.
> >> Please specify the database name created via tv_grab_zz_sdjson_sqlite
> >> --manage-lineups
> >> Database for Schedules Direct EPG:
> >> [/home/mythtv/.xmltv/SchedulesDirect.DB] antenna
> >> Unable to create parent directory for antenna: mkdir .: Permission
> denied
> >> at /usr/local/bin/tv_grab_zz_sdjson_sqlite line 4397.
> >> $ tv_grag_zz_sdjson_sqlite --configure --config-file
> >> $HOME/.mythtv/intenna.xmlyv
> >> sh: 2: tv_grag_zz_sdjson_sqlite: not found
> >> $ tv_grab_zz_sdjson_sqlite --configure --config-file
> >> $HOME/.mythtv/intenna.xmltv
> >> tv_grab_zz_sdjson_sqlite uses a local database for downloaded EPG data.
> >> Please specify the database name created via tv_grab_zz_sdjson_sqlite
> >> --manage-lineups
> >> Database for Schedules Direct EPG:
> >> [/home/mythtv/.xmltv/SchedulesDirect.DB] intenna
> >> Unable to create parent directory for intenna: mkdir .: Permission
> denied
> >> at /usr/local/bin/tv_grab_zz_sdjson_sqlite line 4397.
> >>
> > Here is a better look at permissions:
> > daryl at trieli:~$ ls -al ~mythtv/.mythtv
> I'm not familiar with tv_grab_zz_sdjson_sqlite, but can offer comments
> that may help.
>
> First, the path shown is /home/mythtv/.xmltv, while your ls output is for
> /home/mythtv/.mythtv.  So, we can't see the permissions on .xmltv or even
> if it exists.  Check that /home/mythtv/.xmltv exists and is, at least,
> permission 0750 (rwxr-x---).
>
> Second, the specific error looks odd:
>
> Unable to create parent directory for intenna: mkdir .: Permission denied
>
> Reading this literally, it is trying to make the current directory, which
> will almost certainly fail.  Look at the indicated script line (4397) and
> see where the argument to mkdir originates.  This may provide some insight
> into the failure.
>
> Keith
>
>
>
> _______________________________________________
> 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/2ece819b/attachment.htm>


More information about the mythtv-users mailing list