YAMon 3.4.7 install - luci broken

Just downloaded and installed YAMon using the script, however during the setup, I think I misunderstood the www directory question or it didn’t work right. I chose the option for /www - however my luci interface now gives me an error 500, and I also get an error 400 when I try to access yamon/js/live_data3.js

How can I repair luci and where do I need to move things or create links to get YAMon working correctly?

This is what my /www looks like now:

drw-rw-r--    1 root     root             8 Dec 11 14:36 cgi-bin
lrwxrwxrwx    1 root     root            19 Feb 23 20:59 css -> /opt/YAMon3/www/css
lrwxrwxrwx    1 root     root            16 Feb 23 20:57 data -> /opt/YAMon3/data
lrwxrwxrwx    1 root     root            16 Feb 23 20:59 data3 -> /opt/YAMon3/data
lrwxrwxrwx    1 root     root            22 Feb 23 20:59 images -> /opt/YAMon3/www/images
lrwxrwxrwx    1 root     root            29 Feb 23 20:59 index.html -> /opt/YAMon3/www/yamon3.4.html
drw-rw-r--    1 root     root            42 Feb 23 20:59 js
drw-rw-r--    1 root     root            36 Dec 12  2016 luci-static
drw-rw-r--    1 root     root            64 Jan 15 09:59 webapps-icons
lrwxrwxrwx    1 root     root             4 Feb 23 20:57 yamon -> /www

Nevermind - I moved all the yamon stuff into a directory instead of the link pointing back to /www and then found the www/cgi-bin/luci was not executable, once I changed that +x it works again.

1 Like