January 17, 20215 yr The Facts. When to login one day. PW failed. I use a PW manager. Thought maybe my PW manager was corrupted. Checked backup. PW was correct. Followed the steps listed in Password Recovery. Issues persists. After following these above steps. Unraid login UI presents the following errors Warning: file(/etc/nginx/htpasswd): failed to open stream: No such file or directory in /usr/local/emhttp/login.php on line 23 Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/login.php on line 23 SSH into the server with ROOT and null as PW. nano /usr/local/emhttp/login.php line 23 foreach (file('/etc/nginx/htpasswd') as $strCredentials) /etc/nginx/htpasswd - no such file or directory. ls -a - nope find: ‘htpasswd’: No such file or directory it looks like I lost/destroyed/corrupted this file somehow. Final attempt - from the console on the server login as ROOT - "passwd" - change root PW... PW accepted. Restart. Issue persists. Possible Solutions. Create a new install on a new USB.. My current usb is about 5 years old. I have not researched what the effects of this would be. Darsy Posted March 5, 2020 https://forums.unraid.net/topic/88712-i-cant-login/ (highly unrecommended by admin team... however does work). Create the htpasswd file directly on the USB. Not sure what this would entail Change line 23 to point to a different dir. Unsure of the ramifications Side Note - Did not solve problem https://forums.unraid.net/topic/88712-i-cant-login/ On 5/4/2020 at 3:42 AM, karoldo said: So what do you recommend? I have the same problem... EDIT: OK rebooting in safe mode and using "passwd" did the trick thx Thanks in advance... Open to all helpful suggestions, comments, and/or questions. Edited January 17, 20215 yr by icarus44_zer0 updated troubleshooting steps
January 17, 20215 yr Author SOLVED: From the terminal on the server - booted into UNRAID with GUI - USER -> ROOT -> PW UI login now functions as expected
Archived
This topic is now archived and is closed to further replies.