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

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

parent d3af5619
No related branches found
No related tags found
1 merge request!961Do not clear cache in migration container die to session invalidation issues
Pipeline #53903 passed
...@@ -13,6 +13,7 @@ Fixed ...@@ -13,6 +13,7 @@ Fixed
~~~~~ ~~~~~
* Inviting newly created persons for registration failed * 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 `2.7.3`_ - 2022-02-03
--------------------- ---------------------
......
...@@ -48,11 +48,7 @@ wait_database() { ...@@ -48,11 +48,7 @@ wait_database() {
prepare_database() { prepare_database() {
# Migrate database; should only be run in app container or job # 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 createinitialrevisions
aleksis-admin migrate && \
aleksis-admin clear_cache && \
aleksis-admin createinitialrevisions
fi
} }
# Wait for database to be reachable under all conditions # 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