Posts: 23
Threads: 3
Joined: Dec 2019
Reputation:
0
04-17-2020, 05:52 AM
(This post was last modified: 04-23-2020, 10:53 AM by Tim Curtis.
Edit Reason: marked as solved
)
Hello,
I'am using 6.4.2 version on a PI 4B (1.2) in Wifi.
I mounted successfully a volume on my QNAP NAS. But this do not appear in the list of available disks. Even after a Reboot.
So is MPD BD rebuild not finding my albums.
Thru ssh, I can see all the files in the /mnt/NAS/NAS folders.pwd
Any Clues ?
Thanks a lot.
Code: df :
pi@moode:~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 29G 2.5G 26G 9% /
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 1.9G 18M 1.9G 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/mmcblk0p1 253M 54M 199M 22% /boot
//ghe-nas01/Musiques 17T 2.9T 14T 17% /mnt/NAS/NAS
tmpfs 381M 0 381M 0% /run/user/1000
mount :
//ghe-nas01/Musiques on /mnt/NAS/NAS type cifs (ro,relatime,vers=3.0,cache=strict,username=admin,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.59,file_mode=0777,dir_mode=0777,soft,nounix,serverino,mapposix,rsize=61440,wsize=65536,echo_interval=60,actimeo=1)
ls :
pi@moode:/ $ ls -l
total 72
drwxr-xr-x 2 root root 4096 Nov 25 15:27 bin
drwxr-xr-x 6 root root 4096 Jan 1 1970 boot
drwxr-xr-x 15 root root 3780 Apr 17 07:30 dev
drwxr-xr-x 103 root root 4096 Apr 17 07:30 etc
drwxr-xr-x 3 root root 4096 Sep 26 2019 home
drwxr-xr-x 16 root root 4096 Nov 25 16:07 lib
drwx------ 2 root root 16384 Sep 26 2019 lost+found
drwxr-xr-x 2 root root 4096 Sep 26 2019 media
drwxr-xr-x 5 root root 4096 Feb 12 21:41 mnt
drwxr-xr-x 3 root root 4096 Sep 26 2019 opt
dr-xr-xr-x 151 root root 0 Jan 1 1970 proc
drwx------ 5 root root 4096 Apr 17 07:27 root
drwxr-xr-x 28 root root 900 Apr 17 07:33 run
drwxr-xr-x 2 root root 4096 Nov 25 15:43 sbin
drwxr-xr-x 2 root root 4096 Sep 26 2019 srv
dr-xr-xr-x 12 root root 0 Jan 1 1970 sys
drwxrwxrwt 9 root root 4096 Apr 17 07:44 tmp
drwxr-xr-x 12 root root 4096 Nov 25 15:55 usr
drwxr-xr-x 12 root root 4096 Nov 25 15:38 var
pi@moode:/ $ cd mnt
pi@moode:/mnt $ ls -l
total 9
drwxr-xr-x 3 root root 4096 Apr 16 21:52 NAS
drwxr-xr-x 3 root root 4096 Nov 25 16:00 SDCARD
dr-xr-xr-x 6 root root 512 Jan 1 2000 UPNP
pi@moode:/mnt $ cd NAS
pi@moode:/mnt/NAS $ ls -l
total 0
lrwxrwxrwx 1 root root 20 Apr 16 17:21 GHE-NAS01 -> /mnt/UPNP/GHE-NAS01/
drwxrwxrwx 2 root root 0 Apr 15 23:04 NAS
pi@moode:/mnt/NAS $ cd NAS
pi@moode:/mnt/NAS/NAS $ ls -l
total 0
drwxrwxrwx 2 root root 0 Aug 2 2019 Audirvana
drwxrwxrwx 2 root root 0 Apr 15 22:17 Musiques
dr-xr-xr-x 2 root root 0 Apr 17 07:02 @Recently-Snapshot
drwxrwxrwx 2 root root 0 Apr 15 22:36 @Recycle
pi@moode:/mnt/NAS/NAS $ cd Musiques/
pi@moode:/mnt/NAS/NAS/Musiques $ ls -l
total 4
drwxrwxrwx 2 root root 0 Apr 15 22:17 'Back To The 80- Pop _ Wave (3CD) (2001)'
drwxrwxrwx 2 root root 0 Apr 15 23:00 Classique
drwxrwxrwx 2 root root 0 Apr 15 22:50 Films
drwxrwxrwx 2 root root 0 Jun 19 2016 _gsdata_
drwxrwxrwx 2 root root 0 Oct 3 2015 Humour
drwxrwxrwx 2 root root 0 Apr 15 22:35 Jazz
drwxrwxrwx 2 root root 0 Apr 25 2016 KH35JL~B
drwxrwxrwx 2 root root 0 Oct 3 2015 Scouts
drwxrwxrwx 2 root root 0 Feb 27 2016 Tests
drwxrwxrwx 2 root root 0 Apr 15 23:35 Variété
drwxrwxrwx 2 root root 0 Mar 3 2019 'Variété Française'
drwxrwxrwx 2 root root 0 May 9 2017 'Votre commande sur www.audirvana.com _ Informations relatives au produit et au paiement.rtfd'
drwxrwxrwx 2 root root 0 Apr 26 2016 World
Many thx in advance !
Posts: 13,459
Threads: 305
Joined: Mar 2018
Reputation:
545
Update or re-gen the MPD database and then examine the MPD log
Code: cat /var/log/mpd/log
tail -f /var/log/mpd/log
Posts: 23
Threads: 3
Joined: Dec 2019
Reputation:
0
04-17-2020, 10:58 AM
(This post was last modified: 04-17-2020, 11:26 AM by GhezoArt.
Edit Reason: forgot some info.
)
(04-17-2020, 10:45 AM)Tim Curtis Wrote: Update or re-gen the MPD database and then examine the MPD log
Code: cat /var/log/mpd/log
tail -f /var/log/mpd/log
Thx for your reply.
log file was empty, after re-generate, he has 1 line.
Code: pi@moode:/var/log/mpd $ ls -ltr
total 0
-rw-r--r-- 1 mpd audio 0 Apr 17 10:35 log
pi@moode:/var/log/mpd $ ls -ltr
total 4
-rw-r--r-- 1 mpd audio 69 Apr 17 12:51 log
pi@moode:/var/log/mpd $ cat log
Apr 17 12:51 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac
pi@moode:/var/log/mpd $ tail -f log
Apr 17 12:51 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac
Seems he only sees the SD.
Not the mounted drive.
Here is the mpd.conf file
Code: pi@moode:/etc $ cat mpd.conf
#########################################
# This file is automatically generated
# by the MPD configuration page.
#########################################
music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/database"
log_file "/var/log/mpd/log"
pid_file "/var/run/mpd/pid"
state_file "/var/lib/mpd/state"
sticker_file "/var/lib/mpd/sticker.sql"
user "mpd"
group "audio"
bind_to_address "any"
port "6600"
log_level "default"
restore_paused "yes"
auto_update "no"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
zeroconf_enabled "no"
zeroconf_name "Moode MPD"
filesystem_charset "UTF-8"
metadata_to_use "+comment"
replaygain "off"
replaygain_preamp "0"
volume_normalization "no"
audio_buffer_size "32768"
max_output_buffer_size "131072"
max_connections "128"
decoder {
plugin "ffmpeg"
enabled "yes"
}
input {
plugin "curl"
}
resampler {
plugin "soxr"
quality "very high"
threads "0"
}
audio_output {
type "alsa"
name "ALSA default"
device "hw:1,0"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA crossfeed"
device "crossfeed"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA parametric eq"
device "eqfa4p"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA graphic eq"
device "alsaequal"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA polarity inversion"
device "invpolarity"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA bluetooth"
device "btstream"
mixer_type "software"
}
audio_output {
type "httpd"
name "HTTP stream"
port "8000"
encoder "lame"
bitrate "320"
tags "yes"
always_on "yes"
}
and the music dir
Code: pi@moode:/var/lib/mpd/music $ ls -l
total 12
drwxrwxrwx 2 root root 12288 Apr 16 17:51 RADIO
lrwxrwxrwx 1 root root 11 Nov 25 16:00 SDCARD -> /mnt/SDCARD
lrwxrwxrwx 1 root root 6 Nov 25 16:00 USB -> /media
Thx !
Posts: 13,459
Threads: 305
Joined: Mar 2018
Reputation:
545
The symptom suggests some sort of permission issue that's preventing MPD from seeing the directory.
You could try enabling MPD verbose logging and see if the log has more information.
Code: sudo nano /etc/mpd.conf
log_level "verbose"
sudo systemctl restart mpd
mpc rescan
cat /var/log/mpd/log
Posts: 23
Threads: 3
Joined: Dec 2019
Reputation:
0
(04-17-2020, 11:18 AM)Tim Curtis Wrote: The symptom suggests some sort of permission issue that's preventing MPD from seeing the directory.
You could try enabling MPD verbose logging and see if the log has more information.
Code: sudo nano /etc/mpd.conf
log_level "verbose"
sudo systemctl restart mpd
mpc rescan
cat /var/log/mpd/log
Verbose indeed
Code: pi@moode:~ $ cat /var/log/mpd/log
Apr 17 12:51 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac
Apr 17 13:42 : state_file: Loading state file /var/lib/mpd/state
Apr 17 13:42 : client: [0] opened from 127.0.0.1:55228
Apr 17 13:42 : client: [0] process command "status"
Apr 17 13:42 : client: [0] command returned 0
Apr 17 13:42 : client: [1] opened from 127.0.0.1:55232
Apr 17 13:42 : client: [0] process command "currentsong"
Apr 17 13:42 : client: [0] command returned 0
Apr 17 13:42 : client: [1] process command "playlistinfo"
Apr 17 13:42 : client: [1] command returned 0
Apr 17 13:42 : client: [1] process command "close"
Apr 17 13:42 : client: [1] command returned 3
Apr 17 13:42 : client: [1] closed
Apr 17 13:42 : client: [0] process command "close"
Apr 17 13:42 : client: [0] command returned 3
Apr 17 13:42 : client: [0] closed
Apr 17 13:42 : client: [2] opened from 127.0.0.1:55236
Apr 17 13:42 : client: [2] process command "status"
Apr 17 13:42 : client: [2] command returned 0
Apr 17 13:42 : client: [2] process command "currentsong"
Apr 17 13:42 : client: [2] command returned 0
Apr 17 13:42 : client: [2] process command "close"
Apr 17 13:42 : client: [2] command returned 3
Apr 17 13:42 : client: [2] closed
Apr 17 13:42 : client: [3] opened from 127.0.0.1:55240
Apr 17 13:42 : client: [3] process command "playlistinfo"
Apr 17 13:42 : client: [3] command returned 0
Apr 17 13:42 : client: [3] process command "close"
Apr 17 13:42 : client: [3] command returned 3
Apr 17 13:42 : client: [3] closed
Apr 17 13:42 : client: [4] opened from 127.0.0.1:55248
Apr 17 13:42 : client: [4] process command "status"
Apr 17 13:42 : client: [4] command returned 0
Apr 17 13:42 : client: [4] process command "idle"
Apr 17 13:42 : client: [4] command returned 1
Apr 17 13:42 : client: [5] opened from 127.0.0.1:55252
Apr 17 13:42 : client: [5] process command "playlistinfo"
Apr 17 13:42 : client: [5] command returned 0
Apr 17 13:42 : client: [5] process command "close"
Apr 17 13:42 : client: [5] command returned 3
Apr 17 13:42 : client: [5] closed
Apr 17 13:42 : client: [6] opened from 127.0.0.1:55256
Apr 17 13:42 : client: [6] process command "playlistinfo"
Apr 17 13:42 : client: [6] command returned 0
Apr 17 13:42 : client: [6] process command "close"
Apr 17 13:42 : client: [6] command returned 3
Apr 17 13:42 : client: [6] closed
Apr 17 13:42 : client: [7] opened from 127.0.0.1:55260
Apr 17 13:42 : client: [7] process command "status"
Apr 17 13:42 : client: [7] command returned 0
Apr 17 13:42 : client: [7] process command "idle"
Apr 17 13:42 : client: [7] command returned 1
Apr 17 13:42 : client: [8] opened from 127.0.0.1:55264
Apr 17 13:42 : client: [8] process command "status"
Apr 17 13:42 : client: [8] command returned 0
Apr 17 13:42 : client: [8] process command "currentsong"
Apr 17 13:42 : client: [8] command returned 0
Apr 17 13:42 : client: [8] process command "close"
Apr 17 13:42 : client: [8] command returned 3
Apr 17 13:42 : client: [8] closed
Apr 17 13:42 : client: [9] opened from 127.0.0.1:55268
Apr 17 13:42 : client: [9] process command "currentsong"
Apr 17 13:42 : client: [9] command returned 0
Apr 17 13:42 : client: [9] process command "close"
Apr 17 13:42 : client: [9] command returned 3
Apr 17 13:42 : client: [9] closed
Apr 17 13:42 : client: [10] opened from 127.0.0.1:55294
Apr 17 13:42 : client: [10] process command "status"
Apr 17 13:42 : client: [10] command returned 0
Apr 17 13:42 : client: [10] process command "currentsong"
Apr 17 13:42 : client: [10] command returned 0
Apr 17 13:42 : client: [10] process command "close"
Apr 17 13:42 : client: [10] command returned 3
Apr 17 13:42 : client: [10] closed
Apr 17 13:42 : client: [11] opened from 127.0.0.1:55298
Apr 17 13:42 : client: [11] process command "currentsong"
Apr 17 13:42 : client: [11] command returned 0
Apr 17 13:42 : client: [11] process command "close"
Apr 17 13:42 : client: [11] command returned 3
Apr 17 13:42 : client: [11] closed
Apr 17 13:42 : client: [12] opened from 127.0.0.1:55332
Apr 17 13:42 : client: [12] process command "status"
Apr 17 13:42 : client: [12] command returned 0
Apr 17 13:42 : client: [12] process command "currentsong"
Apr 17 13:42 : client: [12] command returned 0
Apr 17 13:42 : client: [12] process command "close"
Apr 17 13:42 : client: [12] command returned 3
Apr 17 13:42 : client: [12] closed
Apr 17 13:42 : client: [13] opened from 127.0.0.1:55336
Apr 17 13:42 : client: [13] process command "currentsong"
Apr 17 13:42 : client: [13] command returned 0
Apr 17 13:42 : client: [13] process command "close"
Apr 17 13:42 : client: [13] command returned 3
Apr 17 13:42 : client: [13] closed
Apr 17 13:42 : client: [14] opened from 127.0.0.1:55340
Apr 17 13:42 : client: [14] process command list
Apr 17 13:42 : client: process command "rescan """
Apr 17 13:42 : update: spawned thread for update job id 1
Apr 17 13:42 : update: starting
Apr 17 13:42 : client: command returned 0
Apr 17 13:42 : client: [14] process command list returned 0
Apr 17 13:42 : client: [7] process command "status"
Apr 17 13:42 : client: [7] command returned 0
Apr 17 13:42 : client: [4] process command "status"
Apr 17 13:42 : client: [4] command returned 0
Apr 17 13:42 : client: [14] process command list
Apr 17 13:42 : client: process command "status"
Apr 17 13:42 : client: command returned 0
Apr 17 13:42 : client: process command "currentsong"
Apr 17 13:42 : client: command returned 0
Apr 17 13:42 : client: [14] process command list returned 0
Apr 17 13:42 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac
Apr 17 13:42 : client: [7] process command "currentsong"
Apr 17 13:42 : client: [7] command returned 0
Apr 17 13:42 : client: [4] process command "currentsong"
Apr 17 13:42 : client: [4] command returned 0
Apr 17 13:42 : client: [14] closed
Apr 17 13:42 : client: [4] process command "close"
Apr 17 13:42 : client: [4] command returned 3
Apr 17 13:42 : client: [4] closed
Apr 17 13:42 : client: [7] process command "close"
Apr 17 13:42 : client: [7] command returned 3
Apr 17 13:42 : client: [7] closed
Apr 17 13:42 : simple_db: removing empty directories from DB
Apr 17 13:42 : simple_db: sorting DB
Apr 17 13:42 : simple_db: writing DB
Apr 17 13:42 : client: [15] opened from 127.0.0.1:55344
Apr 17 13:42 : client: [16] opened from 127.0.0.1:55348
Apr 17 13:42 : client: [15] process command "status"
Apr 17 13:42 : client: [15] command returned 0
Apr 17 13:42 : client: [15] process command "idle"
Apr 17 13:42 : client: [15] command returned 1
Apr 17 13:42 : client: [16] process command "status"
Apr 17 13:42 : client: [16] command returned 0
Apr 17 13:42 : client: [16] process command "idle"
Apr 17 13:42 : client: [16] command returned 1
Apr 17 13:42 : update: finished
Apr 17 13:42 : client: [16] process command "status"
Apr 17 13:42 : client: [16] command returned 0
Apr 17 13:42 : client: [15] process command "status"
Apr 17 13:42 : client: [15] command returned 0
Apr 17 13:42 : client: [16] process command "currentsong"
Apr 17 13:42 : client: [16] command returned 0
Apr 17 13:42 : client: [15] process command "currentsong"
Apr 17 13:42 : client: [15] command returned 0
Apr 17 13:42 : client: [16] process command "close"
Apr 17 13:42 : client: [16] command returned 3
Apr 17 13:42 : client: [16] closed
Apr 17 13:42 : client: [15] process command "close"
Apr 17 13:42 : client: [15] command returned 3
Apr 17 13:42 : client: [15] closed
Apr 17 13:42 : client: [17] opened from 127.0.0.1:55352
Apr 17 13:42 : client: [17] process command "status"
Apr 17 13:42 : client: [17] command returned 0
Apr 17 13:42 : client: [17] process command "idle"
Apr 17 13:42 : client: [17] command returned 1
Apr 17 13:42 : client: [18] opened from 127.0.0.1:55356
Apr 17 13:42 : client: [18] process command "playlistinfo"
Apr 17 13:42 : client: [18] command returned 0
Apr 17 13:42 : client: [18] process command "close"
Apr 17 13:42 : client: [18] command returned 3
Apr 17 13:42 : client: [18] closed
Apr 17 13:42 : client: [19] opened from 127.0.0.1:55360
Apr 17 13:42 : client: [19] process command "status"
Apr 17 13:42 : client: [19] command returned 0
Apr 17 13:42 : client: [19] process command "idle"
Apr 17 13:42 : client: [19] command returned 1
Apr 17 13:42 : client: [20] opened from 127.0.0.1:55364
Apr 17 13:42 : client: [20] process command "playlistinfo"
Apr 17 13:42 : client: [20] command returned 0
Apr 17 13:42 : client: [20] process command "close"
Apr 17 13:42 : client: [20] command returned 3
Apr 17 13:42 : client: [20] closed
Apr 17 13:42 : client: [21] opened from 127.0.0.1:55372
Apr 17 13:42 : client: [21] process command "status"
Apr 17 13:42 : client: [21] command returned 0
Apr 17 13:42 : client: [21] process command "currentsong"
Apr 17 13:42 : client: [21] command returned 0
Apr 17 13:42 : client: [21] process command "close"
Apr 17 13:42 : client: [21] command returned 3
Apr 17 13:42 : client: [21] closed
Apr 17 13:42 : client: [22] opened from 127.0.0.1:55376
Apr 17 13:42 : client: [22] process command "currentsong"
Apr 17 13:42 : client: [22] command returned 0
Apr 17 13:42 : client: [22] process command "close"
Apr 17 13:42 : client: [22] command returned 3
Apr 17 13:42 : client: [22] closed
Apr 17 13:43 : client: [23] opened from 127.0.0.1:55388
Apr 17 13:43 : client: [23] process command "status"
Apr 17 13:43 : client: [23] command returned 0
Apr 17 13:43 : client: [23] process command "currentsong"
Apr 17 13:43 : client: [23] command returned 0
Apr 17 13:43 : client: [23] process command "close"
Apr 17 13:43 : client: [23] command returned 3
Apr 17 13:43 : client: [23] closed
Apr 17 13:43 : client: [24] opened from 127.0.0.1:55392
Apr 17 13:43 : client: [24] process command "currentsong"
Apr 17 13:43 : client: [24] command returned 0
Apr 17 13:43 : client: [24] process command "close"
Apr 17 13:43 : client: [24] command returned 3
Apr 17 13:43 : client: [24] closed
Apr 17 13:43 : client: [25] opened from 127.0.0.1:55424
Apr 17 13:43 : client: [25] process command "status"
Apr 17 13:43 : client: [25] command returned 0
Apr 17 13:43 : client: [25] process command "currentsong"
Apr 17 13:43 : client: [25] command returned 0
Apr 17 13:43 : client: [25] process command "close"
Apr 17 13:43 : client: [25] command returned 3
Apr 17 13:43 : client: [25] closed
Apr 17 13:43 : client: [26] opened from 127.0.0.1:55428
Apr 17 13:43 : client: [26] process command "currentsong"
Apr 17 13:43 : client: [26] command returned 0
Apr 17 13:43 : client: [26] process command "close"
Apr 17 13:43 : client: [26] command returned 3
Apr 17 13:43 : client: [26] closed
Apr 17 13:43 : client: [27] opened from 127.0.0.1:55436
Apr 17 13:43 : client: [27] process command "status"
Apr 17 13:43 : client: [27] command returned 0
Apr 17 13:43 : client: [27] process command "currentsong"
Apr 17 13:43 : client: [27] command returned 0
Apr 17 13:43 : client: [27] process command "close"
Apr 17 13:43 : client: [27] command returned 3
Apr 17 13:43 : client: [27] closed
Apr 17 13:43 : client: [28] opened from 127.0.0.1:55440
Apr 17 13:43 : client: [28] process command "currentsong"
Apr 17 13:43 : client: [28] command returned 0
Apr 17 13:43 : client: [28] process command "close"
Apr 17 13:43 : client: [28] command returned 3
Apr 17 13:43 : client: [28] closed
Apr 17 13:43 : client: [29] opened from 127.0.0.1:55450
Apr 17 13:43 : client: [29] process command "status"
Apr 17 13:43 : client: [29] command returned 0
Apr 17 13:43 : client: [29] process command "currentsong"
Apr 17 13:43 : client: [29] command returned 0
Apr 17 13:43 : client: [29] process command "close"
Apr 17 13:43 : client: [29] command returned 3
Apr 17 13:43 : client: [29] closed
Apr 17 13:43 : client: [30] opened from 127.0.0.1:55454
Apr 17 13:43 : client: [30] process command "currentsong"
Apr 17 13:43 : client: [30] command returned 0
Apr 17 13:43 : client: [30] process command "close"
Apr 17 13:43 : client: [30] command returned 3
Apr 17 13:43 : client: [30] closed
Apr 17 13:43 : client: [31] opened from 127.0.0.1:55488
Apr 17 13:43 : client: [31] process command "status"
Apr 17 13:43 : client: [31] command returned 0
Apr 17 13:43 : client: [31] process command "currentsong"
Apr 17 13:43 : client: [31] command returned 0
Apr 17 13:43 : client: [31] process command "close"
Apr 17 13:43 : client: [31] command returned 3
Apr 17 13:43 : client: [31] closed
Apr 17 13:43 : client: [32] opened from 127.0.0.1:55492
Apr 17 13:43 : client: [32] process command "currentsong"
Apr 17 13:43 : client: [32] command returned 0
Apr 17 13:43 : client: [32] process command "close"
Apr 17 13:43 : client: [32] command returned 3
Apr 17 13:43 : client: [32] closed
Apr 17 13:43 : client: [33] opened from 127.0.0.1:55502
Apr 17 13:43 : client: [33] process command "status"
Apr 17 13:43 : client: [33] command returned 0
Apr 17 13:43 : client: [33] process command "currentsong"
Apr 17 13:43 : client: [33] command returned 0
Apr 17 13:43 : client: [33] process command "close"
Apr 17 13:43 : client: [33] command returned 3
Apr 17 13:43 : client: [33] closed
Apr 17 13:43 : client: [34] opened from 127.0.0.1:55506
Apr 17 13:43 : client: [34] process command "currentsong"
Apr 17 13:43 : client: [34] command returned 0
Apr 17 13:43 : client: [34] process command "close"
Apr 17 13:43 : client: [34] command returned 3
Apr 17 13:43 : client: [34] closed
pi@moode:~ $
Posts: 6,030
Threads: 177
Joined: Apr 2018
Reputation:
235
@ GhezoArt
You showed us your moOde player's directory listing down to, I presume, the album-level directory. Go one level deeper for several directories so we can see the permissions on the track files themselves.
An excerpt from the MPD documentation
Quote:Question: I can’t see my music in the MPD database!
...
Does the MPD user have read permission on all music files, and read+execute permission on all music directories (and all of their parent directories)?
...
In moOde, the MPD process doing the work is running as user "mpd" so if root.root is the owner.group of the files, then we need at least -r--r--r-- permissions on the track files.
Regards,
Kent
Posts: 23
Threads: 3
Joined: Dec 2019
Reputation:
0
04-17-2020, 04:19 PM
(This post was last modified: 04-17-2020, 04:26 PM by GhezoArt.)
Yes, all is 777.
I even mount my drive with the admin account to be sure.
Code: pi@moode:/mnt/NAS $ ls -l
total 0
drwxrwxrwx 2 root root 0 Apr 17 11:26 GHENAS
pi@moode:/mnt/NAS $ cd GHENAS/
pi@moode:/mnt/NAS/GHENAS $ ls -l
total 4
drwxrwxrwx 2 root root 0 Apr 17 11:26 Classique
drwxrwxrwx 2 root root 0 Apr 15 22:50 Films
drwxrwxrwx 2 root root 0 Jun 19 2016 _gsdata_
drwxrwxrwx 2 root root 0 Oct 3 2015 Humour
drwxrwxrwx 2 root root 0 Apr 15 22:35 Jazz
-rwxrwxrwx 1 root root 960 Apr 2 2016 license_v2_Georges_Hendrickx.audlic
drwxrwxrwx 2 root root 0 Oct 3 2015 Scouts
drwxrwxrwx 2 root root 0 Feb 27 2016 Tests
drwxrwxrwx 2 root root 0 Apr 15 23:35 Variété
drwxrwxrwx 2 root root 0 Mar 3 2019 'Variété Française'
drwxrwxrwx 2 root root 0 May 9 2017 'Votre commande sur www.audirvana.com _ Informations relatives au produit et au paiement.rtfd'
drwxrwxrwx 2 root root 0 Apr 26 2016 World
pi@moode:/mnt/NAS/GHENAS $ cd Jazz
pi@moode:/mnt/NAS/GHENAS/Jazz $ cd ..
pi@moode:/mnt/NAS/GHENAS $ cd Humour/
pi@moode:/mnt/NAS/GHENAS/Humour $ ls -l
total 0
drwxrwxrwx 2 root root 0 Aug 9 2015 'CéDé Moustique'
drwxrwxrwx 2 root root 0 Jun 19 2015 'Desproges Pierre'
drwxrwxrwx 2 root root 0 May 8 2015 'Le Docteur G. fait le point'
drwxrwxrwx 2 root root 0 Jun 19 2015 'Philippe Geluck'
drwxrwxrwx 2 root root 0 Jun 19 2015 'Pierre Desproges'
pi@moode:/mnt/NAS/GHENAS/Humour $ cd 'Desproges Pierre'
pi@moode:/mnt/NAS/GHENAS/Humour/Desproges Pierre $ ls -l
total 0
drwxrwxrwx 2 root root 0 Apr 25 2015 'La Scène (Théâtre Fontaine janvier 1984)'
pi@moode:/mnt/NAS/GHENAS/Humour/Desproges Pierre $ cd La\ \ Scène\ \(Théâtre\ Fontaine\ janvier\ 1984\)/
pi@moode:/mnt/NAS/GHENAS/Humour/Desproges Pierre/La Scène (Théâtre Fontaine janvier 1984) $ ls -l
total 578280
-rwxrwxrwx 1 root root 1290337 Feb 14 2017 '01 Desproges Pierre - Intro(1).flac'
-rwxrwxrwx 1 root root 1290436 Feb 14 2017 '01 Desproges Pierre - Intro.flac'
-rwxrwxrwx 1 root root 25563304 Feb 14 2017 '02 Desproges Pierre - Je baisse(1).flac'
-rwxrwxrwx 1 root root 25560900 Feb 14 2017 '02 Desproges Pierre - Je baisse.flac'
-rwxrwxrwx 1 root root 12553776 Feb 14 2017 '03 Desproges Pierre - Dernières volontés(1).flac'
-rwxrwxrwx 1 root root 12555993 Feb 14 2017 '03 Desproges Pierre - Dernières volontés.flac'
-rwxrwxrwx 1 root root 39263106 Feb 14 2017 '05 Desproges Pierre - Accents toniques(1).flac'
-rwxrwxrwx 1 root root 39261958 Feb 14 2017 '05 Desproges Pierre - Accents toniques.flac'
-rwxrwxrwx 1 root root 37365693 Feb 14 2017 '06 Desproges Pierre - Obsessions(1).flac'
-rwxrwxrwx 1 root root 37365708 Feb 14 2017 '06 Desproges Pierre - Obsessions.flac'
-rwxrwxrwx 1 root root 18385601 Feb 14 2017 '07 Desproges Pierre - La femme de monsieur Sequin(1).flac'
-rwxrwxrwx 1 root root 18385601 Feb 14 2017 '07 Desproges Pierre - La femme de monsieur Sequin.flac'
-rwxrwxrwx 1 root root 16552321 Feb 14 2017 '08 Desproges Pierre - Ma femme a de
One more info, before mounting the nas disk, I was using (testing) Upnp. And delete the config.
Maybe a link ?
As this is a completely fresh installation, I can try to reinstall from a fresh installation and re-mounting the remote disk.
If you need want some dump or logs before let me know, so I can send it to you before scratching the DB.
Thx for all your replies !
Posts: 451
Threads: 11
Joined: Sep 2019
Reputation:
28
04-17-2020, 06:00 PM
(This post was last modified: 04-17-2020, 07:44 PM by vinnn.)
Might be a silly question but do you actually have any audio files on this share?
MPD wont populate anything in the database if nothing is found.
On the Pi, try...
Code: find /mnt/NAS -type f -iname "*.mp3" -or -iname "*.flac"
... which should list any FLAC or MP3 files on your share if they're accessible.
Posts: 6,030
Threads: 177
Joined: Apr 2018
Reputation:
235
04-17-2020, 06:12 PM
(This post was last modified: 04-17-2020, 06:14 PM by TheOldPresbyope.)
@ GhezoArt
I'm at a loss here. The only essential difference I notice between your config and mine (a DIY OpenMediaVault NAS) is in your mount options: vers=3.0 and username=admin.
On my NAS, Samba is configured to use SMB v1 protocol and to allow guest access to the music share. In moOde mount options, I have vers1=1.0 and username=Guest in the mount options. It 'just works' .
Yet, the fact that you can browse the /mnt/NAS/NAS directory suggests your mount options are not a problem.
Regards,
Kent
PS - you should not need to reinstall to resolve this. At worst, remove and then recreate new Music source in moOde Library config should do the trick.
Posts: 23
Threads: 3
Joined: Dec 2019
Reputation:
0
(04-17-2020, 06:00 PM)vinnn Wrote: Might be a silly question but do you actually have any audio files on this share?
MPD wont populate anything in the database if nothing is found.
On the Pi, try...
Code: find /mnt/NAS -type f -iname "*.mp3" -or -iname "*.flac"
... which should list any FLAC or MP3 files on your share if they're accessible.
Hi,
like you can see in the ls about, I have lots of flac files.
Result of the find gives this :
Code: /mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian Bach/The Art of the Fugue (organ, piano: Glenn Gould)/10 Johann Sebastian Bach - The Art of the Fugue, BWV 1080: Contrapunctus I.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian Bach/The Art of the Fugue (organ, piano: Glenn Gould)/11 Johann Sebastian Bach - The Art of the Fugue, BWV 1080: Contrapunctus II.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian Bach/The Art of the Fugue (organ, piano: Glenn Gould)/12 Johann Sebastian Bach - The Art of the Fugue, BWV 1080: Contrapunctus IV.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian Bach/The Art of the Fugue (organ, piano: Glenn Gould)/13 Johann Sebastian Bach - The Art of the Fugue, BWV 1080: Contrapunctus IX (a 4, alla duodecima).flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian Bach/The Art of the Fugue (organ, piano: Glenn Gould)/14 Johann Sebastian Bach - The Art of the Fugue, BWV 1080: Contrapunctus XI (a 4).flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian Bach/The Art of the Fugue (organ, piano: Glenn Gould)/15 Johann Sebastian Bach - The Art of the Fugue, BWV 1080: Contrapunctus XIII (a 3).flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian Bach/The Art of the Fugue (organ, piano: Glenn Gould)/16 Johann Sebastian Bach - The Art of the Fugue, BWV 1080: Contrapunctus XIV (Fuga a 3 Soggetti) unfinished.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian Bach/The Art of the Fugue (organ, piano: Glenn Gould)/17 Johann Sebastian Bach - Prelude & Fugue in B-flat major on the Name B.A.C.H., BWV 898.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian BACH - Vernet/01 Olivier VERNET - Toccata con Fuga in d BWV 565 Toccata.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian BACH - Vernet/02 Olivier VERNET - Toccata con Fuga in d BWV 565 Fuga.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian BACH - Vernet/03 Olivier VERNET - Toccata con fuga in E BWV 566 Toccata.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian BACH - Vernet/04 Olivier VERNET - Toccata con fuga in E BWV 566 Fuga.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian BACH - Vernet/05 Olivier VERNET - Toccata in C BWV 564 Toccata.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian BACH - Vernet/06 Olivier VERNET - Toccata in C BWV 564 Adagio.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian BACH - Vernet/07 Olivier VERNET - Toccata in C BWV 564 Fuga.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian BACH - Vernet/08 Olivier VERNET - Toccata con fuga in F BWV 540 Toccata.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian BACH - Vernet/09 Olivier VERNET - Toccata con fuga in F BWV 540 Fuga.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian BACH - Vernet/10 Olivier VERNET - Toccata con fuga in D BWV 538 Toccata.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian BACH - Vernet/11 Olivier VERNET - Toccata con fuga in D BWV 538 Fuga.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian BACH - Vernet/12 Olivier VERNET - Fantasia con fuga in G BWV 542 Fantasia.flac
/mnt/NAS/GHENAS/Classique/Bach/Johann Sebastian BACH - Vernet/13 Olivier VERNET - Fantasia con fuga in G BWV 542 Fuga.flac
as small sample
Regards
|