Troubleshooting
Tokens mismatch
If you see this message in your dashboard, it means that we identified there are two account tokens associate with your account - one in your CLI and a different one in your dashboard. This can be an issue because it will break the connection between the policy checks that are executed (CLI) and the centralized policy (dashboard). As a result, you will not be able to control your policies or see results on your history page.
How to fix tokens mismatch?
You will need to set your CLI token to match your dashboard token:
Seems like your token does not exist
If you deleted your account, then ran a policy check - you will get this output: "Seems like your token does not exist".
To fix this, delete your config file ($HOME/.datree/config.yaml
), then run another policy check.
Running Datree on Alpine (Linux) image
Alpine is missing some dependencies that are required to successfully install Datree.
How to fix missing dependencies?
Adding the following command to the CI should fix this: apk add curl bash
This will add curl and bash commands which our install scripts require in order to run.
Haven't found a solution to your problem?
Let us know by opening an issue in our github and we will gladly help!