motioneye not producing correct lastsnap.jpg symbolic link. #1730

Open
opened 2026-02-28 00:52:40 -05:00 by deekerman · 0 comments
Owner

Originally created by @DaniW42 on GitHub (Jul 27, 2020).

This was mentioned before, but I think it is an bug which could/should be fixed.

The lastsnap.jpg symbolic link is not updated when a motion is detected and a new "still image" is being created inside media folder. I had a vm running where I think this happened correctly. The symbolic link is quiet useful for a lot of scenarios.

The workaround

Then it's probably deleted by the preserve pictures option. I recommend using the File Storage > Run A Command option to call your command each time a new picture is created. You could simply use "cp %f /tmp/lastfile.jpg" to copy each picture to some specific location, just as the lastsnap.jpg would work.

metioned in https://github.com/ccrisan/motioneye/issues/242#issuecomment-230784294 is not very useful as it runs the command even when a video file is created which leads to duplicate executions.

Would be really nice to see this being fixed. The lastsnap.jpg is being updated when a new picture was saved by "Intervall snapshot" and even "Manual Snapshot"

Originally created by @DaniW42 on GitHub (Jul 27, 2020). This was mentioned before, but I think it is an bug which could/should be fixed. The lastsnap.jpg symbolic link is not updated when a motion is detected and a new "still image" is being created inside media folder. I had a vm running where I think this happened correctly. The symbolic link is quiet useful for a lot of scenarios. The workaround > Then it's probably deleted by the preserve pictures option. I recommend using the _File Storage > Run A Command_ option to call your command each time a new picture is created. **You could simply use "cp %f /tmp/lastfile.jpg" to copy each picture to some specific location, just as the lastsnap.jpg would work.** metioned in https://github.com/ccrisan/motioneye/issues/242#issuecomment-230784294 is not very useful as it runs the command even when a video file is created which leads to duplicate executions. Would be really nice to see this being fixed. The lastsnap.jpg is being updated when a new picture was saved by "Intervall snapshot" and even "Manual Snapshot"
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/motioneye#1730
No description provided.