Skip to main content

Auditbot troubleshooting

I

Auditbot 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.

To
    do so :

  1. 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
    
    1. 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.

  1. Edit the Statefulset again :again:

    kubectl edit statefulsets.apps first-element-deployment-auditbot-pipe -n element-onprem
    
  2. And removeRemove the env variable you added :added:

    - name: AUDIT_FORCE_NEW_SSSS
      value: "true"
    
  3. 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.