Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poblems with lockdown extension #3

Closed
gbonazzoli opened this issue Oct 25, 2016 · 3 comments
Closed

Poblems with lockdown extension #3

gbonazzoli opened this issue Oct 25, 2016 · 3 comments
Assignees

Comments

@gbonazzoli
Copy link

On a mediawiki 1.27.1 with mediawiki-extensions-Lockdown-REL1_27.zip installed you get at the very first login the errors reported at the end of the email.

If you reload the page you get a mediawiki Permission error and if you press Login in the upper right corner of mediawiki you get a Cannot log in now - Logging in is not possible when using AuthRemoteuser sessions, but in reality you can enter the wiki, and from now on it works like a charm.

[5815c367bc2341d090091a85] /wikis/ced/index.php/Main_Page MWException from line 3811 of /samba/public/phpapps/wikis/ced/includes/user/User.php: CAS update failed on user_touched for user ID '2' (read from slave); the version of the user to be saved is older than the current version.

Backtrace:

#0 /samba/public/phpapps/wikis/ced/extensions/AuthRemoteuser/AuthRemoteuser.body.php(137): User->saveSettings()
#1 /samba/public/phpapps/wikis/ced/extensions/AuthRemoteuser/AuthRemoteuser.body.php(100): AuthRemoteuser->initUser(User, string)
#2 /samba/public/phpapps/wikis/ced/extensions/AuthRemoteuser/AuthRemoteuser.body.php(64): AuthRemoteuser->newSessionForRequest(string, WebRequest)
#3 /samba/public/phpapps/wikis/ced/includes/session/SessionManager.php(479): AuthRemoteuser->provideSessionInfo(WebRequest)
#4 /samba/public/phpapps/wikis/ced/includes/session/SessionManager.php(182): MediaWiki\Session\SessionManager->getSessionInfoForRequest(WebRequest)
#5 /samba/public/phpapps/wikis/ced/includes/WebRequest.php(700): MediaWiki\Session\SessionManager->getSessionForRequest(WebRequest)
#6 /samba/public/phpapps/wikis/ced/includes/session/SessionManager.php(121): WebRequest->getSession()
#7 /samba/public/phpapps/wikis/ced/includes/Setup.php(747): MediaWiki\Session\SessionManager::getGlobalSession()
#8 /samba/public/phpapps/wikis/ced/includes/WebStart.php(137): require_once(string)
#9 /samba/public/phpapps/wikis/ced/index.php(40): require(string)
#10 {main}
@fnk
Copy link
Contributor

fnk commented Oct 26, 2016

This seems to be related to this, unfixed, bug: https://phabricator.wikimedia.org/T95839
I'll try to work around this.

@fnk
Copy link
Contributor

fnk commented Oct 26, 2016

I cannot reproduce that bug but i know that one of my colleagues also had this problem and produced the exact same log entries.
I still think that is related to the bug mentioned above so i did some changes to catch this case.
Can you please pull 3d18945 and see if the problem persists?

Thanks,
Andi.

@fnk fnk self-assigned this Oct 26, 2016
@gbonazzoli
Copy link
Author

Hi Andreas,

it seems to work. I will check better tomorrow and let you know !

Thanks

On Wed, Oct 26, 2016 at 5:02 PM, Andreas Fink notifications@github.com
wrote:

I cannot reproduce that bug but i know that one of my colleagues also had
this problem and produced the exact same log entries.
I still think that is related to the bug mentioned above so i did some
changes to catch this case.
Can you please pull 3d18945
3d18945
and see if the problem persists?

Thanks,
Andi.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#3 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ68Dqlz9Buwbca4h5wpYeBge1LpWF0Eks5q32t_gaJpZM4KfhsA
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants