Posts: 16,946
Joined: Feb 2011
Reputation:
256
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)
Posts: 37
Joined: Jul 2011
Reputation:
0
2011-08-06, 00:02
(This post was last modified: 2011-08-06, 07:04 by banzai75x.)
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.
Posts: 16,946
Joined: Feb 2011
Reputation:
256
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)
Posts: 37
Joined: Jul 2011
Reputation:
0
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.