Mopidy local error

hi - trying to scan local folder on rpi
have modified the conf. file as follows
running mopidy as service.

[local]
media_dir = /home/disk_mount/Music

but get the following error when running sudo mopidy local scan

WARNING 2023-08-28 19:49:41,031 [13732:MainThread] mopidy.main
Found local configuration errors. The extension has been automatically disabled:
WARNING 2023-08-28 19:49:41,032 [13732:MainThread] mopidy.main
local/media_dir must be set.
WARNING 2023-08-28 19:49:41,033 [13732:MainThread] mopidy.main
Please fix the extension configuration errors or disable the extensions to silence these messages.

any thoughts ?

As you’re saying that you’ve set that value in your config file, I would assume that it isn’t reading that config file.

This is how to see what the effective configuration is:
https://docs.mopidy.com/en/latest/config/#view-effective-configuration

This tells you how to find the right config file to edit:
https://docs.mopidy.com/en/latest/config/#configuration-file-location