misskey-dev / misskey-hub

Website for Misskey
https://misskey-hub.net
MIT License
285 stars 154 forks source link

Redis queue not emptying. #253

Closed codingneko closed 11 months ago

codingneko commented 1 year ago

Hello, my apologies for the English post, I can't speak a word of Japanese. I recently posted a note that has gotten a lot of traction and a few instances have clogged my "delayed" queue with 10k+ jobs. I went to try and empty it as these instances don't seem to respond, and I got this error.

image

Here is the full message:

{
    "error": "Internal server error",
    "message": "ERR user_script:20: attempt to compare number with nil script: 720d973b3877f92b4fb3285ced83c97cdd204979, on @user_script:20.",
    "details": "ReplyError: ERR user_script:20: attempt to compare number with nil script: 720d973b3877f92b4fb3285ced83c97cdd204979, on @user_script:20.\n    at parseError (/misskey/node_modules/.pnpm/redis-parser@3.0.0/node_modules/redis-parser/lib/parser.js:179:12)\n    at parseType (/misskey/node_modules/.pnpm/redis-parser@3.0.0/node_modules/redis-parser/lib/parser.js:302:14)"
}

I've only had to empty the queue one other time, but it was nearly empty already, and it was in version 1.13.9 I believe, and that time it worked fine. I guess this is either something to do with the large volume of jobs in my queue or with one or more specific jobs in it.

I'm using misskey Docker, following the instructions in your guide btw. My instance is here

I hope this is useful, if not feel free to ask for more details, I'll do my best to give insight :)

kakkokari-gtyih commented 1 year ago

This repository is for the documentation of Misskey; please reopen the issue in the development repository of Misskey itself!

https://github.com/misskey-dev/misskey