Cacti Upgrade

Upgrade Instructions

  1. Backup the old cacti database:

    shell> mysqldump cacti > mysql.cacti


  2. Backup the old cacti directory:

    shell> mv cacti cacti_old


  3. Extract the distribution tarball.

    shell> tar xzvf cacti-version.tar.gz


  4. Rename the new cacti directory to match the old one:

    shell> mv cacti-version cacti


  5. Copy the *.rrd files from the old cacti directory:

    shell> cp cacti_old/rra/* cacti/rra/


  6. Edit include/config.php.

  7. Set the appropriate permissions on cacti's directories for graph/log generation. You should execute these commands from inside cacti's directory to change the permissions.

    shell> chown cactiuser rra/ log/


    (Enter a valid username for cactiuser, this user will also be used in the next step for data gathering.)

  8. Point your web browser to:

    http://your-server/cacti/

    Make sure to fill in all of the path variables carefully and correctly on the following screen.