Open blues-dev opened 1 year ago
Each writing user administration action (create an user, lock an user, modify an user) checks all associated data areas before proceed.
In our database exists a profile record without name, without a createdBy name and without a createdBy timestamp. The existence of this record prevents the requested user action and forced an error, as shown above.
We tried via WebUI and via curl API call to remove this no name profile record. Without success, because this record has no name!
Now we are looking for an alternative way to remove this disturbing record. Does any one have an idea how? Perhaps it is possible with cqlsh in cassandra directly, or so ...
How do you add new users to your TheHive system? LDAP? Local?
I would never recommend to delete the Data trhough cqlsh, if you delete the wront data, forget about your complete Database.
That happen after a System Reboot? Maybe you had a reboot 2 weeks ago and now trying to create a new user you found the problem.
Check the logs of Cassandra and Lucene after your last reboot. If you find something, paste the error logs here.
If you dont find new errors, go to /etc/thehive/logback.xml and down there you can change the ROOT LOG from INFO to DEBUG and check again what happen when you try to create a user.
im getting just this profile here.
any idea guys?
Request Type
Bug
Work Environment
Problem Description
Our TheHive knows over 25 users already. We are productive. We tried to create a new user in TheHive. In the lower left corner the following error message is shown:
Recherche in /var/log/thehive/application.log shows:
Verify existing profiles by API call:
Found standard profiles: read-only, analyst, admin, org-admin and one without name, createdBy and createdAt. I have no idea where this is coming from.
next we tried to delete the "no name profile" via UI:
without success. /var/log/thehive/application.log shows: