Thank you for your donation!


Problem adding WD My Cloud NAS on the network
#51
@Paulbj

Ah, you probably mean "NAS" doesn't show up in moOde's Music browse panel. IIRC, it won't appear until you've successfully mounted at least one NAS share (after all, until then there's nothing to browse). 

The moOde bootable image file, OTOH, already contains the directories /mnt/NAS and /mnt/SDCARD. If they aren't both present in the file system after you install it then the install has become borked somehow.

Don't overthink the problem. Samba is well supported in Linux and on most-all NAS products. You can use Samba or NFS, whichever you prefer. For casual users, Samba is nearly always easier to use.

At this point, I don't understand where you've gotten to.

My advice is to start over with a fresh install of moOde and a stock Synology configuration with one or more Samba shares and use only their UIs to configure them, but it's your call.

Regards,
Kent
Reply
#52
After much further tweaking of lots of things including returning the original the original SD card to the shop as it was, improbably enough, faulty! I now have the NAS mounted correctly. I have created one at a time, a NAS mount using the Samba then one using NFS and both show the sought after green tick! However, if I go into the music browser immediately after mounting the NAS, I can see NAS item listed but there is no music available underneath it, if I click on it. After a few minutes, the NAS item in the music browser disappears  and nothing I can think of will bring it back!

I have had a look in the /mnt/NAS folder and the NAS is listed there along all the sub-folders that should be there and the sub-sub-folders etc. I can drill right down through the sub-folders to the music files at the lowest levels BUT none of that shows up on the music browser!

If I run sysinfo.sh, this is the output:

pi@Alistair-moode:~ $ /var/www/command/sysinfo.sh
modprobe: ERROR: could not insert 'configs': Operation not permitted
rmmod: ERROR: Module configs is not currently loaded

         S Y S T E M    P A R A M E T E R S

       Date and time   = 2019-02-08 13:04:44
       System uptime   = up 12 hours, 46 minutes
       Timezone        = Europe/Luxembourg
       moOde           = Release 4.4 2018-12-09

       Host name       = Alistair-moode
       ETH0  IP        = 192.168.178.60
       ETH0  MAC       = b8:27:eb:23:d3:05
       WLAN0 IP        = unassigned
       WLAN0 MAC       = no adapter
       WiFi country    = US

       HDWR REV        = Pi-3B+ 1GB v1.3
       SoC             = BCM2835
       CORES           = 4
       ARCH            = armv7l
       RASPBIAN        = 9.6
       KERNEL          = 4.14.84-v7+
       KTIMER FREQ     = No /proc/config.gz Hz
       USB BOOT        = enabled
       Warranty        = OK

       ROOT size       = 15G
       ROOT used       = 15%
       ROOT avail      = 12G
       FS expand       = expanded
       MEM free        = 172 MB
       MEM used        = 65 MB
       Temperature     = 58.0°C

       CPU GOV         = performance
       MPD SCHDPOL     = TS
       P3-WIFI         = Off
       P3-BT           = Off
       HDMI            = Off
       ETH0 CHECK      = On
       MAX USB CUR     = Off
       UAC2 FIX        = Off
       ETHPORT FIX     = Off
       SSH server      = Off

       LED0            = on
       LED1            = on

         C O R E    S E R V E R S

       PHP-FPM         = 7.0.30
       NGINX           = 1.10.3
       SQLite          = 3.16.2

         C P U    L O A D

       CPU     %usr    %sys    %idle
       all     0.50    0.00    99.50
       0       0.00    0.00    100.00
       1       0.50    0.00    99.50
       2       1.52    0.00    98.48
       3       0.00    0.00    100.00

         P R O C E S S    L O A D

       PRI RTPRIO COMMAND         %MEM PSR %CPU
        19      - bash             0.4   2  0.6
        19      - sshd             0.6   1  0.3
        29      - mpd              2.6   1  0.2
        19      - systemd          0.5   0  0.2
        19      - sysinfo.sh       0.2   3  0.2
        19      - worker.php       1.2   1  0.1
        19      - systemd          0.6   2  0.0
        19      - kthreadd         0.0   1  0.0
        39      - kworker/0:0H     0.0   0  0.0

         C L O C K    F R E Q U E N C I E S

       arm   = 1400 MHz         pwm   = 0 MHz
       core  = 400 MHz          emmc  = 200 MHz
       h264  = 300 MHz          pixel = 0 MHz
       isp   = 300 MHz          vec   = 0 MHz
       v3d   = 300 MHz          hdmi  = 0 MHz
       uart  = 48 MHz           dpi   = 0 MHz

grep: /sys/kernel/debug/mmc0/ios: Permission denied

         S Y S T E M    V O L T A G E S

       core                    = 1.3500V
       sdram controller        = 1.2500V
       sdram I/O               = 1.2500V
       sdram chip              = 1.2250V

         U I  C U S T O M I Z A T I O N S

       Theme                   = Standard
       Accent color            = Emerald
       Alpha blend             = 1.0
       Adaptive background     = No
       Background image        = No
       Playback history        = No
       Extra metadata          = Yes
       Artist list order       = Artist
       Compilation rollup      = No
       Compilation excludes    = greatest hits
       Cover search pri        = Embedded cover
       Hi-res covers           = Auto
       Pixel ratio             = 1
       Cover backdrop          = No
       Cover blur              = 20px
       Cover scale             = 1.25

         A U D I O    P A R A M E T E R S

       Audio device            = Allo Piano 2.1 Hi-Fi DAC
       Interface               = I2S
       Hdwr volume             = Controller detected
       Mixer name              = Master
       Output stream           = S32_LE / 44100
       ALSA version            = 1.1.3-5+rpi3
       SoX version             = 0.1.2-2

       Volume knob             = 14
       Volume mute             = Unmuted

       Bluetooth controller    = Off
       Airplay receiver        = Off
       Spotify receiver        = Off
       Squeezelite             = Off
       UPnP client             = Off
       DLNA server             = Off

       Rotary encoder          = Off
       Encoder params          = 100 2 3 4 5
       Crossfeed               = Off
       Parametric EQ           = Off
       Graphic EQ              = Paul
       Auto-shuffle            = Off
       Autoplay                = Off
       MPD crossfade           = Off

         M P D    S E T T I N G S

       Version                 = 0.20.20
       Volume control          = software
       ALSA device             = hw:0
       SoX resampling          = disabled
       SoX quality             = very high
       SoX multithreading      = off
       Audio buffer (kb)       = 4096
       Buffer before play      = 10%
       Output buffer size (kb) = 81920
       Volume normalization    = No
       DSD over PCM (DoP)      = yes
       Replay gain             = off

         B L U E T O O T H    S E T T I N G S

       Bluetooth ver           = 5.49
       Bluealsa ver            = Turn BT on for version info
       Speaker sharing         = No
       Resume MPD              = No

         A I R P L A Y    S E T T I N G S

       Version                 = 3.2.2
       Friendly name           = Moode Airplay
       ALSA device             = hw:0
       Volume mixer            = auto
       Resume MPD              = No
       Output bit depth        = S16
       Output sample rate      = 44100
       Session interruption    = no
       Session timeout (ms)    = 120
       Audio buffer (secs)     = 0.0

         S P O T I F Y    S E T T I N G S

       Friendly name           = Moode Spotify
       ALSA device             = default:CARD=PianoDACPlus
       Resume MPD              = No
       Bit rate                = 160
       Initial volume          = 0
       Volume curve            = Logarithmic
       Volume normalization    = No
       Normalization pregain   = 0

         S Q U E E Z E L I T E    S E T T I N G S

       Version                 = 1.8.7-1052 "DSD/SRC enabled"
       Friendly name           = Moode
       ALSA device             = hw:0
       ALSA params             = 80:4::1
       Output buffers          = 40000:100000
       Task priority           = 45
       Codec list              = flac,pcm,mp3,ogg,aac,alac,dsd
       Resume MPD              = No
       Other options           = -W -D 500 -R E -S /var/loca

         M O O D E    L O G

   20190208 001814 worker: - Start
   20190208 001814 worker: Successfully daemonized
   20190208 001814 worker: Integrity check ok
   20190208 001815 worker: Session loaded
   20190208 001815 worker: Debug logging (off)
   20190208 001815 worker: - Platform
   20190208 001816 worker: Host (Alistair-moode)
   20190208 001816 worker: Hdwr (Pi-3B+ 1GB v1.3)
   20190208 001816 worker: Arch (armv7l)
   20190208 001816 worker: Rasp (9.6)
   20190208 001816 worker: Kver (4.14.84-v7+)
   20190208 001816 worker: Ktyp (Standard)
   20190208 001816 worker: Gov  (performance)
   20190208 001817 worker: Rel  (Moode 4.4 2018-12-09)
   20190208 001817 worker: Upd  (None)
   20190208 001817 worker: MPD  (0.20.20)
   20190208 001817 worker: USB boot enabled
   20190208 001820 worker: File system expanded
   20190208 001820 worker: HDMI port off
   20190208 001820 worker: File check ok
   20190208 001820 worker: - Network
   20190208 001820 worker: eth0 exists
   20190208 001820 worker: eth0 (192.168.178.60)
   20190208 001820 worker: wlan0 does not exist
   20190208 001820 worker: - Audio
   20190208 001821 worker: ALSA outputs unmuted
   20190208 001821 worker: ALSA card number (0)
   20190208 001821 worker: Audio out (I2S audio device)
   20190208 001821 worker: Audio dev (Allo Piano 2.1 Hi-Fi DAC)
   20190208 001821 worker: ALSA mixer name (Master)
   20190208 001821 worker: MPD volume control (software)
   20190208 001821 worker: Hdwr volume controller exists
   20190208 001821 worker: Chip options (Burr Brown PCM5142)
   20190208 001821 worker: Piano output mode (Dual-Stereo)
   20190208 001826 worker: Piano 2.1 initialized
   20190208 001826 worker: - Services
   20190208 001826 worker: Reset renderer active
   20190208 001828 worker: MPD started
   20190208 001828 worker: MPD scheduler policy (time-share)
   20190208 001828 worker: Configure MPD outputs
   20190208 001828 worker: MPD output 1 ALSA default (off)
   20190208 001828 worker: MPD output 2 ALSA crossfeed (off)
   20190208 001828 worker: MPD output 3 ALSA parametric eq (off)
   20190208 001828 worker: MPD output 4 ALSA graphic eq (on)
   20190208 001828 worker: MPD output 5 ALSA bluetooth (off)
   20190208 001828 worker: MPD crossfade (off)
   20190208 001828 worker: - Music sources
   20190208 001828 worker: USB source (1 ROCK)
   20190208 001828 worker: USB source (3 CLASSICAL)
   20190208 001828 worker: USB source (4 BFJ)
   20190208 001829 worker: NAS sources (mountall initiated)
   20190208 001829 worker: - Miscellaneous
   20190208 001829 worker: Volume level (14) restored
   20190208 001829 worker: Maintenance interval (21600)
   20190208 001829 worker: Screen saver activation (Never)
   20190208 001829 worker: Watchdog started
   20190208 001829 worker: Ready
   20190208 061925 worker: Maintenance completed
   20190208 122011 worker: Maintenance completed
Reply
#53
(02-08-2019, 12:21 PM)Paulbj Wrote: After much further tweaking of lots of things including returning the original the original SD card to the shop as it was, improbably enough, faulty! I now have the NAS mounted correctly. I have created one at a time, a NAS mount using the Samba then one using NFS and both show the sought after green tick!

That's good news. I've had so few uSD card failures that I forget to suggest it can happen.

Quote:However, if I go into the music browser immediately after mounting the NAS, I can see NAS item listed but there is no music available underneath it, if I click on it.

It takes time for the Music Player Daemon (MPD) which is at the core of moOde to build its database from the information it finds in the files on the NAS. Did you notice the rotating arrows appear in the Music tab when you mounted the NAS? Tim uses that symbolic device to show MPD is busy. My particular moOde/NAS combo takes about 5 minutes to complete the scan.

The information in the Music tab, including in the Browse view, is generated from the MPD database and not directly from the filesystem, so you can't browse the NAS folder "immediately".

Quote:After a few minutes, the NAS item in the music browser disappears  and nothing I can think of will bring it back!

I have had a look in the /mnt/NAS folder and the NAS is listed there along all the sub-folders that should be there and the sub-sub-folders etc. I can drill right down through the sub-folders to the music files at the lowest levels BUT none of that shows up on the music browser!

I'm not sure what's happening here but I have a suspicion that MPD is not able to scan the NAS contents. Have a look at the log file /var/log/mpd/log. You should see a long list of entries of the form

Code:
Feb 08 09:07 : update: added NAS/OMV-SMB/World/Ravi Shankar/In London/03 Ravi Shankar - Raga Ramkali.flac
Feb 08 09:07 : update: added NAS/OMV-SMB/World/Ravi Shankar/In London/01 Ravi Shankar - Raga Hamsadhwani.flac
Feb 08 09:07 : update: added NAS/OMV-SMB/World/Ravi Shankar/In London/02 Ravi Shankar - Dhun Kafi.flac
...

If there is none, then MPD didn't add any tracks to its database. I suspect it subsequently deleted the NAS folder in the Music/Browse tab because from MPD's perspective it contains no musical content. (Probably should double check with @Tim Curtis  about my hypothesized sequence of events.)

Why MPD may fail to scan files containing music tracks is another discussion. You'll see it crop up in other threads on this forum and elsewhere.

Regards,
Kent
Reply
#54
(02-08-2019, 02:51 PM)TheOldPresbyope Wrote:
(02-08-2019, 12:21 PM)Paulbj Wrote: .............................etc...........
Quote:However, if I go into the music browser immediately after mounting the NAS, I can see NAS item listed but there is no music available underneath it, if I click on it.

It takes time for the Music Player Daemon (MPD) which is at the core of moOde to build its database from the information it finds in the files on the NAS. Did you notice the rotating arrows appear in the Music tab when you mounted the NAS? Tim uses that symbolic device to show MPD is busy. My particular moOde/NAS combo takes about 5 minutes to complete the scan.

The information in the Music tab, including in the Browse view, is generated from the MPD database and not directly from the filesystem, so you can't browse the NAS folder "immediately"         ............................etc.......................

@Paulbj

I've re-built and re-configured a Moode installation on a RPi 2 very recently and the scanning/re-building of a Library database based on a correctly mounted NAS containing 2.7 TB of music files took over 30 minutes. As @TheOldPresbyope mentioned you cannot browse (or play) the NAS folder while the rotating arrows appear in the MUSIC tab... time for tea, coffee or something stronger... wait until the arrows stop rotating, there's no warning message, they just stop. Angel
Reply
#55
(02-09-2019, 07:26 AM)CallMeMike Wrote:
(02-08-2019, 02:51 PM)TheOldPresbyope Wrote:
(02-08-2019, 12:21 PM)Paulbj Wrote: .............................etc...........
Quote:However, if I go into the music browser immediately after mounting the NAS, I can see NAS item listed but there is no music available underneath it, if I click on it.

It takes time for the Music Player Daemon (MPD) which is at the core of moOde to build its database from the information it finds in the files on the NAS. Did you notice the rotating arrows appear in the Music tab when you mounted the NAS? Tim uses that symbolic device to show MPD is busy. My particular moOde/NAS combo takes about 5 minutes to complete the scan.

The information in the Music tab, including in the Browse view, is generated from the MPD database and not directly from the filesystem, so you can't browse the NAS folder "immediately"         ............................etc.......................

@Paulbj

I've re-built and re-configured a Moode installation on a RPi 2 very recently and the scanning/re-building of a Library database based on a correctly mounted NAS containing 2.7 TB of music files took over 30 minutes. As @TheOldPresbyope mentioned you cannot browse (or play) the NAS folder while the rotating arrows appear in the MUSIC tab... time for tea, coffee or something stronger... wait until the arrows stop rotating, there's no warning message, they just stop. Angel

The problem is that the NAS item in the music browser disappears after a few minutes; never to be seen again. It seems clear that the MPD cannot, for some reason index the contents of the NAS but no one seems to be able to suggest a reason why. I have another 'hardware identical' player running Volumio and that doesn't seem to have any problem at all indexing the contents of the same NAS so I am a bit mystified!

I had a look in mnt/NAS/ and the NAS is there along with all its sub-folders and sub-sub-folders etc so the Moode system clearly has access to it or it wouldn't have been able to create that structure
Reply
#56
Hi
I had a problem mounting my WDCloud too. My solution is I assigned a static IP to my NAS and then I had let moode search again for NAS. It now works perfect. I assume ".local" is doing the same job, however.
Reply
#57
(02-11-2019, 03:43 PM)IT-Andy52 Wrote: Hi
I had a problem mounting my WDCloud too. My solution is I assigned a static IP to my NAS and then I had let moode search again for NAS. It now works perfect. I assume ".local" is doing the same job, however.

I gave up with Moode, installed Volumio and had the NAS mounted, running and delivering music inside of 15 minutes. Problem solved!
Reply
#58
(02-11-2019, 03:55 PM)Paulbj Wrote:
(02-11-2019, 03:43 PM)IT-Andy52 Wrote: Hi
I had a problem mounting my WDCloud too. My solution is I assigned a static IP to my NAS and then I had let moode search again for NAS. It now works perfect. I assume ".local" is doing the same job, however.

I gave up with Moode, installed Volumio and had the NAS mounted, running and delivering music inside of 15 minutes. Problem solved!

Hi, I had also a problem with mounting NAS. I use 3 MoodeAudio RPI's (Katana 1.2, HiFiBerry DAC+ and one with USB: the Behringer UCA 200.
The other 2 just worked fine.
Copied Moode 5 IMG on the SD card, insert in on RPI, boot and configure, mount NAS and problem solved!

Greetings!
Reply


Forum Jump: