After I restored the data through the backup file, the website could not obtain the new user registration review information.
Specifically, I can find the users waiting for review in the user list, but there is no data in the review interface. This happened after I imported the backup. My forum cannot correctly obtain the new user review information. How should I deal with it?
Hi, we would more information. What page are you trying to access ? Any error in the browser console? Any error in /logs ?
I tried accessing /admin/users/list/pending and /review?sort_order=score but nothing about review users.
There are no obvious related errors in the log interface
It seems that there are some more serious failures.
The forum is now unable to process any registration activities. I chose to send activation emails to new users, but no emails were sent.
However, my SMTP service is normal and can send test emails.
From your logs it seems like sidekiq is very often restarting due to memory issues.
Does sidekiq failure cause the problems I mentioned, because these problems don’t seem to be related
Some of the problems you mentioned certainly happen in a job (sidekiq) making sure sidekiq is working correctly should help this at least.
Because this failure often occurs
If Sidekiq is frequently restarted, it will lead to the inability to properly handle new user registrations and audit them, so how should I ensure that all services are running normally?
But to be honest, I don’t think it’s this component that causes bugs in many places
Because it takes a long time to not receive new user audit events, especially when I migrate data from one server to a new server
Since then, many bugs have appeared, but before migrating data, this error sidekiq restart has already appeared
I can guarantee that the old website has been stopped before the data migration.
I suspect that the database may have an abnormality during the migration process, but I cannot confirm the specific cause of this situation.