Can't get Iris to work

Hi all,
I desperately need your help. I am not able to geht Iris to work on my Raspberry Pi 4.
Mopidy is installed correctly and appears on the IP address of my Raspi, port 6680.
Then i installed Mopidi-Iris via Python3 according to the instruction, but it doesn’t start Iris.
Tried a hundred times to uninstall and install Iris again, with always the same result.

Do you have any hints?

Staus of Mopidy:

pi@raspberrypi:~ $ sudo systemctl status mopidy.service
● mopidy.service - Mopidy music server
Loaded: loaded (/lib/systemd/system/mopidy.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-06-19 22:39:54 CEST; 5s ago
Process: 5954 ExecStartPre=/bin/mkdir -p /var/cache/mopidy (code=exited, status=0/SUCCESS)
Process: 5955 ExecStartPre=/bin/chown mopidy:audio /var/cache/mopidy (code=exited, status=0/SUCCESS)
Main PID: 5956 (mopidy)
Tasks: 11 (limit: 4915)
CGroup: /system.slice/mopidy.service
└─5956 /usr/bin/python2 /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf

Jun 19 22:39:55 raspberrypi mopidy[5956]: INFO Starting Mopidy audio
Jun 19 22:39:55 raspberrypi mopidy[5956]: INFO Starting Mopidy backends: StreamBackend, M3UBackend, FileBackend, LocalBackend
Jun 19 22:39:55 raspberrypi mopidy[5956]: INFO No local library metadata cache found at /var/lib/mopidy/local/library.json.gz. Please run mopidy local scan to index your local music library. If you do not have a local music collect
Jun 19 22:39:55 raspberrypi mopidy[5956]: INFO Loaded 0 local tracks using json
Jun 19 22:39:55 raspberrypi mopidy[5956]: INFO Starting Mopidy core
Jun 19 22:39:55 raspberrypi mopidy[5956]: INFO Audio output set to “alsasink device=hw:0,0”
Jun 19 22:39:55 raspberrypi mopidy[5956]: INFO Starting Mopidy frontends: MpdFrontend, HttpFrontend
Jun 19 22:39:55 raspberrypi mopidy[5956]: ERROR Frontend (MpdFrontend) initialization error: MPD server startup failed: [Errno 98] Address already in use
Jun 19 22:39:55 raspberrypi mopidy[5956]: INFO Starting GLib mainloop
Jun 19 22:39:55 raspberrypi mopidy[5956]: INFO HTTP server running at [::ffff:0.0.0.0]:6680

It doesn’t seem to think Iris is installed. If you run this you should be able to tell if the package is installed.

sudo mopidyctl deps

Run this to see if your Iris configuration is being loaded.

sudo mopidyctl config

Hi, thanks for your help.
Think it has to do with my python installation. I have Python 2 and Python 3 both installed.
This is the output of sudo mopidyctl deps:

sudo mopidyctl deps
Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps” as user mopidy
/usr/lib/python2.7/dist-packages/mopidy/ext.py:202: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
extension_class = entry_point.load(require=False)
Executable: /usr/bin/mopidy
Platform: Linux-5.10.103-v7l±armv7l-with-debian-10.13
Python: CPython 2.7.16 from /usr/lib/python2.7
Mopidy: 2.2.2 from /usr/lib/python2.7/dist-packages
GStreamer: 1.14.4.0 from /usr/lib/python2.7/dist-packages/gi
Detailed information:
Python wrapper: python-gi 3.30.4
Relevant elements:
Found:
uridecodebin
souphttpsrc
appsrc
alsasink
osssink
oss4sink
pulsesink
id3demux
id3v2mux
lamemp3enc
mpegaudioparse
mpg123audiodec
vorbisdec
vorbisenc
vorbisparse
oggdemux
oggmux
oggparse
flacdec
flacparse
shout2send
Not found:
flump3dec
mad

We only support Mopidy v3 which is a Python 3 application. Remove older versions.

Thanks for your input, your’re right.
Unfortunately I wasn’t aware of that, just used the default package sources of ma Raspbian Buster Installation.
Now I followed the instructions on docs.mopidy.com and added the right package sources, and it works!
Thank for your help!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.