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

Topics about the Software of Revolution Pi
Post Reply
User avatar
crismancich
KUNBUS
Posts: 39
Joined: 05 Jan 2021, 11:25
Answers: 1
Location: Hamburg
Contact:

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

Post 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
Viele Grüße / Kind regards / Quapla’ / 此致敬意
Boris Crismancich
Post Reply