{"action":"created","issue":{"url":"https://api.github.com/repos/ccrisan/motioneye/issues/263","repository_url":"https://api.github.com/repos/ccrisan/motioneye","labels_url":"https://api.github.com/repos/ccrisan/motioneye/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/ccrisan/motioneye/issues/263/comments","events_url":"https://api.github.com/repos/ccrisan/motioneye/issues/263/events","html_url":"https://github.com/ccrisan/motioneye/issues/263","id":167303993,"number":263,"title":"relayevent.sh: Permission denied","user":{"login":"ChriZathens","id":8545172,"avatar_url":"https://avatars.githubusercontent.com/u/8545172?v=3","gravatar_id":"","url":"https://api.github.com/users/ChriZathens","html_url":"https://github.com/ChriZathens","followers_url":"https://api.github.com/users/ChriZathens/followers","following_url":"https://api.github.com/users/ChriZathens/following{/other_user}","gists_url":"https://api.github.com/users/ChriZathens/gists{/gist_id}","starred_url":"https://api.github.com/users/ChriZathens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChriZathens/subscriptions","organizations_url":"https://api.github.com/users/ChriZathens/orgs","repos_url":"https://api.github.com/users/ChriZathens/repos","events_url":"https://api.github.com/users/ChriZathens/events{/privacy}","received_events_url":"https://api.github.com/users/ChriZathens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-07-25T07:51:25Z","updated_at":"2016-08-16T14:15:55Z","closed_at":null,"body":"Hello!\r\nJust noticed that in motion.log I get this:\r\n\r\n> File of type 2 saved to: /var/www/downloads/motioneye/Year-2016/Month-07/Day-25/Hour-10/104600-snapshot.jpg\r\n>  &: /usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh: Permission denied\r\n\r\nThis is a snapshot set to be taken every minute.\r\nThe image gets stored normally - but what is this permission denied I don't know.."},"comment":{"url":"https://api.github.com/repos/ccrisan/motioneye/issues/comments/240115097","html_url":"https://github.com/ccrisan/motioneye/issues/263#issuecomment-240115097","issue_url":"https://api.github.com/repos/ccrisan/motioneye/issues/263","id":240115097,"user":{"login":"ChriZathens","id":8545172,"avatar_url":"https://avatars.githubusercontent.com/u/8545172?v=3","gravatar_id":"","url":"https://api.github.com/users/ChriZathens","html_url":"https://github.com/ChriZathens","followers_url":"https://api.github.com/users/ChriZathens/followers","following_url":"https://api.github.com/users/ChriZathens/following{/other_user}","gists_url":"https://api.github.com/users/ChriZathens/gists{/gist_id}","starred_url":"https://api.github.com/users/ChriZathens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChriZathens/subscriptions","organizations_url":"https://api.github.com/users/ChriZathens/orgs","repos_url":"https://api.github.com/users/ChriZathens/repos","events_url":"https://api.github.com/users/ChriZathens/events{/privacy}","received_events_url":"https://api.github.com/users/ChriZathens/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T14:15:55Z","updated_at":"2016-08-16T14:15:55Z","body":"Later update: Up until now I was using python-pip version 1.0 from ubuntu repository\r\nEverytime I was running the command pip install motioneye --upgrade it seemed to download and install motioneye from the beginning. It seemed strange, but thought it was the intented behavior \r\nSo I did the following:\r\n\r\n> curl \"https://bootstrap.pypa.io/get-pip.py\" -o \"get-pip.py\"\r\n\r\n> ./get-pip.py\r\n\r\nBut afterwards after running \" pip install motioneye --upgrade\" I got pip not found in /usr/bin/pip\r\nSo I reinstalled the version from the ubuntu repo and then trying to upgrade motioneye I got this:\r\n\r\n> pip install motioneye --upgrade\r\nRequirement already up-to-date: motioneye in /usr/local/lib/python2.7/dist-packages\r\nRequirement already up-to-date: tornado>=3.1 in /usr/local/lib/python2.7/dist-packages (from motioneye)\r\nRequirement already up-to-date: jinja2 in /usr/local/lib/python2.7/dist-packages (from motioneye)\r\nRequirement already up-to-date: pillow in /usr/local/lib/python2.7/dist-packages (from motioneye)\r\nRequirement already up-to-date: pycurl in /usr/local/lib/python2.7/dist-packages (from motioneye)\r\nRequirement already up-to-date: backports.ssl_match_hostname in /usr/local/lib/python2.7/dist-packages (from tornado>=3.1->motioneye)\r\nRequirement already up-to-date: singledispatch in /usr/local/lib/python2.7/dist-packages (from tornado>=3.1->motioneye)\r\nRequirement already up-to-date: certifi in /usr/local/lib/python2.7/dist-packages (from tornado>=3.1->motioneye)\r\nRequirement already up-to-date: backports_abc>=0.4 in /usr/local/lib/python2.7/dist-packages (from tornado>=3.1->motioneye)\r\nRequirement already up-to-date: MarkupSafe in /usr/local/lib/python2.7/dist-packages (from jinja2->motioneye)\r\nRequirement already up-to-date: six in /usr/local/lib/python2.7/dist-packages (from singledispatch->tornado>=3.1->motioneye)\r\nYou are using pip version 1.0, however version 8.1.2 is available.\r\nYou should consider upgrading via the 'pip install --upgrade pip' command.\r\n\r\nwhich seems more correct to me (since it no more tried to install motioneye from the beginning, it rather realized that it is up to date)\r\nSo I run now \"pip install --upgrade pip\" and I got again to the point where it cannot find pip in /usr/bin/pip.\r\nSo finally created a symlink from /usr/local/bin/pip to /usr/bin/pip and seems to be working now..\r\nRunning pip --version yields: \r\n\r\n> pip 8.1.2 from /usr/local/lib/python2.7/dist-packages (python 2.7)\r\nwhile before I was getting\r\n> pip 1.0 from /usr/lib/python2.7/dist-packages (python 2.7)\r\n\r\nSo I guess we will see how it goes from here"}}
{"actor":{"display_login":"ChriZathens"}}