Hi - I received my Mod Duo yesterday. I am unable to access the web UI from http://192.168.51.1/ or http://modduo.local . Chrome does redirect me to http://192.168.51.1/?v=1.5.0.568 - maybe that is the current version I’m running. I can ssh to the server and ping it, but not web UI. I can ping it.
I’m running MacOSX High Sierra 10.13.4. It’s a MacBook Pro (Retina, 15-inch, Late 2013). I see that Duo Ethernet is connected in Network prefs. I tried renewing the DHCP lease but that didn’t help. No proxy settings, default bypass: *.local, 169.254/16.
I am also connected to my local wifi network. I tried connecting after disconnecting from my wifi network, but that didn’t help.
I’ve tried connecting w/ Chrome, Safari, and Firefox without success.
I’m only on regular Sierra - how’s the view up there? I checked and I am running v1.5.524. I have occasionally seen update notifications for the .536 version but haven’t updated (or tried once and it didn’t succeed).
Does Chrome display anything after the redirect? As a high-level smoke test, you can check if the UI process is running:
Yes, USB. The Network prefs are a tad confusing - it displays “Duo Ethernet” but I’m actually connected via USB. I think it’s because the USB is emulating an Ethernet device.
I tried to launch it manually, here is the error message. I figured it would clash with one of the re-apwning mod-ui processes, and it did
[root@modduo ~]# /usr/bin/python3 /usr/bin/mod-ui
ERROR: Failed to open HMI serial port, error was:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Using HMI => False
ERROR: Cannot create data dir '/dados'
Traceback (most recent call last):
File "/usr/bin/mod-ui", line 9, in <module>
load_entry_point('mod==0.99.8', 'console_scripts', 'mod-ui')()
File "/tmp/mbs/modduo/rootfs/target/usr/lib/python3.4/site-packages/mod/webserver.py", line 1913, in run
File "/tmp/mbs/modduo/rootfs/target/usr/lib/python3.4/site-packages/mod/webserver.py", line 1889, in prepare
File "tmp/mbs/modduo/rootfs/target/usr/lib/python3.4/site-packages/tornado/web.py", line 1825, in listen
File "tmp/mbs/modduo/rootfs/target/usr/lib/python3.4/site-packages/tornado/tcpserver.py", line 126, in listen
File "tmp/mbs/modduo/rootfs/target/usr/lib/python3.4/site-packages/tornado/netutil.py", line 196, in bind_sockets
OSError: [Errno 98] Address already in use
jack client deactivated NOT
[root@modduo ~]#
I figured out how to kill the mod-ui service - systemctl stop mod-ui.service - and tried launching the command /usr/bin/python3 /usr/bin/mod-ui. Here is the output:
[root@modduo test]# /usr/bin/python3 /usr/bin/mod-ui
ERROR: Failed to open HMI serial port, error was:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Using HMI => False
ERROR: Cannot create data dir '/dados'
Cannot read socket fd = 11 err = Connection reset by peer
CheckRes error
Could not read result type = 23
Cannot open mod-ui client
JackShmReadWritePtr1::~JackShmReadWritePtr1 - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
WARNING:tornado.general:Connect error on fd 11: ECONNREFUSED
WARNING:tornado.general:Connect error on fd 12: ECONNREFUSED
Control Chain initialized
Host failed to initialize, is the backend running?
jack client deactivated NOT
jack client deactivated NOT
@chrisekelley I’m sorry to hear you’re having those issues with a new Duo.
Let me try to help you. Try downloading the latest image here then do a full re-image.
Steps are:
1 - Turn off your Duo
2 - Connect your USB cable
3 - Hold the left know + left footswitch
4 - Plug the power cable on
5 - Release the switches after you see the Duo light up
The Duo will boot and automatically a storage device will show up in your computer. Copy the .tar file to it and eject it.
Wait a couple minutes and your Duo will go through the re-image process.
If you still see an issue after that, then try running one more time.
If you still see issues after doing it twice let me know.
@acunha - thanks for the advice; unfortunately, after the first time of applying the latest image, the web-ui still would not display, and the Network prefs/Duo Ethernet was no longer connected. I tried to apply it a second time, but the storage device would never show. I swapped USB cables, and still no love. I’ve downloaded the files to re-image and will try to start fresh again.
Can no longer upgrade - When I follow these steps:
1 - Turn off your Duo
2 - Connect your USB cable
3 - Hold the left know + left footswitch
4 - Plug the power cable on
5 - Release the switches after you see the Duo light up
The Duo boots but I do not see a storage device in the Finder.
@chrisekelley Please, download this image: http://download.moddevices.com/releases/factory/modduo-latest-factory-image.raw and proceed using the bootfix.osx command as you did before. After the installing is done, i.e.: LEDs are green, power the Duo off and on again, run the command: ssh root@192.168.51.1 "rm /root/need-self-test && sleep 2 && sync". Finally, power off / on again and check if your Duo is working.