Media on usb stick not detected

Need help? Post your questions here.

Moderator: moderators

Media on usb stick not detected

Postby ibot » Mon Feb 01, 2016 11:48 pm

After adding a media folder and starting "Scan media folders now" no new media files are added to the library.

The usbstick is mounted with usbmount

Code: Select all
pi@subsonicpi:/media/usb0 $ mount
...
/dev/sda1 on /media/usb0 type vfat (rw,nodev,noexec,noatime,nodiratime,sync,gid=100,fmask=0117,dmask=0007,allow_utime=0020,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
...


I am able to access files on shell:
Code: Select all
pi@subsonicpi:/media/usb0 $ ls -la
total 44
drwxrwx--- 11 root users 4096 Jan  1  1970 .
drwxr-xr-x 12 root root  4096 Feb  1 23:58 ..
drwxrwx--- 11 root users 4096 Feb  1 12:18 Beatles
drwxrwx---  3 root users 4096 Feb  1 11:35 Dendemann
drwxrwx---  3 root users 4096 Jan 30 14:47 Electric Light Orchestra
drwxrwx---  3 root users 4096 Feb  1 11:30 Lee Scratch Perry
drwxrwx---  8 root users 4096 Jan 30 14:43 Pink Floyd
drwxrwx---  4 root users 4096 Feb  1 11:33 Soundtrack
drwxrwx---  4 root users 4096 Jan 30 14:43 The Prodigy


There is not much in subsonic logs (is it possibel to enable some kind of debug mode?)

Code: Select all
pi@subsonicpi:/media/usb0 $ sudo tail -f /var/subsonic/subsonic.log
[2016-02-02 00:41:01,850] INFO MusicFolderDao - Created music folder /media/usb0
[2016-02-02 00:41:01,854] INFO MediaScannerService - Automatic media library scanning scheduled to run every 1 day(s), starting at Tue Feb 02 03:00:00 CET 2016
[2016-02-02 00:41:14,053] INFO MediaScannerService - Starting to scan media library.
[2016-02-02 00:41:14,523] INFO MediaScannerService - Scanned media library with 19 entries. ("old" files from sdcard folder /var/music)
[2016-02-02 00:41:14,524] INFO MediaScannerService - Marking non-present files.
[2016-02-02 00:41:14,529] INFO MediaScannerService - Marking non-present artists.
[2016-02-02 00:41:14,534] INFO MediaScannerService - Marking non-present albums.
[2016-02-02 00:41:14,542] INFO MediaScannerService - Completed media library scan.
[2016-02-02 00:41:16,203] INFO PlaylistService - Starting playlist import.
[2016-02-02 00:41:16,203] INFO PlaylistService - Completed playlist import.


"Allow access to these media folders" is given to user admin.
Subsonic is running as user root, I am using subsonic-v5.3 with oracle-java8-jdk on a raspberry pi 2.

Any idea where to look next?
ibot
 
Posts: 13
Joined: Sat Jan 30, 2016 12:55 pm

Re: Media on usb stick not detected

Postby Bayom » Tue Feb 09, 2016 7:26 am

Any news on this ? I have the same problem, can't read files from usb HDD anymore.
Bayom
 
Posts: 1
Joined: Tue Feb 09, 2016 6:16 am

Re: Media on usb stick not detected

Postby ibot » Wed Feb 10, 2016 12:02 pm

No news from my side. I did not get it working. The strange thing is that it worked sometimes.

As a workaround i switched to http://dietpi.com/ with subsonic package and all worked out of the box.
ibot
 
Posts: 13
Joined: Sat Jan 30, 2016 12:55 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 33 guests