motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.85k stars 897 forks source link

Recordings are being uploaded as 0kb (empty files) #2474

Closed sts-ryan-holton closed 2 years ago

sts-ryan-holton commented 4 years ago

motionEyeOS Version

Board Model

Raspberry Pi 4 (2gb model)

Camera

Raspberry Pi camera, loaded on a Pi Zero, streaming over to the Pi 4.

Network Connection

Wireless on 2.4ghz, approximately a few metres from the router.

Peripherals

None are connected

Log Files

I consider the following log files relevant to this issue:

boot.log motioneye.log

The Problem

I'm using a Raspberry Pi 4gb with Motion Eye OS in order to act as a hub to consume a stream path from another Raspberry Pi (zero).

I'm using an older version of Motion Eye OS since an issue preventing continuous recording to function correctly isn't working and hasn't recently been fixed, see: https://github.com/ccrisan/motioneyeos/issues/2378

The issue I have, is that some video clips aren't actually being fully recorded, and thus are being uploaded to my FTP server as 0kb. I have my videos set at intervals of 5 minutes, and roughly 15% of my recordings aren't being uploaded reliably despite the file names being set and the network being uninterupted.

How can I fix this?

0kb-clips recording-type

sts-ryan-holton commented 4 years ago

@ccrisan @jasaw

starbasessd commented 3 years ago

Status?

sts-ryan-holton commented 3 years ago

@starbasessd I've since changed my setup for how my media file are uploaded to my FTP server (it's a Synology), I'm not sure why or how this works but it's not what I initially anticipated, here's what works and what doesn't work...

Doesn't work...

Works...

And by **doesn't work"" I'm referring to the fact that it does work, but 15% of my recordings are recorded as empty files (not ideal in a situation where you need to review footage), compared with the network share which seems to be more reliable...

starbasessd commented 3 years ago

You're using the SMB (Windows share) on the Synology if it works that way. But, it's working...

On Sun, Oct 25, 2020 at 2:01 PM Ryan Holton notifications@github.com wrote:

@starbasessd https://github.com/starbasessd I've since changed my setup for how my media file are uploaded to my FTP server (it's a Synology), I'm not sure why or how this works but it's not what I initially anticipated, here's what works and what doesn't work... Doesn't work...

  • Storage device: the pi.
  • Upload media files: turned on, and upload service set as SFTP, or FTP.

Works...

  • Storage device: network share
  • Upload media files: turned off.

And by **doesn't work"" I'm referring to the fact that it does work, but 15% of my recordings are recorded as empty files (not ideal in a situation where you need to review footage), compared with the network share which seems to be more reliable...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2474#issuecomment-716186842, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHMON4ZMJWH2AIEZG43SMRRX3ANCNFSM4PBPKWLA .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

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?

starbasessd commented 2 years ago

No comments after more than 60 days. If you are still having issues, please open a new issue.

Commander-Crash commented 2 years ago

This is still a issue. GAWD i hate motion.

MarcoMagana commented 2 years ago

That happens to me when the SD card is almost full!


From: Commander-Crash @.> Sent: 20 May 2022 13:25 To: motioneye-project/motioneyeos @.> Cc: Subscribed @.***> Subject: Re: [motioneye-project/motioneyeos] Recordings are being uploaded as 0kb (empty files) (#2474)

This is still a issue. GAWD i hate motion.

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmotioneye-project%2Fmotioneyeos%2Fissues%2F2474%23issuecomment-1133191926&data=05%7C01%7C%7Cbac7a94270824aa2448108da3a8e2f57%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637886679590706308%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=LAUWpGBnwTLh4k28LcYcVqD8BC%2Fuqie0H5aeWIE1wck%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALZ3YFZUBLC2DPKW7XLPHJ3VK7KLLANCNFSM4PBPKWLA&data=05%7C01%7C%7Cbac7a94270824aa2448108da3a8e2f57%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637886679590706308%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=vDG1JqbUBzusyzk0NuGIbv%2Bc7q%2FCaEdpfufeG3yf5IA%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.***>