Topic on Project:Support desk

G1fef (talkcontribs)

We have a working install of 1.30 here https://wiki.ampr.org

Trying to upgrade to 1.34, everything appears to go ok, but afterwards no users are able to login. When trying to login with the same username & password as before the upgrade the error is "Auto-creation of a local account failed: Username entered already in use. Please choose a different name." No errors seen in log files.

Anyone any ideas?

Thanks

MarkAHershberger (talkcontribs)

It looks like you just took your site offline. I was going to ask what extensions you have installed. Are you using native MediaWiki authentication?

Archaic Meander (talkcontribs)

Any further ideas on this? I have a brand-new installation and I'm getting the same error when trying to login. I'm the only user. I commented out all my modifications to localsettings.php to troubleshoot but it hasn't fixed the problem, and the only other modification I've made to the base installation is uploading files for extensions and themes.

TiltedCerebellum (talkcontribs)

Did you run the maintenance update script after upgrading?

Are you using the native MW authentication per the previous question above?


185.86.98.226 (talkcontribs)

I have same problem after upgrade my OS. I am not able to sing in. I already run update script, disable modifications and use native mw authentication. Does anybody have any idea?

Thank

213.81.173.106 (talkcontribs)

I have similar problem. I was using mediawiki 1.22 with LDAP authentication. I have upgraded to 1.34 and sign in process work properly. I have had to install new instance of mediawiki (same OS, PHP, MySQL, LDAP, ...), I used same configuration, but on new instance sign in process failed with "Auto-creation of a local account failed: Username entered already in use". I tried turn off LDAP authentication, but the same problem. Any idea? Thanks

Joroldr (talkcontribs)

I have same issue with Update from 1.31 to 1.35.1.

It failed due "Auto-creation of a local account failed: Username entered already in use. Please choose a different name." error.

User/pass worked before update. I started web update and the error shows up as a step of the upgrade process.

I use native MW authentication.

Any ideas?

Joroldr (talkcontribs)

I managed to solve my issue. It is a problem in web updater. When I started shell updater, it solved all my issues.

Cheers

Madewild (talkcontribs)

I had a similar problem after upgrading to 1.35.1 from an older version, and what solved it for me was to add

$wgSharedTables[] = 'actor';

to LocaleSettings.php as documented on Manual:Shared database. The actor table is new since 1.31 and it should also be shared across instances...

Seb35 (talkcontribs)

It has perhaps to be investigated further but sharing the tables 'actor' some time after sharing the 'user' table might lead to a desynchronization and a wrong attribution of some editions: e.g. when a_actor and b_actor are shared and a_actor is the new shared table, the old user actor_id = 3283 from b_actor is not the same username than actor_id = 3283 in a_actor.

Avin Shum (talkcontribs)

I hit this problem too. Finally, I found that I didn't perform "php update.php" to update the DB. After that it works fine.