Skip to content
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

MISCONF Redis #11614

Closed
2 tasks done
tomkolp opened this issue May 10, 2024 · 8 comments
Closed
2 tasks done

MISCONF Redis #11614

tomkolp opened this issue May 10, 2024 · 8 comments
Labels
question This is more a question for the support than an issue.

Comments

@tomkolp
Copy link
Contributor

tomkolp commented May 10, 2024

Describe the issue

After this error, celery stops processing jobs. Maybe there is more useful information in sentry.


Request Method: | GET
-- | --
https://weblate.eso-spolszczenie.eu/
5.0.5
ResponseError
MISCONF Redis is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
/app/venv/lib/python3.12/site-packages/redis/connection.py, line 536, in read_response
weblate.trans.views.dashboard.home
/app/venv/bin/python
3.12.3
['/',  '/',  '/app/venv/bin',  '/usr/local/lib/python312.zip',  '/usr/local/lib/python3.12',  '/usr/local/lib/python3.12/lib-dynload',  '/app/venv/lib/python3.12/site-packages',  '/app/data/python']
Fri, 10 May 2024 04:02:03 +0200

I already tried

  • I've read and searched the documentation.
  • I've searched for similar filed issues in this repository.

Steps to reproduce the behavior

  1. Receives error notification via email
  2. Celery stops processing jobs.

Expected behavior

No response

Screenshots

No response

Exception traceback

No response

How do you run Weblate?

weblate.org service

Weblate versions

5.5.4-dev — 5067ae4cb050c601f6fb2fa396e19832931efd5e -- 5.5.4-dev — [5067ae4](https://github.com/WeblateOrg/weblate/commits/5067ae4cb050c601f6fb2fa396e19832931efd5e)

Weblate deploy checks

No response

Additional context

docker compose stop and docker compose up temporarily solve the problem

@nijel
Copy link
Member

nijel commented May 10, 2024

Did you check the Redis logs as the error suggests? Maybe the disk is full?

@nijel nijel added the question This is more a question for the support than an issue. label May 10, 2024
Copy link

This issue has been marked as a question by a Weblate team member. Why? Because it belongs more to the professional Weblate Care or community Discussions than here. We strive to answer these reasonably fast here, too, but purchasing the support subscription is more responsible and faster for your business. And it makes Weblate stronger as well. Thanks!

In case your question is already answered, making a donation is the right way to say thank you!

@tomkolp
Copy link
Contributor Author

tomkolp commented May 10, 2024

Where can I find the redis logs in Docker? I have about 5 GB of free space.

@nijel
Copy link
Member

nijel commented May 10, 2024

docker compose logs cache

@tomkolp
Copy link
Contributor Author

tomkolp commented May 10, 2024

I will check this log if the problem reoccurs. Currently, I only have logs available after restarting the container.

Edit:
The problem always occurs at night (this is the 3rd time, not every day). This may be related to the backup copy and there is indeed a lack of space.

@nijel
Copy link
Member

nijel commented May 11, 2024

Redis does dump it's content regularly and in that time it needs double disk space, check content of its volume to see how much it uses.

@tomkolp
Copy link
Contributor Author

tomkolp commented May 11, 2024

There was no mistake after the seat was cleared tonight. I think that was a real problem.

@tomkolp tomkolp closed this as completed May 11, 2024
Copy link

The issue you have reported is now resolved. If you don’t feel it’s right, please follow its labels to get a clue for further steps.

  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is more a question for the support than an issue.
Projects
None yet
Development

No branches or pull requests

2 participants