Collecting logs for Support#
To help troubleshoot issues, obtain the logs from your Codacy Self-hosted instance and send them to Codacy's Support:
-
Run the following command on a machine with network access to the Codacy cluster, replacing
<namespace>with the namespace in which Codacy was installed:bash <(curl -fsSL https://raw.githubusercontent.com/codacy/chart/master/docs/troubleshoot/extract-codacy-logs.sh) \ -n <namespace>This will download the logs of the last 7 days as an archive file with the name
codacy_logs_<timestamp>.zip.Tip
You can also download the script extract-codacy-logs.sh to run it manually.
-
Send the compressed logs to Codacy's support team at support@codacy.com for analysis.
Note
If the file is too big, please upload the file to either a cloud storage service such as Google Drive or to a file transfer service such as WeTransfer and send us the link to the file instead.
Alternatively, to reduce the size of the compressed archive file, retrieve logs for a smaller number of days by replacing
<days>with a number between 1 and 7:bash <(curl -fsSL https://raw.githubusercontent.com/codacy/chart/master/docs/troubleshoot/extract-codacy-logs.sh) \ -n <namespace> -d <days>
Was this page helpful?
Your feedback helps us improve the documentation.
255 characters left
Thanks for helping improve Codacy documentation.
For more detailed feedback, open an issue on GitHub.