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

When syncing to remote poller, missing function errors may occur #3759

Closed
bmfmancini opened this issue Aug 17, 2020 · 3 comments
Closed

When syncing to remote poller, missing function errors may occur #3759

bmfmancini opened this issue Aug 17, 2020 · 3 comments
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@bmfmancini
Copy link
Member

Hey Guys

I am not sure if this is a duplicate I have not found any other reports

I noticed today that when you do a sync graph after changing a graph template the dialogue box pops up and hangs
when you check the log the following comes up

2020-08-17 10:13:38 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())

2020-08-17 10:13:38 - ERROR PHP ERROR: Uncaught Error: Call to undefined function api_data_source_cache_crc_update() in /var/www/html/cacti/lib/utility.php:745 Stack trace: #0 /var/www/html/cacti/lib/template.php(547): push_out_host('313', '1457') #1 /var/www/html/cacti/lib/template.php(882): update_graph_data_source_output_type('1306', 0) #2 /var/www/html/cacti/lib/template.php(622): change_graph_template('1306', '80', true) #3 /var/www/html/cacti/graph_templates.php(305): retemplate_graphs('80') #4 /var/www/html/cacti/graph_templates.php(49): form_actions() #5 {main} thrown in file: /var/www/html/cacti/lib/utility.php on line: 745

@bmfmancini bmfmancini added bug Undesired behaviour unverified Some days we don't have a clue labels Aug 17, 2020
@bmfmancini
Copy link
Member Author

Oh I also found then when this does fail the graphs come back as damaged

@netniV
Copy link
Member

netniV commented Aug 17, 2020

Pretty sure this is a duplicate.

@cigamit
Copy link
Member

cigamit commented Aug 18, 2020

While yes it is a duplicate of #3646 and #3717, Larry's commit only fixes the CLI. It also happens in the UI on the Graph Template page when you select "Sync Graphs". Word of caution when testing before fixing. It will corrupt the current graphs, so you will have to restore your DB.

TheWitness added a commit that referenced this issue Aug 30, 2020
Errors when doing a graph Sync 1.2.12
@TheWitness TheWitness added resolved A fixed issue and removed unverified Some days we don't have a clue labels Aug 30, 2020
@TheWitness TheWitness added this to the 1.2.15 milestone Sep 6, 2020
@netniV netniV changed the title Errors when doing a graph Sync 1.2.12 When syncing to remote poller, missing function errors may occur Nov 2, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Feb 1, 2021
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