'Influxdb: Cannot sign in to user interface after upgrade

Just had an update to influxDB version 2.2 on a Raspi.

After restarting all services, when I try to sign into the user interface via "http://localhost:8086", the login screen just jumps back to the empty username and password and in the log file i get the error message:

lvl=info msg=Unauthorized log_id=0_~MwW10000 error="token required"

I do not get the "Could not sign in" message, which appears on a wrong combination of username/password.

Also, I tried to create a new "all-access" token for that user:

influx auth create --org <my_org> --all-access --user <username> 

but with no success.

How can I assign a valid token for the User Interface?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source