{"action":"created","issue":{"url":"https://api.github.com/repos/bramus/mixed-content-scan/issues/47","repository_url":"https://api.github.com/repos/bramus/mixed-content-scan","labels_url":"https://api.github.com/repos/bramus/mixed-content-scan/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/bramus/mixed-content-scan/issues/47/comments","events_url":"https://api.github.com/repos/bramus/mixed-content-scan/issues/47/events","html_url":"https://github.com/bramus/mixed-content-scan/issues/47","id":191791254,"number":47,"title":"Unable to run it as root","user":{"login":"highacid","id":6324047,"avatar_url":"https://avatars.githubusercontent.com/u/6324047?v=3","gravatar_id":"","url":"https://api.github.com/users/highacid","html_url":"https://github.com/highacid","followers_url":"https://api.github.com/users/highacid/followers","following_url":"https://api.github.com/users/highacid/following{/other_user}","gists_url":"https://api.github.com/users/highacid/gists{/gist_id}","starred_url":"https://api.github.com/users/highacid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highacid/subscriptions","organizations_url":"https://api.github.com/users/highacid/orgs","repos_url":"https://api.github.com/users/highacid/repos","events_url":"https://api.github.com/users/highacid/events{/privacy}","received_events_url":"https://api.github.com/users/highacid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-26T06:59:37Z","updated_at":"2016-11-28T19:26:47Z","closed_at":null,"body":"```\r\n[root@panel ~]# composer global require bramus/mixed-content-scan:~2.5\r\nChanged current directory to /root/.composer\r\nRunning composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted\r\n./composer.json has been created\r\nLoading composer repositories with package information\r\nUpdating dependencies (including require-dev)\r\n  - Installing vanilla/garden-cli (v1.6.1)\r\n    Downloading: 100%\r\n\r\n  - Installing bramus/ansi-php (3.0.1)\r\n    Downloading: 100%\r\n\r\n  - Installing bramus/monolog-colored-line-formatter (2.0.3)\r\n    Downloading: 100%\r\n\r\n  - Installing psr/log (1.0.2)\r\n    Downloading: 100%\r\n\r\n  - Installing monolog/monolog (1.22.0)\r\n    Downloading: 100%\r\n\r\n  - Installing bramus/mixed-content-scan (2.5)\r\n    Downloading: 100%\r\n\r\nmonolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)\r\nmonolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)\r\nmonolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))\r\nmonolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)\r\nmonolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)\r\nmonolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)\r\nmonolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)\r\nmonolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)\r\nmonolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)\r\nmonolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)\r\nmonolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)\r\nWriting lock file\r\nGenerating autoload files\r\n[root@panel ~]# mixed-content-scan https://www.riesen-printmedia.ch/\r\n-bash: mixed-content-scan: command not found\r\n[root@panel ~]#\r\n```"},"comment":{"url":"https://api.github.com/repos/bramus/mixed-content-scan/issues/comments/263368582","html_url":"https://github.com/bramus/mixed-content-scan/issues/47#issuecomment-263368582","issue_url":"https://api.github.com/repos/bramus/mixed-content-scan/issues/47","id":263368582,"user":{"login":"bramus","id":213073,"avatar_url":"https://avatars.githubusercontent.com/u/213073?v=3","gravatar_id":"","url":"https://api.github.com/users/bramus","html_url":"https://github.com/bramus","followers_url":"https://api.github.com/users/bramus/followers","following_url":"https://api.github.com/users/bramus/following{/other_user}","gists_url":"https://api.github.com/users/bramus/gists{/gist_id}","starred_url":"https://api.github.com/users/bramus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bramus/subscriptions","organizations_url":"https://api.github.com/users/bramus/orgs","repos_url":"https://api.github.com/users/bramus/repos","events_url":"https://api.github.com/users/bramus/events{/privacy}","received_events_url":"https://api.github.com/users/bramus/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T19:26:47Z","updated_at":"2016-11-28T19:26:47Z","body":"Hi @highacid,\r\n\r\nI'm gonna need some more info to debug this …\r\n\r\n1) What is the value of your `$PATH` env variable? It should contain `~/.composer/vendor/bin`.\r\n2) What are the contents of said folder? It should contain `mixed-conten-scan` (symlinked to `../bramus/mixed-content-scan/bin/mixed-content-scan`).\r\n\r\nRegards,\r\nBramus."}}
{"actor":{"display_login":"bramus"}}