Motioneyeos - Rebooting

767 views
Skip to first unread message

Barry Gilchrist

unread,
Nov 28, 2020, 11:36:27 AM11/28/20
to motioneye
I have two PI's uploading images to GoogleDrive.
However, I noticed recently that one had stopped uploading the files. The files existed on the PI, but had failed to upload.
The test button for GoogleDrive just sat there with the 'hourglass' spinning - I had to disconnect and reconnect the browser to get a response.
However, after a reboot, the upload to GoogleDrive started working again!
Then the second PI had a similar issue - weird, right!

This has only happened once, for each PI - so far.
I don't imagine that this issue is going to be easy to identify/fix - especially as it might have nothing to do with MOTIONEYEOS.

So, as a preventative measure (workaround), is there a way for MOTIONEYEOS to be configured to reboot once a day?
Or, is there a way for an external machine - say a third PI - to send a reboot instruction once a day?

I'm using two versions of MOTIONEYEOS : an older one 20190911 (PI3) and a newer one 20200606 (PI ZeroW).

Thanks in advance
Regards
Barry


Kevin Shumaker

unread,
Nov 28, 2020, 12:11:59 PM11/28/20
to Barry Gilchrist, motioneye
Yes, there are a number of ways to do this:
If the gdrive connection gets dropped, but all else is working you can turn on under Expert Settings, Connectivity Watch and place the https://drive.google.com  root site, and start with the default settings.(may have to change the port to 443 (https))
This will force a reboot if connectivity fails.
You can set a cron job to force a reboot every (x) amount of time:
ssh into the Pi, and type the following:
EDITOR=nano crontab -e [enter]
add the following text:
* 2 * * * reboot [enter] [ctrl][x][y] to save
This will trigger the reboot command every day at 2am. If you wanted to trigger every 4 hours, you'd use:
* 2,6,10,14,18,22 * * * reboot
There are a number of other ways, but these 2 usually cover it.


--
You received this message because you are subscribed to the Google Groups "motioneye" group.
To unsubscribe from this group and stop receiving emails from it, send an email to motioneye+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/motioneye/CAMG%3D37SC8UC8PTFHyN8ns18we6hFqgLmxv5Eh70Epx2x4ygONA%40mail.gmail.com.


--
Thanks

Kevin Shumaker


N38° 19' 56.52"
W85° 45' 8.56"

Semper Gumby
“Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA
Ethics are what we do when no one else is looking.
Quis custodiet ipsos custodes?
“There is no end to the good you can do if you don’t care who gets the credit.” - C Powell
You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

Kevin Shumaker

unread,
Nov 28, 2020, 12:14:23 PM11/28/20
to Barry Gilchrist, motioneye
There is an excellent resource for motionEyeOS at
and for motionEye on other OSs at

On Sat, Nov 28, 2020 at 11:36 AM Barry Gilchrist <barr...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "motioneye" group.
To unsubscribe from this group and stop receiving emails from it, send an email to motioneye+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/motioneye/CAMG%3D37SC8UC8PTFHyN8ns18we6hFqgLmxv5Eh70Epx2x4ygONA%40mail.gmail.com.

Barry Gilchrist

unread,
Nov 28, 2020, 12:26:38 PM11/28/20
to Kevin Shumaker, motioneye
Many thanks for quick response... much appreciated. 

Kevin Shumaker

unread,
Nov 28, 2020, 12:37:47 PM11/28/20
to Barry Gilchrist, motioneye
Let me know if this resolves your issue.
Reply all
Reply to author
Forward
0 new messages