Why does the user list remain empty?

I have a fresh Discourse installed on DigitalOcean (followed ssh instructions)

After creating 5 users, and visiting /users page it always “No results were found.”
What could be wrong? This happens for both logged in and logged out users. Also settings box is ticked to show users list.

1 个赞

What TL are the new users? I believe it filters out TL 0 users. Plus that page is very heavily cached and requires a job to run in Sidekiq (IIRC)

1 个赞

They are a mix of users. Some are even admins.

Like @cpradio said this page is updated in a background job. I would ensure sidekiq is properly running and wait for 24 hours for the job to run.

1 个赞

regategorizing as feature, it is working as designed, there is a delay there. If you want it any faster there is a huge and complex cost involved.

1 个赞

Is it there a way to force that background job to run on a local setup? I have the same issue in my development environment I have added few users to different levels also make those users create some topics but my users list its empty.

Of course, tomorrow may get solved, but other fellows may need this in order to develop something and it will be annoying try to wait for such long time.

Cheers!

1 个赞

Solution is here: User list can not be displayed

能否提示一下具体是哪个任务,以便我强制执行?我已经查看了 /sidekiq/schedulerapp/jobs,但仍未找到。

另外,在确认此功能在测试环境中运行正常后,如果企业客户希望运行该任务,他们是否可以通过电子邮件向支持团队提出请求?

编辑:找到了:Jobs::DirectoryRefreshDaily

但是 /u 仍然没有列出所有活跃用户。

编辑:另请参阅 Jobs::DirectoryRefreshOlder

7 个赞