Hello,
I installed Mopidy on Raspbian, then I installed Iris following these instructions.
When I go to http://192.168.0.47:6680/iris/
, Firefox tells me “Unable to connect. Firefox can’t establish a connection to the server at 192.168.0.47:6680.”
The IP is definitely the right one, because I can connect via ssh from the same computer I’m using to check if Iris is reachable.
How can I troubleshoot this ? I’m a bit lost, Nothing I found on this forum helped me
We support the Mopidy installation instructions at https://docs.mopidy.com/en/latest/installation/raspberrypi/
What did you try? Most people will provide the output of the debug commands as part of their post else it’s hard difficult to know where to start to help. https://docs.mopidy.com/en/latest/troubleshooting/
Sorry about that !
I did follow the instructions from the link you gave. Problem is, they are so simple that I just don’t know where to look for a mistake I could have made
Here is my config:
Troubleshooting outputs
sudo mopidyctl config
Summary
[core]
cache_dir = /var/cache/mopidy
config_dir = /etc/mopidy
data_dir = /var/lib/mopidy
max_tracklist_length = 10000
restore_state = false
[logging]
verbosity = 0
format = %(levelname)-8s [%(threadName)s] %(name)s %(message)s
color = false
config_file =
[audio]
mixer = software
mixer_volume =
output = autoaudiosink
buffer_time =
[proxy]
scheme =
hostname =
port =
username =
password =
[local]
enabled = false ; Extension disabled due to config errors.
media_dir = ; Must be set.
scan_timeout = 1000
scan_flush_threshold = 100
scan_follow_symlinks = false
included_file_extensions =
excluded_file_extensions =
.cue
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
directories =
Albums local:directory?type=album
Artists local:directory?type=artist
Composers local:directory?type=artist&role=composer
Genres local:directory?type=genre
Performers local:directory?type=artist&role=performer
Release Years local:directory?type=date&format=%25Y
Tracks local:directory?type=track
Last Week's Updates local:directory?max-age=604800
Last Month's Updates local:directory?max-age=2592000
timeout = 10
use_artist_sortname = false
album_art_files =
*.jpg
*.jpeg
*.png
[iris]
enabled = true
country = GB
locale = en_GB
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
data_dir = $XDG_DATA_DIR/iris
[file]
enabled = true
media_dirs =
/home/pi/Music|Music
excluded_file_extensions =
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000
[http]
enabled = true
hostname = 0.0.0.0
port = 6680
zeroconf = Mopidy HTTP server on $hostname
allowed_origins =
csrf_protection = true
default_app = mopidy
[m3u]
enabled = true
base_dir =
default_encoding = latin-1
default_extension = .m3u8
playlists_dir =
[softwaremixer]
enabled = true
[stream]
enabled = true
protocols =
http
https
mms
rtmp
rtmps
rtsp
metadata_blacklist =
timeout = 5000
[spotify]
enabled = true
username = [my user name]
password = ********
client_id = [my id]
client_secret = ********
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 =
sudo mopidyctl deps
Summary
Executable: /usr/bin/mopidy
Platform: Linux-5.4.51-v7l+-armv7l-with-debian-10.4
Python: CPython 3.7.3 from /usr/lib/python3.7
Mopidy: 3.0.2 from /usr/lib/python3/dist-packages
Mopidy-Local: 3.1.1 from /usr/local/lib/python3.7/dist-packages
Pykka: 2.0.2 from /usr/lib/python3/dist-packages
uritools: 3.0.0 from /usr/local/lib/python3.7/dist-packages
Mopidy: 3.0.2 from /usr/lib/python3/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
Mopidy-Spotify: 4.0.1 from /usr/lib/python3/dist-packages
Mopidy-Iris: 3.52.4 from /usr/local/lib/python3.7/dist-packages
Mopidy: 3.0.2 from /usr/lib/python3/dist-packages
Pykka: 2.0.2 from /usr/lib/python3/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
GStreamer: 1.14.4.0 from /usr/lib/python3/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
sudo journalctl -u mopidy
Summary
-- Logs begin at Fri 2020-10-09 18:51:44 BST, end at Fri 2020-10-09 18:52:43 BST. --
Oct 09 18:51:58 blueberry systemd[1]: Starting Mopidy music server...
Oct 09 18:51:58 blueberry systemd[1]: Started Mopidy music server.
Oct 09 18:52:00 blueberry mopidy[563]: INFO [MainThread] mopidy.__main__ Starting Mopidy 3.0.2
Oct 09 18:52:00 blueberry mopidy[563]: INFO [MainThread] mopidy.config Loading config from builtin defaults
Oct 09 18:52:00 blueberry mopidy[563]: INFO [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidy.conf
Oct 09 18:52:00 blueberry mopidy[563]: INFO [MainThread] mopidy.config Loading config from file:///etc/mopidy/mopidy.conf
Oct 09 18:52:00 blueberry mopidy[563]: INFO [MainThread] mopidy.config Loading config from command line options
Oct 09 18:52:01 blueberry mopidy[563]: INFO [MainThread] mopidy.__main__ Enabled extensions: spotify, m3u, http, file, iris, local, stream, softwaremixer
Oct 09 18:52:01 blueberry mopidy[563]: INFO [MainThread] mopidy.__main__ Disabled extensions: none
Oct 09 18:52:01 blueberry mopidy[563]: INFO [MainThread] mopidy.commands Starting Mopidy mixer: SoftwareMixer
Oct 09 18:52:01 blueberry mopidy[563]: INFO [MainThread] mopidy.commands Starting Mopidy audio
Oct 09 18:52:01 blueberry mopidy[563]: INFO [MainThread] mopidy.commands Starting Mopidy backends: LocalBackend, FileBackend, M3UBackend, StreamBackend, SpotifyBackend
Oct 09 18:52:01 blueberry mopidy[563]: INFO [MainThread] mopidy.internal.path Creating dir file:///var/lib/mopidy/local
Oct 09 18:52:01 blueberry mopidy[563]: INFO [Audio-2] mopidy.audio.actor Audio output set to "autoaudiosink"
Oct 09 18:52:02 blueberry mopidy[563]: INFO [SpotifyEventLoop] mopidy_spotify.backend Logged in to Spotify in online mode
Oct 09 18:52:02 blueberry mopidy[563]: INFO [SpotifyBackend-7] mopidy_spotify.web Logged into Spotify Web API as [username]
The log shows its got as far as logging into Spotify, at which point it will started refreshing your library. This may take a bit of time, depends how many playlists and how long they are. After that completes it’ll carry on and log that it is starting the frontends. Did you try leaving it for a minute or two?
1 Like
You’re right!
I was being impatient. Loading my 1200+ playlists takes a good 8 minutes, which is totally fine: I’m not planning on restarting the Raspberry very often
Thanks a lot!