Kodi Community Forum

Full Version: unable to use nfs in advancedsettings.xml
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

i want to share database info and stuff like that to multiple XBMC installations.
Database is working fine on multiple installations.

But sharing thumbnails and stuff like that via nfs ist not working atm.

advancedsettings.xml
Code:
<pathsubstitution>
                                                <substitute>
                                                  <from>special://masterprofile/Thumbnails/</from>
                                                  <to>NFS://192.168.1.200/mnt/STORAGE15/XBMC/userdata/Thumbnails/</to>
                                                </substitute>
                                                <substitute>
                                                  <from>special://profile/sources.xml</from>
                                                  <to>NFS://192.168.1.200/mnt/STORAGE15/XBMC/userdata/sources.xml</to>
                                                </substitute>
                                                <substitute>
                                                  <from>special://profile/mediasources.xml</from>
                                                  <to>NFS://192.168.1.200/mnt/STORAGE15/XBMC/userdata/mediasources.xml</to>
                                                </substitute>
                                              </pathsubstitution>
and here my nfs export
Code:
/mnt/STORAGE15/XBMC     (sync,insecure,rw,nohide)

but for some reason i get the following errors:
Code:
16:24:00 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails
16:24:00 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails
16:24:00 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/Video
16:24:00 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/Video
16:24:01 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/Video/Bookmarks
16:24:01 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/Video/Bookmarks
16:24:01 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/0
16:24:01 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/0
16:24:02 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/1
16:24:02 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/1
16:24:02 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/2
16:24:02 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/2
16:24:02 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/3
16:24:02 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/3
16:24:02 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/4
16:24:02 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/4
16:24:03 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/5
16:24:03 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/5
16:24:03 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/6
16:24:03 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/6
16:24:03 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/7
16:24:03 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/7
16:24:04 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/8
16:24:04 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/8
16:24:04 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/9
16:24:04 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/9
16:24:04 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/a
16:24:04 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/a
16:24:05 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/b
16:24:05 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/b
16:24:05 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/c
16:24:05 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/c
16:24:06 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/d
16:24:06 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/d
16:24:06 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/e
16:24:06 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/e
16:24:06 T:3042898448   ERROR: Create - Error creating /storage/.xbmc/userdata/Thumbnails/f
16:24:06 T:3042898448   ERROR: Create - Error creating special://masterprofile/Thumbnails/f

and my XBMC share is still empty.

any suggestions?

btw is this the right why to share the images for the video and music database?
Looks like you've not got permissions on the NFS share set up correctly.
this was also my first thougth, but i do not know why anyone shouldn't have access
Code:
drwxrwxrwx  3 usrshare users     4096 Jän 15 17:23 XBMC
normaly everyone should have access
Hello,

may be this is a dead question, but just in case.

Have you try to write nfs: instead of NFS:

I had a similar problem with the name of the directory in the etc/exports and the name i was trying to use in the advancedsettings.xml
smb://192.168.100.111/MyVideos/
nfs://192.168.100.111/volume1/MyVideos/

in my case the difference was that in nfs needs to specify exact path including volume number, and it is Case sensitive but i dont use substitute but pathversion
be aware than Synology doesnt show proper Case size nor Kodi i(you have open EDIT SOURCE) than you will see exact path to nfs . What i did, i have added a source via Kodi, clicked EDIT SOURCE and then copied path to advanced settings. Now it does work.



Code:
<source>
            <name>MyVideos</name>
            <path pathversion="1">nfs://192.168.100.111/volume1/MyVideos/</path>
            <path pathversion="1">nfs://192.168.100.111/volume3/MyVideos03/</path>
            <allowsharing>true</allowsharing>
        </source>

I am sorry id did it in sources not advancedsettings, nevertheless i will leave this post just in case