-
-
Notifications
You must be signed in to change notification settings - Fork 406
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
Unable to import Local Linux Machine template #5127
Comments
I have to check (but not today), maybe it's not the first template that fails, but the second. I just noticed there's a dot "." in the output, suggesting the first template loaded successfully. I have now changed my script to load all templates, and now it fails on the third, but retrying the second fails too. |
Thanks @paulgevers, I'm not sure how this slipped past. Let me see if I can figure it out and post the solution. |
importing Local_Linux_Machine.xml.gz template raises PHP error
All fixed @paulgevers. Thanks for reporting. |
Confirmed loading the templates work with these patches. |
Describe the bug
As part of the post installation of Cacti in the Debian packaging, the templates are installed with
While running the test suite, I noticed that installing cacti 1.2.23 fails with:
To Reproduce
Steps to reproduce the behavior:
import_package.php --filename=$path_to/Local_Linux_Machine.xml.gz
command.Expected behavior
import_package.php shouldn't raise an error.
Desktop (please complete the following information)
OS: Debian
Browser: NA
Additional context
Full post install script:
https://salsa.debian.org/cacti-team/cacti/-/blob/master/debian/cacti.postinst
The text was updated successfully, but these errors were encountered: