Comments (3)
@fititnt in principle the blank state comes already with the latest data structure so there is not need to run 'yarn migrate'. That said, its always safe to run migrate since it keeps track of the data version and won't alter anything if its already up to date.
So its safer to run it, in case a dev forgets to update the blank state after a breaking change, but the odds of that are super low.
from uwazi-docker.
Ah ok ok. It's not super critical, but will do it later.
from uwazi-docker.
Documented this strategy to do it on dockerized version. It is necessary because the normal run up we do not automate yarn migrate / yarn reindex, and in some cases (no major MongoDB/ElasticSearch database upgrade) this migth be sufficient.
docker compose run -e RUN_YARN_MIGRATE_REINDEX=true --rm uwazi
from uwazi-docker.
Related Issues (20)
- Store mongodb data on a docker volume
- Automate `yarn migrate` & `yarn reindex` routines on uwazi-docker HOT 1
- Minimal documentation on how to backup and restore with uwazi-docker HOT 1
- service mongo should not publish port 27017 HOT 5
- Document and/or change default behavior on uwazi-docker bind to :3000 for more than just localhost (e.g be public accessibly) HOT 5
- make elasticsearch behave HOT 5
- `FROM node:8-slim` stopped to work HOT 1
- use bind mounts instead of named volumes HOT 1
- Tests with updated version, Uwazi v1.4 HOT 1
- ElasticSearch 5.6 for Uwazi v1.4+ HOT 1
- Instructions or mechanism for upgrading HOT 1
- Jessie no longer works HOT 2
- Unmaintained deb package list, not starting HOT 7
- Use Debian Bookworm HOT 5
- rewrite build scripts to accommodate current releases HOT 2
- redis connection in broken state HOT 5
- Document how to start uwazi-docker with test data HOT 3
- Installation error? HOT 9
- Error when saving collection: Transaction numbers are only allowed on a replica set member or mongos HOT 1
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 uwazi-docker.