{"action":"created","issue":{"url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/1550","repository_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder","labels_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/1550/labels{/name}","comments_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/1550/comments","events_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/1550/events","html_url":"https://github.com/ZoneMinder/ZoneMinder/issues/1550","id":164101989,"number":1550,"title":"Event Video(s) aren't getting attached to email. ","user":{"login":"pyrodex","id":108703,"avatar_url":"https://avatars.githubusercontent.com/u/108703?v=3","gravatar_id":"","url":"https://api.github.com/users/pyrodex","html_url":"https://github.com/pyrodex","followers_url":"https://api.github.com/users/pyrodex/followers","following_url":"https://api.github.com/users/pyrodex/following{/other_user}","gists_url":"https://api.github.com/users/pyrodex/gists{/gist_id}","starred_url":"https://api.github.com/users/pyrodex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyrodex/subscriptions","organizations_url":"https://api.github.com/users/pyrodex/orgs","repos_url":"https://api.github.com/users/pyrodex/repos","events_url":"https://api.github.com/users/pyrodex/events{/privacy}","received_events_url":"https://api.github.com/users/pyrodex/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/milestones/21","html_url":"https://github.com/ZoneMinder/ZoneMinder/milestones/v1.30.0","labels_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/milestones/21/labels","id":1487820,"number":21,"title":"v1.30.0","description":"","creator":{"login":"kylejohnson","id":114193,"avatar_url":"https://avatars.githubusercontent.com/u/114193?v=3","gravatar_id":"","url":"https://api.github.com/users/kylejohnson","html_url":"https://github.com/kylejohnson","followers_url":"https://api.github.com/users/kylejohnson/followers","following_url":"https://api.github.com/users/kylejohnson/following{/other_user}","gists_url":"https://api.github.com/users/kylejohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/kylejohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylejohnson/subscriptions","organizations_url":"https://api.github.com/users/kylejohnson/orgs","repos_url":"https://api.github.com/users/kylejohnson/repos","events_url":"https://api.github.com/users/kylejohnson/events{/privacy}","received_events_url":"https://api.github.com/users/kylejohnson/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":10,"state":"open","created_at":"2016-01-06T16:43:37Z","updated_at":"2016-07-11T00:13:13Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-07-06T15:20:06Z","updated_at":"2016-07-11T12:00:14Z","closed_at":null,"body":"I've noticed in recent updates from Ubuntu's default version to the master branch that anytime an event is triggered and emailed off the video of the event isn't being attached. This worked in 1.29.0 but with 1.29.0-xenial-2016060101 I noticed it and before that as well. Here is my system details:\r\n\r\n`root@zoneminder:/var/log/zm# uname -a`\r\n`Linux zoneminder 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux`\r\n`root@zoneminder:/var/log/zm# cat /etc/lsb-release `\r\n`DISTRIB_ID=Ubuntu`\r\n`DISTRIB_RELEASE=16.04`\r\n`DISTRIB_CODENAME=xenial`\r\n`DISTRIB_DESCRIPTION=\"Ubuntu 16.04 LTS\"`\r\n`root@zoneminder:/var/log/zm# dpkg -l | grep zoneminder`\r\n`ii  zoneminder                         1.29.0-xenial-2016060101                   amd64        video camera security and surveillance solution`\r\n`ii  zoneminder-doc                     1.29.0-xenial-2016060101                   all          ZoneMinder documentation`\r\n`root@zoneminder:/var/log/zm# `\r\n\r\nI can see the events are being generated properly since the mp4 is there and the ffmpeg.log is in the event directory. From zmvideo.log:\r\n\r\n`07/06/2016 10:53:19.109424 zmvideo[16807].INF [Creating video file Event-33-r1-s1.mp4 for event 33]\r\n07/06/2016 10:53:21.089052 zmvideo[16807].INF [Finished Event-33-r1-s1.mp4]`\r\n\r\nYou can see in zmfilter.log the event is mailed and the image is attached, per my email notification setup, but the event isn't.\r\n`07/06/2016 10:53:18.726292 zmfilter[12426].INF [Archiving event 33]`\r\n`07/06/2016 10:53:21.098528 zmfilter[12426].INF [Creating notification email]`\r\n`07/06/2016 10:53:21.438639 zmfilter[12426].INF [Sending notification email 'ZoneMinder: Alarm - Backdoor-33 (2016-07-06 10:50:35)']`\r\n`07/06/2016 10:53:21.439869 zmfilter[12426].INF [Attaching '/usr/share/zoneminder/www/events/3/16/07/06/10/50/35/00077-capture.jpg]`\r\n`07/06/2016 10:53:21.440641 zmfilter[12426].INF [Attaching '/usr/share/zoneminder/www/events/3/16/07/06/10/50/35/]`\r\n`07/06/2016 10:53:21.500236 zmfilter[12426].INF [Notification email sent]`\r\n\r\nHere is a successful event before the upgrade for reference from zmfilter.log:\r\n\r\n`07/06/2016 08:49:23.232178 zmfilter[2843].INF [Archiving event 22]`\r\n`07/06/2016 08:49:26.948009 zmfilter[2843].INF [Creating notification email]`\r\n`07/06/2016 08:49:27.112325 zmfilter[2843].INF [Sending notification email 'ZoneMinder: Alarm - Driveway-22 (2016-07-06 08:44:37)']`\r\n`07/06/2016 08:49:27.113986 zmfilter[2843].INF [Attaching '/usr/share/zoneminder/www/events/1/16/07/06/08/44/37/00207-capture.jpg]`\r\n`07/06/2016 08:49:27.114838 zmfilter[2843].INF [Attaching '/usr/share/zoneminder/www/events/1/16/07/06/08/44/37/Event-22-r1-s1.mp4]`\r\n`07/06/2016 08:49:28.996618 zmfilter[2843].INF [Notification email sent]`\r\n\r\nHere is the directory of the failed events after the upgrade showing the file is there and generated:\r\n\r\n`root@zoneminder:/var/log/zm# ls -la /usr/share/zoneminder/www/events/3/16/07/06/10/50/35/ | grep -v jpg`\r\n`total 13240`\r\n`drwxr-xr-x 2 www-data www-data  12288 Jul  6 10:53 .`\r\n`drwxr-xr-x 3 www-data www-data   4096 Jul  6 10:50 ..`\r\n`-rw-r--r-- 1 www-data www-data      0 Jul  6 10:50 .33`\r\n`-rw-r--r-- 1 www-data www-data 620497 Jul  6 10:53 Event-33-r1-s1.mp4`\r\n`-rw-r--r-- 1 www-data www-data 325171 Jul  6 10:53 ffmpeg.log`\r\n`root@zoneminder:/var/log/zm# `\r\n\r\nIf you need anything else let me know and thanks for the investigation."},"comment":{"url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/comments/231714596","html_url":"https://github.com/ZoneMinder/ZoneMinder/issues/1550#issuecomment-231714596","issue_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/1550","id":231714596,"user":{"login":"knnniggett","id":5150042,"avatar_url":"https://avatars.githubusercontent.com/u/5150042?v=3","gravatar_id":"","url":"https://api.github.com/users/knnniggett","html_url":"https://github.com/knnniggett","followers_url":"https://api.github.com/users/knnniggett/followers","following_url":"https://api.github.com/users/knnniggett/following{/other_user}","gists_url":"https://api.github.com/users/knnniggett/gists{/gist_id}","starred_url":"https://api.github.com/users/knnniggett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knnniggett/subscriptions","organizations_url":"https://api.github.com/users/knnniggett/orgs","repos_url":"https://api.github.com/users/knnniggett/repos","events_url":"https://api.github.com/users/knnniggett/events{/privacy}","received_events_url":"https://api.github.com/users/knnniggett/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T12:00:14Z","updated_at":"2016-07-11T12:00:14Z","body":"Yup, I just ran out of time last night to make any further progress. Thanks for fixing this."}}
{"actor":{"display_login":"knnniggett"}}