J3.x

J3.x:Doppelte Benutzernamen bereiten Probleme beim Update

From Joomla! Documentation

Revision as of 17:32, 10 March 2020 by Blueforce (talk | contribs)

Bei einigen Webseiten die auf Joomla! 3.9.16 aktualisieren, kann es aufgrund von doppelten Benutzereinträgen zu einem Datenbankfehler kommen. Wenn das passiert bitte nicht in Panik ausbrechen - Das Update wurde fast vollständig durchgeführt, nur die fehlende Datenbankänderung muss noch durchgeführt werden.

Berichtete Fehler

Benutzer erhalten einenUpdate-Fehler bezüglich einer fehlgeschlagenen Datenbankabfrage aufgrund eines doppelten Schlüssels in ihrer Datenbank #__users bei einem Upgrade von Joomla 3.9.15 oder älter.

Joomla 3.9.16 Upgrade Error

Betroffene Versionen

Allgemeine Informationen

Das gilt nur für Joomla! Version(en): 3.9.16

Was ist der Grund

Deine Webseite hat mehr als einen Benutzer in der #__users table with the same username, which is a security concern in that the incorrect account may be accessed by the wrong account owner.

How to fix

You will need to review your #__users table in your database and fix any duplicated usernames by either removing old user accounts or changing the username until all usernames are unique. Once this is finished, if you have already upgraded to 3.9.16 run the database schema fixer tool to finish the upgrade (this step is not required if you do this review prior to upgrading).

Joomla is unable to automatically determine the correct action to take and as a result is unable to perform this step for you - it has to be fixed by you as the site owner.

The following SQL Query can be run on your database to view which usernames are duplicated:

SELECT username FROM #__users GROUP BY username HAVING COUNT(*) > 1