motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.88k stars 902 forks source link

motioneyeos on Rpi doesn't support smb v2 #1272

Open evan-shaw opened 6 years ago

evan-shaw commented 6 years ago

For storing pictures on my Samba network share. If this has it's config set to "min protocol = SMB2" then no pictures are uploaded and the network share test fails.

RejectH0 commented 6 years ago

Using a Drobo5N2 which uses the busybox implementation of linux, I'm having all kinds of inconsistent file access problems after configuring my motioneyeos to point to that server via SMB.

I'm also seeing

2018-04-15 17:14:13: [motioneye]  WARNING: Connect error on fd 16: ECONNREFUSED

repeated hundreds of times in the motioneye.log, several entries per second.

I've accessed the logs on my NAS, the Drobo5N2, and cannot ascertain the cause to be any fault of the Drobo.

As an unrelated but somewhat related aside, it would be nice to have UI control over the sharenames assigned internally to motioneyeos. The current "/data/media/motioneye/$host$sharename$username seems overly unnecessary, so customization may be a desired enhancement.