Getting Help and Troubleshooting

Technical Articles

Solution
Application
Content Type
Technical Documentation
Utilities & Services
ft:locale
en-US
You can get additional usage information about the CLI by executing the following command:
jamf-pro help

Similarly, using the --help flag with any jamf-pro subcommand will display usage information about that command:

jamf-pro database --help

On Linux, some CLI commands may require sudo. If you receive an error similar to "jamf-pro: command not found", the sudopath may not be configured properly. To resolve this issue, run sudo using the full path to the jamf-pro binary. For example:

sudo /usr/local/jss/bin/jamf-pro database convert-to-innodb

If you receive an error similar to "Error: database config file not found", the my.cnf or my.ini file has not been found by the CLI tool. You will need to verify that it is present on the system per Step 2 above.

If you receive an error similar to "Error: unrecognized memory format", then the string syntax used to set the memory value is not recognized. The tool will accept "M" or "MB" for megabytes, and "G" or "GB" for gigabytes and is case-sensitive. For example:
jamf-pro database config set --innodb-buffer-pool-size 1024M