Ticket #575 (closed defect: fixed)
User system is blocking *everyone* - needs fixing urgently
Reported by: | ed | Owned by: | ed |
---|---|---|---|
Priority: | major | Milestone: | Maintenance |
Component: | Drupal modules & settings | Keywords: | |
Cc: | Estimated Number of Hours: | 0.0 | |
Add Hours to Ticket: | 0 | Billable?: | yes |
Total Hours: | 1.1 |
Description (last modified by ed) (diff)
Everyone who registers for the last two weeks is being blocked - check user list and see screengrab. Needs fixing promptly.
Attachments
Change History
Changed 3 years ago by ed
- Attachment Screen Shot 2013-07-31 at 15.37.51.png added
comment:2 Changed 3 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.35
- Total Hours changed from 0.0 to 0.35
Fixed... This was a side effect of a change BOA made to limit spam account creation (which to be fair can be hundreds/thousands of accounts per day). The issue where I complained and they refactored the approach is here for reference: Force user_register policy unless modules/disable_user_register_protection.info exists
Per the documentation at http://omega8.cc/how-to-change-account-registration-settings-273, I've created the appropriate control file like so:
[log in, sudo, totn] tn@puffin:~$ cd static/transition-network-d6-p005/sites/transitionnetwork.org tn@puffin:~/static/transition-network-d6-p005/sites/transitionnetwork.org$ touch disable_user_register_protection.info
This control file will prevent the nightly tasks tightening the user registration policy.
Ed, you can unblock the users at your leisure.
comment:3 Changed 3 years ago by jim
- Status changed from new to closed
- Resolution set to fixed
The control file is in the sites/transitionnetwork.org directory, which is copied in its entirety when a site is moved, migrated or cloned into a new platform. Hence this is a one-off fix.
This situation arose because the BOA team decided to include in the stable version, so the recent updates Chris did would have brought in the 'fix'. Note they regret the handling of this as it caused some pain and was not announced properly: https://drupal.org/node/2015553#comment-7621997
Anyway, all done, fixed.
comment:5 Changed 3 years ago by ed
- Priority changed from blocker to critical
- Status changed from closed to reopened
- Resolution fixed deleted
Re-opening this ticket as I'm seeing a *lot* of blocked accounts again, and getting moans.Please re-check:
https://www.transitionnetwork.org/admin/user/user/list
comment:6 Changed 3 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 0.35 to 0.6
So the settings here: https://www.transitionnetwork.org/admin/user/settings were "Visitors can create accounts but administrator approval is required." in "Public registrations" at the top.
If this happens again please set it to "Visitors can create accounts and no administrator approval is required."...
And let me know, I'll double-check the settings/punch BOA.
In the mean time the users that look kosha can be set to 'Active' at your leisure -- the users will get an email to say they can use the site.
comment:7 Changed 3 years ago by jim
- Owner changed from jim to ed
- Priority changed from critical to major
- Status changed from reopened to assigned
Reassigning to Ed so he can track and re-assign to me in case it happens again -- will investigate further if so...
comment:8 Changed 3 years ago by ed
- Status changed from assigned to closed
- Resolution set to fixed
good, thanks
comment:9 Changed 3 years ago by ed
- Status changed from closed to reopened
- Resolution fixed deleted
I think that this re-boot in #535 re-set the user settings - I had set them to 'Visitors can create accounts and no administrator approval is required.' before, then this happened, now the settings have changed to 'Visitors can create accounts but administrator approval is required.'.
comment:10 Changed 3 years ago by jim
- Status changed from reopened to closed
- Resolution set to fixed
OK my bad, the disable_user_register_protection.info file was in [platform]/sites/[tn.org], rather than the modules sub folder.
This meant the /var/xdrago/daily.sh script was locking our user registrations.
Now fixed... Hopefully this won't generate more load spikes due to spam registrrations... see last para of http://omega8.cc/how-to-change-account-registration-settings-273 for the BOA team's reasons for introducing this setting.
comment:11 Changed 3 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.5
- Total Hours changed from 0.6 to 1.1
Forgot my time
comment:12 Changed 3 years ago by ed
ta
screengrab of user list with everyone blocked