Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Solved - Single NFS Share not working

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
jmgibson1981
Posts: 296
Joined: 2015-06-07 14:38
Has thanked: 11 times
Been thanked: 32 times

Solved - Single NFS Share not working

#1 Post by jmgibson1981 »

SOlVED - changing to ip address instead of proper name via dns fixed.

Managed to migrate my server to Debian today. Loving it. 2 minor issues though.

Server boots directly to Kodi for htpc. I also have an LTSP thin client direct booting to Kodi. In an effort to share my playlists across the boxes I have an nfs share from the server.

Problem... The main htpc in the living room can't mount the share. Errors in Kodi log saying permission denied. However works just fine in the bedroom. I'm stumped. Bedroom user can create, delete, and edit playlists no problem. It should be noted that all my media is in the /snapraid/pool share and I can play all of it from the living room with no issue, it just can't mount the shared playlist folder.

Code: Select all

##### pool for media sharing across the network #####
/snapraid/pool		192.168.1.0/24(rw,insecure,no_root_squash,no_subtree_check,fsid=2)
Advancedsettings.xml for each user

Code: Select all

<advancedsettings>
  <videodatabase>
    <type>mysql</type>
    <host>failbox.mylan.home</host>
    <name>jygvideo</name>
    <port>3306</port>
    <user>kodi</user>
    <pass>kodi</pass>
  </videodatabase> 
  <musicdatabase>
    <type>mysql</type>
    <host>failbox.mylan.home</host>
    <name>ourmusic</name>
    <port>3306</port>
    <user>kodi</user>
    <pass>kodi</pass>
  </musicdatabase>
  <videolibrary>
    <importwatchedstate>true</importwatchedstate>
    <importresumepoint>true</importresumepoint>
  </videolibrary>
  <pathsubstitution>
    <substitute>
      <from>/home/kodimain/.kodi/userdata/playlists</from>
      <to>nfs://failbox.mylan.home/snapraid/pool/kodiplaylists</to>
    </substitute>
  </pathsubstitution>
</advancedsettings>
Diff between the users.

Code: Select all

24c24
<       <from>/home/kodimain/.kodi/userdata/playlists</from>
---
>       <from>/home/kodimbr/.kodi/userdata/playlists</from>
Groups.

Code: Select all

cdrom:x:24:jason,kodimain,kodimbr
floppy:x:25:jason,kodimain,kodimbr
audio:x:29:jason,kodimain,pulse,kodimbr
dip:x:30:jason,kodimain,kodimbr
video:x:44:jason,kodimain,kodimbr
plugdev:x:46:jason,kodimain,kodimbr
netdev:x:108:jason,kodimain,kodimbr
kodimain:x:1100:
kodiplaylist:x:2001:kodimain,kodimbr
kodimbr:x:1101:
And finally permissions on directories.

Code: Select all

drwxr-xr-x  5 root kodiplaylist 4096 Jun 10 21:40 .
drwxr-xr-x 14 root root         4096 Jul  5 16:37 ..
drwxrwxr-x  2 root kodiplaylist 4096 Jun 10 21:40 mixed
drwxrwxr-x  2 root kodiplaylist 4096 Jun 10 21:40 music
drwxrwxr-x  2 root kodiplaylist 4096 Jul  2 10:36 video

Post Reply