I tried to find out more about the problem and this is from Raspberry Pi 3's system log when I hit the "Start INDI" botton from Ekos from my Mac notebook.
I hope this will help diagnose the problem.
It looks like indi-web threw an IntegrityError.
Thanks.


Start of System Log
Jan 6 16:18:06 rigel indi-web[1154]: 192.168.1.148 - - [06/Jan/2018 16:18:06] "GET /api/server/status HTTP/1.1" 200 20
Jan 6 16:18:06 rigel rsyslogd-2007: action 'action 10' suspended, next retry is Sat Jan 6 16:18:36 2018 [v8.16.0 try www.rsyslog.com/e/2007 ]
Jan 6 16:18:06 rigel indi-web[1154]: 192.168.1.148 - - [06/Jan/2018 16:18:06] "GET /api/server/drivers HTTP/1.1" 200 103
Jan 6 16:18:06 rigel indi-web[1154]: INFO: pkill indiserver
Jan 6 16:18:06 rigel indi-web[1154]: 192.168.1.148 - - [06/Jan/2018 16:18:06] "POST /api/server/stop HTTP/1.1" 200 0
Jan 6 16:18:06 rigel indi-web[1154]: Traceback (most recent call last):
Jan 6 16:18:06 rigel indi-web[1154]: File "/usr/local/bin/bottle.py", line 862, in _handle
Jan 6 16:18:06 rigel indi-web[1154]: return route.call(**args)
Jan 6 16:18:06 rigel indi-web[1154]: File "/usr/local/bin/bottle.py", line 1740, in wrapper
Jan 6 16:18:06 rigel indi-web[1154]: rv = callback(*a, **ka)
Jan 6 16:18:06 rigel indi-web[1154]: File "/usr/local/lib/python2.7/dist-packages/indiweb/main.py", line 123, in add_profile
Jan 6 16:18:06 rigel indi-web[1154]: db.add_profile(name)
Jan 6 16:18:06 rigel indi-web[1154]: File "/usr/local/lib/python2.7/dist-packages/indiweb/database.py", line 99, in add_profile
Jan 6 16:18:06 rigel indi-web[1154]: c.execute('INSERT INTO profile (name) VALUES(?)', (name,))
Jan 6 16:18:06 rigel indi-web[1154]: IntegrityError: UNIQUE constraint failed: profile.name
Jan 6 16:18:06 rigel indi-web[1154]: 192.168.1.148 - - [06/Jan/2018 16:18:06] "POST /api/profiles/test HTTP/1.1" 500 762
Jan 6 16:18:06 rigel indi-web[1154]: 192.168.1.148 - - [06/Jan/2018 16:18:06] "PUT /api/profiles/test HTTP/1.1" 200 0
Jan 6 16:18:06 rigel indi-web[1154]: 192.168.1.148 - - [06/Jan/2018 16:18:06] "POST /api/profiles/test/drivers HTTP/1.1" 200 0
Jan 6 16:18:06 rigel indi-web[1154]: INFO: Deleting fifo /tmp/indiFIFO
Jan 6 16:18:06 rigel indi-web[1154]: INFO: indiserver -p 7624 -m 100 -v -f /tmp/indiFIFO > /dev/null 2>&1 &
Jan 6 16:18:06 rigel indi-web[1154]: INFO: echo "start indi_simulator_ccd -c \"/home/jylin/.indi/CCD Simulator_config.xml\" -n \"CCD Simulator\"" > /tmp/indiFIFO
Jan 6 16:18:06 rigel indi-web[1154]: INFO: echo "start indi_rpifocus -c \"/home/jylin/.indi/Astroberry Focuser_config.xml\" -n \"Astroberry Focuser\"" > /tmp/indiFIFO
Jan 6 16:18:06 rigel indi-web[1154]: INFO: echo "start indi_simulator_telescope -c \"/home/jylin/.indi/Telescope Simulator_config.xml\" -n \"Telescope Simulator\"" > /tmp/indiFIFO
Jan 6 16:18:06 rigel indi-web[1154]: 192.168.1.148 - - [06/Jan/2018 16:18:06] "POST /api/server/start/test HTTP/1.1" 200 0
Jan 6 16:18:06 rigel indi-web[1154]: 192.168.1.148 - - [06/Jan/2018 16:18:06] "GET /api/server/drivers HTTP/1.1" 200 103
End of System Log


Read More...