Posts: 23
Threads: 8
Joined: May 2019
Reputation:
0
I'm unable to index or play this album, I can view it in the Moode file gui but not in the indexed music. I have two albums of his,
ls -l /mnt/NAS/Lossless/Keb\'\ Mo\'/
total 0
drwxrwxrwx 2 root root 0 Sep 3 16:52 Oklahoma
drwxrwxrwx 2 root root 0 Aug 2 2018 'Slow Down'
Slow down plays fine, Oklahoma does not.
root@moode:/home/pi# ls -la /mnt/NAS/Lossless/Keb\'\ Mo\'/Oklahoma/01\ Keb\'\ Mo\'\ -\ I\ Remember\ You.flac
-rwxrwxrwx 1 root root 27902564 Sep 5 03:43 "/mnt/NAS/Lossless/Keb' Mo'/Oklahoma/01 Keb' Mo' - I Remember You.flac"
root@moode:/home/pi# head /mnt/NAS/Lossless/Keb\'\ Mo\'/Oklahoma/01\ Keb\'\ Mo\'\ -\ I\ Remember\ You.flac
head: cannot open "/mnt/NAS/Lossless/Keb' Mo'/Oklahoma/01 Keb' Mo' - I Remember You.flac" for reading: Permission denied
I can play this album directly from a different computer though. Any ideas?
Posts: 23
Threads: 8
Joined: May 2019
Reputation:
0
Thanks Tim, I can't work it out. The two albums directories and files have identical permissions yet get access denied on Oklahoma even when using sudo, might be something to do with the files themselves, but can't think why.
Posts: 12,035
Threads: 271
Joined: Mar 2018
Reputation:
459
I noticed you are logging in as root which indicates "modifications have been made". Maybe one or more of these system modifications to the stock moOde image has broken something ?
Btw, there is no need to enable the root account, just login with pi and then prefix commands with sudo.
Posts: 23
Threads: 8
Joined: May 2019
Reputation:
0
No modifications made, as pi I just "sudo su -" to switch to root. This is a fresh install from the image. Pretty sure its not a bug with Moode, I suspect there's something peculiar about the album files, but I have no idea what it could be.
Posts: 695
Threads: 6
Joined: Apr 2018
Reputation:
11
You listed the directory permissions but not those for the contents, double-check and make sure they're the same.
Posts: 23
Threads: 8
Joined: May 2019
Reputation:
0
Thanks Swizzie
pi@moode:~ $ ls -lh /mnt/NAS/Lossless/Keb\'\ Mo\'/Oklahoma/
total 246M
-rwxrwxrwx 1 root root 27M Sep 26 23:28 '01 I Remember You.flac'
-rwxrwxrwx 1 root root 30M Sep 26 23:28 '02 Oklahoma.flac'
-rwxrwxrwx 1 root root 30M Sep 26 23:28 '03 Put a Woman in Charge.flac'
-rwxrwxrwx 1 root root 27M Sep 26 23:28 '04 This Is My Home.flac'
-rwxrwxrwx 1 root root 17M Sep 26 23:28 "05 Don't Throw It Away.flac"
-rwxrwxrwx 1 root root 18M Sep 26 23:28 '06 The Way I.flac'
-rwxrwxrwx 1 root root 18M Sep 26 23:28 "07 Ridin' on a Train.flac"
-rwxrwxrwx 1 root root 27M Sep 26 23:28 "08 I Should've.flac"
-rwxrwxrwx 1 root root 28M Sep 26 23:28 '09 Cold Outside.flac'
-rwxrwxrwx 1 root root 22M Sep 26 23:28 '10 Beautiful Music.flac'
-rwxrwxrwx 1 root root 3.4K Sep 3 16:49 AccuripResult.log
-rwxrwxrwx 1 root root 7.2M Sep 3 16:45 cover.jpg
-rwxrwxrwx 1 root root 1.4K Sep 3 16:49 dr14.txt
pi@moode:~ $ ls -lh /mnt/NAS/Lossless/Keb\'\ Mo\'/Slow\ Down/
total 354M
-rwxrwxrwx 1 root root 31M Jul 5 21:12 '01 Muddy Water.flac'
-rwxrwxrwx 1 root root 29M Jul 5 21:12 '02 I Was Wrong.flac'
-rwxrwxrwx 1 root root 27M Jul 5 21:12 '03 Everything I Need.flac'
-rwxrwxrwx 1 root root 33M Jul 5 21:12 '04 Henry.flac'
-rwxrwxrwx 1 root root 32M Jul 5 21:12 '05 Soon As I Get Paid.flac'
-rwxrwxrwx 1 root root 37M Jul 5 21:12 '06 A Better Man.flac'
-rwxrwxrwx 1 root root 24M Jul 5 21:12 "07 I Don't Know.flac"
-rwxrwxrwx 1 root root 29M Jul 5 21:12 '08 A Letter To Tracy.flac'
-rwxrwxrwx 1 root root 32M Jul 5 21:12 '09 Slow Down.flac'
-rwxrwxrwx 1 root root 26M Jul 5 21:12 '10 Rainmaker.flac'
-rwxrwxrwx 1 root root 17M Jul 5 21:12 '11 Love In Vain.flac'
-rwxrwxrwx 1 root root 29M Jul 5 21:12 '12 God Trying To Get Your Attention.flac'
-rwxrwxrwx 1 root root 14M Jul 5 21:12 "13 I'm Telling You Now.flac"
-rwxrwxrwx 1 root root 445K Mar 24 2018 cover.jpg
-rwxrwxrwx 1 root root 1.4K Aug 2 2018 dr14.txt
All the same.
Posts: 12,035
Threads: 271
Joined: Mar 2018
Reputation:
459
09-27-2019, 02:00 PM
(This post was last modified: 09-27-2019, 02:02 PM by Tim Curtis.
Edit Reason: eta
)
Try rebooting your NAS, then purge the MPD log, then regen the MPD database and search for errors.
sudo truncate /var/log/mpd/log --size 0