-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
matrix-synapse-auto-compressor.service: Failed #3397
Comments
Sounds like an issue with the tool itself. Consider reporting to its repository. |
yeah thx. found an issue on that. Will try the almost "crazy" workaround: edit: the mentioned sql script fixes the issue for me. |
That script also worked for me, but I adapted it slightly so that it "just works" on this deployment. But I also needed to adapt the Patchesdiff --git a/compress-fix.sh.old b/compress-fix.sh
--- a/compress-fix.sh.old
+++ b/compress-fix.sh
@@ -15,16 +15,11 @@
set -e -u -o pipefail
-export PGHOST=$1
-export PGDATABASE=$2
-export PGUSER=$3
-export PGPASSWORD=$4
-
SCRIPT=$(basename $0)
echo "[$(date -u '+%Y-%m-%dT%H:%M:%SZ') INFO ${SCRIPT}]" Starting
-psql <<_EOF
+/matrix/postgres/bin/cli-non-interactive synapse <<_EOF
BEGIN;
DELETE diff --git a/matrix/postgres/bin/cli-non-interactive.old b/matrix/postgres/bin/cli-non-interactive
--- a/matrix/postgres/bin/cli-non-interactive.old
+++ b/matrix/postgres/bin/cli-non-interactive
@@ -1,6 +1,7 @@
#!/bin/bash
docker run \
+ --interactive \
--rm \
--user=987:1002 \
--cap-drop=ALL \ |
fixed: #3473 |
Describe the bug
A long time, "my" auto-compressor was running.
Today I checked my server and I found this error:
not sure, whther this is a "this-playbook-issue"...
To Reproduce
matrix-synapse-auto-compressor
systemctl start matrix-synapse-auto-compressor
The text was updated successfully, but these errors were encountered: