Unfortunately i have a new problem - i cant mount my Synology-NAS share as an media source.
I try the same way I’ve added the share many times on other Kodi devices:
Add source -> NFS -> NAS-IP -> Media-Share
But at this point i cannot “enter” the Media-Share.
I have already added NFS permissions to Vero’s static IP, disabled the Synology firewall and even reset my NAS…
Is there anything special to consider at Vero / OSMC or differently than with other Kodi devices?
Thanks in advance!
To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request
Depending on the used skin you have to set the settings-level to
standard or higher, in summary:
enable debug logging at settings->system->logging
enable component-specific logging for all components
enable event logging and notification event logging
reboot the OSMC device twice(!)
reproduce the issue
upload the log set (all configs and logs!) either using the
Log Uploader method within the
My OSMC menu in the GUI or the
ssh method invoking command
publish the provided URL from the log set upload, here
Thanks for your understanding. We hope that we can help you get up and running again shortly.
OSMC skin screenshots:
i have created a log:
Thanks for checking!
Failed to open(//) opendir call failed with “NFS: READDIRPLUS of / failed with NFS3ERR_ACCES(-13)”
Have you nfs4 enabled? if so try disabling it?
You may want to consider addings nfs shares as follows:
This how-to describes how to mount your network shares via autofs. Autofs should be as performant as fstab based mounting but has the advantage that your shares are mounted on demand which also should give you more reliability in case of network interuptions.
First install the autofs package
sudo apt-get install autofs
If you already have mounted your shares already via fstab comment out that line in fstab and reboot.
For this how-to we are going to use a directory for each server, if you wa…
Thanks for checking Tom!
Could you tell me how to check if nfsv4 is enabled and how to disable?
On DSM 6.2.3-25426, its located:
Control Panel -> File Services -> SMB/AFP/NFS
Under the NFS Section, below the Enable NFS tickbox, there is another tick box Enable NFSv4.1 support; if its ticked un-tick it.
NFSv1 is not enabled on DSM.
I have followed the instructions to mount the share via autofs and the share is mounted in the filesystem afterwards:
osmc@osmc:~$ mount | grep Vol1
/etc/auto.nfs.shares on /mnt/NAS/Vol1 type autofs (rw,relatime,fd=6,pgrp=2468,timeout=15,minproto=5,maxproto=5,direct,pipe_ino=16686)
But i can only list the content with sudo:
osmc@osmc:~$ sudo ls -lah /mnt/NAS/Vol1
drwxrwxrwx 12 root root 4.0K Apr 30 19:22 .
dr-xr-xr-x 3 root root 4.0K Jun 19 14:07 ..
drwxrwxrwx 24 1024 users 4.0K Jun 14 16:26 <Foldername>
not as user osmc:
osmc@osmc:~$ ls -lah /mnt/NAS/Vol1
ls: cannot open directory '/mnt/NAS/Vol1': Permission denied
In the osmc GUI i can also not enter the share. Is there a user / permissions issue and i have to do something on the Synology? This are the current user:
admin@DS418j:/$ cat /etc/passwd
admin:x:1024:100:System default user:/var/services/homes/admin:/bin/sh
Thanks in advance!
Assuming that’s a typo? As it should be NFSv4.1.
Sounds like a permissions issue server side, What settings do you have for Privilege & Squash for nfs permissions on the synology?
For this export i have now assigned all users to guest via Squash and it works now! I dont know why this is not necessary for the other exports but it doesn’t matter, it works now - Thank you!!!
13 December 2022 17:37
I thank you for this thread and explanations
more détails for Synology DSM end users :
fix it with in Shared folders > Right Click on one > Modify > NFS permissions > Select One > Modify > Squash