Skip to content
This documentation applies to Codacy Self-hosted v11.0.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 Self-hosted instance and send them to Codacy's Support:

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

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

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 April 14, 2021