{"action":"created","issue":{"url":"https://api.github.com/repos/chuyskywalker/nomad-ui/issues/1","repository_url":"https://api.github.com/repos/chuyskywalker/nomad-ui","labels_url":"https://api.github.com/repos/chuyskywalker/nomad-ui/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/chuyskywalker/nomad-ui/issues/1/comments","events_url":"https://api.github.com/repos/chuyskywalker/nomad-ui/issues/1/events","html_url":"https://github.com/chuyskywalker/nomad-ui/issues/1","id":177134777,"number":1,"title":"Fails on startup due to missing source file","user":{"login":"sronsiek","id":1255835,"avatar_url":"https://avatars.githubusercontent.com/u/1255835?v=3","gravatar_id":"","url":"https://api.github.com/users/sronsiek","html_url":"https://github.com/sronsiek","followers_url":"https://api.github.com/users/sronsiek/followers","following_url":"https://api.github.com/users/sronsiek/following{/other_user}","gists_url":"https://api.github.com/users/sronsiek/gists{/gist_id}","starred_url":"https://api.github.com/users/sronsiek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sronsiek/subscriptions","organizations_url":"https://api.github.com/users/sronsiek/orgs","repos_url":"https://api.github.com/users/sronsiek/repos","events_url":"https://api.github.com/users/sronsiek/events{/privacy}","received_events_url":"https://api.github.com/users/sronsiek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-15T09:53:16Z","updated_at":"2016-09-16T02:25:13Z","closed_at":"2016-09-16T02:22:11Z","body":"I tried building the docker-image from source as well as pulling from docker-hub.\r\n\r\nOn running the image & pointing a browser at the listening port, the following msg is displayed in the browser:\r\n\r\n```\r\nWarning: require(vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/index.php on line 3\r\n\r\nFatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/www/html/index.php on line 3\r\n```\r\n\r\nWithin the image, /var/www/htmp/index.php requires autoload.php, yet a find across the entire file system shows this file is not present.\r\n\r\nPossibly not related, but I see these messages during the build process:\r\n\r\n```\r\nGet:1 http://httpredir.debian.org/debian/ jessie/main libsodium13 amd64 1.0.0-1 [138 kB]\r\nGet:2 http://httpredir.debian.org/debian/ jessie/main libsodium-dev amd64 1.0.0-1 [146 kB]\r\ndebconf: delaying package configuration, since apt-utils is not installed\r\n\r\n```\r\nand at the end:\r\n\r\n```\r\nBuild process completed successfully\r\nInstalling '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/libsodium.so'\r\ninstall ok: channel://pecl.php.net/libsodium-1.0.6\r\nconfiguration option \"php_ini\" is not set to php.ini location\r\nYou should add \"extension=libsodium.so\" to php.ini\r\n```\r\n\r\nRun string:\r\n\r\n```\r\ndocker run -ti --rm --name=chuyskywalker_nomad-ui -p 8090:80 \\\r\n   -e 'NOMAD_BASEURL=http://nomad.service.consul:4646' \\\r\n   chuyskywalker/nomad-ui\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/chuyskywalker/nomad-ui/issues/comments/247504078","html_url":"https://github.com/chuyskywalker/nomad-ui/issues/1#issuecomment-247504078","issue_url":"https://api.github.com/repos/chuyskywalker/nomad-ui/issues/1","id":247504078,"user":{"login":"chuyskywalker","id":131800,"avatar_url":"https://avatars.githubusercontent.com/u/131800?v=3","gravatar_id":"","url":"https://api.github.com/users/chuyskywalker","html_url":"https://github.com/chuyskywalker","followers_url":"https://api.github.com/users/chuyskywalker/followers","following_url":"https://api.github.com/users/chuyskywalker/following{/other_user}","gists_url":"https://api.github.com/users/chuyskywalker/gists{/gist_id}","starred_url":"https://api.github.com/users/chuyskywalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuyskywalker/subscriptions","organizations_url":"https://api.github.com/users/chuyskywalker/orgs","repos_url":"https://api.github.com/users/chuyskywalker/repos","events_url":"https://api.github.com/users/chuyskywalker/events{/privacy}","received_events_url":"https://api.github.com/users/chuyskywalker/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T02:25:13Z","updated_at":"2016-09-16T02:25:13Z","body":"Thanks for taking the time to report this and #2, I've fixed both and pushed a new `latest` image up to dockerhub."}}
{"actor":{"display_login":"chuyskywalker"}}