[mythtv-users] mythfilldatabase failing after OS upgrade

Keith Pyle kpyle at austin.rr.com
Fri Jan 6 19:19:54 UTC 2023


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





More information about the mythtv-users mailing list