Cacti: Downgrading 1.2.x to 1.1.38

Created on 23 Apr 2018  路  8Comments  路  Source: Cacti/cacti

I accidently(?) upgraded to 1.2.0 when it was created.
I would like to jump in to 1.1.38 stable.

So how to downgrade?
I did a git checkout origin/master.

The installer gets an error:
Error: Invalid Cacti version 1.2.0, cannot upgrade to 1.1.38.

I could not continue or ommit the error.

Most helpful comment

Once we have what we want to put in it? No specific date set at the moment that I am aware of. There are a number of changes we are trying to make for it and our free time is limited so it's shouldn't really be fixed (like it would be if this was our full time job).

For example, I've just spent 4 days revamping the installation system to be nicer and work in the background so the UI remains responsive. It works for the most part, but there is still some elements to do such as:

  • require auth
  • make UI ajax based
  • allow refresh to current step
  • improve requirement sections

    • make headings collapsible with icon (warning: exclamation, success: tick)

    • auto hide sections with no warnings

  • Add UTF8 table check step
  • Add confirm install screen

    • make install/upgrade/downgrade button disabled without confirm tick

    • add big warnings if attempting to downgrade

    • put the settings being used on the Confirm Install screen,

  • background install

    • import template packages

    • report progress

    • create default device

    • update poller configuration

    • convert tables to utf8 if requested

Here is an example screenshot of what I've prepared but it's by no means what it will look like once all styling, mods and fixes have been applied to it. Once it's made into a pull request there are probably going to be a few changes requested to it.

cacti install beta 2

All 8 comments

Just replace the files and manually drop the columns create in the install/updates/1_2_0.php file.

Also update the version table to 1.1.38 so that you avoid the installer. Normally, you should not do this but that is the way to go for now.

I am stucked at error:

Invalid Cacti version 1.2.0, cannot upgrade to 1.1.38.

On installer with no button and no action. Is this the end of the end of the world?:)

How to debug this?

update version set cacti_version = '1.1.38';

^^^ Use that with caution though. You should also revert any changes made to the DB by the install/upgrades/1_2_0.php file. Otherwise, you may find that 1.1.38 starts complaining about missing values for fields etc when creating new items.

Aaaaa I forgot to change that. Thanks for that.

BTW Do You know when 1.2.x will be released?

Once we have what we want to put in it? No specific date set at the moment that I am aware of. There are a number of changes we are trying to make for it and our free time is limited so it's shouldn't really be fixed (like it would be if this was our full time job).

For example, I've just spent 4 days revamping the installation system to be nicer and work in the background so the UI remains responsive. It works for the most part, but there is still some elements to do such as:

  • require auth
  • make UI ajax based
  • allow refresh to current step
  • improve requirement sections

    • make headings collapsible with icon (warning: exclamation, success: tick)

    • auto hide sections with no warnings

  • Add UTF8 table check step
  • Add confirm install screen

    • make install/upgrade/downgrade button disabled without confirm tick

    • add big warnings if attempting to downgrade

    • put the settings being used on the Confirm Install screen,

  • background install

    • import template packages

    • report progress

    • create default device

    • update poller configuration

    • convert tables to utf8 if requested

Here is an example screenshot of what I've prepared but it's by no means what it will look like once all styling, mods and fixes have been applied to it. Once it's made into a pull request there are probably going to be a few changes requested to it.

cacti install beta 2

@netniV good work. Beautifully:)

@pautiina You can grab a copy of this from the Installer branch of my repo. If you could give it a go, it'd be nice to see what your thoughts are.

Was this page helpful?
0 / 5 - 0 ratings