Skip to content
This documentation applies to Codacy Self-hosted v1.4.0

For the latest updates and improvements, see the latest Cloud documentation instead.

Collecting logs for Support

To help troubleshoot issues, obtain the logs from your Codacy instance and send them to Codacy's Support:

  1. Download the logs of the last 7 days as an archive file with the name codacy_logs_<timestamp>.zip by running the following command locally, 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>
    

    To reduce the size of the compressed archive file, you should 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>
    

    You can also download the script extract-codacy-logs.sh to run it manually.

  2. Send the compressed logs to Codacy's support team at support@codacy.com for analysis.

    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.

Share your feedback 📢

Did this page help you?

Thanks for the feedback! Is there anything else you'd like to tell us about this page?

We're sorry to hear that. Please let us know what we can improve:

Alternatively, you can create a more detailed issue on our GitHub repository.

Thanks for helping improve the Codacy documentation.

If you have a question or need help please contact support@codacy.com.

Last modified May 6, 2020