NFS Working? - Thumbnails are disappearing
#1
I tried to setup NFS again on the iPAD and ATV2. I believe I had it working. I was able to scan in my media into the library and browse the NFS share. However after a few minutes, the thumbnails start to disappear.

When I first scanned the media in, all thumbnails are there, and then they slowly start to disappear.

Here is my log file when I open the Movies folder.

http://pastebin.com/wxsDg3vw

I am using MYSQL database with a shared thumbnail directory.
<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>192.168.1.50</host>
<port>3306</port>
<user>xbmc</user>
<pass>********</pass>
<name>xbmc_video</name>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.1.50</host>
<port>3306</port>
<user>xbmc</user>
<pass>********</pass>
<name>xbmc_music</name>
</musicdatabase>
<pathsubstitution>
<substitute>
<from>special://profile/Thumbnails</from>
<to>nfs://192.168.1.50/volume1/video/Thumbnails/</to>
</substitute>
</pathsubstitution>
</advancedsettings>
Reply
#2
Is the following file present on your NFS server?

Code:
/volume1/video/Thumbnails/Video/Fanart/a31f9975.tbn

If not XBMC doesn't have write permissions for that Folder on NFS. I think this would match exactly what you are seeing (first thumbs are there, but when they needed to be reloaded from NFS they wheren't there because they couldn't be written during scraping).
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
Memphiz Wrote:Is the following file present on your NFS server?

Code:
/volume1/video/Thumbnails/Video/Fanart/a31f9975.tbn

If not XBMC doesn't have write permissions for that Folder on NFS. I think this would match exactly what you are seeing (first thumbs are there, but when they needed to be reloaded from NFS they wheren't there because they couldn't be written during scraping).

The file is not there as you described. What does this mean? Is it a permissions issue? I have enabled RW on my exports file.

Additioanlly, I have scraped all my media with local copies of thumbnails, nfo's etc.

I can still play the media just fine, and their are other .TBN and DDS files all over the thumbnails folder.

EDIT: Additionally, the thumbnails for my TV Shows are working correctly.. Strange.
Reply
#4
Might be that some of the folders under /volume1/video/Thumbnails/ don't have the right permissions?!? Don't know your setup (user id mapping) but i would chmod or chown -R that folder so that your used userid gets the write permission ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#5
I re-read the other thread and changed my exports file. I was mapping anonid and groupid both to 501 which doesnt exist as a user on my server. Here is my exports file:

/volume1/video *(rw,all_squash,insecure,async,anonuid=1030,anongid=65538)

On my server, I have a user "xbmc". His user id is 1030, and his group is 65538.

When XBMC tries to connect, it creates the thumbnail directories. Here they are listed:
drwxr-xr-x 2 xbmc media sh 4096 Aug 5 21:35 0
drwxr-xr-x 2 xbmc media sh 4096 Aug 5 21:35 1
drwxr-xr-x 2 xbmc media sh 4096 Aug 5 21:35 2
drwxr-xr-x 2 xbmc media sh 4096 Aug 5 21:35 3
drwxr-xr-x 2 xbmc media sh 4096 Aug 5 21:35 4
drwxr-xr-x 2 xbmc media sh 4096 Aug 5 21:35 5
drwxr-xr-x 2 xbmc media sh 4096 Aug 5 21:35 6
drwxr-xr-x 2 xbmc media sh 4096 Aug 5 21:35 7
drwxr-xr-x 2 xbmc media sh 4096 Aug 5 21:35 8
drwxr-xr-x 2 xbmc media sh 4096 Aug 5 21:35 9
drwxr-xr-x 21 xbmc media sh 4096 Aug 5 21:35 Music
drwxr-xr-x 20 xbmc media sh 4096 Aug 5 21:35 Video
drwxr-xr-x 2 xbmc media sh 4096 Aug 5 21:35 a
drwxr-xr-x 2 xbmc media sh 4096 Aug 5 21:35 b
drwxr-xr-x 2 xbmc media sh 4096 Aug 5 21:35 c
drwxr-xr-x 2 xbmc media sh 4096 Aug 5 21:35 d
drwxr-xr-x 2 xbmc media sh 4096 Aug 5 21:35 e
drwxr-xr-x 2 xbmc media sh 4096 Aug 5 21:35 f
drwxr-xr-x 18 xbmc media sh 4096 Aug 5 21:35 generated
-rw-r--r-- 1 root root 0 Aug 5 21:58 ls

I then try to add files to library. Scanning goes as normal, but I still get the error below:

21:50:14 T:172830720 M:248307712 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //Thumbnails/Video/Fanart/41787dd7.tbn
21:50:14 T:172830720 M:248307712 ERROR: Failed to pwrite(volume1/video/Thumbnails/Video/Fanart/41787dd7.tbn) nfs_pwrite_async failed
21:50:14 T:172830720 M:248307712 ERROR: Cache - Failed write to file special://masterprofile/profiles/athome/Thumbnails/Video/Fanart/41787dd7.tbn

I'm not sure why its unable to write the file. XBMC is able to write .TBN files in other directories but the Fanart directory is having problems.

Hopefully this extra information helps. Thanks for any assistance.
Reply
#6
Look at the permissions for each folder involved into the failing write. Also double check if the file is not already there and you can't overwrite it because it has less permissions. Also check if there are files with size 0 in there...

Usermapping and permissions on the firstlevel folders you posted look perfect...

and there is a space in your export string on anongid which shouldn't be there...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#7
I gave up. Couldn't figure it out. All permissions looked fine and the folder looked okay to me too.

I reverted to using SMB share for the thumbnail directory but using NFS for the videos themselves.
Reply

Logout Mark Read Team Forum Stats Members Help
NFS Working? - Thumbnails are disappearing0