[LocalBackend-7 (_actor_loop)] mopidy_local.library Lookup error for local:directory?

Since installing mopidy in Ubuntu 24.04.2, the database seems to lock up after a few searches, getting stuck in a loop

● mopidy.service - Mopidy music server
     Loaded: loaded (/usr/lib/systemd/system/mopidy.service; enabled; preset: enabled)
     Active: active (running) since Sat 2025-06-28 12:20:23 CEST; 2 days ago
   Main PID: 756833 (mopidy)
      Tasks: 20 (limit: 9277)
     Memory: 74.1M (peak: 146.7M swap: 8.6M swap peak: 8.6M)
        CPU: 33.764s
     CGroup: /system.slice/mopidy.service
             └─756833 /usr/bin/python3 /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf

juin 30 19:36:08 ubservlow mopidy[756833]: ERROR    [LocalBackend-7 (_actor_loop)] mopidy_local.library Lookup error for local:directory?genre=Punk - Post Punk: Invalid lookup URI
juin 30 19:36:11 ubservlow mopidy[756833]: ERROR    [LocalBackend-7 (_actor_loop)] mopidy_local.library Lookup error for local:directory?type=genre: Invalid lookup URI
juin 30 19:36:37 ubservlow mopidy[756833]: ERROR    [LocalBackend-7 (_actor_loop)] mopidy_local.library Lookup error for local:directory?genre=Punk: Invalid lookup URI
juin 30 19:36:48 ubservlow mopidy[756833]: ERROR    [LocalBackend-7 (_actor_loop)] mopidy_local.library Lookup error for local:directory?genre=Punk&type=track&album=local:album:md5:c>
juin 30 19:37:11 ubservlow mopidy[756833]: ERROR    [LocalBackend-7 (_actor_loop)] mopidy_local.library Lookup error for local:directory?genre=Punk: Invalid lookup URI
juin 30 19:37:15 ubservlow mopidy[756833]: ERROR    [LocalBackend-7 (_actor_loop)] mopidy_local.library Lookup error for local:directory?genre=Punk&type=track&album=local:album:md5:f>
juin 30 19:37:19 ubservlow mopidy[756833]: ERROR    [LocalBackend-7 (_actor_loop)] mopidy_local.library Lookup error for local:directory?genre=Punk: Invalid lookup URI
juin 30 19:37:29 ubservlow mopidy[756833]: ERROR    [LocalBackend-7 (_actor_loop)] mopidy_local.library Lookup error for local:directory?genre=Punk&type=track&album=local:album:md5:c>
juin 30 19:40:52 ubservlow mopidy[756833]: ERROR    [LocalBackend-7 (_actor_loop)] mopidy_local.library Lookup error for local:directory?genre=Punk: Invalid lookup URI
juin 30 19:40:58 ubservlow mopidy[756833]: ERROR    [LocalBackend-7 (_actor_loop)] mopidy_local.library Lookup error for local:directory?genre=Punk&type=track&album=local:album:md5:0

I only have local files and this issue is not limited to Punk and it is not systematic. I never saw this issue with Ubuntu 20 so I was wondering if there might be a connection. To break the loop, I restart mopidy, but it takes a good 5 mins to get the terminal back.
Any thoughts are most welcome.

Can you try clearing out your database and doing a fresh scan?

I can’t find anything on how to “clear out” the database. To be honest, I don’t know where the database is held. Could you tell me please?

Please find the documention for Mopidy-Local on github: GitHub - mopidy/mopidy-local: Mopidy extension for playing music from your local music archive

Keep in mind that when running as a service you’ll need to use sudo mopidyctl rather than mopidy.

sudo mopidyctl local clear

is a good one to know.
It has speeded up my searches and for the moment I am no longer getting the above error. Thank you

But is back again with another error about the podcast backend …

admin@ubservlow:/usr/share/mopidy/conf.d$ sudo systemctl status mopidy
[sudo] password for admin: 
● mopidy.service - Mopidy music server
     Loaded: loaded (/usr/lib/systemd/system/mopidy.service; enabled; preset: enabled)
     Active: active (running) since Thu 2025-07-03 09:32:28 CEST; 6 days ago
   Main PID: 1207884 (mopidy)
      Tasks: 20 (limit: 9277)
     Memory: 163.2M (peak: 251.1M)
        CPU: 1min 38.632s
     CGroup: /system.slice/mopidy.service
             └─1207884 /usr/bin/python3 /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf

