# Local scan can't find mp3 files

**URL:** <https://discourse.mopidy.com/t/local-scan-cant-find-mp3-files/1544>\
**Category:** Misc\
**Created:** [March 13, 2017, 10:39pm UTC](https://discourse.mopidy.com/t/local-scan-cant-find-mp3-files/1544 "2017-03-13T22:39:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheFlyingMunkey](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@TheFlyingMunkey](https://discourse.mopidy.com/u/TheFlyingMunkey)\
**Post date:** [March 13, 2017, 10:39pm UTC](https://discourse.mopidy.com/t/local-scan-cant-find-mp3-files/1544/1 "2017-03-13T22:39:43Z")

</div>

I’ve just installed Mopidy and plan to use it to play a handful of lullaby and white noise MP3s stored on my RPi SD card. We don’t need it to do much, but I’m struggling to debug a problem - the local scan function can’t seem to find the test .mp3 files that I place there.

I’ve changed the media\_dir in [local] in the mopidy.conf to my ~/Music folder and saved small test .mp3 files in there via WinSCP. My webclient, Iris, only shows a blank page under the Local -\> Folders page, and a quick test of the Musicbox Webclient does the same. At no point does the command mopidy local scan give any cause for concern.

I’m fairly sure I’ve done something wrong here, but what exactly?

---

<div class="post-metadata">

**Author:** ![tkem](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/tkem/32/22_2.png) [@tkem](https://discourse.mopidy.com/u/tkem)\
**Post date:** [March 14, 2017, 11:24am UTC](https://discourse.mopidy.com/t/local-scan-cant-find-mp3-files/1544/2 "2017-03-14T11:24:53Z")

</div>

Did you restart Mopidy after running the local scan?  
If yes, the actual command you used to run local scan and its output might be helpful…

---

<div class="post-metadata">

**Author:** ![TheFlyingMunkey](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@TheFlyingMunkey](https://discourse.mopidy.com/u/TheFlyingMunkey)\
**Post date:** [March 14, 2017, 6:59pm UTC](https://discourse.mopidy.com/t/local-scan-cant-find-mp3-files/1544/3 "2017-03-14T18:59:40Z")

</div>

Thank you for your reply. I should have attached the output from the command in the first place, sorry!

```
pi@raspberrypi:~ $ mopidy local scan
INFO Starting Mopidy 2.1.0
INFO Loading config from builtin defaults
INFO Loading config from /home/pi/.config/mopidy/mopidy.conf
INFO Loading config from command line options
INFO Enabled extensions: iris, mpd, http, file, stream, mobile, m3u, simple-webclient, local-images, softwaremixer, moped, musicbox_webclient, party, api_explorer, local
INFO Disabled extensions: none
INFO Found 4 files in media_dir.
INFO Checking 0 tracks from library. 
INFO Removing 0 missing tracks.
INFO Found 4 tracks which need to be updated.
INFO Scanning...
INFO Scanned 4 of 4 files in 0s.
INFO Done scanning.
pi@raspberrypi:~ $

```

This is the output after transferring 4 test mp3 files via WinSCP and restarting mopidy.

The folder I used to transfer to was /home/pi/Music, which is the file named as media\_dir in [local] section of the config file.

---

<div class="post-metadata">

**Author:** ![tkem](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/tkem/32/22_2.png) [@tkem](https://discourse.mopidy.com/u/tkem)\
**Post date:** [March 14, 2017, 7:20pm UTC](https://discourse.mopidy.com/t/local-scan-cant-find-mp3-files/1544/4 "2017-03-14T19:20:17Z")

</div>

If you’re running mopidy as a service, and not as local user “pi”, the actual command is

```auto
sudo mopidyctl local scan

```

as explained here: [https://docs.mopidy.com/en/latest/service/#subcommands](https://docs.mopidy.com/en/latest/service/#subcommands)

---

<div class="post-metadata">

**Author:** ![tkem](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/tkem/32/22_2.png) [@tkem](https://discourse.mopidy.com/u/tkem)\
**Post date:** [March 14, 2017, 7:21pm UTC](https://discourse.mopidy.com/t/local-scan-cant-find-mp3-files/1544/5 "2017-03-14T19:21:16Z")

</div>

I assume the config file you changed is `/etc/mopidy/mopidy.conf`?
