question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Iris unaccessible, 404

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 10 months ago
  • Reactions:1
  • Comments:18 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
jaedbcommented, Dec 11, 2022

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.

0reactions
shadowking001commented, Dec 22, 2022

@jaedb right now your trick is not working on my setup. My compose file :

version: "2.1"
services:

  iris-snapserver:
     container_name: iris-snapserver
     image: jaedb/snapserver
     networks:
        - net-proxy
     ports:
        # stream
        - 1704:1704
        # tcp
        #- 1705:1705
        # http
        - 1780:1780
     volumes:
        - tmp:/tmp
        - /opt/iris-snapserver/snapserver.conf:/etc/snapserver.conf
        - /opt/iris-snapserver/mopidy_meta.py:/usr/share/snapserver/plug-ins/mopidy_meta.py
      
  iris-mopidy:
     image: jaedb/iris
     container_name: iris-mopidy
     networks:
        - net-proxy
     environment:
        - PIP_PACKAGES=Mopidy-Local Mopidy-Iris
     depends_on:
        - iris-snapserver
     ports:
        # mpd
        #- 6600:6600
        # http
        - 6680:6680
     volumes:
        # iris-specific storage
        - /opt/iris-mopidy/data:/var/lib/mopidy/iris
        # playlists
        - /opt/iris-mopidy/m3u:/var/lib/mopidy/m3u
        # config
        - /opt/iris-mopidy/config/mopidy.conf:/config/mopidy.conf:ro
        # music files
        - music:/var/lib/mopidy/media:ro
        - tmp:/tmp
        
volumes:

   tmp:
   
   music:
      driver_opts:
         type: cifs
         o: 'username=media,password=HM52qFJkp5L^*Uzp@Zg!R^dfJXfCcK,uid=1000,gid=1000,vers=3.0'
         device: //192.168.100.100/music
         
networks:

   net-proxy:
      external: true

P.S : Adding “build” does not help either.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · jaedb/Iris - GitHub
Iris unaccessible, 404 · #871 opened 8 days ago ; Need to clear local data in firefox everytime mopidy restarts · #863 opened...
Read more >
Handle HTTP errors - Iris
Error codes are the http status codes that are bigger than or equal to 400, like 404 not found and 500 internal server...
Read more >
Common installation / update problems - IRIS Software
If the status of the drive shows as “Unavailable“, as in the example above, ... Auto Update errors – Failed to download/couldn't connect/404...
Read more >
404 Iris Ct, Brawley, CA 92227 | Zillow
404 Iris Ct, Brawley, CA 92227 is currently not for sale. The 2151 Square Feet single family home is a 4 beds, 4...
Read more >
Thread: 204/404 vs empty xml doc - IRIS
Hi Following up on my inability to catch a 204, can you explain the rationalization for using a 204 instead of returning an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found