Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: USB SSD not available in folder view with RPi Zero W
#11
That could happen if MPD can't access the files because of insufficient permissions. It would show up as permission errors in the mpd log /var/loca/mpd/log after performing "Update library"

MPD needs read ® access to the files and read + execute (x) access to all containing directories.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#12
There is this line:

exception: Failed to open /var/lib/mpd/music/USB/04E3-8958: Permission denied

The mpd log ( in /var/log/mpd) file is very large. It took a few minutes to cat the contents. It has the entire contents of the drives when they are added and removed. Is there a safe method of clearing it?

I have another Kingston 240GB SSD that also doesn't show up in Moode folder view, but it seems that the contents were scanned.
Hardware: RPi Zero W | Allo Kali | ProtoDAC TDA1387 X8 | PGA2311 | Icepower 500ASP | Harbeth SHL5
Software: Moode 8.3.3
Source: Win 10 NAS
Reply
#13
Does this drive have some sort of manual write-protect button?

To set the correct permissions run the command below. The -R means recurse through the directory structure

Code:
# 1. Change permissions to -rwxr-xr-x
sudo chmod -R 0755 /media/04E3-8958

# 2. Change ownership to root
sudo chown -R root:root /media/04E3-8958
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#14
There is no write protect switch on the SSD.

sudo before commands seems to work. No error messages. Let me try again...

Unplugged and replugged the USB. It goes on a fairly long update spinning circle as before (the drive is empty), then Reconnecting... as if it had restarted (as before). The USB drive does not appear in folder view.
Hardware: RPi Zero W | Allo Kali | ProtoDAC TDA1387 X8 | PGA2311 | Icepower 500ASP | Harbeth SHL5
Software: Moode 8.3.3
Source: Win 10 NAS
Reply
#15
How was this drive formatted?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#16
(02-27-2024, 06:35 PM)hifinet Wrote: There is no write protect switch on the SSD.

sudo before commands seems to work. Let me try again

Oops my bad. I'll edit that post.

Do the chmod command first.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#17
Formatted as vfat (FAT32).
Hardware: RPi Zero W | Allo Kali | ProtoDAC TDA1387 X8 | PGA2311 | Icepower 500ASP | Harbeth SHL5
Software: Moode 8.3.3
Source: Win 10 NAS
Reply
#18
@hifinet

Just for grins, I grabbed a USB drive I was using on a Pi 5 to capture moOde builds, wrote some music tracks to it, and plugged it into a Pi Zero W running moOde 8.3.9.

This drive is a 1TB M.2 NVMe SSD module in a slim USB3.0 enclosure. It came up fresh as paint in all the moOde Library views after I updated the Library. Took the little Pi Zero forever to index the 1TB filesystem. Besides the tracks I purposefully wrote to it, there turned out to be copies of Tim's Stereo Test file left over from the builds done previously.

Bottom line, the basic plumbing works. Like Tim, I'd guess a file or directory permissions problem is lurking on your drive.

Good hunting.

Regards,
Kent
Reply
#19
@TheOldPresbyope

Thanks for the info.

The USB to SSD adapter (Sabrent that identifies as ID 152d:1561 JMicron Technology Corp. / JMicron USA Technology Corp. JMS561U two ports SATA 6Gb/s bridge) does work on RPi3B with Moode 8.3.9. Sometimes it appears in folder view on refresh, and sometimes it doesn't. It appears to be the same controller as this forum post , but without the enclosure. I tried the tricks in that thread.  I think it is this Sabrent EC-SSHD .

I guess add this USB to SSD adapter to the list of "may not work".
Hardware: RPi Zero W | Allo Kali | ProtoDAC TDA1387 X8 | PGA2311 | Icepower 500ASP | Harbeth SHL5
Software: Moode 8.3.3
Source: Win 10 NAS
Reply
#20
I have an Inateck enclosure that I've used with Pi and my Mac. Samsung EVO SSD inside.
https://www.amazon.com/gp/product/B00JQT...UTF8&psc=1
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: