05-07-2021, 08:51 PM
(05-07-2021, 08:46 PM)TheOldPresbyope Wrote: Yeah, this is all on your NFS server.
This is Linux-craft, not moOde-craft so maybe read something like How to Install and Configure an NFS Server on Ubuntu....
Here's what you can expect once your server is properly configured.
My server host name is DS3615xs.local (I have no local dns resolver on my mesh network so all hosts are "discovered" through mDNS using the .local pseudo-domain).
The share I'm going to mount is /volume1/Music
1. in moOde's Create Music Source screen, I select Type NFS, edit the path manually to be " DS3615xs.local/volume1/Music", and give it a friendly name "NFS-Music"
2. Click Save and return to the Library Config screen. Now I see a Music source "NFS-Music (DS3615XS)" with a green check mark.
3. Click the back arrow to return to the Library screen.
4. Click m to pull up the menu and select the "Update library". Once the action has stopped, enjoy the music.
As for system logs, with debug logging enabled, you should see an entry like
Code:<snippet from moode.log with debugging logging enabled>
20210507 160227 worker: Job sourcecfg
20210507 160228 sourceMount(): Command=(mount -t nfs -o ro,nolock "DS3615xs:/volume1/Music" "/mnt/NAS/NFS-Music")
20210507 160228 waitWorker(): Wait (3)
20210507 160228 waitWorker(): End (lib-config, w_active=0)
20210507 160243 watchdog: Info: Reducing PHP fpm worker pool
20210507 160246 worker: Job update_library
20210507 160246 mpdindex: Start
20210507 160246 thmcache: Start
20210507 160246 thmcache: Priority: Embedded cover
20210507 160246 thmcache: Res,Qual: Auto
20210507 160246 thmcache: Px ratio: 1
20210507 160246 thmcache: Th width: 100
20210507 160246 thmcache: Thm qual: 75
20210507 160246 thmcache: Scanning: NAS, SDCARD, UPNP, KAR04
20210507 160247 thmcache: Done: 20 folders scanned, 0 thumbs created, 20 already in cache.
20210507 160250 mpdindex: Done: indexed 69 artists, 40 albums, 134 songs
20210507 160250 worker: Job update_library done
and an entry like the following in the output from the CLI mount command
Code:<snippet from output of mount command>
DS3615xs.local:/volume1/Music on /mnt/NAS/NFS-Music type nfs (ro,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.4.60,mountvers=3,mountport=892,mountproto=udp,local_lock=all,addr=192.168.4.60)
which shows you where you'll find the share directory in your player's local file system (as did the log entry, actually).
Regards,
Kent
Thanks Kent, I did read the site you linked regarding a ubuntu server. Guess I'll re-read it and try some more.