juil. 06 01:08:47 ubservlow mopidy[1207884]: ERROR    [Core-9 (_actor_loop)] mopidy.core.library PodcastBackend backend returned bad data: Expe>
juil. 06 01:08:47 ubservlow mopidy[1207884]: ERROR    [Core-9 (_actor_loop)] mopidy.core.library PodcastBackend backend returned bad data: Expe>
juil. 06 01:08:47 ubservlow mopidy[1207884]: ERROR    [Core-9 (_actor_loop)] mopidy.core.library PodcastBackend backend returned bad data: Expe>
juil. 06 01:08:47 ubservlow mopidy[1207884]: ERROR    [Core-9 (_actor_loop)] mopidy.core.library PodcastBackend backend returned bad data: Expe>
juil. 06 01:08:47 ubservlow mopidy[1207884]: ERROR    [Core-9 (_actor_loop)] mopidy.core.library PodcastBackend backend returned bad data: Expe>
juil. 06 01:08:47 ubservlow mopidy[1207884]: ERROR    [Core-9 (_actor_loop)] mopidy.core.library PodcastBackend backend returned bad data: Expe>
juil. 06 01:08:47 ubservlow mopidy[1207884]: ERROR    [Core-9 (_actor_loop)] mopidy.core.library PodcastBackend backend returned bad data: Expe>
juil. 06 01:08:47 ubservlow mopidy[1207884]: ERROR    [Core-9 (_actor_loop)] mopidy.core.library PodcastBackend backend returned bad data: Expe>
juil. 06 01:08:47 ubservlow mopidy[1207884]: ERROR    [Core-9 (_actor_loop)] mopidy.core.library PodcastBackend backend returned bad data: Expe>
juil. 06 01:08:47 ubservlow mopidy[1207884]: ERROR    [Core-9 (_actor_loop)] mopidy.core.library PodcastBackend backend returned bad data: Expe>
lines 1-20/20 (END)

Not sure what’s going on with that truncated log message, can’t tell much from that. Could you increase the log verbosity?

Not rightly sure if this help … but here is the log … thank you

