[mythtv-users] MythVideo deleted everyting in videometadata

Krzysztof Adamski k at adamski.org
Wed Mar 10 03:21:31 UTC 2010


On Wed, 2010-03-10 at 14:58 +1300, Nick Rout wrote:
> On Wed, Mar 10, 2010 at 2:54 PM, Krzysztof Adamski <k at adamski.org> wrote:
> > On Wed, 2010-03-10 at 13:56 +1300, Nick Rout wrote:
> >> On Wed, Mar 10, 2010 at 1:40 PM, Krzysztof Adamski <k at adamski.org> wrote:
> >> > On Wed, 2010-03-10 at 12:33 +1300, Nick Rout wrote:
> >> >> On Tue, Mar 9, 2010 at 5:42 PM, Krzysztof Adamski <k at adamski.org> wrote:
> >> >> > On the weekend I finally had time to upgrade to 0.22 (Debian Lenny,
> >> >> > debian-multimedia.org).
> >> >> >
> >> >> > Everything went mostly fine.
> >> >> >
> >> >> > Today I added a movie to the video folders and run the 'Scan for
> >> >> > changes' from withing mythvideo. Progress bar went from 0 to 100 in
> >> >> > about 5 seconds, then I got videos, and all data in videometadata table
> >> >> > is gone. I did some googling and this result is when mythvideo can not
> >> >> > find video files on the local machine. But in my case the files are on
> >> >> > the local machine, even the output that showed up in the terminal:
> >> >> >
> >> >> > 2010-03-08 23:24:45.551 MythVideo::ScanVideoDirectory Scanning
> >> >> > (/file-store/mythvideo/video)
> >> >> > 2010-03-08 23:24:48.561 buildFileList directory
> >> >> > = /file-store/mythvideo/video
> >> >> > 2010-03-08 23:24:48.561 MythVideo::ScanVideoDirectory Scanning
> >> >> > (/file-store/mythvideo/video)
> >> >> >
> >> >> > shows the directory /file-store/mythvideo/video which is full of files.
> >> >> > This directory is NFS mounted to a second FE.
> >> >> > Now if I do the some thing from the FE that has the files locally, the
> >> >> > scan finds the file. Both machines have the file at the exact same path.
> >> >> > Why the different behaviour depending on which FE I do the scan?
> >> >>
> >> >> Can the user who is running the frontend see the files?
> >> >
> >> > All files and directories are world readable (-rw-r--r--).
> >> > This worked with 0.21 from the same FE.
> >>
> >>
> >> 1. Just to be sure go into the directory as the user running the
> >> mythfrontend process and type ls -l
> >>
> >> 2. Are you running storage groups for mythvideo? If so you don't need
> >> to mount over nfs. Is your system confused over storage groups plus a
> >> mount. I find this area rather confusing myself, but there is a
> >> transition howto in the wiki that may be worth reading:
> >
> > I didn't configure storage groups for video since I like using mplayer
> > to watch videos.
> > The user I use for the frontend on the nonworking FE has full access to
> > the video files.
> >
> > Something new and weird is now happening. I restored the videometadata
> > table and I can see all the videos on the FE that has them local, but on
> > the second FE that NFS mounts them, mythvideo shows no files, yet the
> > log file shows
> > 2010-03-09 20:51:02.487 MythVideo::ScanVideoDirectory Scanning
> > (/file-store/mythvideo/video)
> > this is the correct path. When I go there I can play any video with
> > mplayer.
> 
> 
> And that is the same path (/file-store/mythvideo/video) on the FE and the FE/BE?

Yes, it is the same path on the both FE and BE, the video files are
local on one FE and NFS mounted on the other FE and BE (but I guess it
does not matter that they are also visible on the BE).

At first the files were visible in mythvideo on both FEs, but after the
scan of the NFS FE they become invisible, a scan on the local FE found
them, but they stayed invisible on the NFS FE.
After I restored the videometadata table, the files are visible in
mythvideo on the local FE but not on the NFS FE.





More information about the mythtv-users mailing list