Auditbot troubleshooting
IAuditbot can'tViewing accessError auditbot- view anymore, web console shows "Bad MAC"
MAC
This is a symptom that Auditbot Secure Storage got corrupted. It can happen if you try to change the passphrase of Auditbot through the UI for example.
Warning : This procedure will make rooms history unable to decrypt in auditbot UI. The rooms history will still be available in audit logs generated by auditbot, in the S3 or file storage.
WeTo resolve you will haveneed to reset the 4S passphrase of auditbot.
-
Stop the operator and edit the auditbot
pipe
:kubectl scale deploy/element-operator-controller-manager -n operator-onprem --replicas=0 kubectl edit statefulsets.apps first-element-deployment-auditbot-pipe -n element-onprem
-
Add the following under
env
- name: AUDIT_FORCE_NEW_SSSS
value: "true"
Wait for the pipe to restart, check its logs, and check that you can loginlog in through the adminui.Admin Console.
-
Edit the Statefulset
again :again:kubectl edit statefulsets.apps first-element-deployment-auditbot-pipe -n element-onprem
-
And removeRemove the env variable youadded :added:- name: AUDIT_FORCE_NEW_SSSS value: "true"
-
Restart the operator :
kubectl scale deploy/element-operator-controller-manager -n operator-onprem --replicas=1
ItThis will restart auditbot and it normal functionality should nowbe work properly.restored.