Reverting to a Previous Version of Jamf Pro after a Failed Upgrade on Linux

Technical Articles

Solution
Application
Content Type
Technical Documentation
Utilities & Services
ft:locale
en-US
  1. Ensure your database is backed up. See Backing Up the Database in the Jamf Pro Installation and Configuration Guide for Linux for complete instructions.
  2. On the Jamf Pro host server, stop Tomcat. See Starting and Stopping Tomcat for complete instructions.
  3. Open a command prompt.
  4. If you have set the value of the PATH environment to include the MySQL directory, access the MySQL command line as "root" by executing the following command:
    mysql -u root -p
    If you have not set the value of the PATH environment to include the MySQL directory, access the MySQL command line as "root" by executing a command similar to the following:
    <path-to-mysql>/mysql -u root -p
    Note:

    Replace <path-to-mysql> above with the path to MySQL. The default path for MySQL is usually /usr/bin/mysql. You may need to use a custom path if it is installed in a different location.

  5. When prompted, enter the password for the MySQL "root" user.
  6. Drop the database by executing the following command:
    drop database jamfsoftware;
  7. Create a database by executing the following command:
    create database jamfsoftware;
  8. Exit MySQL by executing the following command:
    exit
  9. Open a command prompt and execute the following command to back up your JSS folder:
    sudo mv /usr/local/jss /desired/path/for/backup
    Note:

    If a large number of backups exist in the /usr/local/jss/backups directory, backing up or copying the JSS folder could take a long time. You may want to move the backups folder out of the JSS folder, make a copy of the JSS folder, and then put the backups folder back where it was. It is also recommended that you have a copy of the most recent backup files from the backups folder stored in a secure, off-server location.

  10. Download a previous version of the Jamf Pro Installer for Linux from Jamf Account and install a previous version of Jamf Pro.
    Note:

    You must revert to the same version the backup was created on.

  11. Restore your database backup. See Restoring Database Backups in the Jamf Pro Installation and Configuration Guide for Linux for complete instructions.
  12. Create or upload an SSL certificate. See SSL Certificate in the Jamf Pro Documentation for complete instructions.