DE EN EN (Google)

There is a big version jump in the Elasticsearch container (5.x to 7.x). For this reason a re-creation of the index is necessary. Normally the upgrade does not require any additional steps, but in individual cases problems may occur. More information can be found in section Elasticsearch 7.

Starting with version 5.76 (scheduled for release on 18.11.2020) easydb will only start with the newer PostgreSQL version 11. This cut is necessary to be able to use new features of PostgreSQL without endangering old installations. In addition, the old PostgreSQL version does not get security updates anymore. More information in the PostgreSQL 11 section.

Version 5.73.1

Published on 24.09.2020

Webfrontend

Improved

Server

Fixed

Version 5.73.0

Released on 09.16.2020

Webfrontend

New

Improved

Fixed

Server

New

Improved

New

Elasticsearch 7

The update comes with Elasticsearch 7, normally there should be no problems, except if

  "store" : {
    "throttle" : {
      "type" : "merge",
      "max_bytes_per_sec" : "50mb
    }
  },

Typically this is found in the file /srv/easydb/config/elastic_index_template.json.

    "mappings" : { },

After removing this line the template must be transferred to Elasticsearch:

curl -H 'content-type: application/json' -XPOST $ES_URL/_template/default -d@elastic_index_template.json

Replace ‘$ES_URL’ with for example http://localhost:9200 or wherever your Elasticsearch can be reached. Check the accessibility e.g. with the harmless listing of the indexes: curl http://localhost:9200/_cat/indices

config:
  "http.max_content_length": "200mb"
discovery-type: zen
config:
  "cluster.initial_master_nodes" [ "n1.example.com", "n2.example.com" ]

If these corrections are not sufficient, a look into the log of the Elasticsearch container (`docker logs easydb-elasticsearch’) is necessary, the errors there should give hints how to proceed with the options used there. In case of doubt, the Elasticsearch documentation should be consulted.

curl -XPUT -H 'Content-Type: application/json' http://localhost:9200/_cluster/settings -d '{"persistent": { "search.max_buckets": 262144 }}'
(http://localhost:9200 is an example address, but in many cases it works locally on the server).

Too many buckets

Additionally this should be included in the configuration file: (elasticsearch.yml

config:
  "search.max_buckets": 262144

Postgres 11

PostgreSQL version 11 is available for all customers since early 2020 and can be installed with this guide. Unfortunately the process is not automatic but requires a Linux administrator.

Starting with 5.76 (planned release date: 18.11.2020) the server makes a check on the PostgreSQL version and will not start if it is smaller than 11.

Checksums

Here are the checksums of our docker images (latest version):

docker.easydb.de/pf/chrome               sha256:d5f7a58adaac58a12222938ef95187f0bbdac4700131b1c3bfae21cf3ee6421e
docker.easydb.de/pf/eas                  sha256:f8e2775ad3dd8edd307ae3727813f464a9fd7d448a1c3136c09de7d6fb388284
docker.easydb.de/pf/elasticsearch        sha256:6306674fb15197ddb371cbc63827891cf4be36b33338b92026b6f3b79f9ddc03
docker.easydb.de/pf/fylr                 sha256:9eefa5355209c9fdf288f8be42887a3096a24f8ce9ff03f14a8edc9bd355ccfa
docker.easydb.de/pf/postgresql-11        sha256:47a1737d6895da0b5fe2e2d41318283a6597489e1b0fa58e299bdef533958e28
docker.easydb.de/pf/postgresql           sha256:9a2e45b364c8e9b2f68f4f5a3d945c7ac1eef00fbe1b046f108dc6cebd2ac5f8
docker.easydb.de/pf/server-base          sha256:85bc26c8f0529ca7bfa28e1b35c4570fefe807dc55150fa9c8d6e5a48e8f65e1
docker.easydb.de/pf/webfrontend          sha256:d48c782dd4a857e0abd404b8374603a623ecbaa4548632d8cfb2a867de3ad155

Translated with www.DeepL.com/Translator