6.10.0. Can't root login after upgrading


Recommended Posts

Posted (edited)

Hello.

 

After upgrading to Unraid 6.10.0, I can no longer login via Web GUI, it always says “Invalid username or password”

I already tried:

resetting the password by deleting "config/shadow" and "config/smbpasswd",

after resetting, immediately changing the password in the dashboard,

different browsers.

 

Connecting via ftp works, but not the Web GUI.

 

What can I do?

 

Thanks!

 

Edit:

Reverted to 6.9.2, now the Web GUI login works again.

Edited by derou
Additional info
Link to comment

Sorry for the trouble. Two ideas:
* There may have been an issue with the URL being used to access the server. 6.10 is a bit more strict.
* It may have been as simple as needing to clear your browser cache.

 

See my response to this similar issue, I was able to give them more specific advice because they included their diagnostics:
  https://forums.unraid.net/topic/123783-6100-unable-to-log-in-via-web-gui-able-to-log-in-via-ssh/ 

 

Link to comment

Hi. Having the exact same issue as derou. Managed to downgrade to 6.9.2 by copying the content of the Previous folder to the root of the flash drive. In 6.9.2 I can log in without any problems with my root user.

Link to comment

Same problem here. Logging into the webui worked in 6.9.2, but not anymore with 6.10.1. Tried deleting browser cache, also tried to use the server name as URL. No luck. :-/

Link to comment
4 hours ago, Roi said:

Same problem here. Logging into the webui worked in 6.9.2, but not anymore with 6.10.1. Tried deleting browser cache, also tried to use the server name as URL. No luck. :-/

Went back to 6.9.2 and it worked right away. I was using USE_SSL="no", so this was not the problem here.

Link to comment

@Outcazt @RoiIf you are asking for help I will need to see your diagnostics.zip file (from Tools -> Diagnostics, or by typing `diagnostics` at an SSH prompt.) If you can get it from 6.10.1 that would be ideal, otherwise from 6.9.2 would still be helpful.

 

Also post the exact url (starting with either http:// or https:// ) that you are trying to use, and the exact behavior you are seeing (error message? can't login using a password you are sure is correct?)  

Link to comment
3 hours ago, ljm42 said:

@Outcazt @RoiIf you are asking for help I will need to see your diagnostics.zip file (from Tools -> Diagnostics, or by typing `diagnostics` at an SSH prompt.) If you can get it from 6.10.1 that would be ideal, otherwise from 6.9.2 would still be helpful.

 

Also post the exact url (starting with either http:// or https:// ) that you are trying to use, and the exact behavior you are seeing (error message? can't login using a password you are sure is correct?)  

Here you are. :-)

 

It is 6.9.2 anonymized - as I would to update and restart the machine again which I can only do if nobody from the family is around. ;-)

 

I use https://172.27.0.5 to login. But I did not USE_SSL="yes" until today, so I had the problem with http and https. I also tried to use the internal DNS name which did not work, too. The error message was, that either username or password is invalid. I also saw a message in syslog, unsuccessful login or something, I do not recall the exact phrase. But I found it in the php scripts for the website.

 

Oh and I also changed the root password to a simple password "pass" which did also not work.

basis-diagnostics-20220523-2055.zip

Link to comment
  • 4 weeks later...
On 5/28/2022 at 4:18 AM, Roi said:

It works with 6.10.2 - although I cannot see a fix matching my problem in the changelog. ;-)

 

It was most likely this line from the release notes:

  https://forums.unraid.net/topic/124108-unraid-os-version-6102-available/ 

 

  * webgui: fix issue where 'root' login works with password from another username which includes string 'root'

 

For more details see:

  https://forums.unraid.net/topic/124108-unraid-os-version-6102-available/#comment-1131854

 

Link to comment

 I agree... however, when I try to do just that, the USB stick is no longer recognized.... neither using windows (neither native, with the unraid flasher or with several other tools), nor using linux. Since I was able to boot unraid from it, I assume it Is this some VERY weird software bug. If my drive just would have died, that should not have been possible...

 

Any thoughts XP?

Link to comment

Sorry should have asked if you had a current backup. Assuming it is, all you need to get your configuration on a new install is the config folder from that backup. 

 

See if you can do that with that flash drive so you don't have to transfer license to a new one. 

Link to comment

I have several backups, the latest one right from before the migration, so that should not be an issue.

 

I guess I could do that, but I would probably order a new usb drive first, so as to avoid an old one having any issues. however, I would be a little sad that this upgrade (kind of) broke my usb drive. not the worst thing in the world, but still...

Link to comment
1 hour ago, RT87 said:

I would be a little sad that this upgrade (kind of) broke my usb drive

An upgrade is one time that quite a lot of data of written to the flash drive. in one go  If this 'breaks' the flash drive so it cannot even be seen in windows then that suggests that failure might have been imminent even without the upgrade.

Link to comment
1 hour ago, RT87 said:

true, but how come that I was still able to boot from it? The loader detected it just fine and the gui/shell came up as expected... just the PW didn't work :P

No idea.    If you can boot from it I would expect it to be readable in a PC/Mac but you said this was not the case.    Never before heard of being able to boot from it when it cannot be read in another machine as it is a standard FAT32 format which is nothing special. 

 

Link to comment

not sure what you mean by "original". the device itself does not get recognized, not a particular partition. gparted (e.g.) simply does not show anything but my regular internal drives.

Link to comment
  • 1 month later...
On 5/20/2022 at 7:52 PM, derou said:

Hello.

 

After upgrading to Unraid 6.10.0, I can no longer login via Web GUI, it always says “Invalid username or password”

I already tried:

resetting the password by deleting "config/shadow" and "config/smbpasswd",

after resetting, immediately changing the password in the dashboard,

different browsers.

 

Connecting via ftp works, but not the Web GUI.

 

What can I do?

 

Thanks!

 

Edit:

Reverted to 6.9.2, now the Web GUI login works again.

 

I ran in to the same issue, no "known password" will work for root. 

When i use SSH, the root password works just fine, just not for the web login for some unknown reason.  

 

I do not have any special characters in the password, just letters and numbers.

I use IP address to login in with.

 

Do i need to delete the 3 files to get back in?

config/passwd

config/shadow

config/smbpasswd

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.