Hello everyone, I am having an issue accessing MotionEye. I installed it on RPi 3 running DPi 6.7. The installation went well and I believe it installed correctly, but I am not 100% sure because I did everything on Putty.
When I try to access the ip of DPi with port 8765, I get “This site can’t be reached” on the browser. Any help would be greatly appreciated.
p.s Everything works, Octoprint and Home Assistant works perfectly but not MotionEye.
Thanks for your reply. The weird thing is, I erased the sd card and reinstalled DietPi and then installed MotionEye and then Home Assistant and Octoprint. Now everything works! Before it was Octoprint and HomeAssistant and then installed MotionEye and it didn’t work. I wonder if MotionEye changes any structures.
I’m starting to wonder the same thing. I have had my server up and running for a couple weeks without issue with Octoprint, OwnCloud & NetStat. This afternoon I went to install MotionEye and everything appeared to work as expected - install was successful, Pi rebooted upon completion. However, I can’t find the Motion process when I run “ps -A” but DietPi-Software does say it’s installed.
I also have access to /user/bin/motion
Going to keep sifting through the logs to see if I can find anything illuminating.
edit/etc/motioneye/ is just an empty dir
edit 2 Looks like the point of failure happens at line L6127, the pip install motioneye cmd.
Was able to solve my problem! As I mentioned in my previous post, the dietpi-software bash script couldn’t find a pip executable in the $PATH.
The solution was to run sudo easy_install pip. Still curious as to why pip wasn’t available in the scripts $PATH but for the time being this seems to work
The setups are slightly different in that OctoPrint setup uses python where as MotionEye uses pip. Another difference is OctoPrint uses the G_THREAD_WAIT function inside the installer before referencing python.
G_THREAD_WAIT
mv OctoPrint* $G_FP_DIETPI_USERDATA/octoprint
cd $G_FP_DIETPI_USERDATA/octoprint
G_DIETPI-NOTIFY 2 ‘OctoPrint is now installing, please be patient and do not terminate this process, it may take some time…’
G_RUN_CMD python setup.py install