# Modipy starts only with builtin defaults

**URL:** https://discourse.mopidy.com/t/modipy-starts-only-with-builtin-defaults/235
**Category:** Misc
**Created:** [October 5, 2014, 3:51pm UTC](https://discourse.mopidy.com/t/modipy-starts-only-with-builtin-defaults/235 "2014-10-05T15:51:16Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Robin](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@Robin](https://discourse.mopidy.com/u/Robin)
#### Post date: [October 5, 2014, 3:51pm UTC](https://discourse.mopidy.com/t/modipy-starts-only-with-builtin-defaults/235/1 "2014-10-05T15:51:16Z")

</div>

Hi,  
i’ve installed mopidy on my PI and i have the problem, that it fully ignores my changes in the config file. It always just starts with the builtin defaults. Doesn’t matter if started as app or system service. Both config files in `~/.config/mopidy/mopidy.conf` and `/etc/mopidy/mopidy.conf` are changed. I encounter the same problem on my ubuntu machine. I’ve also tried starting with --config configpath but it has no effect.  
i found [this thread](https://discourse.mopidy.com/t/problem-with-configuration/191/5) but my configs should be readable.

```
ls -l /etc/modipy/modipy.conf

```

has this output:

```
-rwxr-xr-x 1 mopidy root 2027 Oct 5 11:35 /etc/mopidy/mopidy.conf

```

i am user “pi”. i don’t know what i can try anymore

---

<div class="post-metadata">

### Author: ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)
#### Post date: [October 5, 2014, 4:04pm UTC](https://discourse.mopidy.com/t/modipy-starts-only-with-builtin-defaults/235/2 "2014-10-05T16:04:32Z")

</div>

Can I just check how you know it is ignoring the changes in your config file? Are you running `mopidy config` to make it display the active config or is it just not working as you expected?

---

<div class="post-metadata">

### Author: ![Robin](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@Robin](https://discourse.mopidy.com/u/Robin)
#### Post date: [October 5, 2014, 4:12pm UTC](https://discourse.mopidy.com/t/modipy-starts-only-with-builtin-defaults/235/3 "2014-10-05T16:12:21Z")

</div>

well, both. `mopidy config` and `sudo service mopidy run config` both show default config. That means my spotify account settings and my changes in mpd section are ignored. There i changed the hostname to 0.0.0.0 because i want to have acces from my desktop and this, of course, doesn’t work.

---

<div class="post-metadata">

### Author: ![woutervanwijk](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/woutervanwijk/32/15_2.png) [@woutervanwijk](https://discourse.mopidy.com/u/woutervanwijk)
#### Post date: [October 6, 2014, 9:38am UTC](https://discourse.mopidy.com/t/modipy-starts-only-with-builtin-defaults/235/4 "2014-10-06T09:38:43Z")

</div>

Did you install using pip or apt-get?

---

<div class="post-metadata">

### Author: ![Robin](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@Robin](https://discourse.mopidy.com/u/Robin)
#### Post date: [October 6, 2014, 10:38am UTC](https://discourse.mopidy.com/t/modipy-starts-only-with-builtin-defaults/235/5 "2014-10-06T10:38:34Z")

</div>

Installed it with apt-get. I am using raspbmc on my pi

---

<div class="post-metadata">

### Author: ![rawdlite](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/rawdlite/32/764_2.png) [@rawdlite](https://discourse.mopidy.com/u/rawdlite)
#### Post date: [October 6, 2014, 12:11pm UTC](https://discourse.mopidy.com/t/modipy-starts-only-with-builtin-defaults/235/6 "2014-10-06T12:11:54Z")

</div>

Can you run

```
ps aux | grep mopidy

```

and post the output.

---

<div class="post-metadata">

### Author: ![Robin](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@Robin](https://discourse.mopidy.com/u/Robin)
#### Post date: [October 6, 2014, 12:31pm UTC](https://discourse.mopidy.com/t/modipy-starts-only-with-builtin-defaults/235/7 "2014-10-06T12:31:48Z")

</div>

> [@rawdlite](#):
>
> Can you run
> 
> ps aux | grep mopidy
> 
> and post the output.

output:

> pi 7144 0.0 0.1 1980 616 pts/0 S+ 14:29 0:00 grep mopidy  
> mopidy 32628 0.0 4.7 85416 18108 ? Sl Oct05 0:03 /usr/bin/python /usr/bin/mopidy --quiet --config /etc/mopidy/extensions.d:/etc/mopidy/mopidy.conf

---

<div class="post-metadata">

### Author: ![rawdlite](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/rawdlite/32/764_2.png) [@rawdlite](https://discourse.mopidy.com/u/rawdlite)
#### Post date: [October 6, 2014, 1:36pm UTC](https://discourse.mopidy.com/t/modipy-starts-only-with-builtin-defaults/235/8 "2014-10-06T13:36:56Z")

</div>

Have you checked the files in /etc/mopidy/extensions.d ?  
There might be a spotify.conf with the default settings overriding your changes in /etc/mopidy/mopidy.conf.

---

<div class="post-metadata">

### Author: ![Robin](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@Robin](https://discourse.mopidy.com/u/Robin)
#### Post date: [October 6, 2014, 1:47pm UTC](https://discourse.mopidy.com/t/modipy-starts-only-with-builtin-defaults/235/9 "2014-10-06T13:47:01Z")

</div>

there really is, but the documentation says that these are overwritten by the main config file. And the changes in mpd section are also not taken.  
i recently found out that xbmc is not starting anymore. Google says mopidy and xbmc are using different versions of libtag which makes them incompatible. i think my plan using mopidy besides xbmc is cursed 😉  
i appreciate all your help, but i think this is a dead end

---

<div class="post-metadata">

### Author: ![jodal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jodal/32/2564_2.png) [@jodal](https://discourse.mopidy.com/u/jodal)
#### Post date: [October 6, 2014, 1:55pm UTC](https://discourse.mopidy.com/t/modipy-starts-only-with-builtin-defaults/235/10 "2014-10-06T13:55:59Z")

</div>

The last file path given to `--config` overrides the previous ones. `/etc/mopidy/extensions.d` is just defaults from the extension packages. All your own configuration should go in `/etc/mopidy/mopidy.conf`.

---

<div class="post-metadata">

### Author: ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)
#### Post date: [October 7, 2014, 3:03pm UTC](https://discourse.mopidy.com/t/modipy-starts-only-with-builtin-defaults/235/11 "2014-10-07T15:03:15Z")

</div>

Running Mopidy alongside XBMC is doable. I’m personally running Mopidy on an xbian install. You can get around the libtag issue by following the hack/fix at [https://github.com/xbianonpi/xbian/issues/378#issuecomment-24460900](https://github.com/xbianonpi/xbian/issues/378#issuecomment-24460900)
