Installing MotionEYE on OrangePi Zero

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
User avatar
fredjedimaster
Posts: 18
Joined: Sun Aug 06, 2017 8:38 pm

Installing MotionEYE on OrangePi Zero

Post by fredjedimaster »

Hi guys.

I'm trying to install motioeye on dietpi zero. After many attempts to install and always getting this message on the step 13:

1 su root

2 apt-get update
3 apt-get upgrade
4 apt-get install

5 wget https://github.com/ccrisan/motioneye/wi ... _armhf.deb
6 dpkg -i ffmpeg_3.1.1-1_armhf.deb

7 apt-get remove libavcodec-extra-56 libavformat56 libavresample2 libavutil54

8 apt-get install python-pip python-dev curl libssl-dev libcurl4-openssl-dev libjpeg-dev libx264-142 libavcodec56 libavformat56

libmysqlclient18 libswscale3 libpq5

9 wget https://github.com/Motion-Project/motio ... _armhf.deb
10 dpkg -i pi_jessie_motion_4.0.1-1_armhf.deb

11 pip install motioneye

12 mkdir -p /etc/motioneye
13 cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf

14 mkdir -p /var/lib/motioneye

15 cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service
16 systemctl daemon-reload
17 systemctl enable motioneye
18 systemctl start motioneye

19 sudo modprobe gc2035
20 sudo modprobe vfe_v4l2

21 systemctl restart motioneye
cp: cannot stat ‘/usr/local/share/motioneye/extra/motioneye.conf.sample’: No such file or directory
Why do i cant see MOTIONEYE on the dietpi-software list?

Board: OrangePi Zero 256mb
System: Dietpi Zero : http://dietpi.com/downloads/images/Diet ... Jessie).7z
Version: v156
User avatar
lucasmenno
Posts: 63
Joined: Sun Jul 23, 2017 11:57 am
Location: Germany

Re: Installing MotionEYE on OrangePi Zero

Post by lucasmenno »

Your command in the 13th place can't find the file "motioneye.conf.sample". Is there a file "motioneye.conf"?
If it exists, there is no need for this command. Maybe editing the conf file a little bit.
On my BPI there is also no Motioneye. I assume this is only visible on THE RaspPI ;)
Everything i say can and maybe will be corrected by the DietPi seniors in this forum :D
BananaPi M1 using image for BananaPi Pro.
-1TB HDD, Network storage,Downloader(JD,Deluge,ripme) testing what looks interesting.
User avatar
fredjedimaster
Posts: 18
Joined: Sun Aug 06, 2017 8:38 pm

Re: Installing MotionEYE on OrangePi Zero

Post by fredjedimaster »

Thanks for helping.

There's no motioneye.conf...maybe an issue in the instalation progress but no error message are displayed.
User avatar
lucasmenno
Posts: 63
Joined: Sun Jul 23, 2017 11:57 am
Location: Germany

Re: Installing MotionEYE on OrangePi Zero

Post by lucasmenno »

I have done these steps mysqlf. No error.

Here is the motioneye.conf from step 13

Code: Select all

# path to the configuration directory (must be writable by motionEye)
conf_path /etc/motioneye

# path to the directory where pid files go (must be writable by motionEye)
run_path /var/run

# path to the directory where log files go (must be writable by motionEye)
log_path /var/log

# default output path for media files (must be writable by motionEye)
media_path /var/lib/motioneye

# the log level (use quiet, error, warning, info or debug)
log_level info

# the IP address to listen on
# (0.0.0.0 for all interfaces, 127.0.0.1 for localhost)
listen 0.0.0.0

# the TCP port to listen on
port 8765

# path to the motion binary to use (automatically detected if commented)
#motion_binary /usr/bin/motion

# whether motion HTTP control interface listens on
# localhost or on all interfaces
motion_control_localhost true

# the TCP port that motion HTTP control interface listens on
motion_control_port 7999

# interval in seconds at which motionEye checks if motion is running
motion_check_interval 10

# whether to restart the motion daemon when an error occurs while communicating with it
motion_restart_on_errors false

# interval in seconds at which motionEye checks the SMB mounts
mount_check_interval 300

# interval in seconds at which the janitor is called
# to remove old pictures and movies
cleanup_interval 43200

# timeout in seconds to wait for response from a remote motionEye server
remote_request_timeout 10

# timeout in seconds to wait for mjpg data from the motion daemon
mjpg_client_timeout 10