`admin@ubservlow:/usr/share/mopidy/conf.d$ sudo mopidy -vvvv 2>&1 | tee mopidy.log
tee: mopidy.log: Permission denied
INFO 2025-07-11 21:48:20,780 [2007804:MainThread] mopidy.main
Starting Mopidy 3.4.2
DEBUG 2025-07-11 21:48:20,781 [2007804:MainThread] mopidy.ext
Loading entry point: iris = mopidy_iris:Extension
DEBUG 2025-07-11 21:48:20,782 [2007804:MainThread] mopidy.ext
Loaded extension: Mopidy-Iris 3.70.0
DEBUG 2025-07-11 21:48:20,783 [2007804:MainThread] mopidy.ext
Loading entry point: file = mopidy.file:Extension
DEBUG 2025-07-11 21:48:20,783 [2007804:MainThread] mopidy.ext
Loaded extension: Mopidy-File 3.4.2
DEBUG 2025-07-11 21:48:20,783 [2007804:MainThread] mopidy.ext
Loading entry point: http = mopidy.http:Extension
DEBUG 2025-07-11 21:48:20,783 [2007804:MainThread] mopidy.ext
Loaded extension: Mopidy-HTTP 3.4.2
DEBUG 2025-07-11 21:48:20,783 [2007804:MainThread] mopidy.ext
Loading entry point: m3u = mopidy.m3u:Extension
DEBUG 2025-07-11 21:48:20,784 [2007804:MainThread] mopidy.ext
Loaded extension: Mopidy-M3U 3.4.2
DEBUG 2025-07-11 21:48:20,784 [2007804:MainThread] mopidy.ext
Loading entry point: softwaremixer = mopidy.softwaremixer:Extension
DEBUG 2025-07-11 21:48:20,784 [2007804:MainThread] mopidy.ext
Loaded extension: Mopidy-SoftwareMixer 3.4.2
DEBUG 2025-07-11 21:48:20,784 [2007804:MainThread] mopidy.ext
Loading entry point: stream = mopidy.stream:Extension
DEBUG 2025-07-11 21:48:20,784 [2007804:MainThread] mopidy.ext
Loaded extension: Mopidy-Stream 3.4.2
DEBUG 2025-07-11 21:48:20,784 [2007804:MainThread] mopidy.ext
Loading entry point: alsamixer = mopidy_alsamixer:Extension
DEBUG 2025-07-11 21:48:20,785 [2007804:MainThread] mopidy.ext
Loaded extension: Mopidy-ALSAMixer 2.0.1
DEBUG 2025-07-11 21:48:20,785 [2007804:MainThread] mopidy.ext
Loading entry point: internetarchive = mopidy_internetarchive:Extension
DEBUG 2025-07-11 21:48:20,785 [2007804:MainThread] mopidy.ext
Loaded extension: Mopidy-InternetArchive 3.0.1
DEBUG 2025-07-11 21:48:20,786 [2007804:MainThread] mopidy.ext
Loading entry point: local = mopidy_local:Extension
DEBUG 2025-07-11 21:48:20,795 [2007804:MainThread] mopidy.ext
Loaded extension: Mopidy-Local 3.2.1
DEBUG 2025-07-11 21:48:20,795 [2007804:MainThread] mopidy.ext
Loading entry point: mpd = mopidy_mpd:Extension
DEBUG 2025-07-11 21:48:20,795 [2007804:MainThread] mopidy.ext
Loaded extension: Mopidy-MPD 3.3.0
DEBUG 2025-07-11 21:48:20,795 [2007804:MainThread] mopidy.ext
Loading entry point: podcast = mopidy_podcast:Extension
DEBUG 2025-07-11 21:48:20,796 [2007804:MainThread] mopidy.ext
Loaded extension: Mopidy-Podcast 3.0.1
DEBUG 2025-07-11 21:48:20,796 [2007804:MainThread] mopidy.ext
Loading entry point: scrobbler = mopidy_scrobbler:Extension
DEBUG 2025-07-11 21:48:20,796 [2007804:MainThread] mopidy.ext
Loaded extension: Mopidy-Scrobbler 2.0.1
DEBUG 2025-07-11 21:48:20,796 [2007804:MainThread] mopidy.ext
Loading entry point: soundcloud = mopidy_soundcloud:Extension
DEBUG 2025-07-11 21:48:20,797 [2007804:MainThread] mopidy.ext
Loaded extension: Mopidy-SoundCloud 3.0.2
DEBUG 2025-07-11 21:48:20,800 [2007804:MainThread] mopidy.ext
Discovered extensions: iris, file, http, m3u, softwaremixer, stream, alsamixer, internetarchive, local, mpd, podcast, scrobbler, soundcloud
DEBUG 2025-07-11 21:48:20,803 [2007804:MainThread] mopidy.config.keyring
Fetching passwords from your keyring failed. Any passwords stored in the keyring will not be available. (org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally without any error message)
INFO 2025-07-11 21:48:20,804 [2007804:MainThread] mopidy.config
Loading config from builtin defaults
DEBUG 2025-07-11 21:48:20,805 [2007804:MainThread] mopidy.config
Loading config from file:///etc/xdg/mopidy/mopidy.conf failed; it does not exist
INFO 2025-07-11 21:48:20,805 [2007804:MainThread] mopidy.config
Loading config from file:///root/.config/mopidy/mopidy.conf
INFO 2025-07-11 21:48:20,806 [2007804:MainThread] mopidy.config
Loading config from command line options
WARNING 2025-07-11 21:48:20,809 [2007804:MainThread] mopidy.config
Ignoring config section ‘mopify’ because no matching extension was found
WARNING 2025-07-11 21:48:20,809 [2007804:MainThread] mopidy.config
Ignoring config section ‘bandcamp’ because no matching extension was found
WARNING 2025-07-11 21:48:20,809 [2007804:MainThread] mopidy.config
Ignoring config section ‘ytmusic’ because no matching extension was found
WARNING 2025-07-11 21:48:20,809 [2007804:MainThread] mopidy.config
Ignoring config section ‘radionet’ because no matching extension was found
WARNING 2025-07-11 21:48:20,809 [2007804:MainThread] mopidy.config
Ignoring config section ‘youtube’ because no matching extension was found
WARNING 2025-07-11 21:48:20,809 [2007804:MainThread] mopidy.config
Ignoring config section ‘party’ because no matching extension was found
DEBUG 2025-07-11 21:48:20,810 [2007804:MainThread] mopidy.ext
Validating extension: iris
DEBUG 2025-07-11 21:48:20,818 [2007804:MainThread] mopidy.ext
Validating extension: file
DEBUG 2025-07-11 21:48:20,818 [2007804:MainThread] mopidy.ext
Validating extension: http
DEBUG 2025-07-11 21:48:20,903 [2007804:MainThread] mopidy.ext
Validating extension: m3u
DEBUG 2025-07-11 21:48:20,904 [2007804:MainThread] mopidy.ext
Validating extension: softwaremixer
DEBUG 2025-07-11 21:48:20,904 [2007804:MainThread] mopidy.ext
Validating extension: stream
DEBUG 2025-07-11 21:48:20,904 [2007804:MainThread] mopidy.ext
Validating extension: alsamixer
DEBUG 2025-07-11 21:48:20,905 [2007804:MainThread] mopidy.ext
Validating extension: internetarchive
DEBUG 2025-07-11 21:48:20,906 [2007804:MainThread] mopidy.ext
Validating extension: local
DEBUG 2025-07-11 21:48:20,907 [2007804:MainThread] mopidy.ext
Validating extension: mpd
DEBUG 2025-07-11 21:48:20,912 [2007804:MainThread] mopidy.ext
Validating extension: podcast
DEBUG 2025-07-11 21:48:20,913 [2007804:MainThread] mopidy.ext
Validating extension: scrobbler
DEBUG 2025-07-11 21:48:20,915 [2007804:MainThread] mopidy.ext
Validating extension: soundcloud
INFO 2025-07-11 21:48:20,916 [2007804:MainThread] mopidy.main
Enabled extensions: internetarchive, softwaremixer, podcast, iris, mpd, http, alsamixer, m3u, stream, file
INFO 2025-07-11 21:48:20,916 [2007804:MainThread] mopidy.main
Disabled extensions: soundcloud, local, scrobbler
WARNING 2025-07-11 21:48:20,916 [2007804:MainThread] mopidy.main
Found local configuration errors. The extension has been automatically disabled:
WARNING 2025-07-11 21:48:20,916 [2007804:MainThread] mopidy.main
local/media_dir must be set.
WARNING 2025-07-11 21:48:20,916 [2007804:MainThread] mopidy.main
Found scrobbler configuration errors. The extension has been automatically disabled:
WARNING 2025-07-11 21:48:20,916 [2007804:MainThread] mopidy.main
scrobbler/username must be set.
WARNING 2025-07-11 21:48:20,916 [2007804:MainThread] mopidy.main
scrobbler/password must be set.
WARNING 2025-07-11 21:48:20,917 [2007804:MainThread] mopidy.main
Found soundcloud configuration errors. The extension has been automatically disabled:
WARNING 2025-07-11 21:48:20,917 [2007804:MainThread] mopidy.main
soundcloud/auth_token must be set.
WARNING 2025-07-11 21:48:20,917 [2007804:MainThread] mopidy.main
Please fix the extension configuration errors or disable the extensions to silence these messages.
DEBUG 2025-07-11 21:48:20,992 [2007804:MainThread] mopidy.commands
Available Mopidy mixers: SoftwareMixer, AlsaMixer
INFO 2025-07-11 21:48:20,992 [2007804:MainThread] mopidy.commands
Starting Mopidy mixer: SoftwareMixer
DEBUG 2025-07-11 21:48:20,992 [2007804:MainThread] pykka
Registered SoftwareMixer (urn:uuid:13972258-92ea-44e3-bfb4-5286bf2be43d)
DEBUG 2025-07-11 21:48:20,992 [2007804:MainThread] pykka
Starting SoftwareMixer (urn:uuid:13972258-92ea-44e3-bfb4-5286bf2be43d)
DEBUG 2025-07-11 21:48:20,993 [2007804:MainThread] mopidy.commands
Mixer volume left unchanged
INFO 2025-07-11 21:48:20,993 [2007804:MainThread] mopidy.commands
Starting Mopidy audio
DEBUG 2025-07-11 21:48:20,993 [2007804:MainThread] pykka
Registered Audio (urn:uuid:8a8ee8b8-4a3d-4ada-ace4-669a88552383)
DEBUG 2025-07-11 21:48:20,993 [2007804:MainThread] pykka
Starting Audio (urn:uuid:8a8ee8b8-4a3d-4ada-ace4-669a88552383)
INFO 2025-07-11 21:48:20,994 [2007804:MainThread] mopidy.commands
Starting Mopidy backends: FileBackend, M3UBackend, StreamBackend, InternetArchiveBackend, PodcastBackend
DEBUG 2025-07-11 21:48:20,994 [2007804:MainThread] mopidy.file.library
Failed expanding path ($XDG_MUSIC_DIR) from file/media_dirs config value.
DEBUG 2025-07-11 21:48:20,994 [2007804:MainThread] pykka
Registered FileBackend (urn:uuid:2a6825df-a963-47f5-a3f2-55729855f570)
DEBUG 2025-07-11 21:48:20,994 [2007804:MainThread] pykka
Starting FileBackend (urn:uuid:2a6825df-a963-47f5-a3f2-55729855f570)
TRACE 2025-07-11 21:48:20,997 [2007804:MainThread] mopidy.internal.timer
FileBackend took 2ms
DEBUG 2025-07-11 21:48:20,999 [2007804:MainThread] pykka
Registered M3UBackend (urn:uuid:c8f3c85d-5d28-431f-b78d-11957db28f13)
DEBUG 2025-07-11 21:48:20,999 [2007804:MainThread] pykka
Starting M3UBackend (urn:uuid:c8f3c85d-5d28-431f-b78d-11957db28f13)
TRACE 2025-07-11 21:48:21,000 [2007804:MainThread] mopidy.internal.timer
M3UBackend took 1ms
INFO 2025-07-11 21:48:21,006 [2007804:Audio-2 (_actor_loop)] mopidy.audio.actor
Audio output set to “autoaudiosink”
DEBUG 2025-07-11 21:48:21,011 [2007804:MainThread] pykka
Registered StreamBackend (urn:uuid:d1f7a38f-cc72-4359-b0b0-b668c3a59155)
DEBUG 2025-07-11 21:48:21,011 [2007804:MainThread] pykka
Starting StreamBackend (urn:uuid:d1f7a38f-cc72-4359-b0b0-b668c3a59155)
TRACE 2025-07-11 21:48:21,013 [2007804:MainThread] mopidy.internal.timer
StreamBackend took 11ms
DEBUG 2025-07-11 21:48:21,014 [2007804:MainThread] urllib3.util.retry
Converted retries value: 3 → Retry(total=3, connect=None, read=None, redirect=None, status=None)
DEBUG 2025-07-11 21:48:21,015 [2007804:MainThread] pykka
Registered InternetArchiveBackend (urn:uuid:06fc3645-5c34-49df-ae04-844214622ae8)
DEBUG 2025-07-11 21:48:21,015 [2007804:MainThread] pykka
Starting InternetArchiveBackend (urn:uuid:06fc3645-5c34-49df-ae04-844214622ae8)
TRACE 2025-07-11 21:48:21,016 [2007804:MainThread] mopidy.internal.timer
InternetArchiveBackend took 2ms
DEBUG 2025-07-11 21:48:21,050 [2007804:MainThread] pykka
Registered PodcastBackend (urn:uuid:4624c406-e97c-455b-9840-ad592606fdbc)
DEBUG 2025-07-11 21:48:21,050 [2007804:MainThread] pykka
Starting PodcastBackend (urn:uuid:4624c406-e97c-455b-9840-ad592606fdbc)
TRACE 2025-07-11 21:48:21,053 [2007804:MainThread] mopidy.internal.timer
PodcastBackend took 36ms
INFO 2025-07-11 21:48:21,054 [2007804:MainThread] mopidy.commands
Starting Mopidy core
DEBUG 2025-07-11 21:48:21,055 [2007804:MainThread] pykka
Registered Core (urn:uuid:8b268f2d-a627-4128-9352-66d49cd89f44)
DEBUG 2025-07-11 21:48:21,055 [2007804:MainThread] pykka
Starting Core (urn:uuid:8b268f2d-a627-4128-9352-66d49cd89f44)
INFO 2025-07-11 21:48:21,058 [2007804:MainThread] mopidy.commands
Starting Mopidy frontends: IrisFrontend, HttpFrontend, MpdFrontend
DEBUG 2025-07-11 21:48:21,058 [2007804:MainThread] pykka
Registered IrisFrontend (urn:uuid:c4cbb00b-b8ac-4c81-a4ef-428b5f2c7262)
DEBUG 2025-07-11 21:48:21,058 [2007804:MainThread] pykka
Starting IrisFrontend (urn:uuid:c4cbb00b-b8ac-4c81-a4ef-428b5f2c7262)
INFO 2025-07-11 21:48:21,058 [2007804:IrisFrontend-9 (_actor_loop)] mopidy_iris.core
Starting Iris 3.70.0
TRACE 2025-07-11 21:48:21,058 [2007804:MainThread] mopidy.internal.timer
IrisFrontend took 0ms
DEBUG 2025-07-11 21:48:21,059 [2007804:MainThread] mopidy.http.actor
Starting HTTP server
DEBUG 2025-07-11 21:48:21,059 [2007804:MainThread] pykka
Registered HttpFrontend (urn:uuid:ca136f4b-ee2a-4280-9f96-2a0b93571570)
DEBUG 2025-07-11 21:48:21,059 [2007804:MainThread] pykka
Starting HttpFrontend (urn:uuid:ca136f4b-ee2a-4280-9f96-2a0b93571570)
INFO 2025-07-11 21:48:21,059 [2007804:HttpFrontend-11 (_actor_loop)] mopidy.http.actor
HTTP server running at [::ffff:127.0.0.1]:6680
TRACE 2025-07-11 21:48:21,059 [2007804:MainThread] mopidy.internal.timer
HttpFrontend took 0ms
DEBUG 2025-07-11 21:48:21,060 [2007804:HttpServer] asyncio
Using selector: EpollSelector
INFO 2025-07-11 21:48:21,061 [2007804:MainThread] mopidy_mpd.actor
MPD server running at [::ffff:127.0.0.1]:6600
DEBUG 2025-07-11 21:48:21,061 [2007804:MainThread] pykka
Registered MpdFrontend (urn:uuid:870c9607-b641-453c-bd81-aec6df7d7492)
DEBUG 2025-07-11 21:48:21,061 [2007804:MainThread] pykka
Starting MpdFrontend (urn:uuid:870c9607-b641-453c-bd81-aec6df7d7492)
DEBUG 2025-07-11 21:48:21,061 [2007804:HttpServer] mopidy.http.actor
Loaded HTTP extension: iris
DEBUG 2025-07-11 21:48:21,061 [2007804:HttpServer] mopidy.http.actor
Loaded HTTP extension: mopidy
DEBUG 2025-07-11 21:48:21,062 [2007804:HttpServer] mopidy.http.actor
Default webclient is mopidy
TRACE 2025-07-11 21:48:21,062 [2007804:MainThread] mopidy.internal.timer
MpdFrontend took 1ms
INFO 2025-07-11 21:48:21,062 [2007804:MainThread] mopidy.commands
Starting GLib mainloop
DEBUG 2025-07-11 21:48:21,062 [2007804:HttpServer] mopidy.http.actor
HTTP routes from extensions:
‘/iris’: <class ‘mopidy.http.handlers.AddSlashHandler’>
‘/iris/http/([^/])': <class ‘mopidy_iris.handlers.HttpHandler’>
‘/iris/ws/?’: <class ‘mopidy_iris.handlers.WebsocketHandler’>
'/iris/assets/(.
)’: <class ‘tornado.web.StaticFileHandler’>
‘/iris/((.)(?:css|js|json|map)$)': <class ‘tornado.web.StaticFileHandler’>
'/iris/(.
)’: <class ‘mopidy_iris.handlers.ReactRouterHandler’>
‘/mopidy’: <class ‘mopidy.http.handlers.AddSlashHandler’>
‘/mopidy/ws/?’: <class ‘mopidy.http.handlers.WebSocketHandler’>
‘/mopidy/rpc’: <class ‘mopidy.http.handlers.JsonRpcHandler’>
‘/mopidy/(.+)’: <class ‘mopidy.http.handlers.StaticFileHandler’>
‘/mopidy/’: <class ‘mopidy.http.handlers.ClientListHandler’>
‘/’: <class ‘tornado.web.RedirectHandler’>
DEBUG 2025-07-11 21:48:21,069 [2007804:MpdFrontend-12 (_actor_loop)] mopidy.zeroconf
Zeroconf service ‘Mopidy MPD server on ubservlow’ (_mpd._tcp at :6600): Published
DEBUG 2025-07-11 21:48:21,072 [2007804:HttpFrontend-11 (_actor_loop)] mopidy.zeroconf
Zeroconf service ‘Mopidy HTTP server on ubservlow’ (_http._tcp at :6680): Published
DEBUG 2025-07-11 21:48:21,074 [2007804:HttpFrontend-11 (_actor_loop)] mopidy.zeroconf
Zeroconf service ‘Mopidy HTTP server on ubservlow’ (_mopidy-http._tcp at :6680): Published
^C
admin@ubservlow:/usr/share/mopidy/conf.d$ sudo systemctl status mopidy
● mopidy.service - Mopidy music server
Loaded: loaded (/usr/lib/systemd/system/mopidy.service; enabled; preset: enabled)
Active: active (running) since Fri 2025-07-11 20:07:31 CEST; 1h 41min ago
Process: 2000945 ExecStartPre=/bin/mkdir -p /var/cache/mopidy (code=exited, status=0/SUCCESS)
Process: 2000947 ExecStartPre=/bin/chown mopidy:audio /var/cache/mopidy (code=exited, status=0/SUCCESS)
Main PID: 2000949 (mopidy)
Tasks: 23 (limit: 9277)
Memory: 362.3M (peak: 362.8M)
CPU: 1min 13.114s
CGroup: /system.slice/mopidy.service
└─2000949 /usr/bin/python3 /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf

juil. 11 21:48:07 ubservlow mopidy[2000949]: DEBUG [MainThread] mopidy.audio.actor Audio event: state_changed(old_state=playing, new_state=playing, target_state=None)
juil. 11 21:48:07 ubservlow mopidy[2000949]: DEBUG [MainThread] mopidy.listener Sending state_changed to AudioListener: {‘old_state’: ‘playing’, ‘new_state’: ‘playing’, ‘target_state’: None}
juil. 11 21:48:07 ubservlow mopidy[2000949]: DEBUG [HttpServer] mopidy.http.handlers Received WebSocket message from 192.168.0.254: ‘{“method”:“core.playback.get_time_position”,“params”:{},“jsonrpc”:“2.0”,“id”:633}’
juil. 11 21:48:07 ubservlow mopidy[2000949]: DEBUG [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: ‘{“jsonrpc”: “2.0”, “id”: 633, “result”: 118066}’
juil. 11 21:48:12 ubservlow mopidy[2000949]: DEBUG [HttpServer] mopidy.http.handlers Received WebSocket message from 192.168.0.254: ‘{“method”:“core.playback.get_time_position”,“params”:{},“jsonrpc”:“2.0”,“id”:1274}’
juil. 11 21:48:12 ubservlow mopidy[2000949]: DEBUG [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: ‘{“jsonrpc”: “2.0”, “id”: 1274, “result”: 122820}’
juil. 11 21:48:17 ubservlow mopidy[2000949]: DEBUG [HttpServer] mopidy.http.handlers Received WebSocket message from 192.168.0.254: ‘{“method”:“core.playback.get_time_position”,“params”:{},“jsonrpc”:“2.0”,“id”:634}’
juil. 11 21:48:17 ubservlow mopidy[2000949]: DEBUG [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: ‘{“jsonrpc”: “2.0”, “id”: 634, “result”: 127940}’
juil. 11 21:48:27 ubservlow mopidy[2000949]: DEBUG [HttpServer] mopidy.http.handlers Received WebSocket message from 192.168.0.254: ‘{“method”:“core.playback.get_time_position”,“params”:{},“jsonrpc”:“2.0”,“id”:635}’
juil. 11 21:48:27 ubservlow mopidy[2000949]: DEBUG [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: ‘{“jsonrpc”: “2.0”, “id”: 635, “result”: 137815}’
admin@ubservlow:/usr/share/mopidy/conf.d$
``
type or paste code here

● mopidy.service - Mopidy music server
     Loaded: loaded (/usr/lib/systemd/system/mopidy.service; enabled; preset: enabled)
     Active: active (running) since Sat 2025-07-19 08:54:45 CEST; 53s ago
    Process: 2176 ExecStartPre=/bin/mkdir -p /var/cache/mopidy (code=exited, status=0/SUCCESS)
    Process: 2213 ExecStartPre=/bin/chown mopidy:audio /var/cache/mopidy (code=exited, status=0/SUCCESS)
   Main PID: 2266 (mopidy)
      Tasks: 15 (limit: 9278)
     Memory: 65.5M (peak: 66.0M)
        CPU: 951ms
     CGroup: /system.slice/mopidy.service
             └─2266 /usr/bin/python3 /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf

juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: '{"jsonrpc": "2>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Received WebSocket message from 192.168.0.254: '{"method>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: '{"jsonrpc": "2>
juil. 19 08:54:49 ubservlow mopidy[2266]:  [{"__model__": "Artist", "uri": "local:artist:md5:1b1e055e3b133d40c1b76e0a93e6b807", "name": "The >
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Received WebSocket message from 192.168.0.254: '{"method>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: '{"jsonrpc": "2>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Received WebSocket message from 192.168.0.254: '{"method>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: '{"jsonrpc": "2>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Received WebSocket message from 192.168.0.254: '{"method>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: '{"jsonrpc": "2>
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-22/22 (END)
mopidy.service - Mopidy music server
     Loaded: loaded (/usr/lib/systemd/system/mopidy.service; enabled; preset: enabled)
     Active: active (running) since Sat 2025-07-19 08:54:45 CEST; 53s ago
    Process: 2176 ExecStartPre=/bin/mkdir -p /var/cache/mopidy (code=exited, status=0/SUCCESS)
    Process: 2213 ExecStartPre=/bin/chown mopidy:audio /var/cache/mopidy (code=exited, status=0/SUCCESS)
   Main PID: 2266 (mopidy)
      Tasks: 15 (limit: 9278)
     Memory: 65.5M (peak: 66.0M)
        CPU: 951ms
     CGroup: /system.slice/mopidy.service
             └─2266 /usr/bin/python3 /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf

juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: '{"jsonrpc":>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Received WebSocket message from 192.168.0.254: '{"met>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: '{"jsonrpc":>
juil. 19 08:54:49 ubservlow mopidy[2266]:  [{"__model__": "Artist", "uri": "local:artist:md5:1b1e055e3b133d40c1b76e0a93e6b807", "name": "T>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Received WebSocket message from 192.168.0.254: '{"met>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: '{"jsonrpc":>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Received WebSocket message from 192.168.0.254: '{"met>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: '{"jsonrpc":>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Received WebSocket message from 192.168.0.254: '{"met>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: '{"jsonrpc":>
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-22/22 (END)

● mopidy.service - Mopidy music server
     Loaded: loaded (/usr/lib/systemd/system/mopidy.service; enabled; preset: enabled)
     Active: active (running) since Sat 2025-07-19 08:54:45 CEST; 53s ago
    Process: 2176 ExecStartPre=/bin/mkdir -p /var/cache/mopidy (code=exited, status=0/SUCCESS)
    Process: 2213 ExecStartPre=/bin/chown mopidy:audio /var/cache/mopidy (code=exited, status=0/SUCCESS)
   Main PID: 2266 (mopidy)
      Tasks: 15 (limit: 9278)
     Memory: 65.5M (peak: 66.0M)
        CPU: 951ms
     CGroup: /system.slice/mopidy.service
             └─2266 /usr/bin/python3 /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf

juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: '{"jsonrpc">
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Received WebSocket message from 192.168.0.254: '{"me>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: '{"jsonrpc">
juil. 19 08:54:49 ubservlow mopidy[2266]:  [{"__model__": "Artist", "uri": "local:artist:md5:1b1e055e3b133d40c1b76e0a93e6b807", "name": ">
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Received WebSocket message from 192.168.0.254: '{"me>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: '{"jsonrpc">
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Received WebSocket message from 192.168.0.254: '{"me>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: '{"jsonrpc">
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Received WebSocket message from 192.168.0.254: '{"me>
juil. 19 08:54:49 ubservlow mopidy[2266]: DEBUG    [HttpServer] mopidy.http.handlers Sent WebSocket message to 192.168.0.254: '{"jsonrpc">
~

Disclaimer - what I write below as to how I solved this issue is only an impression of how I troubleshot the issue .

The issue seems to have been linked to extensions that I had installed to test and that seem not to have been deactivating as per the numerous conf files that are installed.
I set installed My setup to use systemctl and not local. This seems to be a very, very important choice when it comes to extensions. On my Ubuntu, I have python3 installed for the OS. From what I understand, mopidy systemctl uses this python3 installation to run across all users. The alternative is a local python3 installation that runs only with the specified user logged in. I think this explains why there are so many conf files which all have different setups.
n short, I deduce that , if you start mopidy locally, mopidy will refer to the local confs and in systemctl, it refers to anything it finds across the machine.
Also, I deduce that mopidy automatically manages installed extensions which may not have conf info. This is important as my mopidy conf was showing extension confs that did not exist in any of the conf files I could find. Therefore, mopidy was running a few of services on its own that seem to have been grinding mopidy to a halt (particularly constant internetarchive, YT, radio and podcast scans.)
Currently, I don’t understand how to manage extensions from
https://mopidy.com/ext/
for the systemctl. I install the extensions directly into the OS python3 install getting this advice.
``admin@ubservlow:/usr/bin$ sudo python3 -m pip install Mopidy-Bandcamp
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
``

I have to use

sudo python3 -m pip install Mopidy-Bandcamp --break-system-packages

which works. (I presume this is very bad practice, but I don’t understand what the systemctl alternative is.)

The problem seems to have been that I had lots of extensions installed that were running without a written conf file reference or were not activating properly.
My mopidy had become a mess.
I uninstalled all the deps and mopidy and then had to reinstalled the essential extensions. I cleaned out all the conf files and created only the confs that correspond to the installed extensions.
Managing extensions is a mystery to me above all when they can be installed system wide and in the locally. I don’t understand how I deleted the extensions from the system and I could find much in the doc about how to managed them completely (as I still don’t understand where they are installed.)
I hope this helps someone.