Iris: Iris unaccessible, 404

Iris version

3.65.0

Operating system(s) affected

  • Windows
  • MacOS
  • iOS
  • Android
  • Linux
  • Other

Browser(s) affected

  • Firefox
  • Chrome
  • Edge
  • Other

What happened?

I’m trying to run Iris but although Mopidy launches fine (and the log says Iris is started too) when I try to access Iris in the browser I just get a 404 page. The log shows nothing of interest.

This happens both when I try the official Docker image but with debian:bookworm as a base image instead and with a custom Alpine Linux-based image. The official image as is works just fine. No it doesn’t, every image with the latest Iris is broken and according to reports further in this thread even without Docker it’s broken.

Logs

INFO     2022-11-17 16:19:12,878 [21:MainThread] mopidy.__main__
  Starting Mopidy 3.3.0
INFO     2022-11-17 16:19:12,902 [21:MainThread] mopidy.config
  Loading config from builtin defaults
INFO     2022-11-17 16:19:12,903 [21:MainThread] mopidy.config
  Loading config from file:///config/mopidy.conf
INFO     2022-11-17 16:19:12,904 [21:MainThread] mopidy.config
  Loading config from command line options
INFO     2022-11-17 16:19:12,907 [21:MainThread] mopidy.internal.path
  Creating dir file:///var/lib/mopidy/.cache/mopidy
INFO     2022-11-17 16:19:13,123 [21:MainThread] mopidy.__main__
  Enabled extensions: mpd, softwaremixer, http, m3u, iris, stream, file
INFO     2022-11-17 16:19:13,123 [21:MainThread] mopidy.__main__
  Disabled extensions: local, spotify
WARNING  2022-11-17 16:19:13,123 [21:MainThread] mopidy.__main__
  Found local configuration errors. The extension has been automatically disabled:
WARNING  2022-11-17 16:19:13,123 [21:MainThread] mopidy.__main__
    local/media_dir must be set.
WARNING  2022-11-17 16:19:13,123 [21:MainThread] mopidy.__main__
  Found spotify configuration errors. The extension has been automatically disabled:
WARNING  2022-11-17 16:19:13,123 [21:MainThread] mopidy.__main__
    spotify/username must be set.
WARNING  2022-11-17 16:19:13,123 [21:MainThread] mopidy.__main__
    spotify/password must be set.
WARNING  2022-11-17 16:19:13,124 [21:MainThread] mopidy.__main__
    spotify/client_id must be set.
WARNING  2022-11-17 16:19:13,124 [21:MainThread] mopidy.__main__
    spotify/client_secret must be set.
WARNING  2022-11-17 16:19:13,124 [21:MainThread] mopidy.__main__
  Please fix the extension configuration errors or disable the extensions to silence these messages.
INFO     2022-11-17 16:19:13,332 [21:MainThread] mopidy.commands
  Starting Mopidy mixer: SoftwareMixer
INFO     2022-11-17 16:19:13,333 [21:MainThread] mopidy.commands
  Starting Mopidy audio
INFO     2022-11-17 16:19:13,334 [21:MainThread] mopidy.commands
  Starting Mopidy backends: FileBackend, M3UBackend, StreamBackend
INFO     2022-11-17 16:19:13,338 [21:MainThread] mopidy.internal.path
  Creating dir file:///var/lib/mopidy/m3u
INFO     2022-11-17 16:19:13,344 [21:Audio-2 (_actor_loop)] mopidy.audio.actor
  Audio output set to "audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/snapfifo"
INFO     2022-11-17 16:19:13,344 [21:MainThread] mopidy.commands
  Starting Mopidy core
INFO     2022-11-17 16:19:13,351 [21:MainThread] mopidy.commands
  Starting Mopidy frontends: MpdFrontend, HttpFrontend, IrisFrontend
INFO     2022-11-17 16:19:13,351 [21:MainThread] mopidy_mpd.actor
  MPD server running at [::ffff:0.0.0.0]:6600
INFO     2022-11-17 16:19:13,352 [21:HttpFrontend-9 (_actor_loop)] mopidy.http.actor
  HTTP server running at [::ffff:0.0.0.0]:6680
INFO     2022-11-17 16:19:13,352 [21:IrisFrontend-10 (_actor_loop)] mopidy_iris.core
  Starting Iris 3.65.0
INFO     2022-11-17 16:19:13,352 [21:MainThread] mopidy.commands
  Starting GLib mainloop
INFO     2022-11-17 16:19:13,356 [21:IrisFrontend-10 (_actor_loop)] mopidy.internal.path
  Creating dir file:///var/lib/mopidy/iris
INFO     2022-11-17 16:19:13,356 [21:HttpServer] mopidy.internal.path
  Creating dir file:///var/lib/mopidy/http

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 20 (16 by maintainers)

Most upvoted comments

This is now handled entirely in the Dockerfile build process, so the issue is fixed in all new builds

The immediate fix is to install from pip (rather than cloning this repository, which doesn’t include built files). Do this by adding Mopidy-Iris to the list of pip packages, or by adding Mopidy-Iris to your PIP_PACKAGES environment variable.