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

OpenSIS 9.0. Incorrect Username or password in first installation #289

Open
jmoyola opened this issue Apr 26, 2023 · 3 comments
Open

OpenSIS 9.0. Incorrect Username or password in first installation #289

jmoyola opened this issue Apr 26, 2023 · 3 comments

Comments

@jmoyola
Copy link

jmoyola commented Apr 26, 2023

After do a 9.0 new zero installation (Php8.1, Mariadb 10.3, relax mysql...), admin username and Whatever password is rejected to login in index.php...
I try with 9.0 tag code, last main code,... no with no luck

Thanks you and Good job.....

@fcortesjp
Copy link

Hi @jmoyola faced the same issue
here's a work around if you still have the old install on the server and if both your old and new install are working off the same database.

  1. If you still l have the folder with the previous install in which you were able to login, use that install to login as you used to.
  2. once login, switch to the folder with the new install and refresh.. the session form the previous install should get you in without entering your login user/pass
  3. once in, update your own admin password from the staff module like you would do for another user (do not use the reset your own password because your new install might not recognize the old password, which is needed if you use that route), the log out and log back in.. your new install should now work with the password just updated.

good luck

ps. I think this is due to a php upgrade.

@sayan-os4ed
Copy link
Contributor

Please use the updated code from the repo and check to see if you are still getting this error or not.

Thanks!

@mpx14
Copy link

mpx14 commented Feb 5, 2024

I tried latest code but still had an issue with both password missmatch and blank screen on login after succesful upgrade.

Another work around regarding the auth issue:

  1. Take backup of your upgraded database
  2. To access to your admin account you could do a fresh opensis install in a different database
  3. Copy the string from the password column coresponding to the admin user from the login_authentication table into your upgraded database.
  4. Log into your upgraded installation using the password you setup for the dummy install.

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

No branches or pull requests

4 participants