motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.99k stars 655 forks source link

Samba Foscam Docker #2029

Open thom13 opened 3 years ago

thom13 commented 3 years ago

Hi,

I have installed motioneye on docker, and I want to save image with samba, it works with my 2 raspberry pi cam with motioneye installed on it. But samba is not available for my foscam... Foscam is on Network Camera type. Before this installation I had motioneye installed on Home assistant and Samba was available for my Fosacm. What is the reason ?

starbasessd commented 3 years ago

HA installs SMB/CIFS support when it installs (IIRC) and is there under the motionEye. You can run the sudo apt install smbclient in your base OS If you give me your setup, Which PI and which base OS, I will try to get you some setup instructions in the morning, US EST...

On Tue, Feb 9, 2021 at 7:44 PM thom13 notifications@github.com wrote:

Hi,

I have installed motioneye on docker, and I want to save image with samba, it works with my 2 raspberry pi cam with motioneye installed on it. But samba is not available for my foscam... Foscam is on Network Camera type. Before this installation I had motioneye installed on Home assistant and Samba was available for my Fosacm. What is the reason ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneye/issues/2029, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHKDFWY6ARJIP5TLBWLS6HJHNANCNFSM4XL7X7YQ .

-- 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?

thom13 commented 3 years ago

Thanks, but Samba is available for the other cams in motioneye, just this one is not available, the foscam camera...

starbasessd commented 3 years ago

If you give me your setup, Which PI and which base OS, I will try to get you some setup instructions in the morning, US EST Samba is not an option in motion/motionEye, unless it is installed in the BaseOS. If you are using motionEyeOS you have the option to act both as a server and connect to Samba servers to save files.

starbasessd commented 3 years ago

Reconfirmed. Installed RaspberrPiOS on 32GB drive Installed into Pi3B+ Booted ssh'd into Pi Update & Upgrade PiOS Set up localization, password, etc Install docker, add user Pi to group docker reboot Run docker command docker run --name="motioneye" \ -p 8765:8765 \ --hostname="motioneye" \ -v /etc/localtime:/etc/localtime:ro \ -v /etc/motioneye:/etc/motioneye \ -v /var/lib/motioneye:/var/lib/motioneye \ --restart="always" \ --detach=true \ ccrisan/motioneye:master-armhf After install connect to http://ip_address:8765 The docker image doesn't have Samba/CIFS installed in the docker. Installing any of the Install motion/motioneye in XXX flavor of linux doesn't have support for Samba/CIFS either. Samba/CIFS IS built into motionEyeOS.