-
-
Notifications
You must be signed in to change notification settings - Fork 72
Upgrading Server v2.x to v3.x
Patrick Trumpis edited this page Apr 6, 2025
·
2 revisions
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.envfile 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
.envconfiguration file like the first time by making a copy of the templateexample.envfile.
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-servercontainer by clicking the trash bin.
- Click on Images and remove the
snap-camera-serverimage by clicking the trash bin.
- Click on Volumes and remove the
node-modulesvolume 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 --buildAwesome your done 🥳🎉