Questions and Answers

0 Dislike

Leigh Noble

Username mismatch error during registration

A user encountered the following error when creating a 4 letter username with lowercase letters only.

There seems to be the following issue(s) with your user account:
Username mismatch error, please contact system administrator to fix your account.

Has anyone else experienced this error? The account appears fine from the backend and the user can login to the front end. Is there something else the System Admin should look for?

Report abuse

Chosen Answer

  1. 0 Like 0 Dislike

    Martin Paulo

    I ran into this as well. A look at the code reveals that HubZero is comparing the user id in the database against the user id in the underlying operating system. If the two don't match this error message is shown.
    To fix it I made a note of the user id shown in the Users -> Members manager, then at the command line on the system confirmed that they were different:

    $ id -u alan
    501

    Having done that I updated the users system id to match that in the database:

    $ usermod -u 1001 alan

    And the problem was solved. Of course if that user id was already in use for another user I would have had some more work to do :)

     

    Reply Report abuse

    Please login to answer the question.

0 Responses

No other responses made.

  • Copyright © 2022 Hubzero
  • Powered by Hubzero®