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

Adding datasource fails from CLI due to missing function #3646

Closed
rlaager opened this issue Jun 29, 2020 · 1 comment
Closed

Adding datasource fails from CLI due to missing function #3646

rlaager opened this issue Jun 29, 2020 · 1 comment
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@rlaager
Copy link
Contributor

rlaager commented Jun 29, 2020

With Cacti on Ubuntu 20.04:

$ sudo php /usr/share/cacti/cli/add_datasource.php --host-id=261 --data-template-id=90
PHP Fatal error:  Uncaught Error: Call to undefined function api_data_source_cache_crc_update() in /usr/share/cacti/site/lib/utility.php:745
Stack trace:
#0 /usr/share/cacti/cli/add_datasource.php(99): push_out_host()
#1 {main}
  thrown in /usr/share/cacti/site/lib/utility.php on line 745
@rlaager rlaager added bug Undesired behaviour unverified Some days we don't have a clue labels Jun 29, 2020
rlaager added a commit to rlaager/cacti that referenced this issue Jun 29, 2020
Closes: Cacti#3646
Signed-off-by: Richard Laager <rlaager@wiktel.com>
TheWitness pushed a commit that referenced this issue Jun 30, 2020
Closes: #3646
Signed-off-by: Richard Laager <rlaager@wiktel.com>
@TheWitness TheWitness added resolved A fixed issue and removed unverified Some days we don't have a clue labels Jul 2, 2020
@TheWitness TheWitness added this to the 1.2.13 milestone Jul 2, 2020
@TheWitness
Copy link
Member

Thanks!

@netniV netniV changed the title add_datasource.php fails calling api_data_source_cache_crc_update() add_datasource.php generates undefined function errors Jul 12, 2020
@netniV netniV changed the title add_datasource.php generates undefined function errors Adding datasource fails from CLI due to missing function Jul 12, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Oct 11, 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

2 participants