Comments (2)
You can just pull the newest image and it will upgrade fine, the new volume layout is a separate issue entirely.
The new volume layout should be entirely backwards compatible with the old, it just provides a cleaner way of organizing the data to allow you to put data and log in a single volume.
You have a couple of options if you want to move to the new layout, the easiest is to only move your data volume line. The new docker run command would look like
docker run -d -p 3478:3478/udp -p 8080:8080 -p 8443:8443 -v /volume1/docker/unifi/:/unifi/data --restart=always --name unifi jacobalberty/unifi:latest
The other option is to move the contents of /volume1/docker/unifi as a whole into a data subdirectory. Something like
mkdir -p /volume1/docker/unifi2/
mv /volume1/docker/unifi /volume1/docker/unifi2/data
mv /volume1/docker/unifi2 /volume1/docker/unifi
then your docker run command would be
docker run -d -p 3478:3478/udp -p 8080:8080 -p 8443:8443 -v /volume1/docker/unifi/:/unifi --restart=always --name unifi jacobalberty/unifi:latest
This would give you the advantage of having your log files and data folder preserved under /volume1/docker/unifi.
Of course to just upgrade from 5.5.24 to 5.6.xx you don't have to do any of this, the new version of the image is backwards compatible with the old volume layout.
from unifi-docker.
Well, that is a very complete answer, thank you so much ! I think i will try the new layout on a test environment. Thank you again for your time and information 🥇
from unifi-docker.
Related Issues (20)
- Unable to open sed temporary files using virtiofs mount HOT 1
- UniFi Network Application 8.1.127 HOT 5
- Old version referenced in text on hub.docker.com HOT 3
- Mongo UnixDomainSocket now placed on /unifi HOT 1
- docker on QNAP NAS won't start if volume is bound externally HOT 2
- Update to 8.2.93 HOT 23
- Custom Certificate import fails on certificates that aren't issued through letsencrypt, and a chain file isn't supplied. HOT 1
- Dockerhub images don't support RaspberryPi anymore HOT 2
- Run fails with "no matching manifest for linux/arm/v8" on Raspberry Pi 4 HOT 2
- Enable AP log collection for this docker container HOT 1
- Document how to limit Mongo memory HOT 2
- No devices found HOT 5
- Looses Configuration on upgrade HOT 1
- UniFi Network Application 8.4.59 HOT 2
- Is it possible to include the Unifi Talk and other applications in the docker image?
- Need help to make the hotspot available via domain setting
- docker-compose.yml HOT 2
- Restore issue, devises are offilene
- Routing features from 8.3.32 not available
- Routing features from 8.3.32 not available HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unifi-docker.