# 新用户无法注册

**URL:** https://meta.discourse.org/t/new-users-unable-to-sign-up/205210
**Category:** Support
**Created:** [2021年十月5日 00:15 UTC](https://meta.discourse.org/t/new-users-unable-to-sign-up/205210 "2021-10-05T00:15:50Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![debryc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/debryc/32/101652_2.png) [@debryc](https://meta.discourse.org/u/debryc)
#### Post date: [2021年十月5日 23:44 UTC](https://meta.discourse.org/t/new-users-unable-to-sign-up/205210/4 "2021-10-05T23:44:24Z")

</div>

我们的网站管理员通过这个论坛找到了解决方案！谢谢大家。

> [@Discourse DB Error When Creating New Users via SSO Login](https://meta.discourse.org/t/discourse-db-error-when-creating-new-users-via-sso-login/127442/2?u=debryc):
>
> This relates to this code: What happened here is that we amended the index on category user like so: Do you have a group that is both default watched and default tracked in site settings. Look at: default categories watching default categories tracking default categories muted and default categories watching first post, This fixes it: diff --git a/app/models/user.rb b/app/models/user.rb index c1a94949a6..85b2ca9244 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1390,10 +13…

---

_[View the full topic](https://meta.discourse.org/t/new-users-unable-to-sign-up/205210)._
