![]() |
[SOLVED] USB SSD not available in folder view with RPi Zero W - 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: [SOLVED] USB SSD not available in folder view with RPi Zero W (/showthread.php?tid=6264) |
RE: USB SSD not available in folder view - Tim Curtis - 02-27-2024 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. RE: USB SSD not available in folder view - hifinet - 02-27-2024 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. RE: USB SSD not available in folder view - Tim Curtis - 02-27-2024 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 RE: USB SSD not available in folder view - hifinet - 02-27-2024 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. RE: USB SSD not available in folder view - Tim Curtis - 02-27-2024 How was this drive formatted? RE: USB SSD not available in folder view - Tim Curtis - 02-27-2024 (02-27-2024, 06:35 PM)hifinet Wrote: There is no write protect switch on the SSD. Oops my bad. I'll edit that post. Do the chmod command first. RE: USB SSD not available in folder view - hifinet - 02-27-2024 Formatted as vfat (FAT32). RE: USB SSD not available in folder view - TheOldPresbyope - 02-27-2024 @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 RE: USB SSD not available in folder view - hifinet - 02-27-2024 @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". RE: USB SSD not available in folder view - Tim Curtis - 02-27-2024 I have an Inateck enclosure that I've used with Pi and my Mac. Samsung EVO SSD inside. https://www.amazon.com/gp/product/B00JQTO8TU/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1 |