Page 1 of 1

Login "ERROR: user is not registered or input is invalid"

Posted: 08 Sep 2021, 11:15
by crismancich
Problem: The user is suddenly unable to log in to the revpi admin interface. Login via ssh still works.
ERROR: user is not registered or input is invalid.

The problem:
Your RevPi's storage is maxed out to the last byte.
When you try to login, your revpi will save the timestamp to /var/www/revpi/data/login.json
To be more precise: login.json will be deleted a new one created (this works) and the content written (this does not work).
The result: Some data of the login.json cant be read and the login fails.

The solution

Code: Select all

sudo nano /var/www/revpi/data/login.json
Copy and paste this:

Code: Select all

{"username":"admin","ownPW":"","lastLogin":"2021-09-08 10:52:49"}
Save with

Code: Select all

 [xtrl] + X 
and

Code: Select all

 y [ENTER] 
Keywords: Login fails, can't login, login nicht möglich, unable to log in, password wrong