Moode Forum
Cannot mount NAS - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: Cannot mount NAS (/showthread.php?tid=408)

Pages: 1 2


Cannot mount NAS - Bento - 08-13-2018

Hello

I've read all the threads and nothing could solve my issue. I'm trying to add a Mac Os Extended formatted drive attached to a Mac on the Network, with sharing enabled. I cannot make it to mount on Moode.

I get the following error message: 

20180814 001631 wrk_sourcemount(): Mount error: (mount error: could not resolve address for smb:: Unknown error)
20180814 001632 src-config(): Job: updmpddb
20180814 001634 worker: Job updmpddb

I’m generally computer savvy, and can mount the share on another Mac. I’m using the following flags: dir_mode=0777,file_mode=0777

Any advice would be welcome


RE: Cannot mount NAS - Tim Curtis - 08-13-2018

Post the values you entered on the moOde NAS config screen and I'll have a look.

-Tim


RE: Cannot mount NAS - Bento - 08-13-2018

Thanks! Is this alright?


RE: Cannot mount NAS - Tim Curtis - 08-13-2018

Hi,

The entry for Server is not valid. It needs to be Hostname/Sharename, and you probably want to use Userid=Guest and a blank password, and vers=1.0 in the mount flags for accessing a share on a Mac.

Also,  Hostname/Sharename should show up on the SCAN. 

Below is screenshot of my entries for accessing a share on my Mac Air.

[attachment=177]

-Tim


RE: Cannot mount NAS - Bento - 08-14-2018

This worked! Thanks. It's still indexing my database, I guess. I still don't see my music, but the drive is there. I guess that's normal.


RE: Cannot mount NAS - Tim Curtis - 08-14-2018

I forgot to mention that Mac shares are kind of odd. The DB update that happens after you first save the NAS config almost never finds any of the files. Go back to Source config and UPDATE mod database.

-Tim


RE: Cannot mount NAS - Bento - 08-14-2018

OK, done that. But it's still not showing many of the folders. Is there a most recommended method for mounting? Directly to the Raspberry Pi? Though I'm not sure it would read Mac Os Extended.

Thanks!


RE: Cannot mount NAS - Tim Curtis - 08-15-2018

The symptom "some but not all directories are showing" suggests permission or file corruption issues.

The best way to troubleshoot this is to monitor the MPD log while a database update is running.

-Tim


RE: Cannot mount NAS - Bento - 08-15-2018

OK. I find it really difficult to make this work. The scan doesn't work and the NAS doesn't mount easily. Anyway, thanks.


RE: Cannot mount NAS - TheOldPresbyope - 08-15-2018

(08-15-2018, 01:37 PM)Bento Wrote: OK. I find it really difficult to make this work. The scan doesn't work and the NAS doesn't mount easily. Anyway, thanks.

You said earlier you have your drive mounted but the database update isn't finding all the directories on it.

The database update is performed by the music player daemon (MPD), a third-party component on which moOde and a number of other music players depend for a number of functions. It requires both proper credentials to access all the music tracks and well-formed metadata tags on the music tracks it accesses. This is true for all the players which use it. At most, they possibly vary in the way they deal with permissions but it depends on the player and the NAS.

There's some good debugging advice on the ArchLinux site: https://wiki.archlinux.org/index.php/Music_Player_Daemon/Troubleshooting#MPD_hangs_on_first_startup 

I'm not a Mac user and don't know whether EasyTag, the app they suggest in their second debugging method, is available for OS X.

Here's the tail of the mpd log for a successful rescan I just completed (clipped just before the last of 5718 tracks which were scanned on my NAS)

Code:
Aug 15 12:44 : update: updating NAS/OMV-HC1/Classical/London Symphony Orchestra, Andre Previn/G. Gershwin- Rhapsody In Blue -  An American In Paris - Concerto in F/01 London Symphony Orchestra, Andre Previn - George Gershwin - Rhapsody In Blue.flac
Aug 15 12:44 : update: recursive directory found
Aug 15 12:44 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac
Aug 15 12:44 : simple_db: removing empty directories from DB
Aug 15 12:44 : simple_db: sorting DB
Aug 15 12:44 : simple_db: writing DB
Aug 15 12:44 : update: finished

Sorry, I don't have any problematic NAS so I can't give examples of failures due to permissions or tags showing up in the log.

Hope this helps.

Regards,
Kent