Skip to content

Commit

Permalink
Unifi-video 3.9.11 release
Browse files Browse the repository at this point in the history
  • Loading branch information
exsilium committed Dec 27, 2018
1 parent 8fd8be4 commit b46c1b5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM phusion/baseimage:0.10.2

ENV DEBIAN_FRONTEND noninteractive

RUN curl -sS https://dl.ubnt.com/firmwares/ufv/v3.9.9/unifi-video.Ubuntu16.04_amd64.v3.9.9.deb > /tmp/unifi-video.deb
RUN curl -sS https://dl.ubnt.com/firmwares/ufv/v3.9.11/unifi-video.Ubuntu16.04_amd64.v3.9.11.deb > /tmp/unifi-video.deb

# Bring in the latest and greatest
RUN apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold"
Expand Down Expand Up @@ -51,4 +51,4 @@ CMD ["/sbin/my_init"]
# -p 7447:7447 \
# --name unifi-video \
# --restart=unless-stopped \
# exsilium/unifi-video:v3.9.9
# exsilium/unifi-video:v3.9.11
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.9.9`
- Run in Terminal: `docker pull exsilium/unifi-video:v3.9.11`

```
`$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
exsilium/unifi-video v3.9.9 1cbeb1e369da 44 minutes ago 869.9 MB
exsilium/unifi-video v3.9.11 1cbeb1e369da 44 minutes ago 869.9 MB
```

- (Optional) Download\Save `run.sh` from [here](https://raw.githubusercontent.com/exsilium/docker-unifi-video/v3.9.9/run.sh)
- (Optional) Download\Save `run.sh` from [here](https://raw.githubusercontent.com/exsilium/docker-unifi-video/v3.9.11/run.sh)
- Create the following host data directories under `~/Applications/unifi-video`
- `mkdir mongodb`
- `mkdir unifi-video`
Expand All @@ -46,18 +46,18 @@ exsilium/unifi-video v3.9.9 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.x.x to 3.9.9
## Upgrade from 3.x.x to 3.9.11

**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.9.9, a new port 7442 was added in v3.8 for secure camera communications. Make sure docker maps this new port when starting and that you handle any additional routing settings you may have to that port.
**NB!** Note that, when upgrading to v3.9.11, a new port 7442 was added in v3.8 for secure camera communications. Make sure docker maps this new port when starting and that you handle any additional routing settings you may have to that port.

- Stop the running container
- Backup your Host Data Volumes (`~/Applications/unifi-video`)
- Pull the latest image `docker pull exsilium/unifi-video:v3.9.9`
- Pull the latest image `docker pull exsilium/unifi-video:v3.9.11`
- Rename the old container to something else than `unifi-video`. Refer to [docker rename](https://docs.docker.com/engine/reference/commandline/rename/) command
- Update the `run.sh` to reflect the new version (v3.9.9)
- Update the `run.sh` to reflect the new version (v3.9.11)
- Start the new image against the same Host Data Volumes by using `run.sh` or manually calling `docker run` with appropriate arguments.

## Need help?
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BASEDIR=~/Applications/unifi-video
IP=0.0.0.0

NAME=unifi-video
VERSION=v3.9.9
VERSION=v3.9.11

# Run docker once to create a container and return the ID
# For following startups, use 'docker start <containerID>'
Expand Down

0 comments on commit b46c1b5

Please sign in to comment.