Jump to content

My users are becoming corrupted/can't log in HELP!


Go to solution Solved by doonze,

Recommended Posts

Posted (edited)

EDIT: My main user/admin just started working again out of nowhere. So... ??? but at least I have admin access again. The original corrupted user is still not working.

EDIT2: So now that I have admin back, I was looking through the logs and noticed HIS errors were user doesn't exist (mine was incorrect password), even though he shows on the login screen and in the admin window. I decided to try and change his userid and resave his user... just a shot in the dark to see what it did. I noticed there was a space at the end of his userid when I clicked on the text box. I removed the space and hit save. He's now working again. No idea why it suddenly stopped working a few days ago. And I had both manually tried to log in with his ID (of course with no space) and clicked on his name in the logon screen (where it should have had the space saved into the login). Anyway, issue resolved, just weird as hell. His account has worked for like 10 years with no changes, and now I had to remove a space. No one but me has admin access and I haven't done anything with his account in likely 5 years till today. So strange. But at least it's working.

 

So I'm running 4.8.11.0 on Linux. One of my heavier users hit me up saying they had been logged out, and when they tired to log back in, it gave an error about "wrong userid or password". I reset their password for them, and they got the same thing. I then tried logging into their account myself locally. Got the same thing.

For giggles, I clicked on the "forgot password" box (even though I had been resetting it in the admin interface), and it gave me a path on my server to find a .txt file with instructions. Followed that, entered in the URL it gave , and the pin it gave me. Said the user didn't exist. But the USER does exist in the users tab of the server admin menu. And shows up as a user on the login menu. 

While I was in there messing with users, I changed something in MY user (so it would show up in the user list when connecting remotely, I had turned that off years ago, but decided it didn't really add any safety as I have so many users) and now I'm getting the same thing he's getting. And biggest problem, MY account is the ONLY admin account. So ATM I'm locked out of server settings on my computer (for now, I'm still logged in on Android so can admin there). 

I can't seem to copy my logs from Termius to paste in the browser, but here is a screenshot of the errors MY account is now getting after changing one setting that had nothing to do with passwords, honestly, all I changed was the "shows on remote connection" setting.

image.thumb.png.caf88f95afe480ab0c2484e29349d706.png 

 

Seems on my other user, even changing the password to something I 100% know (as I just set it) still throws the "Password not correct" error as seen in the first line of that screenshot. I haven't tried resetting the password on MY user yet, as it didn't work on his account so I don't expect it will work on mine. 

All my other users (about 5 active ATM) are fine so far. They can log in, and I can log is as them. But nothing has been updated/changed on their users. Don't want to break anyone so not touching them.

Any ideas?

I do have a backup I can restore from this morning, when I was at least working. But I'm afraid it might kick me out of Android, and if I can't get back in after I'd have no admin access to my server anyore.

 

Edited by doonze
words and stuff
Posted

Hi, maybe the browser or device is auto-filling something incorrect?  The only thing we can really see from that little log snippet is that it appears an incorrect password was entered.

 

  • Solution
Posted

Seems somehow my users account picked up a space at the end magickly, but the logon tile didn't seem to have the space. I tried it many differnt ways, including maual login, and it just started working suddenly when I removed the space. I had been going to change his id just to see what happened, then I noticed the space and decided "meh, lets remove that and give it a try" What's so weird is I know I haven't changed anything with that user in over 5 years, and he has been working fine the whole time. His family uses my server daily. 

In retorspect, I think MY account wasn't working was because I was using the wrong password (think I was using my work password out of muscle memory) and I just assumed I was having the same issue he was. LOG confirmed pretty much his issues was "USER ID doesn't exist" while mine was "wrong password". 

So I think the only true issue was the mystery space. It will bug me forever how it got there, or if it was always there, why it worked until the other day. 

Eitehr way, issue resolved. So... all's well that ends well...

Posted

Thanks for following up. As part of the upcoming 4.9 server release, when you create a new user and leading or trailing spaces will be stripped off automatically, so this won't happen again.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...