502 errors when renaming large (by topic count) categories

Thanks … but these tail'd logs are going a million mile an hour, I don’t think I’ll catch anything :smiley:

I just tried it again, with the /logs/ open, and there’s no new errors, just new warnings. Mostly:

  • “CSP Violation” in a number of different topics.
  • “Uncaught [object Object]” in ember_jquery
1 Like

Perhaps search the logs for the category name?

2 Likes

This happens with any category or one specific category?

If you create a new category and rename it the error happens?

3 Likes

Do your categories have a lot of posts?

3 Likes

Just tried renaming a smaller Category and it worked fine.

The one I’m trying to rename sure did.

Nothing there :confused:

3 Likes

Same issue as me then I guess:

3 Likes

Summary:

Something during category renames is touching every topic or every post and causing the operation to time out.

9 Likes

It looks related to the search stuff? That will indeed be very costly and should be moved into a background task.

5 Likes

Hope not, I fear there are already too many of those.

My server-side backups keep failing because even though they’re running at 2am (local time for the majority of users) there’s too much disk activity for it to complete.

…but I don’t want to get this off topic :smiley:

1 Like

It is this:

@tgxworld can you kick all the search work including setting version to 0 to a background job?

6 Likes

PR up at https://github.com/discourse/discourse/pull/11161.

EDIT: Merged :slight_smile:

10 Likes

This appears to be fixed in the latest update. Thanks team!

3 Likes