{"action":"closed","issue":{"url":"https://api.github.com/repos/ccrisan/motioneyeos/issues/1523","repository_url":"https://api.github.com/repos/ccrisan/motioneyeos","labels_url":"https://api.github.com/repos/ccrisan/motioneyeos/issues/1523/labels{/name}","comments_url":"https://api.github.com/repos/ccrisan/motioneyeos/issues/1523/comments","events_url":"https://api.github.com/repos/ccrisan/motioneyeos/issues/1523/events","html_url":"https://github.com/ccrisan/motioneyeos/issues/1523","id":326799891,"node_id":"MDU6SXNzdWUzMjY3OTk4OTE=","number":1523,"title":"motioneye does not start on startup (raspbian)","user":{"login":"durahsel","id":9299604,"node_id":"MDQ6VXNlcjkyOTk2MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9299604?v=4","gravatar_id":"","url":"https://api.github.com/users/durahsel","html_url":"https://github.com/durahsel","followers_url":"https://api.github.com/users/durahsel/followers","following_url":"https://api.github.com/users/durahsel/following{/other_user}","gists_url":"https://api.github.com/users/durahsel/gists{/gist_id}","starred_url":"https://api.github.com/users/durahsel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durahsel/subscriptions","organizations_url":"https://api.github.com/users/durahsel/orgs","repos_url":"https://api.github.com/users/durahsel/repos","events_url":"https://api.github.com/users/durahsel/events{/privacy}","received_events_url":"https://api.github.com/users/durahsel/received_events","type":"User","site_admin":false},"labels":[{"id":401984951,"node_id":"MDU6TGFiZWw0MDE5ODQ5NTE=","url":"https://api.github.com/repos/ccrisan/motioneyeos/labels/motioneye","name":"motioneye","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-27T09:00:43Z","updated_at":"2018-06-06T15:37:29Z","closed_at":"2018-06-06T15:37:28Z","author_association":"NONE","body":"Hi,\r\nI've tried several methods (crontab, autostart with .desktop script ....) but none of them works for me, after boot I've each time to manually start motion eye with this script (which is 'chmod +x')\r\n\r\nSystem\r\n\r\nmotionEye Version | 0.39\r\nMotion Version | 4.1.1\r\nOS Version | Raspbian 9.4\r\n\r\n\r\n/home/pi/Desktop/Scripts/motionEyeinitSansSudo.sh\r\n\r\n```\r\n#!/bin/bash\r\ncp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service\r\nsystemctl daemon-reload\r\nsystemctl enable motioneye\r\nsystemctl start motioneye\r\n```\r\n\r\nhere is my last try with /etc/rc.local method\r\n/etc/rc.local file is \r\n\r\n```\r\n#!/bin/bash\r\n#\r\n# rc.local\r\n#\r\n# This script is executed at the end of each multiuser runlevel.\r\n# Make sure that the script will \"exit 0\" on success or any other\r\n# value on error.\r\n#\r\n# In order to enable or disable this script just change the execution\r\n# bits.\r\n#\r\n# By default this script does nothing.\r\nbash /home/pi/Desktop/Scripts/motionEyeinitSansSudo.sh\r\nexit 0\r\n```\r\n\r\nalso try this one \r\n\r\n```\r\n#!/bin/sh -e\r\n#\r\n# rc.local\r\n#\r\n# This script is executed at the end of each multiuser runlevel.\r\n# Make sure that the script will \"exit 0\" on success or any other\r\n# value on error.\r\n# In order to enable or disable this script just change the execution\r\n# bits.\r\n# By default this script does nothing.\r\nsh /home/pi/Desktop/Scripts/motionEyeinitSansSudo.sh\r\nexit 0\r\n```\r\n\r\nI know that the script is starting after reboot (trying to add some log file creation at the end of the motionEyeinitSansSudo.sh script and it works) but when I browser motioneye, It does not work. If  I manually start the script after reboot, then it's works\r\n\r\nAny idea to make the motionEye works on startup ?\r\n\r\nthanks !\r\n\r\n\r\n"}}
{"actor":{"display_login":"durahsel"}}