You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Help:Force all users to log in afresh

From Wikitech-static
Jump to navigation Jump to search

In case you need to reset logins on wikitech, from labweb1001 or labweb1002:

$ sql labswiki
 mysql:wikiadmin@m5-master [labswiki]> truncate openstack_tokens;
$ mwscript resetUserTokens.php labswiki
$ sudo service memcached restart

Note: memcached needs to be purged on both labweb1001 and labweb1002 because session data is sharded between both instances.