Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Highlights:

AAM-1189: Upgrade mongodb

...

AAM-1043: Clear temporary files using phantom queue

Tasks:

AAM-1189: Upgrade mongodb

...

AAM-1043: Clear temporary files using phantom queue

Bugs:

AAM-1188: Selected language will be displayed in the archive manager

...

AN-1185: Unable to export large projects.

Stories:

AAM-1144: As a Starbas migrator I want to keep and continue with the legacy IDs I had in the old system to avoid printing new labels for all my archive units

...

AN-1708: As an Asta7 user, I want to reduce the number of clicks required to print separator sheets

SQL Fixes:

Code Block
docker compose down

if [ "$1" = "backup" ]
then
    echo "Taking backup"
    docker volume create asta7_am-mongodbdata_backup
    docker run --rm -v asta7_am-mongodbdata:/from -v asta7_am-mongodbdata_backup:/to alpine ash -c "cd /from ; cp -av . /to"
fi


sed -i '417s/.*/      test: test $$(echo "rs.initiate().ok || rs.status().ok" | mongo -u $${MONGO_INITDB_ROOT_USERNAME} -p $${MONGO_INITDB_ROOT_PASSWORD} --quiet) -eq 1/g' docker-compose.yml 
sed -i 's/MONGO_VERSION=6.0.8/MONGO_VERSION=4.2.3/g' .env

docker compose up -d mongodb
sleep 50
set +e
docker exec -it am-mongodb mongo --username admin --password admin --eval "db.adminCommand({shutdown : 1, force : true})"
set -e

sed -i 's/MONGO_VERSION=4.2.3/MONGO_VERSION=4.4/g' .env
docker compose stop mongodb
docker compose up -d mongodb
sleep 50

docker exec -it am-mongodb mongo --username admin --password admin --eval "db.adminCommand( { setFeatureCompatibilityVersion: \"4.4\" } )"

set +e
docker exec -it am-mongodb mongo --username admin --password admin --eval "db.adminCommand({shutdown : 1, force : true})"
set -e

sed -i 's/MONGO_VERSION=4.4/MONGO_VERSION=5.0.19/g' .env 
docker compose stop mongodb
docker compose up -d mongodb
sleep 50

docker exec -it am-mongodb mongo --username admin --password admin --eval "db.adminCommand( { setFeatureCompatibilityVersion: \"5.0\" } )"

set +e
docker exec -it am-mongodb mongo --username admin --password admin --eval "db.adminCommand({shutdown : 1, force : true})"
set -e

git checkout docker-compose.yml
sed -i 's/MONGO_VERSION=5.0.19/MONGO_VERSION=6.0.8/g' .env 
docker compose stop mongodb
docker compose up -d mongodb
sleep 50
docker exec -it am-mongodb mongosh --username admin --password admin --eval "db.adminCommand( { setFeatureCompatibilityVersion: \"6.0\" } )"

cd client
npm i --legacy-peer-deps

Install-package:

View file
nameasta7-1.54.3.zip

How to upgrade:

Upgrade from 1.53 to 1.54

...