From c63b85188999a4565a372f5e37b511c6c60538b6 Mon Sep 17 00:00:00 2001 From: Nazmus Nasir Date: Thu, 3 Oct 2019 11:03:52 -0400 Subject: [PATCH] Updated readme based on issue #2 --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 37c0ab17..edc4f127 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,20 @@ Once everything is placed, you can go to `http://ip_addr/control.php?on=spectrum I'll work in a frontend UI with buttons for easier control at some point. +### Troubleshooting + +#### [#2](/../../issues/2) PHP URL commands not activating visualizations +Most users should not have to do this but if you are experiencing the following error when trying to run the script via a browser: + +``` +sudo: no tty present and no askpass program specified +``` +Add the following to your `/etc/sudoers` file: + +``` +www-data ALL = NOPASSWD: /usr/bin/python +``` + ------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------