This article will cover how to upgrade your current Snap Camera Server to the latest v3 release.
- Upgrading works by downloading the Latest v3.x Release
- Copy your current
ssl/
folder over to the new Server directory and create a new.env
file by copyingexample.env
- Removing/Uninstalling your current version inside Docker
- Start the new Server with Docker
- Just copy the
ssl/
folder from your old Server directory to the new Server directory. - If you imported any lenses you will also need to copy your
import/
folder over to your new server directory. - Create a new
.env
configuration file like the first time by making a copy of the templateexample.env
file.
Start your local Docker Dekstop application and complete these 3 steps one after the other.
- Remove the Container
- Remove the Image
- Remove the Volume
- Click on Containers and remove the
snap-camera-server
container by clicking the trash bin.
- Click on Images and remove the
snap-camera-server
image by clicking the trash bin.
- Click on Volumes and remove the
node-modules
volume by clicking the trash bin.
We need to tell Docker Desktop about our new Server.
Run this command with a Windows Powershell or Terminal inside your new server directory:
docker compose up
Awesome your done 🥳🎉