Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On new installs, gprint_format was missing from table aggregate_graphs #3156

Closed
krisxzd opened this issue Dec 24, 2019 · 4 comments
Closed
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@krisxzd
Copy link

krisxzd commented Dec 24, 2019

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@cigamit
Copy link
Member

cigamit commented Dec 24, 2019

Yea, there was an issue in the clean install of Cacti 1.2.8. Just goto the cli directory and run this command:

php -q upgrade_database.php --forcever=1.2.7

That'll fix the issue near term. Total fix for new installs will be to install from 1.2.9.

@cigamit cigamit added the bug Undesired behaviour label Dec 24, 2019
@cigamit cigamit added this to the v1.2.9 milestone Dec 24, 2019
cigamit added a commit that referenced this issue Dec 24, 2019
SQL Save on table 'aggregate_graphs': Column 'gprint_format' does not exist, unable to save!
@cigamit cigamit added the resolved A fixed issue label Dec 24, 2019
@krisxzd
Copy link
Author

krisxzd commented Dec 25, 2019 via email

@cigamit cigamit closed this as completed Jan 4, 2020
@rtripon
Copy link

rtripon commented Jan 29, 2020

Hello,
I have a kinda similar situation on a cacti 1.3.0(develop) when I try to add an aggregate graph template
aggregate error
. I tried repairing the database, no luck :

[root@wg cli]# php -q upgrade_database.php --forcever=1.3.0
ERROR: Your Cacti is already up to date

  • from: v1.3.0
    to: v1.3.0 - Dev bb619ef @ 2019-12-27 13:49

@netniV
Copy link
Member

netniV commented Jan 30, 2020

We need to merge 1.2.9 when it is released into 1.3.0. However, once that is done, you should use --forcever=1.2.7 rather than 1.3.0 just so that it runs through the required upgrades again.

@netniV netniV changed the title SQL Save on table 'aggregate_graphs': Column 'gprint_format' does not exist, unable to save! On new installs, gprint_format was missing from table aggregate_graphs Feb 10, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jun 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

4 participants