{"action":"created","issue":{"url":"https://api.github.com/repos/nicolargo/glancesautoinstall/issues/8","repository_url":"https://api.github.com/repos/nicolargo/glancesautoinstall","labels_url":"https://api.github.com/repos/nicolargo/glancesautoinstall/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/nicolargo/glancesautoinstall/issues/8/comments","events_url":"https://api.github.com/repos/nicolargo/glancesautoinstall/issues/8/events","html_url":"https://github.com/nicolargo/glancesautoinstall/issues/8","id":172280519,"number":8,"title":"Glances installation via install.sh script fails on VPS","user":{"login":"thorian93","id":12239876,"avatar_url":"https://avatars.githubusercontent.com/u/12239876?v=3","gravatar_id":"","url":"https://api.github.com/users/thorian93","html_url":"https://github.com/thorian93","followers_url":"https://api.github.com/users/thorian93/followers","following_url":"https://api.github.com/users/thorian93/following{/other_user}","gists_url":"https://api.github.com/users/thorian93/gists{/gist_id}","starred_url":"https://api.github.com/users/thorian93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thorian93/subscriptions","organizations_url":"https://api.github.com/users/thorian93/orgs","repos_url":"https://api.github.com/users/thorian93/repos","events_url":"https://api.github.com/users/thorian93/events{/privacy}","received_events_url":"https://api.github.com/users/thorian93/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-20T17:06:39Z","updated_at":"2016-08-22T15:39:21Z","closed_at":null,"body":"#### Description\r\nWhen installing glances via the install.sh script on a VPS hosted by Strato the installation fails with the following messages:\r\nServer 1:\r\n`Detected system: strato`\r\nServer 2:\r\n`Detected system: plesk`\r\n\r\nThe scripts seems to be unable to use the `lsb_release` tool on the servers although it is installed. When using the workaround:\r\n`find /etc -type f -maxdepth 1 \\( ! -wholename /etc/os-release ! -wholename /etc/lsb-release -wholename /etc/\\*release -o -wholename /etc/\\*version \\) 2> /dev/null`\r\nit gets the following outputs:\r\n`/etc/strato-release /etc/debian_version`\r\nand\r\n`/etc/plesk-release /etc/debian_version /etc/strato-release`\r\n\r\nwhich result in the error that this is a unsupported system.\r\n#### Servers\r\nUbuntu 14.04 LTS 64bit\r\nUbuntu 14.04 LTS 64bit + Plesk 12.5\r\n\r\nAs far as I can see that this issue is related to the way the distribution detection is done.\r\nMaybe the script simply needs to be expanded with the values I stated above. I would create a pull request if that is the case. If further development would be needed, then I personally can't help.\r\n\r\nIf further information is needed I will provide it.\r\n\r\nI appreciate any support!"},"comment":{"url":"https://api.github.com/repos/nicolargo/glancesautoinstall/issues/comments/241454036","html_url":"https://github.com/nicolargo/glancesautoinstall/issues/8#issuecomment-241454036","issue_url":"https://api.github.com/repos/nicolargo/glancesautoinstall/issues/8","id":241454036,"user":{"login":"thorian93","id":12239876,"avatar_url":"https://avatars.githubusercontent.com/u/12239876?v=3","gravatar_id":"","url":"https://api.github.com/users/thorian93","html_url":"https://github.com/thorian93","followers_url":"https://api.github.com/users/thorian93/followers","following_url":"https://api.github.com/users/thorian93/following{/other_user}","gists_url":"https://api.github.com/users/thorian93/gists{/gist_id}","starred_url":"https://api.github.com/users/thorian93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thorian93/subscriptions","organizations_url":"https://api.github.com/users/thorian93/orgs","repos_url":"https://api.github.com/users/thorian93/repos","events_url":"https://api.github.com/users/thorian93/events{/privacy}","received_events_url":"https://api.github.com/users/thorian93/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T15:39:21Z","updated_at":"2016-08-22T15:39:21Z","body":"@nicolargo: You have no contribution guide so I'll just ask straight ahead:  \r\nShould I modify the install-develop.sh script or the install.sh script itself?"}}
{"actor":{"display_login":"thorian93"}}