# timeout in seconds after which an idle mjpg client is removed
# (set to 0 to disable)
mjpg_client_idle_timeout 10

# enable SMB shares (requires motionEye to run as root) 
smb_shares false

# the directory where the SMB mount points will be created
smb_mount_root /media

# path to the wpa_supplicant.conf file
# (enable this to configure wifi settings from the UI)
#wpa_supplicant_conf /etc/wpa_supplicant.conf

# path to the localtime file
# (enable this to configure the system time zone from the UI)
#local_time_file /etc/localtime

# enables shutdown and rebooting after changing system settings
# (such as wifi settings or time zone)
enable_reboot false

# timeout in seconds to use when talking to the SMTP server
smtp_timeout 60

# timeout in seconds to wait for media files list
list_media_timeout 120

# timeout in seconds to wait for media files list, when sending emails
list_media_timeout_email 10

# timeout in seconds to wait for zip file creation
zip_timeout 500

# timeout in seconds to wait for timelapse creation
timelapse_timeout 500

# enable adding and removing cameras from UI
add_remove_cameras true

# enables HTTP basic authentication scheme (in addition to, not instead of the signature mechanism)
http_basic_auth false
Are you sure every step was done successfully?
No internet connection hiccups etc. :D
Everything i say can and maybe will be corrected by the DietPi seniors in this forum :D
BananaPi M1 using image for BananaPi Pro.
-1TB HDD, Network storage,Downloader(JD,Deluge,ripme) testing what looks interesting.
User avatar
fredjedimaster
Posts: 18
Joined: Sun Aug 06, 2017 8:38 pm

Re: Installing MotionEYE on OrangePi Zero

Post by fredjedimaster »

Yes. No internet hiccups...heehehe!!!

No erros until step 13.

Fourdee suggested force install by typing dietpi-software install 136 and i got this:

https://github.com/Fourdee/DietPi/issue ... -336639537
User avatar
lucasmenno
Posts: 63
Joined: Sun Jul 23, 2017 11:57 am
Location: Germany

Re: Installing MotionEYE on OrangePi Zero

Post by lucasmenno »

Please set everyting from the terminal in a Code Tag. Its a pain to scroll the whole page :lol:

It's nagging that a paket is missing.
Install zlib1g and possibly zlib1g-dev too and try all over again ;)
Everything i say can and maybe will be corrected by the DietPi seniors in this forum :D
BananaPi M1 using image for BananaPi Pro.
-1TB HDD, Network storage,Downloader(JD,Deluge,ripme) testing what looks interesting.
User avatar
fredjedimaster
Posts: 18
Joined: Sun Aug 06, 2017 8:38 pm

Re: Installing MotionEYE on OrangePi Zero

Post by fredjedimaster »

lucasmenno wrote:Please set everyting from the terminal in a Code Tag. Its a pain to scroll the whole page :lol:

It's nagging that a paket is missing.
Install zlib1g and possibly zlib1g-dev too and try all over again ;)
Sorry by scrooling...im too newbie!

Thanks for the help again...I'll try it now!
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Installing MotionEYE on OrangePi Zero

Post by Fourdee »

If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
fredjedimaster
Posts: 18
Joined: Sun Aug 06, 2017 8:38 pm

Re: Installing MotionEYE on OrangePi Zero

Post by fredjedimaster »

fredjedimaster wrote:
lucasmenno wrote:Please set everyting from the terminal in a Code Tag. Its a pain to scroll the whole page :lol:

It's nagging that a paket is missing.
Install zlib1g and possibly zlib1g-dev too and try all over again ;)
Sorry by scrooling...im too newbie!

Thanks for the help again...I'll try it now!
Did not work...

Follows:

apt-get install zlib1g
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

apt-get install zlib1g-dev
0 upgraded, 0 newly installed, 0 to remove and 0 not upgrade
User avatar
lucasmenno
Posts: 63
Joined: Sun Jul 23, 2017 11:57 am
Location: Germany

Re: Installing MotionEYE on OrangePi Zero

Post by lucasmenno »

What happens if you install those packages and try again :?:

Code: Select all

apt-get install libssl-dev libcurl4-openssl-dev python-dev python-setuptools
Everything i say can and maybe will be corrected by the DietPi seniors in this forum :D
BananaPi M1 using image for BananaPi Pro.
-1TB HDD, Network storage,Downloader(JD,Deluge,ripme) testing what looks interesting.
Post Reply