Diagnostic tool
    • 02 Sep 2024
    • 1 minute to read

    Diagnostic tool


    Article summary

    Totara’s diagnostic tool for Site Administrators can be used to collect non-sensitive information about your site to help Totara Support to troubleshoot issues. The tool provides the Totara Support team with accurate information and data, helping to streamline investigations and identify solutions faster.

    This tool provides detailed insights into your Totara site’s configuration, including the following:

    • Cache
    • Database
    • php.ini
    • Config
    • Plugins
    • Totara version information
    • Upgrade history
    • Enabled features
    • Cron run information

    For some of this information, only data which is part of the whitelist will be exported. Sensitive information such as login credentials, IP addresses, and personal user information will not be exposed in the diagnostic file.

    Create a diagnostic file in Totara

    To configure the tool and create a diagnostic file, follow these steps:

    1. Navigate to Quick-access menu > System information > Diagnostics for support (/admin/tool/diagnostic/index.php).
    2. Check the default settings and set the toggles (A green and white logo

Description automatically generated) for each option to determine which information will be included in the file. See Diagnostic tool data options for more information. Review the whitelists for each enabled option to see which data will be included.
    3. Click Generate diagnostic file.
    4. Click OK.
    5. Click the download icon () to download the file.
    6. Provide the diagnostic file to Totara Support via a support request.

    Note that the file will be available for download for at least 15 minutes, and up to an hour (assuming the cron runs hourly).

    Create a diagnostic file via the command line

    To create a diagnostic file via the command line, first run php run_diagnostics.php --help from admin/tool/diagnostic/cli to display instructions on how to run the tool. Additional information about changing the configuration via config file is available in the readme file: admin/tool/diagnostic/cli/readme.md

    Running the script will output a download URL, which you can then copy and paste into your browser. You can then log in as a Site Administrator and download the file.

    Finally, provide the diagnostic file to Totara Support by uploading it to the relevant support request.

    Data retention

    The task \tool_diagnostic\task\delete_diagnostic_files_task ensures that files are kept for a minimum of 15 minutes and a maximum of 60 minutes.

    For files provided to Totara Support, all files are automatically deleted from a support request upon closure.

    © Copyright 2024 Totara Learning Solutions. All rights reserved.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.