{"action":"created","issue":{"url":"https://api.github.com/repos/sfeakes/aqualinkd/issues/4","repository_url":"https://api.github.com/repos/sfeakes/aqualinkd","labels_url":"https://api.github.com/repos/sfeakes/aqualinkd/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/sfeakes/aqualinkd/issues/4/comments","events_url":"https://api.github.com/repos/sfeakes/aqualinkd/issues/4/events","html_url":"https://github.com/sfeakes/aqualinkd/issues/4","id":304888923,"number":4,"title":"Cant get install.sh to run error free on RPi 3","user":{"login":"BigDogJonx","id":29067981,"avatar_url":"https://avatars3.githubusercontent.com/u/29067981?v=4","gravatar_id":"","url":"https://api.github.com/users/BigDogJonx","html_url":"https://github.com/BigDogJonx","followers_url":"https://api.github.com/users/BigDogJonx/followers","following_url":"https://api.github.com/users/BigDogJonx/following{/other_user}","gists_url":"https://api.github.com/users/BigDogJonx/gists{/gist_id}","starred_url":"https://api.github.com/users/BigDogJonx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigDogJonx/subscriptions","organizations_url":"https://api.github.com/users/BigDogJonx/orgs","repos_url":"https://api.github.com/users/BigDogJonx/repos","events_url":"https://api.github.com/users/BigDogJonx/events{/privacy}","received_events_url":"https://api.github.com/users/BigDogJonx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-03-13T18:42:25Z","updated_at":"2018-03-14T18:14:14Z","closed_at":null,"author_association":"NONE","body":"First downloaded the code and just dropped it into my RPi3 under the /home/pi/Downloads/aqualinkd.  Then just went to ./release folder and attempted to run the install.sh as shown below, but got three errors.\r\n\r\n> pi@raspberrypi:/Downloads/aqualinkd/release $ sudo sh install.sh\r\ninstall.sh: 7: install.sh: Bad substitution\r\ninstall.sh: 24: install.sh: [[: not found\r\ninstall.sh: 29: install.sh: [[: not found\r\nCreated symlink from /etc/systemd/system/multi-user.target.wants/aqualinkd.service to /etc/systemd/system/aqualinkd.service.\r\n\r\n\r\nTried to do the make, then sudo make install, but that failed and had many more errors. as shown below:\r\n\r\n> pi@raspberrypi:/Downloads/aqualinkd $ make\r\ngcc -Wall  -lpthread -lm -D MG_DISABLE_MD5 -D MG_DISABLE_HTTP_DIGEST_AUTH -D MG_DISABLE_MD5 -D MG_DISABLE_JSON_RPC  -c aqualinkd.c  -o aqualinkd.o\r\ngcc -Wall  -lpthread -lm -D MG_DISABLE_MD5 -D MG_DISABLE_HTTP_DIGEST_AUTH -D MG_DISABLE_MD5 -D MG_DISABLE_JSON_RPC  -c utils.c  -o utils.o\r\ngcc -Wall  -lpthread -lm -D MG_DISABLE_MD5 -D MG_DISABLE_HTTP_DIGEST_AUTH -D MG_DISABLE_MD5 -D MG_DISABLE_JSON_RPC  -c config.c  -o config.o\r\ngcc -Wall  -lpthread -lm -D MG_DISABLE_MD5 -D MG_DISABLE_HTTP_DIGEST_AUTH -D MG_DISABLE_MD5 -D MG_DISABLE_JSON_RPC  -c aq_serial.c  -o aq_serial.o\r\ngcc -Wall  -lpthread -lm -D MG_DISABLE_MD5 -D MG_DISABLE_HTTP_DIGEST_AUTH -D MG_DISABLE_MD5 -D MG_DISABLE_JSON_RPC  -c init_buttons.c  -o init_buttons.o\r\ngcc -Wall  -lpthread -lm -D MG_DISABLE_MD5 -D MG_DISABLE_HTTP_DIGEST_AUTH -D MG_DISABLE_MD5 -D MG_DISABLE_JSON_RPC  -c aq_programmer.c  -o aq_programmer.o\r\ngcc -Wall  -lpthread -lm -D MG_DISABLE_MD5 -D MG_DISABLE_HTTP_DIGEST_AUTH -D MG_DISABLE_MD5 -D MG_DISABLE_JSON_RPC  -c net_services.c  -o net_services.o\r\ngcc -Wall  -lpthread -lm -D MG_DISABLE_MD5 -D MG_DISABLE_HTTP_DIGEST_AUTH -D MG_DISABLE_MD5 -D MG_DISABLE_JSON_RPC  -c json_messages.c  -o json_messages.o\r\ngcc -Wall  -lpthread -lm -D MG_DISABLE_MD5 -D MG_DISABLE_HTTP_DIGEST_AUTH -D MG_DISABLE_MD5 -D MG_DISABLE_JSON_RPC  -c mongoose.c  -o mongoose.o\r\ngcc -Wall  -lpthread -lm -D MG_DISABLE_MD5 -D MG_DISABLE_HTTP_DIGEST_AUTH -D MG_DISABLE_MD5 -D MG_DISABLE_JSON_RPC  -o ./release/aqualinkd aqualinkd.o utils.o config.o aq_serial.o init_buttons.o aq_programmer.o net_services.o json_messages.o mongoose.o  -lpthread -lm\r\npi@raspberrypi:/Downloads/aqualinkd $ sudo make install\r\n./release/install.sh\r\nmake: execvp: ./release/install.sh: Permission denied\r\nMakefile:51: recipe for target 'install' failed\r\nmake: *** [install] Error 127\r\n\r\n\r\n\r\nSo going back to install.sh, trying to understand what these three errors are of 7, 24, 29, not sure if they line numbers, even if they are that part doesnt make sense looking at the install.sh.\r\n\r\n> pi@raspberrypi:/Downloads/aqualinkd/release $ sudo sh install.sh\r\ninstall.sh: 7: install.sh: Bad substitution\r\ninstall.sh: 24: install.sh: [[: not found\r\ninstall.sh: 29: install.sh: [[: not found\r\nConfig exists, did not copy new config, you may need to edit existing! /etc/aqualinkd.conf\r\nDefaults exists, did not copy new defaults to /etc/default/aqualinkd\r\nAvahi/mDNS defaults exists, did not copy new defaults to /etc/avahi/services//aqualinkd.service\r\nStarting daemon aqualinkd\r\nJob for aqualinkd.service failed. See 'systemctl status aqualinkd.service' and 'journalctl -xn' for details.\r\npi@raspberrypi:~/Downloads/aqualinkd/release $ systemctl status aqualinkd.service\r\n● aqualinkd.service - Aqualink RS daemon\r\n   Loaded: loaded (/etc/systemd/system/aqualinkd.service; enabled)\r\n   Active: failed (Result: exit-code) since Tue 2018-03-13 14:29:35 EDT; 1min 36s ago\r\n  Process: 1431 ExecStart=/usr/local/bin/aqualinkd $OPTS (code=exited, status=203/EXEC)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sfeakes/aqualinkd/issues/comments/373123189","html_url":"https://github.com/sfeakes/aqualinkd/issues/4#issuecomment-373123189","issue_url":"https://api.github.com/repos/sfeakes/aqualinkd/issues/4","id":373123189,"user":{"login":"BigDogJonx","id":29067981,"avatar_url":"https://avatars3.githubusercontent.com/u/29067981?v=4","gravatar_id":"","url":"https://api.github.com/users/BigDogJonx","html_url":"https://github.com/BigDogJonx","followers_url":"https://api.github.com/users/BigDogJonx/followers","following_url":"https://api.github.com/users/BigDogJonx/following{/other_user}","gists_url":"https://api.github.com/users/BigDogJonx/gists{/gist_id}","starred_url":"https://api.github.com/users/BigDogJonx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigDogJonx/subscriptions","organizations_url":"https://api.github.com/users/BigDogJonx/orgs","repos_url":"https://api.github.com/users/BigDogJonx/repos","events_url":"https://api.github.com/users/BigDogJonx/events{/privacy}","received_events_url":"https://api.github.com/users/BigDogJonx/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T18:14:14Z","updated_at":"2018-03-14T18:14:14Z","author_association":"NONE","body":"@sfeakes Ill do that shortly, but not much of a github expert, do I just download the whole thing again and run the install again?  Or should I just manually move the files into place?  Only asking as generally been using this for homebridge and ive been using more the npm update concept (again granted not the same thing here). "}}
{"actor":{"display_login":"BigDogJonx"}}