Musare upgrade process.
To install a new instance please see Installation.
./musare.sh backup
./musare.sh update
. If an update requires any configuration changes or database migrations, you will be notified.
configVersion
property.
backend/config/template.json
against backend/config/default.json
.frontend/dist/config/template.json
against frontend/dist/config/default.json
..env.example
against .env
../musare.sh stop backend
migration
to true
in backend/config/default.json
./musare.sh start backend
../musare.sh attach backend
../musare.sh stop backend
migration
to false
in backend/config/default.json
./musare.sh start backend
.git pull
cd frontend && npm install
cd ../backend && npm install
configVersion
property.
backend/config/template.json
against backend/config/default.json
.frontend/dist/config/template.json
against frontend/dist/config/default.json
.migration
to true
in backend/config/default.json
migration
to false
in backend/config/default.json
Make sure to always look at the upgrade/downgrade instructions in the MongoDB release notes before, and always make a full backup of your data before proceeding.
./musare.sh stop backend
)./musare.sh backup
)./musare.sh reset mongo
)
.db
folder inside the main Musare folder, you'll have to delete this folder yourself../musare.sh start mongo
)./musare.sh restore
)
./musare.sh start backend
)