# Cant access Iris from browser

**URL:** <https://discourse.mopidy.com/t/cant-access-iris-from-browser/4925>\
**Category:** Misc\
**Created:** [May 8, 2021, 4:00pm UTC](https://discourse.mopidy.com/t/cant-access-iris-from-browser/4925 "2021-05-08T16:00:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paulw](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@Paulw](https://discourse.mopidy.com/u/Paulw)\
**Post date:** [May 8, 2021, 4:00pm UTC](https://discourse.mopidy.com/t/cant-access-iris-from-browser/4925/1 "2021-05-08T16:00:56Z")

</div>

I just installed mopidy and iris. I can get the mopidy welcome screen from a browser, but [http://hostname.local:668/iris](http://hostname.local:668/iris) gives me a 404 error. Any advise?

sudo mopidyctl config  
Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config” 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)  
[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 = alsasink  
buffer\_time =

[proxy]  
scheme =  
hostname =  
port =  
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 = 0.0.0.0  
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 =  
.jpg  
.jpeg  
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  
.png  
.txt

---

<div class="post-metadata">

**Author:** ![jjok](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jjok/32/448_2.png) [@jjok](https://discourse.mopidy.com/u/jjok)\
**Post date:** [May 9, 2021, 8:54am UTC](https://discourse.mopidy.com/t/cant-access-iris-from-browser/4925/2 "2021-05-09T08:54:14Z")

</div>

Hi. It looks like you’re using Python 2. Only Python 3 is supported.

---

<div class="post-metadata">

**Author:** ![Paulw](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@Paulw](https://discourse.mopidy.com/u/Paulw)\
**Post date:** [May 9, 2021, 1:28pm UTC](https://discourse.mopidy.com/t/cant-access-iris-from-browser/4925/3 "2021-05-09T13:28:58Z")

</div>

Thanks! I updated the version of python. Now, when I type python --version, I get Python 3.7.3. But When I run sudo mopidyctl config, I still get the same text indicating I’m using python 2.7. Is it being overridden somewhere else?

---

<div class="post-metadata">

**Author:** ![jjok](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jjok/32/448_2.png) [@jjok](https://discourse.mopidy.com/u/jjok)\
**Post date:** [May 9, 2021, 2:06pm UTC](https://discourse.mopidy.com/t/cant-access-iris-from-browser/4925/4 "2021-05-09T14:06:08Z")

</div>

Did you reinstall Mopidy after updating Python? Are you installing via `apt` or `pip` (assuming you’re on a Debian-based OS)?

---

<div class="post-metadata">

**Author:** ![Paulw](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@Paulw](https://discourse.mopidy.com/u/Paulw)\
**Post date:** [May 9, 2021, 3:03pm UTC](https://discourse.mopidy.com/t/cant-access-iris-from-browser/4925/5 "2021-05-09T15:03:38Z")

</div>

I am using Raspbian and installing via apt. I tried re installing, but now get an error in mopidyctl config:

Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config” as user mopidy  
ERROR [MainThread] mopidy.internal.log Loading logging config ‘/etc/mopidy/logging.conf’ failed. ‘formatters’  
[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 = /etc/mopidy/logging.conf

[audio]  
mixer = software  
mixer\_volume =  
output = alsasink  
buffer\_time =

---

<div class="post-metadata">

**Author:** ![jjok](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jjok/32/448_2.png) [@jjok](https://discourse.mopidy.com/u/jjok)\
**Post date:** [May 9, 2021, 4:12pm UTC](https://discourse.mopidy.com/t/cant-access-iris-from-browser/4925/6 "2021-05-09T16:12:17Z")

</div>

I remember getting that error at some point myself. I think it was because I was specifying `config_file` in my config file, and removing that line fixed it.

---

<div class="post-metadata">

**Author:** ![Paulw](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@Paulw](https://discourse.mopidy.com/u/Paulw)\
**Post date:** [May 9, 2021, 4:23pm UTC](https://discourse.mopidy.com/t/cant-access-iris-from-browser/4925/7 "2021-05-09T16:23:50Z")

</div>

Thanks a lot for your help! It now works!

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/system/32/1_2.png) [@system](https://discourse.mopidy.com/u/system)\
**Post date:** [November 8, 2021, 4:24am UTC](https://discourse.mopidy.com/t/cant-access-iris-from-browser/4925/8 "2021-11-08T04:24:33Z")

</div>

Closed on November 8, 2021, 4:24am UTC

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