[mythtv-users] Recordings screen hangs after Ubuntu 18.04 upgrade

Stephen Worthington stephen_agent at jsw.gen.nz
Mon Mar 30 08:46:06 UTC 2020


On Mon, 30 Mar 2020 18:30:32 +1100, you wrote:

>I've just upgraded my MythBuntu 16.04 installation to Ubuntu 18.04. Since
>the upgrade when  go into the Recordings screen in MythFrontend the screen
>hangs - the whirrer goes round and round but nor recordings get displayed
>and eventually a MythContext message comes up saying "Backend is online",
>but still no recordings are displayed.
>
>In mythbackend.log I'm getting gazillions of tehse messages non-stop:
>
>Mar 30 18:25:51 mbe3 mythbackend: mythbackend[1126]: E ProcessRequest
>programinfo.cpp:2608 (GetPlaybackURL) ProgramInfo(1544_20191215045800.ts):
>GetPlaybackURL: '1544_20191215045800.ts' should be local, but it can not be
>found.
>Mar 30 18:25:51 mbe3 mythbackend: mythbackend[1126]: E ProcessRequest
>programinfo.cpp:2608 (GetPlaybackURL) ProgramInfo(1548_20200123043000.ts):
>GetPlaybackURL: '1548_20200123043000.ts' should be local, but it can not be
>found.
>Mar 30 18:25:51 mbe3 mythbackend: mythbackend[1126]: E ProcessRequest
>programinfo.cpp:2608 (GetPlaybackURL) ProgramInfo(2312_20200302115800.ts):
>GetPlaybackURL: '2312_20200302115800.ts' should be local, but it can not be
>found.
>
>So it looks like it can't find the recording files, but I don'd understand
>why not. The files are stored on a NAS in an NFS share. I also can't see
>them if I try to find them from the command line.
>
>Any ideas what exactly the upgrade broke and what I need to do to fix this?
>
>Regards,
>Phill

Maybe there is a newer version of NFS in 18.04 and it needs a new
option on the mount line in /etc/fstab to connect to an older version
of NFS on the NAS box.

Check /var/log/syslog for messages about mounting your NFS mount
points:

grep -i nfs /var/log/syslog

To find your NFS mount points, do:

grep -i nfs /etc/fstab

If your mount point is set up as /mnt/nas, for example, does:

sudo mount /mnt/nas

display any error messages?  Does it cause new messages in
/var/log/syslog?

What does

grep -i "/mnt/nas" /var/log/syslog

show (replace /mnt/nas with the correct mount point)?

Maybe completely coincidentally (or the cat or kid did it), the NAS
box is not working or not connected to your network?  Can you see it
from other devices?  Can you ping its IP address?

Is networking working at all since the 18.04 upgrade?

Since MythTV relies on the NAS box, maybe you need to have the startup
of mythbackend wait until the NAS box is mounted.  If your NAS box
mount point is /mnt/nas, then you can add these lines to the systemd
file for mythbackend in the [Unit] section:

Wants=mnt-nas.mount
After=mnt-nas.mount

Use this command to edit the systemd override file for mythbackend:

sudo systemctl edit mythtv-backend.service

If the override file does not exist yet or has no [Unit} section, add
the [Unit] section as well as those two lines:

[Unit]
Wants=mnt-nas.mount
After=mnt-nas.mount

That goes at the top of the override file.


More information about the mythtv-users mailing list