Git Product home page Git Product logo

Comments (11)

ccrisan avatar ccrisan commented on August 20, 2024

Have you enabled debugging? What does your motioneye.conf file look like? How do you start motionEye?

from motioneye.

jeanmarc77 avatar jeanmarc77 commented on August 20, 2024

Hi,
Thanks for your fast reply. I haven't enable debugging, i start motioneye with : systemctl start motioneye.
my motioneye.conf is bellow. Tell me if i can test anything to help.

[root@rpi2 ~] # more /etc/motioneye/motioneye.conf

the base URL path at which motionEye lives

change this if you run motionEye behind a reverse proxy (e.g. nginx),

and you want to make motionEye accessible at a specific base path (e.g. /cams)

base_path /cams

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

log_path /mnt/motion/

default output path for media files (must be writable by motionEye)

media_path /var/lib/motioneye

media_path /mnt/motion/

path to the motion binary to use (automatically detected if commented)

motion_binary /usr/bin/motion

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

log_level info

log_level quiet

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

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 the SMB mounts

mount_check_interval 300

interval in seconds at which motionEye checks if motion is running

motion_check_interval 10

interval in seconds at which the janitor is called

to remove old pictures and movies

cleanup_interval 43200

interval in seconds at which the thumbnail mechanism runs

(set to 0 to disable)

thumbnailer_interval 60

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 media files list

list_media_timeout 120

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

from motioneye.

ccrisan avatar ccrisan commented on August 20, 2024

What version of motionEye do you run?

from motioneye.

jeanmarc77 avatar jeanmarc77 commented on August 20, 2024

0.28.3, i did a pip2 install motioneye --upgrade

from motioneye.

ccrisan avatar ccrisan commented on August 20, 2024

What does ps aux | grep motion say?

from motioneye.

jeanmarc77 avatar jeanmarc77 commented on August 20, 2024

Hi,
The error output come from motion

[root@rpi2 ~]# ps aux | grep motion
root 22492 14.5 1.8 24244 17396 ? Ss 07:38 0:01 /usr/bin/python2 /usr/bin/meyectl startserver -c /etc/motioneye/motioneye.conf
root 22546 78.4 1.6 69096 15352 ? Sl 07:38 0:07 /usr/sbin/motion -n -c /etc/motioneye/motion.conf -d 6
root 22924 0.0 0.0 2652 592 pts/0 S+ 07:38 0:00 grep motion

[root@rpi2 ~]# journalctl -f
-- Logs begin at Wed 2015-09-02 21:08:23 CEST. --
Nov 09 07:39:22 rpi2 motion[22546]: [1] netcam_proc_jpeg: processing jpeg image - content length 22116
Nov 09 07:39:22 rpi2 motion[22546]: [1] netcam_proc_jpeg: processing jpeg image - content length 22120

from motioneye.

ccrisan avatar ccrisan commented on August 20, 2024

Well the command looks alright. The odd thing is that -d 6 is the default and should not fill up the log. At least mine doesn't. What version of motion do you use, by the way?

from motioneye.

jeanmarc77 avatar jeanmarc77 commented on August 20, 2024

It's 3.2.12 version. For now, i've put my journal as volatile to avoid ruin my sd card ;)

from motioneye.

ccrisan avatar ccrisan commented on August 20, 2024

Could you please use Mr Dave's version of motion or the SVN version?

from motioneye.

jeanmarc77 avatar jeanmarc77 commented on August 20, 2024

I've been unable to compile properly the svn version

[root@rpi2 3.2]# make
Welcome to the setup procedure for Motion, the motion detection daemon! If you get
error messages during this procedure, please report them to the mailing list. The
Motion Guide contains all information you should need to get Motion up and running.
Run "make updateguide" to download the latest version of the Motion Guide.

Version: 3.2.12
Platform: Linux (if this is incorrect, please read README.FreeBSD)

Generating dependencies, please wait...
In file included from motion.c:10:0:
motion.h:43:28: fatal error: linux/videodev.h: No such file or directory

So i used the Mr dave git. I currently use Unofficial-Git-2caced3, which is indeed way less verbose.

from motioneye.

ccrisan avatar ccrisan commented on August 20, 2024

I have updated the default log level to 5 so that older motion binaries won't fill up the log.

from motioneye.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.