diff --git a/server-ce/cron/project-history-retry-soft.sh b/server-ce/cron/project-history-retry-soft.sh index 3568648085..32f7bce169 100755 --- a/server-ce/cron/project-history-retry-soft.sh +++ b/server-ce/cron/project-history-retry-soft.sh @@ -8,4 +8,4 @@ echo "-----------------------------------" PROJECT_HISTORY_URL='http://localhost:3054' -curl -X POST "${PROJECT_HISTORY_URL}/retry/failures?failureType=hard&timeout=3600000&limit=10000" +curl -X POST "${PROJECT_HISTORY_URL}/retry/failures?failureType=soft&timeout=3600000&limit=10000" diff --git a/server-ce/hotfix/3.5.13/Dockerfile b/server-ce/hotfix/3.5.13/Dockerfile new file mode 100644 index 0000000000..0ae5f77eed --- /dev/null +++ b/server-ce/hotfix/3.5.13/Dockerfile @@ -0,0 +1,5 @@ +FROM sharelatex/sharelatex:3.5.12 + +# Patch: fix soft history retry in cron job +COPY history_soft_retry.patch . +RUN patch -p0 < history_soft_retry.patch diff --git a/server-ce/hotfix/3.5.13/history_soft_retry.patch b/server-ce/hotfix/3.5.13/history_soft_retry.patch new file mode 100644 index 0000000000..a28855ff41 --- /dev/null +++ b/server-ce/hotfix/3.5.13/history_soft_retry.patch @@ -0,0 +1,8 @@ +--- cron/project-history-retry-soft.sh ++++ cron/project-history-retry-soft.sh +@@ -8,4 +8,4 @@ echo "-----------------------------------" + + PROJECT_HISTORY_URL='http://localhost:3054' + +-curl -X POST "${PROJECT_HISTORY_URL}/retry/failures?failureType=hard&timeout=3600000&limit=10000" ++curl -X POST "${PROJECT_HISTORY_URL}/retry/failures?failureType=soft&timeout=3600000&limit=10000" diff --git a/server-ce/hotfix/4.1.3/Dockerfile b/server-ce/hotfix/4.1.3/Dockerfile new file mode 100644 index 0000000000..ed1c9ffb6f --- /dev/null +++ b/server-ce/hotfix/4.1.3/Dockerfile @@ -0,0 +1,5 @@ +FROM sharelatex/sharelatex:4.1.2 + +# Patch: fix soft history retry in cron job +COPY history_soft_retry.patch . +RUN patch -p0 < history_soft_retry.patch diff --git a/server-ce/hotfix/4.1.3/history_soft_retry.patch b/server-ce/hotfix/4.1.3/history_soft_retry.patch new file mode 100644 index 0000000000..a28855ff41 --- /dev/null +++ b/server-ce/hotfix/4.1.3/history_soft_retry.patch @@ -0,0 +1,8 @@ +--- cron/project-history-retry-soft.sh ++++ cron/project-history-retry-soft.sh +@@ -8,4 +8,4 @@ echo "-----------------------------------" + + PROJECT_HISTORY_URL='http://localhost:3054' + +-curl -X POST "${PROJECT_HISTORY_URL}/retry/failures?failureType=hard&timeout=3600000&limit=10000" ++curl -X POST "${PROJECT_HISTORY_URL}/retry/failures?failureType=soft&timeout=3600000&limit=10000"