Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Senior Member pkfox's Avatar
    Join Date
    May 2006
    Location
    Surrey, UK
    Posts
    484

    LMS not finding music

    Hi guys, I've had LMS setup and running on my Raspberry Pi for over a week now without any major problems but yesterday I disconnected the external USB drive which has my music on it to back it up to my file server all went ok, I reconnected it the pi and LMS reports 0 files 0 playlist etc etc..., I've rescanned the library all to no avail, I've tried browsing the music folder from my transporter and it too can't find any files but the drive is mounted ok and obviously in the same place Any ideas ?
    We can't stop here this is bat country. RIP Hunter S Thompson.

  2. #2
    Senior Member
    Join Date
    Feb 2008
    Posts
    4,737
    Quote Originally Posted by pkfox View Post
    Hi guys, I've had LMS setup and running on my Raspberry Pi for over a week now without any major problems but yesterday I disconnected the external USB drive which has my music on it to back it up to my file server all went ok, I reconnected it the pi and LMS reports 0 files 0 playlist etc etc..., I've rescanned the library all to no avail, I've tried browsing the music folder from my transporter and it too can't find any files but the drive is mounted ok and obviously in the same place Any ideas ?
    Did you reboot the Pi?
    LMS server: Pi Zero

    Amp: Denon PMA-50

    Players/Speakers: Touch, Logitech Radios, Sonos Play 1s & Beam, Libratone Zipp, GGMM E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google Chromecast Audio, Home Mini & Nest Hub, Amazon Echo 2,3 and Show5, Pioneer WX-SMA1, Roberts S1, O2 Joggler, Cisco Joggler, Avantree Priva BT transmitter

    Brexit = ∞ stupidity


    ------------------------------------------------------------------------------------

  3. #3
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    2,992
    Quote Originally Posted by pkfox View Post
    Hi guys, I've had LMS setup and running on my Raspberry Pi for over a week now without any major problems but yesterday I disconnected the external USB drive which has my music on it to back it up to my file server all went ok, I reconnected it the pi and LMS reports 0 files 0 playlist etc etc..., I've rescanned the library all to no avail, I've tried browsing the music folder from my transporter and it too can't find any files but the drive is mounted ok and obviously in the same place Any ideas ?

    Try this, open the LMS webUI, go toLMS settings

    >Basic Settings> Browse Media Folders> Media, in the drop down list select the usb folders one by one until you find the files

    atb

    Ronnie.

    was just going to add about restarting LMS/pi but got beaten to it
    Last edited by Man in a van; 2014-10-16 at 04:31. Reason: added text

  4. #4
    Senior Member pkfox's Avatar
    Join Date
    May 2006
    Location
    Surrey, UK
    Posts
    484
    Quote Originally Posted by Man in a van View Post
    Try this, open the LMS webUI, go toLMS settings

    >Basic Settings> Browse Media Folders> Media, in the drop down list select the usb folders one by one until you find the files

    atb

    Ronnie.

    was just going to add about restarting LMS/pi but got beaten to it
    Hi I can't browse the music folders as the pi is headless and without a keyboard, but I'm trying a reboot ( yet another ) and it does appear to be scanning now whereas previously the scan was over in a matter of seconds and found nothing
    We can't stop here this is bat country. RIP Hunter S Thompson.

  5. #5
    Senior Member pkfox's Avatar
    Join Date
    May 2006
    Location
    Surrey, UK
    Posts
    484
    Quote Originally Posted by castalla View Post
    Did you reboot the Pi?
    Yes several times, it does appear to be scanning properly now I'll keep you posted
    We can't stop here this is bat country. RIP Hunter S Thompson.

  6. #6
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    2,992
    [QUOTE=pkfox;793359]Hi I can't browse the music folders as the pi is headless and without a keyboard, but I'm trying a reboot ( yet another ) and it does appear to be scanning now whereas previously the scan was over in a matter of seconds and found nothing[/QUO

    have you tried the pi IP address:9000 in a browser window?

    atb

    Ronnie

  7. #7
    Senior Member pkfox's Avatar
    Join Date
    May 2006
    Location
    Surrey, UK
    Posts
    484
    [QUOTE=Man in a van;793390]
    Quote Originally Posted by pkfox View Post
    Hi I can't browse the music folders as the pi is headless and without a keyboard, but I'm trying a reboot ( yet another ) and it does appear to be scanning now whereas previously the scan was over in a matter of seconds and found nothing[/QUO

    have you tried the pi IP address:9000 in a browser window?

    atb

    Ronnie
    Hi, I can access the browser interface without a problem its just the library is empty , but as I said in another post it appears to be scanning properly now I will keep you posted
    We can't stop here this is bat country. RIP Hunter S Thompson.

  8. #8
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    4,309
    The Pi probably didn't automount the USB drive properly when you plugged it back in. You need to be careful about removing and reinserting USB drives with Linux. They need to be unmounted before removal. If you aren't a *nix person this is best done by powering the Pi off before you pull the USB to do your backup. When you have finished put it back in the same socket and the switch on the Pi.
    VB2.4 storage QNAP TS419p (NFS)
    Living Room - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
    Office - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3 -> Onkyo CRN755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom
    Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - Pi2+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
    Everything controlled by iPeng

  9. #9
    Senior Member pkfox's Avatar
    Join Date
    May 2006
    Location
    Surrey, UK
    Posts
    484
    Quote Originally Posted by d6jg View Post
    The Pi probably didn't automount the USB drive properly when you plugged it back in. You need to be careful about removing and reinserting USB drives with Linux. They need to be unmounted before removal. If you aren't a *nix person this is best done by powering the Pi off before you pull the USB to do your backup. When you have finished put it back in the same socket and the switch on the Pi.
    Well the scan seems to have finished and the same result 0 files found, what I have discovered though is, if I copy some files to the pi's hard disk and point LMS to the location it works, so there is something about my USB drive that is not right - it's mounted ok and I can browse it in file manager but the LMS software can't see it nor can I browse it from my transporter using browse music folder. It's beginning to annoy me now.

    Edit

    I think I've found the problem, when I removed the drive to perform my backup I used rsync -avh which has removed the execute attribute from the folders which LMS needs to access them ( slaps forehead ) LMS is now scanning merrily and showing progress - thanks to all for your help.
    Last edited by pkfox; 2014-10-17 at 02:09.
    We can't stop here this is bat country. RIP Hunter S Thompson.

  10. #10
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    4,309
    Glad that is sorted.

    Why do you need to pull the USB to do the backup anyway? Can't you set up an rysnc (without the attribute) over your local network?
    VB2.4 storage QNAP TS419p (NFS)
    Living Room - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
    Office - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3 -> Onkyo CRN755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom
    Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - Pi2+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
    Everything controlled by iPeng

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •