Motioneye: not save image

Created on 26 Mar 2018  路  5Comments  路  Source: ccrisan/motioneye

Hi, I installed motioneye but it does not save images inside the diretory

/var/lib/motioneye (via browser: Root Directory /var/lib/motioneye/CameraX)
The directory has 777 permissions.

log motion:
[2: ml2] [WRN] [NET] Above message repeats 1 times
[2: ml2] [WRN] [NET] netcam_init_jpeg: no new pic, no signal rcvd
[4: ml4] [WRN] [NET] netcam_init_jpeg: no new pic, no signal rcvd

log motioneye:
not exists in /var/log/

motioneye.conf

path to the directory where log files go (must be writable by motionEye)

log_path /var/log

Thank you

Most helpful comment

You need to configure
Still Images
and
File Storage

If you don't set up 'Still Images', motioneye will trigger, but will not write the images to file.

All 5 comments

You need to configure
Still Images
and
File Storage

If you don't set up 'Still Images', motioneye will trigger, but will not write the images to file.

I have a similar issue. Some images are saved but not all. Most importantly, manual snapshots are also not saved.

After more investigation, it seems that motion or motioneye is ignoring the File Storage/Root Directory setting, which was:
/var/lib/motioneye/CameraX
All the triggers and snapshots were saved under /var/lib/motioneye/ instead.
After setting File Storage/Root Directory to /var/lib/motioneye, all images (even previously not visible ones) were visible. I think the confusion was that this setting doesn't where to save but to find saved images for the pictures browser. What I don't get is, why some images were saved under /var/lib/motioneye/CameraX? I can't reproduce this at the moment.

@SarenT MotionEye looks for files (in media browser) under the Root Directory, so if that points below the level where some files are stored, those files won't be shown. Could it be by chance that you've changed Root Directory at some point in time, to not include CameraX anymore, then reverting that back later on? Or have you used ../ in Image File Name? That could produce similar results, too (I've not tested that that actually would be accepted be the code, though).

@zagrim It is possible. But I didn't use ../ for sure in any location. If then the CameraX. However, I have just created the new camera in motioneye. So even if I have changed in the past (can't remember really), this must have happened with a previous camera. I have recenetly upgraded motioneye to the newest version.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anon-tigress picture anon-tigress  路  3Comments

FlyingPersian picture FlyingPersian  路  5Comments

TyTnMonz picture TyTnMonz  路  4Comments

walterdevos picture walterdevos  路  5Comments

jkaberg picture jkaberg  路  4Comments