Git Product home page Git Product logo

Comments (5)

Nico640 avatar Nico640 commented on August 17, 2024

Hi,

do you actually use a docker volume or do you simply mean a local directory that get's passed to the container? Do you use docker compose or did you initially simply start UISP with docker run ...? Can you post the command used for starting / the docker compose file?

A normal update would look something like this:

First of all, make sure to download the latest backup directly from the UISP web interface.

I suggest updating one major version at a time, because Ubiquiti's install script also doesn't allow you to skip major versions as far as I know.

Example for updating without docker compose to 1.7.5 (then 2.2.15, latest)

sudo docker pull nico640/docker-unms:1.7.5
sudo docker stop unms
sudo docker rm unms
docker run -d --name unms -p 80:80 -p 443:443 -p 2055:2055/udp -v </path/to/config>:/config nico640/docker-unms:1.7.5

from docker-unms.

rtucker666 avatar rtucker666 commented on August 17, 2024

from docker-unms.

rtucker666 avatar rtucker666 commented on August 17, 2024

from docker-unms.

Nico640 avatar Nico640 commented on August 17, 2024

Hi,

im not very familiar with Docker Desktop or Docker Volumes.
If your Docker Desktop installation is using the WSL 2 backend, which you can check in the Docker Desktop settings under Resources, then you should be able to move the whole WSL 2 linux VM to a different location somehow like this: https://dev.to/kim-ch/move-docker-desktop-data-distro-out-of-system-drive-4cg2

If you are not using the WSL 2 backend, then I think you can simply change the location in the Docker Desktop Resources settings, though I am not sure if that will retain the existing data. If not, you might need to export and later import the volume, e.g. https://docs.docker.com/storage/volumes/#back-up-restore-or-migrate-data-volumes (shutdown UISP prior to doing this)

Also, don't forget to download a UISP backup before doing any of this, so that you can always roll back if something goes wrong. Also, because your UISP data seems to be very important, I guess it wouldn't hurt to also export the volume (second link) in addition to downloading a UISP backup, so that there a two separate backups.

from docker-unms.

rtucker666 avatar rtucker666 commented on August 17, 2024

from docker-unms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.