Cannot see folders on USB disk

Hi,

I have successfully configured Volumio 2.348 on RPi 3 with Hifiberry Digi+ and a 1TB USB disk. On the disk I have a couple of folders mostly with FLAC files (copied from OS X through USB), via ssh to volumio I can see

drwxr-xr-x 1 root root 131072 Jan 7 17:41 .
drwxr-xr-x 1 root root 131072 Jan 7 18:16 …
drwxr-xr-x 1 root root 131072 Jan 4 18:32 Dire Straits
drwxr-xr-x 1 root root 131072 Jan 4 16:19 ELO
drwxr-xr-x 1 root root 131072 Jan 4 18:37 George Harrison
drwxr-xr-x 1 root root 131072 Jan 4 15:43 Sweet
drwxr-xr-x 1 root root 131072 Apr 18 2015 Sweet - 2012 - New York Connection
drwxr-xr-x 1 root root 131072 Jan 4 18:08 Tom Petty
drwxr-xr-x 1 root root 131072 Jan 4 17:53 Traveling Wilburys
drwxr-xr-x 1 root root 131072 Jan 4 19:23 VA Guardians Of The Galaxy

However, in volumio itself I can only see a subset of these - see the attached image. Any idea what may cause this?

Cheers.
Screen Shot 2018-01-07 at 19.44.42.png

Have you checked the permissions of the actual files in the missing folders?

Hi,

yes, the permissions are the same everywhere. Strangely, if I change a name of an invisible folder, sometimes I can see it after a reboot. However, this does not help always. The problems looks similar to http://www.runeaudio.com/forum/not-all-folders-visible-in-library-t2839.html, there is no solution posted, though. Looks like a problem with MPD, not Volumio itself (mpc listall only shows the files as Volumio does)… Is there a way to overcome this?

Thanks, Jan

P.S. May also be connected to https://github.com/RuneAudio/RuneUI/issues/55 and https://github.com/RuneAudio/RuneUI/issues/61, or http://www.runeaudio.com/forum/usb-is-recognized-but-no-music-is-found-t123.html.

The volumio.log file shows 2018-01-08T18:37:20.294Z - error: MPD error: Error: This socket has been ended by the other party .

Should I submit a bug report if no one has experience with this?

I don’t think that your reported error is a bug.
Exactly which folder does your list from ssh come from? Can you also list the contents of ‘Dire Straits’? What is the format of your hard drive?

Hi, thanks for the response.

The folder I list is /media/zap150_1tb/music (or symlinked by /var/lib/mpd/music/USB/zap150_1tb), the format of the 1TB HDD is exFAT. The list of Dire Straits follows

drwxr-xr-x 1 root root 131072 Jan 4 18:32 . drwxr-xr-x 1 root root 131072 Jan 8 17:24 .. drwxr-xr-x 1 root root 131072 Jan 4 19:16 Albums drwxr-xr-x 1 root root 131072 Jan 4 19:35 Compilations drwxr-xr-x 1 root root 131072 Jan 4 19:34 Covers drwxr-xr-x 1 root root 131072 Jan 4 18:50 Live

list of Compilations

drwxr-xr-x 1 root root 131072 Jan 4 19:35 . drwxr-xr-x 1 root root 131072 Jan 4 18:32 .. drwxr-xr-x 1 root root 131072 Jan 4 19:35 (1988) Money For Nothing [Vertigo – 836 419-2] [remastered] [France] drwxr-xr-x 1 root root 131072 Jan 4 19:35 (1998) Sultans Of Swing (The Very Best Of Dire Straits) [Vertigo – 538 003-2] [Germany]

list of Money for Nothing

drwxr-xr-x 1 root root 131072 Jan 4 19:35 . drwxr-xr-x 1 root root 131072 Jan 4 19:35 .. -rwxr-xr-x 1 root root 412417875 Jan 4 18:34 Dire Straits - Money For Nothing.flac -rwxr-xr-x 1 root root 7190 Jan 4 18:34 Dire Straits - Money For Nothing.log

Any idea what I can try to avoid this behaviour? Unfortunately, I cannot use Volumio in this state for its main purpose… Thanks for any advice, Jan

This is a rather strange problem and difficult to advise without access to your files. Could you check renaming a problem folder from your RPi to see if it is a “strange character” problem (some editors, can introduce unwanted characters). Also, what happens if you move one of the flac files up to the top level of your music folder … can it be seen then by Volumio?

OK, I found the culprit. There were some FLAC files that I could not even play on a PC. After removing these, all seems to work.

However, I would hope MPD to be a bit more sophisticated, like reporting an error, whatever…

Thanks for you assistance anyway!

I had a similar problem. I had reformatted my external HDD with NTFS (I had decided to change the HDD from Ext4 format to NTFS for better Windows compatibility and ease of maintenance). I had re-loaded all the music folders and files from my PC. But, on the Pi 3+, only a few folders of the HDD were then being listed by Volumio.
To find a solution:

  1. I put the disk back onto my PC;
  2. clicked on the HDD disk’s folder in Windows Explorer;
  3. in ‘Properties’, I set ALL the check boxes to ‘allow’ for both ‘Authenticated users’ and ‘Users’ for all permissions.
    Volumio then found all the folders and worked properly after returning the HDD back to the Pi.