Skip to content

Commit b21f02f

Browse files
authored
Merge pull request #552 from bluecherrydvr/rc6
Prep for RC6
2 parents 447ef9c + fd64858 commit b21f02f

File tree

8 files changed

+28
-7
lines changed

8 files changed

+28
-7
lines changed

debian/bluecherry.init

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ DESC="Bluecherry DVR Server"
1515
NAME=bc-server
1616
DAEMON=/usr/sbin/$NAME
1717
DAEMONUSER=bluecherry
18-
DAEMONGROUP=www-data
18+
DAEMONGROUP=bluecherry
1919
DAEMON_ARGS="-s -u $DAEMONUSER -g $DAEMONGROUP"
2020
PIDDIR=/var/run/bluecherry
2121
PIDFILE=$PIDDIR/pid

debian/bluecherry.postrm

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function purge_files() {
3535
function drop_db() {
3636
echo "Dropping database $dbname"
3737
echo "DROP DATABASE $dbname" | mysql -h"${host:-localhost}" -D"$dbname" -u"$user" -p"$password"
38-
# echo "DROP USER '$user'@'localhost'" | mysql -h"${host:-localhost}" -D"$dbname" -u"$user" -p"$password"
38+
# echo "DROP USER '$user'@'localhost'" | mysql -h"${host:-localhost}" -D"$dbname" -u"$user" -p"$password"
3939
}
4040

4141
case "$1" in
@@ -83,3 +83,13 @@ cronfile=/etc/cron.d/bluecherry
8383
if test -f $cronfile; then
8484
rm $cronfile
8585
fi
86+
87+
function warn_user_db() {
88+
var_command='Warning!\n\nYou must run this command to finish the removal process or else you will not be able to reinstall Bluechery again\n***\necho DROP USER '$user'@'localhost' | mysql -h'${host:-localhost}' -u root -p\n***\n\n'
89+
printf "\x1b[31m$var_command\x1b[0m\n";
90+
}
91+
92+
warn_user_db
93+
94+
95+

debian/changelog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
bluecherry (3:3.1.0-rc6) focal bionic buster groovy hirsute bullseye; urgency=low
2+
3+
* FIX: Thumbnails are blank (#550)
4+
* FIX: Onvif triggering does not work (#547)
5+
* FIX: Onvif scanning does not work (#548)
6+
* FIX: Web UI freezes (#550)
7+
* FIX: Pulling snapshots via API returns no thumbnails (#551)
8+
9+
-- Curtis Hall <chall@corp.bluecherry.net> Sat, 09 Jun 2022 12:34:08 -0600
10+
11+
112
bluecherry (3:3.1.0-rc5) focal bionic buster groovy hirsute bullseye; urgency=low
213

314
* FIX: Frame based motion randomly stops in the middle of a motion event #(500)

misc/postinstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ case "$1" in
392392
fi
393393

394394
# If subdomain.conf exists don't use snakeoil
395-
395+
# mkdir -p /usr/share/bluecherry/nginx-includes
396396
if test -f "/usr/share/bluecherry/nginx-includes/subdomain.conf"; then
397397
sed -i 's/snakeoil.conf/subdomain.conf/g' /etc/nginx/sites-enabled/bluecherry.conf
398398
fi

server/v3license_processor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#define PRODUCT_DATA "MDM1MTY5MzZBN0VDRkQ3OTkxOEE4MEI5Nzk0NjQ0NDA=.Ir5Mm6ni/AAkaG7njv2SCTFATNsdqPcAeWWhj2AIAbKu5Tutp76zHNKMdtsjHCv77Frr9G8M8IuptUzsShaey8BbJnSCRItGvllojohTgWH0/qA3jtm4nnhoVhpeaaTc2cYUeAfuk3mbH9sDPJDkrSE6Oy/EhxQVQVyqK5N/ke3VBXomKfmWAwlVXys+OWi3hKIUynvTPHgMiZgpJJFG1I3iaCCmv7hkBPff+Lfwi4ZARKWDlvSJbXNeWiQLczhH/BVR5g9YPn0QmhcxIKd6AKRjk5GnLr1vlAVVbfPFmuC5SUaSrIEruTzjxZM0INmwLRpA5ND0C4ELgsw7Iez7W82RA+uiM8/CUdaSUxYDhLngv2iDG+inhV5STN9WCs41fpndtDBurIu0CGTk9F5G2zBhMcxzL2vZmwXOoyu4XvDd22p7jhuZnX+Pq0tHmW5/f9Ue+bMvzeiqSJQ7+apjqUDWBe9ZoBh7kM433vOjLb//WUK/HjNRC0KUop+Nq6z7aJRG867Yy56lN2hNa/9nCOFcHkZKBJThSovGbHysUW0g7IzpDrhmXXEAstNWiT4+oasT7xpYBrn2yFvwwmDjiA+Q52b4acs73U33IYocP2YmU0pmJZQfGJbn+4TLoPLCKSL+aqJgvpPPxdMLfqF6f51jAMkxHrmZedribNs+kwsLZY/jImeAfSCW1nv2YrZmVmu4Qt4gFT8HX+VBm+7V4P/NGa1jMUgLX1PpzlpwfC8="
88

99
#define PRODUCT_ID "9c5dcb22-b7a8-4f0c-9deb-c5426bfe6ae6"
10-
#define PRODUCT_VERSION "3.1.0-rc4"
10+
#define PRODUCT_VERSION "3.1.0-rc6"
1111

1212
#define METADATA_KEY "streams"
1313

utils/onvif_tool

10.4 MB
Binary file not shown.

www/ajax/media/mediaRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ public function getData()
2727
$event = $event[0];
2828
!empty($event['filepath']) or requestError('E: No media is associated with this event.');
2929

30-
$path_to_image = str_replace('mkv', 'jpg', $event['filepath']);
31-
$path_to_image = str_replace('mp4', 'jpg', $event['filepath']);
30+
// $path_to_image = str_replace('mkv', 'jpg', $event['filepath']);
31+
$path_to_image = str_replace('mp4', 'jpg', $event['filepath']);
3232
file_exists($path_to_image) or requestError('E: Screenshot for this event was not found');
3333
header('content-type:image/jpeg');
3434
readfile($path_to_image);

www/lib/mailer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function webhook_trigger($eventName, $deviceId = null, $payload = array()) {
209209

210210
if ($argv[1] == "motion_event") {
211211
#get path to image
212-
$path_to_image = str_replace('mkv', 'jpg', $event[0]['filepath']);
212+
$path_to_image = str_replace('mp4', 'jpg', $event[0]['filepath']);
213213

214214
# Check the case of such short recording that snapshotting delay hasn't
215215
# come, so making a snapshot afterwards

0 commit comments

Comments
 (0)