Re: [MediaWiki-l] Can't log in when in "Read Only" mode
The database itself is not in read-only mode, only the wiki is being prevented from being edited. As I stated earlier, this worked on earlier versions. Sounds like I need to upgrade to v1.30+ in order to have this work once again, is that correct? Thanks Daryl On Fri, Feb 23, 2018 at 11:55 AM, Bartosz Dziewoński wrote: > If your sessions are stored in the database, then the users won't be able > to log in while the database is read only. See: > https://www.mediawiki.org/wiki/Manual:$wgSessionCacheType > > Amanda's response is incorrect. > > > -- > Matma Rex > ___ > MediaWiki-l mailing list > To unsubscribe, go to: > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [MediaWiki-l] Can't log in when in "Read Only" mode
My response is not incorrect. Your response is correct in this particular situation. However, the error message described by the initial OP is a known bug in other circumstances. — Amanda On Friday, February 23, 2018, 12:55 PM, Bartosz Dziewoński wrote: If your sessions are stored in the database, then the users won't be able to log in while the database is read only. See: https://www.mediawiki.org/wiki/Manual:$wgSessionCacheType Amanda's response is incorrect. -- Matma Rex ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [MediaWiki-l] Can't log in when in "Read Only" mode
If your sessions are stored in the database, then the users won't be able to log in while the database is read only. See: https://www.mediawiki.org/wiki/Manual:$wgSessionCacheType Amanda's response is incorrect. -- Matma Rex ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [MediaWiki-l] Can't log in when in "Read Only" mode
Hi, That’s nothing to do with the ReadOnly mode. That error message is a bug with the overall login system, including WMF CentralAuth. It has been reported to happen on many wikis, including production systems like wiki farms. I believe an attempt to fix the bug has been made in version 1.30 or version 1.31, but I’m not positive on that. Usually what I’ve found is that if you DON’T “go back and refresh the previous page” and just login again immediately after seeing that error message, the second time it will be successful. — Amanda On Friday, February 23, 2018, 10:08 AM, Daryl Rose wrote: I'm on version 1.29.2. Users are not able to log onto the wiki when using the $wgReadOnly variable. "$wgReadOnly = 'Down for maintenance, access will be restored shortly';" Users see the following message: There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Go back to the previous page, reload that page and then try again. In a previous version, we were able to set this variable and users were able to log in, view the wiki, but just not able to make any changes or updates. We had just recently upgraded to v1.29.2, but I don't remember for sure what the previous version was. Perhaps it was 1.26.x, just not a hundred percent sure. I just know that it worked. Any suggestions? Thanks Daryl ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l