Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.93 KB

UPGRADING_v3.md

File metadata and controls

50 lines (35 loc) · 1.93 KB

Upgrade from Version 2.x to newest 3.x

This article will cover how to upgrade your current Snap Camera Server to the latest v3 release.

Getting started

  • 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 copying example.env
  • Removing/Uninstalling your current version inside Docker
  • Start the new Server with Docker

Copy files

  • 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 template example.env file.

Docker Desktop

Start your local Docker Dekstop application and complete these 3 steps one after the other.

  1. Remove the Container
  2. Remove the Image
  3. Remove the Volume

Remove the Container

  • Click on Containers and remove the snap-camera-server container by clicking the trash bin.

docker_containers_delete


Remove the Image

  • Click on Images and remove the snap-camera-server image by clicking the trash bin.

docker_images_delete


Remove the Volume

  • Click on Volumes and remove the node-modules volume by clicking the trash bin.

docker_volumes_delete

Start the new Server

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

Done

Awesome your done 🥳🎉