IRIS Stuck on Loading Icon

Afternoon - I successfully set up the pirate audio this morning, all was fine - sadly now i cant get back to the iris interface. If i go to the browser IP:6680 and click on IRIS it loads, i see the logo and then it just sits there with the loading screen.

I have rebooted, looked at conf but no joy - any ideas would be great as the only thing i can think of is a fresh install and nothing has changed since this morning, apart for installing two radio plugins (tunein and RadioNet)

Andy

My guess is Mopidy is not running and you are seeing the cached page that cannot actually connect to Mopidy’s http server.

Are you sure Mopidy is running?

  • sudo systemctl status mopidy.

Anything interesting in the log?

  • sudo journalctl -u mopidy

It seems to be running - I get an edge detection error?

Nov 08 16:31:30 PirateAudio mopidy[468]: frontend_class.start(config=config, core=core)
Nov 08 16:31:30 PirateAudio mopidy[468]: File “/usr/lib/python3/dist-packages/pykka/_actor.py”, line 91, in start
Nov 08 16:31:30 PirateAudio mopidy[468]: obj = cls(*args, **kwargs)
Nov 08 16:31:30 PirateAudio mopidy[468]: File “/usr/local/lib/python3.7/dist-packages/mopidy_raspberry_gpio/frontend.py”, line 42, in init
Nov 08 16:31:30 PirateAudio mopidy[468]: bouncetime=settings.bouncetime,
Nov 08 16:31:30 PirateAudio mopidy[468]: RuntimeError: Failed to add edge detection
Nov 08 16:31:30 PirateAudio mopidy[468]: INFO [MainThread] mopidy_mpd.actor MPD server running at [::ffff:0.0.0.0]:6600
Nov 08 16:31:30 PirateAudio mopidy[468]: INFO [IrisFrontend-11] mopidy_iris.core Starting Iris 3.53.1
Nov 08 16:31:31 PirateAudio mopidy[468]: INFO [HttpFrontend-13] mopidy.http.actor HTTP server running at [::ffff:0.0.0.0]:6680
Nov 08 16:31:31 PirateAudio mopidy[468]: INFO [MainThread] mopidy.commands Starting GLib mainloop

This is the journal output:

– Logs begin at Sun 2020-11-08 15:27:33 GMT, end at Sun 2020-11-08 16:32:48 GMT. –
Nov 08 15:58:18 PirateAudio systemd[1]: Starting Mopidy music server…
Nov 08 15:58:18 PirateAudio systemd[1]: Started Mopidy music server.
Nov 08 15:58:29 PirateAudio mopidy[468]: INFO [MainThread] mopidy.main Starting Mopidy 3.0.2
Nov 08 15:58:29 PirateAudio mopidy[468]: INFO [MainThread] mopidy.config Loading config from builtin defaults
Nov 08 15:58:29 PirateAudio mopidy[468]: INFO [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidy.conf
Nov 08 15:58:29 PirateAudio mopidy[468]: INFO [MainThread] mopidy.config Loading config from file:///etc/mopidy/mopidy.conf
Nov 08 15:58:29 PirateAudio mopidy[468]: INFO [MainThread] mopidy.config Loading config from command line options
Nov 08 15:58:34 PirateAudio mopidy[468]: INFO [MainThread] mopidy.main Enabled extensions: http, stream, radionet, iris, raspberry-gpio, softwar
Nov 08 15:58:34 PirateAudio mopidy[468]: INFO [MainThread] mopidy.main Disabled extensions: spotify
Nov 08 16:31:29 PirateAudio mopidy[468]: INFO [MainThread] mopidy.commands Starting Mopidy mixer: SoftwareMixer
Nov 08 16:31:29 PirateAudio mopidy[468]: INFO [MainThread] mopidy.commands Mixer volume set to 40
Nov 08 16:31:29 PirateAudio mopidy[468]: INFO [MainThread] mopidy.commands Starting Mopidy audio
Nov 08 16:31:29 PirateAudio mopidy[468]: INFO [MainThread] mopidy.commands Starting Mopidy backends: TuneInBackend, RadioNetBackend, FileBackend, M3
Nov 08 16:31:30 PirateAudio mopidy[468]: WARNING [MainThread] mopidy.file.library /home/pi/Music is not a directory. Please create the directory or upd
Nov 08 16:31:30 PirateAudio mopidy[468]: INFO [Audio-2] mopidy.audio.actor Audio output set to “alsasink device=hw:sndrpihifiberry”
Nov 08 16:31:30 PirateAudio mopidy[468]: INFO [MainThread] mopidy.commands Starting Mopidy core
Nov 08 16:31:30 PirateAudio mopidy[468]: INFO [MainThread] mopidy.commands Starting Mopidy frontends: RaspberryGPIOFrontend, PiDiFrontend, MpdFronte
Nov 08 16:31:30 PirateAudio mopidy[468]: ERROR [MainThread] mopidy.commands Got un-handled exception from RaspberryGPIOFrontend
Nov 08 16:31:30 PirateAudio mopidy[468]: Traceback (most recent call last):
Nov 08 16:31:30 PirateAudio mopidy[468]: File “/usr/lib/python3/dist-packages/mopidy/commands.py”, line 241, in _actor_error_handling
Nov 08 16:31:30 PirateAudio mopidy[468]: yield
Nov 08 16:31:30 PirateAudio mopidy[468]: File “/usr/lib/python3/dist-packages/mopidy/commands.py”, line 438, in start_frontends
Nov 08 16:31:30 PirateAudio mopidy[468]: frontend_class.start(config=config, core=core)
Nov 08 16:31:30 PirateAudio mopidy[468]: File “/usr/lib/python3/dist-packages/pykka/_actor.py”, line 91, in start
Nov 08 16:31:30 PirateAudio mopidy[468]: obj = cls(*args, **kwargs)
Nov 08 16:31:30 PirateAudio mopidy[468]: File “/usr/local/lib/python3.7/dist-packages/mopidy_raspberry_gpio/frontend.py”, line 42, in init
Nov 08 16:31:30 PirateAudio mopidy[468]: bouncetime=settings.bouncetime,
Nov 08 16:31:30 PirateAudio mopidy[468]: RuntimeError: Failed to add edge detection
Nov 08 16:31:30 PirateAudio mopidy[468]: INFO [MainThread] mopidy_mpd.actor MPD server running at [::ffff:0.0.0.0]:6600
Nov 08 16:31:30 PirateAudio mopidy[468]: INFO [IrisFrontend-11] mopidy_iris.core Starting Iris 3.53.1
Nov 08 16:31:31 PirateAudio mopidy[468]: INFO [HttpFrontend-13] mopidy.http.actor HTTP server running at [::ffff:0.0.0.0]:6680

Thanks for looking!

Andy

Just to add - Iris has come back - i noted the dir error and fixed it…

rookie error but thanks so much for looking,

Andy