From 04be04313f27cb816ee9f4f7c476a6af6d0a49cb Mon Sep 17 00:00:00 2001 From: Exile Date: Sun, 29 Dec 2019 21:29:07 +0000 Subject: [PATCH] Unifi-video 3.10.8 release --- Dockerfile | 4 ++-- README.md | 14 +++++++------- run.sh | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9adc694..f6927f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ FROM phusion/baseimage:0.11 ENV DEBIAN_FRONTEND noninteractive -RUN curl -sS https://dl.ubnt.com/firmwares/ufv/v3.10.7/unifi-video.Ubuntu18.04_amd64.v3.10.7.deb > /tmp/unifi-video.deb +RUN curl -sS https://dl.ubnt.com/firmwares/ufv/v3.10.8/unifi-video.Ubuntu18.04_amd64.v3.10.8.deb > /tmp/unifi-video.deb # Bring in the latest and greatest RUN apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold" @@ -51,4 +51,4 @@ CMD ["/sbin/my_init"] # -p 7447:7447 \ # --name unifi-video \ # --restart=unless-stopped \ -# exsilium/unifi-video:v3.10.7 +# exsilium/unifi-video:v3.10.8 diff --git a/README.md b/README.md index 5cd5fa6..1d9c025 100644 --- a/README.md +++ b/README.md @@ -19,15 +19,15 @@ Because /usr/local is reserved for Docker, the example demonstrates installation **NB!** If you receive permission errors when executing commands, precede them with `sudo` - Create the `~/Applications/unifi-video` directory -- Run in Terminal: `docker pull exsilium/unifi-video:v3.10.7` +- Run in Terminal: `docker pull exsilium/unifi-video:v3.10.8` ``` `$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE -exsilium/unifi-video v3.10.7 1cbeb1e369da 44 minutes ago 869.9 MB +exsilium/unifi-video v3.10.8 1cbeb1e369da 44 minutes ago 869.9 MB ``` -- (Optional) Download\Save `run.sh` from [here](https://raw.githubusercontent.com/exsilium/docker-unifi-video/v3.10.7/run.sh) +- (Optional) Download\Save `run.sh` from [here](https://raw.githubusercontent.com/exsilium/docker-unifi-video/v3.10.8/run.sh) - Create the following host data directories under `~/Applications/unifi-video` - `mkdir mongodb` - `mkdir unifi-video` @@ -46,7 +46,7 @@ exsilium/unifi-video v3.10.7 1cbeb1e369da 44 minutes ago By default, Docker provides network isolation and due to that the automatic discovery will not work. Directly access your camera IP and enter the host IP of your server where the unifi-video docker image is running. -## Upgrade from 3.9.12 to 3.10.7 +## Upgrade from 3.9.12 to 3.10.8 With the 3.10.x images, there has been some significant changes to underlying OS version and the bundled MongoDB version - this makes in place upgrade more challenging. @@ -54,11 +54,11 @@ With the 3.10.x images, there has been some significant changes to underlying OS **NB!** MongoDB will be upgraded from 2.6 to 3.6 **NB!** Make sure you are on v3.9.12 -- Use the Unifi-Video web interface to launch an upgrade, this upgrade will not finish successfully, but will upgrade the database collections to the new `v3.10.7` format +- Use the Unifi-Video web interface to launch an upgrade, this upgrade will not finish successfully, but will upgrade the database collections to the new `v3.10.8` format - Login to the docker container and make a `mongodump` of the `av` database. E.g: `mongodump --port 7441 -d av -o /var/lib/unifi-video/db.backup` - Shutdown the Docker container - Delete the requivalent of `/var/lib/unifi-video/db/*` from the Host volume -- Start the version v3.10.7 container +- Start the version v3.10.8 container - Upon start a new set of collections will be populated (similar to a new installation). Relogin to the container to import the previously created dump: `mongorestore --drop --port 7441 -d av /var/lib/unifi-video/db.backup/av` - Restart the container. @@ -67,7 +67,7 @@ With the 3.10.x images, there has been some significant changes to underlying OS **NB!** Always create a backup before trying to upgrade! **NB!** Upgrade scenarios over multiple versions have not been tested! **NB!** Make sure to read release notes prior to upgrade! -**NB!** Note that, when upgrading to v3.10.7 from previous minor version, you first need to upgrade to v3.9.12. +**NB!** Note that, when upgrading to v3.10.8 from previous minor version, you first need to upgrade to v3.9.12. - Stop the running container - Backup your Host Data Volumes (`~/Applications/unifi-video`) diff --git a/run.sh b/run.sh index 27ddcc3..ee68568 100755 --- a/run.sh +++ b/run.sh @@ -4,7 +4,7 @@ BASEDIR=~/Applications/unifi-video IP=0.0.0.0 NAME=unifi-video -VERSION=v3.10.7 +VERSION=v3.10.8 # Run docker once to create a container and return the ID # For following startups, use 'docker start '