No script start on_movie_end und on_picture_save #1816
Replies: 11 comments 23 replies
-
I have checked
|
Beta Was this translation helpful? Give feedback.
-
Try to put something simple that is not restricted by user rights, ex, |
Beta Was this translation helpful? Give feedback.
-
I too see these being triggered on my test machine but do not see it happening in your log.
(Just searching for possible clues as to why it isn't working anymore) |
Beta Was this translation helpful? Give feedback.
-
I also checked two cameras setup and the command is executed:
|
Beta Was this translation helpful? Give feedback.
-
After upgrading motion 4.3.2 with version 4.7.0, some libraries were no longer needed and were removed by apt-autoremove.
As I see from the deb package of motion 4.7, these libraries are now used:
Maybe there is an incompatibility there ? |
Beta Was this translation helpful? Give feedback.
-
This is a mystery... Is everything completely up to date with For building and adding logging, you can follow the guide for Debian . The only thing is to just not do the Once it is built, you would start it with the command The specific logging to add is inside the exec_command function which is in the Add the following using a text editor: Save the file, go back and execute |
Beta Was this translation helpful? Give feedback.
-
This seems to indicate that the configuration item for the Try to specify the |
Beta Was this translation helpful? Give feedback.
-
Try to specify the on only in the camera.conf file rather than the motion.conf file.This is the solution !!!. Up to version 4.3.2 it worked if the on_ entries were in the motion.conf file. In the versions after that the entries must be in the configuration files of the cameras. Please point out in documentation that the configuration of the on_ events belongs in the camera configuration files. Thank you very much for your good support and help!!! The thread can now be closed. Jörg |
Beta Was this translation helpful? Give feedback.
-
I have checked one of my 4.6.0 cameras, and I don't see such behavior. |
Beta Was this translation helpful? Give feedback.
-
@Joerg12345 I know, that you kinda found a workaround, but would you mind helping us to identify the root cause? Could you please comment out all Also edit
This will comment out few lines and always print config values with quotes. Then edit
This will print all config params again at event, like it does on start. This way we could see if values somehow changed at runtime. Recompile, then set Thanks 🙏 |
Beta Was this translation helpful? Give feedback.
-
@Joerg12345
from the top of the main config to the bottom and check if that resolves the issue? |
Beta Was this translation helpful? Give feedback.
-
Did you read the guide?
Yes
What is the base version number of Motion being used?
4.3.x
What was the install method?
Installed via package tool
What is base architecture?
ARM-64bit
What is the distro being used?
Raspbian
Disto version number
12 bookworm
Camera type(s) being used?
Network camera with RTSP
Describe the issue/problem and steps to reproduce
For all motion versions greater than 4.3.2, no script is started for on_movie_end and on_picture_save.
After updating from 4.3.2 to 4.7.0 I noticed this.
Then I tried some versions >4.3.2 and <4.7.0, but no script was started in any of them.
I'm doing something wrong or is this a bug in the software ?
Many thanks for your support!
Jörg
Motion log output at log_level 8
Beta Was this translation helpful? Give feedback.
All reactions