Impossible to change Mopidy conf

Hi guys,

Wanna install Mopidy today but i’ve some trouble. The changes that i do on the .conf file have no effect on Mopidy configuration :confused: And i don’t understand why. A little help could be cool :slight_smile:

Here’s my mopidy.conf

# For further information about options in this file see:
#   http://docs.mopidy.com/
#
# The initial commented out values reflect the defaults as of:
#   Mopidy 0.19.5
#   Mopidy-HTTP 0.19.5
#   Mopidy-Local 0.19.5
#   Mopidy-MPD 0.19.5
#   Mopidy-SoftwareMixer 0.19.5
#   Mopidy-Stream 0.19.5
#
# Available options and defaults might have changed since then,
# run `mopidy config` to see the current effective config and
# `mopidy --version` to check the current version.

[logging]
#color = true
#console_format = %(levelname)-8s %(message)s
#debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n  %(message)s
#debug_file = mopidy.log
#config_file =

[audio]
#mixer = software
#mixer_volume = 
#output = autoaudiosink
#visualizer = 

[proxy]
#scheme = 
#hostname = 
#port = 
#username = 
#password = 

[http]
#enabled = true
#hostname = ::
#port = 6680
#static_dir =
#zeroconf = Mopidy HTTP server on $hostname

[mpd]
#enabled = true
#hostname = ::
#port = 6600
#password = 
#max_connections = 20
#connection_timeout = 60
#zeroconf = Mopidy MPD server on $hostname

[softwaremixer]
#enabled = true

[local]
#enabled = false
#library = json
#media_dir =
#data_dir = $XDG_DATA_DIR/mopidy/local
#playlists_dir = $XDG_DATA_DIR/mopidy/local/playlists
#scan_timeout = 1000
#scan_flush_threshold = 1000
#excluded_file_extensions = 
#  .directory
#  .html
#  .jpeg
#  .jpg
#  .log
#  .nfo
#  .png
#  .txt

[stream]
#enabled = false
#protocols = 
#  file
#  http
#  https
#  mms
#  rtmp
#  rtmps
#  rtsp
#metadata_blacklist = 
#timeout = 5000

[gmusic]
#enabled = true
#username = 
#password = 
#deviceid = 

But no change when i use mopidy config

[logging]
color = true
console_format = %(levelname)-8s %(message)s
debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n  %(message)s
debug_file = mopidy.log
config_file =

[audio]
mixer = software
mixer_volume =
output = autoaudiosink
visualizer =

[proxy]
scheme =
hostname =
port =
username =
password =

[http]
enabled = true
hostname = 127.0.0.1
port = 6680
static_dir =
zeroconf = Mopidy HTTP server on $hostname

[mpd]
enabled = true
hostname = 127.0.0.1
port = 6600
password =
max_connections = 20
connection_timeout = 60
zeroconf = Mopidy MPD server on $hostname

[softwaremixer]
enabled = true

[local]
enabled = false  ; Extension disabled due to config errors.
library = json
media_dir =  ; Must be set.
data_dir = $XDG_DATA_DIR/mopidy/local
playlists_dir = $XDG_DATA_DIR/mopidy/local/playlists
scan_timeout = 1000
scan_flush_threshold = 1000
excluded_file_extensions =
  .directory
  .html
  .jpeg
  .jpg
  .log
  .nfo
  .png
  .txt

[stream]
enabled = true
protocols =
  file
  http
  https
  mms
  rtmp
  rtmps
  rtsp
metadata_blacklist =
timeout = 5000

When i launch Mopidy, that fail

INFO     Starting Mopidy 0.19.5
INFO     Loading config from: builtin defaults, /etc/xdg/mopidy/mopidy.conf, /ho                                                                                                                               me/pi/.config/mopidy/mopidy.conf, command line options
INFO     Enabled extensions: mpd, softwaremixer, http, stream
INFO     Disabled extensions: local
WARNING  Found local configuration errors, the extension has been automatically                                                                                                                                disabled:
WARNING    local/media_dir must be set.
WARNING  Please fix the extension configuration errors or disable the extensions                                                                                                                                to silence these messages.
INFO     Starting Mopidy mixer: SoftwareMixer
INFO     Mixing using GStreamer software mixing
INFO     Starting Mopidy audio
INFO     Starting Mopidy backends: StreamBackend
INFO     Audio output set to "autoaudiosink"
INFO     Starting Mopidy core
INFO     Starting Mopidy frontends: HttpFrontend, MpdFrontend
INFO     HTTP server running at [::ffff:127.0.0.1]:6680
INFO     MPD server running at [::ffff:127.0.0.1]:6600
^CINFO     Interrupted. Exiting...
INFO     Stopping Mopidy frontends
INFO     Stopping Mopidy core
INFO     Stopping Mopidy backends
INFO     Stopping Mopidy audio
INFO     Stopping Mopidy mixer

Here’s more information

pi@raspberrypi ~ $ ls -ld ~/.config

drwxr-xr-x 3 pi pi 4096 Dec 31 11:25 /home/pi/.config

pi@raspberrypi ~ $ ls -ld ~/.config/mopidy

drwxr-xr-x 2 pi pi 4096 Dec 31 11:25 /home/pi/.config/mopidy

pi@raspberrypi ~ $ ls -l ~/.config/mopidy/mopidy.conf

-rw-r--r-- 1 pi pi 1689 Dec 31 13:46 /home/pi/.config/mopidy/mopidy.conf

pi@raspberrypi ~ $ cat ~/.config/mopidy/mopidy.conf

# For further information about options in this file see:
#   http://docs.mopidy.com/
#
# The initial commented out values reflect the defaults as of:
#   Mopidy 0.19.5
#   Mopidy-HTTP 0.19.5
#   Mopidy-Local 0.19.5
#   Mopidy-MPD 0.19.5
#   Mopidy-SoftwareMixer 0.19.5
#   Mopidy-Stream 0.19.5
#
# Available options and defaults might have changed since then,
# run `mopidy config` to see the current effective config and
# `mopidy --version` to check the current version.

[logging]
#color = true
#console_format = %(levelname)-8s %(message)s
#debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n  %(message)s
#debug_file = mopidy.log
#config_file =

[audio]
#mixer = software
#mixer_volume =
#output = autoaudiosink
#visualizer =

[proxy]
#scheme =
#hostname =
#port =
#username =
#password =

[http]
#enabled = true
#hostname = ::
#port = 6680
#static_dir =
#zeroconf = Mopidy HTTP server on $hostname

[mpd]
#enabled = true
#hostname = ::
#port = 6600
#password =
#max_connections = 20
#connection_timeout = 60
#zeroconf = Mopidy MPD server on $hostname

[softwaremixer]
#enabled = true

[local]
#enabled = false
#library = json
#media_dir =
#data_dir = $XDG_DATA_DIR/mopidy/local
#playlists_dir = $XDG_DATA_DIR/mopidy/local/playlists
#scan_timeout = 1000
#scan_flush_threshold = 1000
#excluded_file_extensions =
#  .directory
#  .html
#  .jpeg
#  .jpg
#  .log
#  .nfo
#  .png
#  .txt

[stream]
#enabled = false
#protocols =
#  file
#  http
#  https
#  mms
#  rtmp
#  rtmps
#  rtsp
#metadata_blacklist =
#timeout = 5000

[gmusic]
#enabled = true
#username = 
#password = 
#deviceid =

All lines that start with a # character are comments. https://docs.mopidy.com/en/latest/config/ has more info.