{"action":"created","issue":{"url":"https://api.github.com/repos/threatstream/mhn/issues/311","repository_url":"https://api.github.com/repos/threatstream/mhn","labels_url":"https://api.github.com/repos/threatstream/mhn/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/threatstream/mhn/issues/311/comments","events_url":"https://api.github.com/repos/threatstream/mhn/issues/311/events","html_url":"https://github.com/threatstream/mhn/issues/311","id":174097085,"number":311,"title":"install.sh broken on raspbian 8.0","user":{"login":"roweryan","id":14888564,"avatar_url":"https://avatars.githubusercontent.com/u/14888564?v=3","gravatar_id":"","url":"https://api.github.com/users/roweryan","html_url":"https://github.com/roweryan","followers_url":"https://api.github.com/users/roweryan/followers","following_url":"https://api.github.com/users/roweryan/following{/other_user}","gists_url":"https://api.github.com/users/roweryan/gists{/gist_id}","starred_url":"https://api.github.com/users/roweryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roweryan/subscriptions","organizations_url":"https://api.github.com/users/roweryan/orgs","repos_url":"https://api.github.com/users/roweryan/repos","events_url":"https://api.github.com/users/roweryan/events{/privacy}","received_events_url":"https://api.github.com/users/roweryan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-30T18:56:05Z","updated_at":"2016-08-30T20:11:27Z","closed_at":null,"body":"When running install.sh on a Raspberry Pi, I get the error:\r\n\r\n`W: Failed to fetch http://downloads-distro.mongodb.org/repo/ubuntu-upstart/dists/dist/Release  Unable to find expected entry '10gen/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)`\r\n\r\nThis is because there is no mongodb build for armhf from that repo.\r\n\r\nPatch to fix it:\r\n\r\n```\r\n--- install_mongo.sh.ORIG\t2016-08-30 18:53:45.362429093 +0000\r\n+++ install_mongo.sh\t2016-08-30 18:54:59.581811292 +0000\r\n@@ -4,10 +4,7 @@\r\n set -x\r\n \r\n if [ -f /etc/debian_version ]; then\r\n-    apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10\r\n-    echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | tee /etc/apt/sources.list.d/mongodb.list\r\n-    apt-get update\r\n-    apt-get install -y mongodb-org\r\n+    apt-get install -y mongodb\r\n \r\n elif [ -f /etc/redhat-release ]; then\r\n     OS=RHEL\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/threatstream/mhn/issues/comments/243564200","html_url":"https://github.com/threatstream/mhn/issues/311#issuecomment-243564200","issue_url":"https://api.github.com/repos/threatstream/mhn/issues/311","id":243564200,"user":{"login":"roweryan","id":14888564,"avatar_url":"https://avatars.githubusercontent.com/u/14888564?v=3","gravatar_id":"","url":"https://api.github.com/users/roweryan","html_url":"https://github.com/roweryan","followers_url":"https://api.github.com/users/roweryan/followers","following_url":"https://api.github.com/users/roweryan/following{/other_user}","gists_url":"https://api.github.com/users/roweryan/gists{/gist_id}","starred_url":"https://api.github.com/users/roweryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roweryan/subscriptions","organizations_url":"https://api.github.com/users/roweryan/orgs","repos_url":"https://api.github.com/users/roweryan/repos","events_url":"https://api.github.com/users/roweryan/events{/privacy}","received_events_url":"https://api.github.com/users/roweryan/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T20:11:26Z","updated_at":"2016-08-30T20:11:26Z","body":"honeymap requires go 1.4.2 from the official golang repo, but there is no official arm build for that version.\r\n\r\nTo fix honeymap:\r\n```\r\n# supervisorctl status\r\nhoneymap                         FATAL      can't find command '/opt/honeymap/server/server'\r\n```\r\n\r\nI used this patch:\r\n```\r\n# diff install_honeymap.sh.ORIG install_honeymap.sh\r\n40a41,42\r\n> cd /usr/local/\r\n> \r\n43a46,50\r\n>     wget https://storage.googleapis.com/golang/${GO_PACKAGE}\r\n> elif [ \"$(uname -m)\" == \"armv7l\" ]; \r\n> then\r\n>     GO_PACKAGE=\"go1.4.3.linux-armv7.tar.gz\"\r\n>     wget https://github.com/hypriot/golang-armbuilds/releases/download/v1.4.3/${GO_PACKAGE}\r\n45a53\r\n>     wget https://storage.googleapis.com/golang/${GO_PACKAGE}\r\n48,49d55\r\n< cd /usr/local/\r\n< wget https://storage.googleapis.com/golang/${GO_PACKAGE}\r\n```\r\n\r\nThen restarted it:\r\n\r\n```\r\n# supervisorctl restart honeymap\r\n# supervisorctl status honeymap\r\nhoneymap                         RUNNING    pid 17915, uptime 0:00:23\r\n```"}}
{"actor":{"display_login":"roweryan"}}