Skip to content
Snippets Groups Projects
Commit 095a7995 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Merge branch 'fix-migration-job' into 'master'

Do not clear cache in migration container die to session invalidation issues

See merge request !961
parents d3af5619 b28863c0
No related branches found
No related tags found
1 merge request!961Do not clear cache in migration container die to session invalidation issues
Pipeline #53907 passed
Pipeline: AlekSIS

#53910

    ......@@ -13,6 +13,7 @@ Fixed
    ~~~~~
    * Inviting newly created persons for registration failed
    * [Docker] Do not clear cache in migration container die to session invalidation issues
    `2.7.3`_ - 2022-02-03
    ---------------------
    ......
    ......@@ -48,11 +48,7 @@ wait_database() {
    prepare_database() {
    # Migrate database; should only be run in app container or job
    if aleksis-admin migrate --check >/dev/null 2>&1; then
    aleksis-admin migrate && \
    aleksis-admin clear_cache && \
    aleksis-admin createinitialrevisions
    fi
    aleksis-admin migrate && aleksis-admin createinitialrevisions
    }
    # Wait for database to be reachable under all conditions
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment