Raspbian, Iris & Icecast2 - installation issues

Hello
I am naively trying to get Raspbian, Iris & Icecast2 to work together. I have got iris on line, mopidy is running

● mopidy.service - Mopidy music server
Loaded: loaded (/lib/systemd/system/mopidy.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2019-10-17 08:54:03 CEST; 4h 53min ago
Process: 577 ExecStartPre=/bin/mkdir -p /var/cache/mopidy (code=exited, status=0/SUCCESS)
Process: 581 ExecStartPre=/bin/chown mopidy:audio /var/cache/mopidy (code=exited, status=0/SUCCESS)
Main PID: 585 (mopidy)
Tasks: 13 (limit: 4915)
Memory: 56.2M
CGroup: /system.slice/mopidy.service
└─585 /usr/bin/python2 /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf

oct. 17 08:54:08 pimusic mopidy[585]: INFO Starting Mopidy audio
oct. 17 08:54:08 pimusic mopidy[585]: INFO Starting Mopidy backends: StreamBackend, M3UBackend, FileBackend, LocalBackend
oct. 17 08:54:08 pimusic mopidy[585]: INFO Loaded 0 local tracks using json
oct. 17 08:54:08 pimusic mopidy[585]: INFO Starting Mopidy core
oct. 17 08:54:08 pimusic mopidy[585]: INFO Starting Mopidy frontends: MpdFrontend, HttpFrontend, IrisFrontend
oct. 17 08:54:08 pimusic mopidy[585]: INFO MPD server running at [::ffff:127.0.0.1]:6600
oct. 17 08:54:08 pimusic mopidy[585]: INFO Audio output set to "tee name=t ! queue ! audioresample ! autoaudiosink t. ! que
oct. 17 08:54:08 pimusic mopidy[585]: INFO HTTP server running at [::ffff:192.168.0.105]:6680
oct. 17 08:5

4:08 pimusic mopidy[585]: INFO Starting GLib mainloop
oct. 17 08:54:08 pimusic mopidy[585]: INFO Starting Iris 3.41.2


The icecast 2 is online but I cannot get the icecast to see mopdiy as a mountpoint. I have followed in the installation instruction for this in the mopidy documentation adding

/mopidy.mp3 /silence.ogg 1

to the /etc/icecast2/icecast.xml file

Would anyone have any idea where I can look now to move forward ?
Thank you

Here is my mopidy config file:

admin@pimusic:~ $ sudo mopidyctl config
Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config” as user mopidy
[core]
cache_dir = /var/cache/mopidy
config_dir = /etc/mopidy
data_dir = /var/lib/mopidy
max_tracklist_length = 10000
restore_state = false

[logging]
color = true
console_format = %(levelname)-8s %(message)s
debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n %(message)s
debug_file = /var/log/mopidy/mopidy-debug.log
config_file = /etc/mopidy/logging.conf

[audio]
mixer = software
mixer_volume =
output = tee name=t ! queue ! audioresample ! autoaudiosink t. ! queue ! lamemp3enc ! shout2send async=false mount=mopidy ip=192.168.0.105 port=8000 password=???
buffer_time =

[proxy]
scheme =
hostname = 192.168.0.105
port = 6680
username =
password =

[mpd]
enabled = true
hostname = 127.0.0.1
port = 6600
password =
max_connections = 20
connection_timeout = 60
zeroconf = Mopidy MPD server on $hostname
command_blacklist =
listall
listallinfo
default_playlist_scheme = m3u

[http]
enabled = true
hostname = 192.168.0.105
port = 6680
static_dir =
zeroconf = Mopidy HTTP server on $hostname
allowed_origins =
csrf_protection = true

[stream]
enabled = true
protocols =
http
https
mms
rtmp
rtmps
rtsp
metadata_blacklist =
timeout = 5000

[m3u]
enabled = true
base_dir =
default_encoding = latin-1
default_extension = .m3u8
playlists_dir = /var/lib/mopidy/playlists

[softwaremixer]
enabled = true

[file]
enabled = true
media_dirs =
$XDG_MUSIC_DIR|Music
~/|Home
excluded_file_extensions =
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000

[local]
enabled = true
library = json
media_dir = /var/lib/mopidy/media
scan_timeout = 1000
scan_flush_threshold = 100
scan_follow_symlinks = false
excluded_file_extensions =
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip

[musicbox_webclient]
enabled = true
musicbox = false
websocket_host =
websocket_port =
on_track_click = PLAY_ALL

[moped]
enabled = true

[local-images]
enabled = true
library = json
base_uri = /images/
image_dir =
album_art_files =
*.jpg
*.jpeg
*.png

[iris]
enabled = true
country = NZ
locale = en_NZ
spotify_authorization_url = https://jamesbarnsley.co.nz/iris/auth_spotify.php
lastfm_authorization_url = https://jamesbarnsley.co.nz/iris/auth_lastfm.php
genius_authorization_url = https://jamesbarnsley.co.nz/iris/auth_genius.php
snapcast_enabled = false
snapcast_host = localhost
snapcast_port = 1705
snapcast_buffer_size = 8192

[spotify]
enabled = false ; Extension disabled due to config errors.
username = ; Must be set.
password = ; Must be set.
client_id = ; Must be set.
client_secret = ; Must be set.
bitrate = 160
volume_normalization = true
private_session = false
timeout = 10
allow_cache = true
allow_network = true
allow_playlists = true
search_album_count = 20
search_artist_count = 10
search_track_count = 50
toplist_countries =

admin@pimusic:~ $ mopidy deps
Executable: /usr/local/bin/mopidy
Platform: Linux-4.19.75-v7l±armv7l-with-debian-10.1
Python: CPython 2.7.16 from /usr/lib/python2.7
Mopidy: 2.3.0 from /usr/local/lib/python2.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python2.7/dist-packages
tornado<6,>=5: 5.1.1 from /usr/local/lib/python2.7/dist-packages
backports-abc>=0.4: 0.5 from /usr/local/lib/python2.7/dist-packages
singledispatch: 3.4.0.3 from /usr/local/lib/python2.7/dist-packages
six: 1.12.0 from /usr/lib/python2.7/dist-packages
futures: 3.3.0 from /usr/local/lib/python2.7/dist-packages
Pykka>=1.1: 2.0.1 from /usr/local/lib/python2.7/dist-packages
requests>=2.0: 2.21.0 from /usr/lib/python2.7/dist-packages
Mopidy-MusicBox-Webclient: 2.5.0 from /usr/local/lib/python2.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python2.7/dist-packages
Mopidy>=1.1.0: 2.3.0 from /usr/local/lib/python2.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python2.7/dist-packages
tornado<6,>=5: 5.1.1 from /usr/local/lib/python2.7/dist-packages
backports-abc>=0.4: 0.5 from /usr/local/lib/python2.7/dist-packages
singledispatch: 3.4.0.3 from /usr/local/lib/python2.7/dist-packages
six: 1.12.0 from /usr/lib/python2.7/dist-packages
futures: 3.3.0 from /usr/local/lib/python2.7/dist-packages
Pykka>=1.1: 2.0.1 from /usr/local/lib/python2.7/dist-packages
requests>=2.0: 2.21.0 from /usr/lib/python2.7/dist-packages
Mopidy-Mobile: 1.9.0 from /home/admin/.local/lib/python2.7/site-packages
setuptools: 40.8.0 from /usr/lib/python2.7/dist-packages
Mopidy>=0.19: 2.3.0 from /usr/local/lib/python2.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python2.7/dist-packages
tornado<6,>=5: 5.1.1 from /usr/local/lib/python2.7/dist-packages
backports-abc>=0.4: 0.5 from /usr/local/lib/python2.7/dist-packages
singledispatch: 3.4.0.3 from /usr/local/lib/python2.7/dist-packages
six: 1.12.0 from /usr/lib/python2.7/dist-packages
futures: 3.3.0 from /usr/local/lib/python2.7/dist-packages
Pykka>=1.1: 2.0.1 from /usr/local/lib/python2.7/dist-packages
requests>=2.0: 2.21.0 from /usr/lib/python2.7/dist-packages
Mopidy-Iris: 3.41.2 from /home/admin/.local/lib/python2.7/site-packages
ConfigObj>=5.0.6: 5.0.6 from /home/admin/.local/lib/python2.7/site-packages
six: 1.12.0 from /usr/lib/python2.7/dist-packages
requests>=2.0.0: 2.21.0 from /usr/lib/python2.7/dist-packages
setuptools>=3.3: 40.8.0 from /usr/lib/python2.7/dist-packages
Mopidy-Local-Images>=1.0: 1.0.0 from /home/admin/.local/lib/python2.7/site-packages
setuptools: 40.8.0 from /usr/lib/python2.7/dist-packages
Pykka>=1.1: 2.0.1 from /usr/local/lib/python2.7/dist-packages
uritools>=1.0: 2.2.0 from /home/admin/.local/lib/python2.7/site-packages
ipaddress; python_version == “2.7”: 1.0.17 from /usr/lib/python2.7/dist-packages
Mopidy>=1.1: 2.3.0 from /usr/local/lib/python2.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python2.7/dist-packages
tornado<6,>=5: 5.1.1 from /usr/local/lib/python2.7/dist-packages
backports-abc>=0.4: 0.5 from /usr/local/lib/python2.7/dist-packages
singledispatch: 3.4.0.3 from /usr/local/lib/python2.7/dist-packages
six: 1.12.0 from /usr/lib/python2.7/dist-packages
futures: 3.3.0 from /usr/local/lib/python2.7/dist-packages
Pykka>=1.1: 2.0.1 from /usr/local/lib/python2.7/dist-packages
requests>=2.0: 2.21.0 from /usr/lib/python2.7/dist-packages
Mopidy>=2.0: 2.3.0 from /usr/local/lib/python2.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python2.7/dist-packages
tornado<6,>=5: 5.1.1 from /usr/local/lib/python2.7/dist-packages
backports-abc>=0.4: 0.5 from /usr/local/lib/python2.7/dist-packages
singledispatch: 3.4.0.3 from /usr/local/lib/python2.7/dist-packages
six: 1.12.0 from /usr/lib/python2.7/dist-packages
futures: 3.3.0 from /usr/local/lib/python2.7/dist-packages
Pykka>=1.1: 2.0.1 from /usr/local/lib/python2.7/dist-packages
requests>=2.0: 2.21.0 from /usr/lib/python2.7/dist-packages
Mopidy-API-Explorer: 1.0.1 from /home/admin/.local/lib/python2.7/site-packages
setuptools: 40.8.0 from /usr/lib/python2.7/dist-packages
Mopidy>=0.19: 2.3.0 from /usr/local/lib/python2.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python2.7/dist-packages
tornado<6,>=5: 5.1.1 from /usr/local/lib/python2.7/dist-packages
backports-abc>=0.4: 0.5 from /usr/local/lib/python2.7/dist-packages
singledispatch: 3.4.0.3 from /usr/local/lib/python2.7/dist-packages
six: 1.12.0 from /usr/lib/python2.7/dist-packages
futures: 3.3.0 from /usr/local/lib/python2.7/dist-packages
Pykka>=1.1: 2.0.1 from /usr/local/lib/python2.7/dist-packages
requests>=2.0: 2.21.0 from /usr/lib/python2.7/dist-packages
Mopidy-Moped: 0.7.1 from /usr/local/lib/python2.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python2.7/dist-packages
Mopidy>=1.0.0: 2.3.0 from /usr/local/lib/python2.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python2.7/dist-packages
tornado<6,>=5: 5.1.1 from /usr/local/lib/python2.7/dist-packages
backports-abc>=0.4: 0.5 from /usr/local/lib/python2.7/dist-packages
singledispatch: 3.4.0.3 from /usr/local/lib/python2.7/dist-packages
six: 1.12.0 from /usr/lib/python2.7/dist-packages
futures: 3.3.0 from /usr/local/lib/python2.7/dist-packages
Pykka>=1.1: 2.0.1 from /usr/local/lib/python2.7/dist-packages
requests>=2.0: 2.21.0 from /usr/lib/python2.7/dist-packages
Mopidy-Local-Images: 1.0.0 from /home/admin/.local/lib/python2.7/site-packages
setuptools: 40.8.0 from /usr/lib/python2.7/dist-packages
Pykka>=1.1: 2.0.1 from /usr/local/lib/python2.7/dist-packages
uritools>=1.0: 2.2.0 from /home/admin/.local/lib/python2.7/site-packages
ipaddress; python_version == “2.7”: 1.0.17 from /usr/lib/python2.7/dist-packages
Mopidy>=1.1: 2.3.0 from /usr/local/lib/python2.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python2.7/dist-packages
tornado<6,>=5: 5.1.1 from /usr/local/lib/python2.7/dist-packages
backports-abc>=0.4: 0.5 from /usr/local/lib/python2.7/dist-packages
singledispatch: 3.4.0.3 from /usr/local/lib/python2.7/dist-packages
six: 1.12.0 from /usr/lib/python2.7/dist-packages
futures: 3.3.0 from /usr/local/lib/python2.7/dist-packages
Pykka>=1.1: 2.0.1 from /usr/local/lib/python2.7/dist-packages
requests>=2.0: 2.21.0 from /usr/lib/python2.7/dist-packages
Mopidy-Spotify: 3.1.0 from /usr/lib/python2.7/dist-packages
Mopidy>=2.0: 2.3.0 from /usr/local/lib/python2.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python2.7/dist-packages
tornado<6,>=5: 5.1.1 from /usr/local/lib/python2.7/dist-packages
backports-abc>=0.4: 0.5 from /usr/local/lib/python2.7/dist-packages
singledispatch: 3.4.0.3 from /usr/local/lib/python2.7/dist-packages
six: 1.12.0 from /usr/lib/python2.7/dist-packages
futures: 3.3.0 from /usr/local/lib/python2.7/dist-packages
Pykka>=1.1: 2.0.1 from /usr/local/lib/python2.7/dist-packages
requests>=2.0: 2.21.0 from /usr/lib/python2.7/dist-packages
Pykka>=1.1: 2.0.1 from /usr/local/lib/python2.7/dist-packages
pyspotify>=2.0.5: 2.0.5 from /usr/lib/python2.7/dist-packages
cffi>=1.0.0: 1.12.2 from /usr/lib/python2.7/dist-packages
requests>=2.0: 2.21.0 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

Seems related to this issue: Mopidy is not playing with icecast2

Thanks for the interest. I have got it all working ‘sort of’.
The key is to have the mopidy user in the audio & video groups

MOPIDY MUST BE PART OF AUDIO & VIDEO GROUPS (if not player does not work)
sudo gpasswd -a mopidy audio

sudo gpasswd -a mopidy video

sudo systemctl restart mopidy

And in Iris web settings, turn on the Icecast2 settings. If you cannot see the Icecast2 settings in Iris, check your install procedure.

For the record, that sort of requirement is entirely OS specific. The requirement to be part of the audio group is new though, we don’t have that in our install documentation. And I presume you are using the “full desktop” flavour of Raspbian, the “lite” version doesn’t require this (or any other OS AFAIK).

You got it. I have a desktop raspbian version.