diff --git a/.github/workflows/ci_check_translations.yml b/.github/workflows/ci_check_translations.yml index 25259b2219..9f0a3cd2d3 100644 --- a/.github/workflows/ci_check_translations.yml +++ b/.github/workflows/ci_check_translations.yml @@ -25,7 +25,7 @@ jobs: - name: Start MongoDB uses: supercharge/mongodb-github-action@1.8.0 with: - mongodb-version: 4.2.6 + mongodb-version: 5.0.27 mongodb-replica-set: test-rs - uses: actions/checkout@v4 - name: Use Node.js diff --git a/.github/workflows/ci_e2e_cypress.yml b/.github/workflows/ci_e2e_cypress.yml index 77dfe06ce2..70f9caa62f 100644 --- a/.github/workflows/ci_e2e_cypress.yml +++ b/.github/workflows/ci_e2e_cypress.yml @@ -30,7 +30,7 @@ jobs: - name: Start MongoDB uses: supercharge/mongodb-github-action@1.8.0 with: - mongodb-version: 4.2.6 + mongodb-version: 5.0.27 mongodb-replica-set: test-rs - name: Checkout reposistory uses: actions/checkout@v4 diff --git a/.github/workflows/ci_e2e_puppeteer.yml b/.github/workflows/ci_e2e_puppeteer.yml index 4830cd716a..dcfc5cdd2f 100644 --- a/.github/workflows/ci_e2e_puppeteer.yml +++ b/.github/workflows/ci_e2e_puppeteer.yml @@ -29,7 +29,7 @@ jobs: - name: Start MongoDB uses: supercharge/mongodb-github-action@1.8.0 with: - mongodb-version: 4.2.6 + mongodb-version: 5.0.27 mongodb-replica-set: test-rs - name: Checkout reposistory uses: actions/checkout@v4 diff --git a/.github/workflows/ci_unit_tests.yml b/.github/workflows/ci_unit_tests.yml index e8cc7c2f26..9ba402f631 100644 --- a/.github/workflows/ci_unit_tests.yml +++ b/.github/workflows/ci_unit_tests.yml @@ -50,7 +50,7 @@ jobs: - name: Start MongoDB uses: supercharge/mongodb-github-action@1.8.0 with: - mongodb-version: 4.2.6 + mongodb-version: 5.0.27 mongodb-replica-set: uwazi_replica_set mongodb-port: 27017 diff --git a/README.md b/README.md index 9e79be1b27..b0f8e2a6bd 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Before anything else you will need to install the application dependencies: - **ElasticSearch 7.17.6** https://www.elastic.co/downloads/past-releases/elasticsearch-7-17-6 Please note that ElasticSearch requires Java. Follow the instructions to install the package manually, you also probably need to disable ml module in the ElasticSearch config file: `xpack.ml.enabled: false` - **ICU Analysis Plugin (recommended)** [installation](https://www.elastic.co/guide/en/elasticsearch/plugins/current/analysis-icu.html#analysis-icu) Adds support for number sorting in texts and solves other language sorting nuances. This option is activated by setting the env var USE_ELASTIC_ICU=true before running the server (defaults to false/unset). -- **MongoDB 4.2** https://docs.mongodb.com/v4.2/installation/ . If you have a previous version installed, please follow the instructions on how to [upgrade here](https://docs.mongodb.com/manual/release-notes/4.2-upgrade-standalone/). The new mongosh dependency needs to be added [installation](https://www.mongodb.com/docs/mongodb-shell/). +- **MongoDB 5.0.27** https://docs.mongodb.com/v4.2/installation/ . If you have a previous version installed, please follow the instructions on how to [upgrade here](https://docs.mongodb.com/manual/release-notes/4.2-upgrade-standalone/). The new mongosh dependency needs to be added [installation](https://www.mongodb.com/docs/mongodb-shell/). - **Yarn** https://yarnpkg.com/en/docs/install. - **pdftotext (Poppler)** tested to work on version 0.86 but it's recommended to use the latest available for your platform https://poppler.freedesktop.org/. Make sure to **install libjpeg-dev** if you build from source. diff --git a/docker-compose.yml b/docker-compose.yml index dda982ec6a..f7fdfbb557 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,7 +17,7 @@ services: - cluster.routing.allocation.disk.threshold_enabled=false mongo: - image: "mongo:4.2" + image: "mongo:5.0.27" container_name: uwazi-mongo command: mongod --replSet "uwazi_replica_set" volumes: @@ -26,7 +26,7 @@ services: - '27017:27017' mongoreplicaset_start_script: - image: "mongo:4.2" + image: "mongo:5.0.27" restart: "no" container_name: mongoreplicaset_start_script depends_on: