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

Packages that are not properly formatted can cause installation issues #3330

Closed
nuno-silva opened this issue Mar 7, 2020 · 3 comments
Closed
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@nuno-silva
Copy link
Contributor

The cacti installer is broken on fresh install of 1.2.10.

The GUI shows an "action failed" message with a few warnings:

Action failed
Sorry, we could not process your last action.
Error:	200 OK
Reason:	
Notice: Undefined index: name in /var/www/cacti-testing/htdocs/cacti/lib/installer.php on line 1079

Notice: Undefined index: name in /var/www/cacti-testing/htdocs/cacti/lib/installer.php on line 1080

Notice: Undefined index: name in /var/www/cacti-testing/htdocs/cacti/lib/installer.php on line 1081

Notice: Undefined index: name in /var/www/cacti-testing/htdocs/cacti/lib/installer.php on line 1088
{"Mode":1,"Step":1,"Errors":[],"Eula":null,"Prev":{"Text":"Previous","Step":0,"Enabled":false,"Visible":true},"Next":{"Text":"Begin","Step":2,"Enabled":false,"Visible":true},"Test":{"Text":"Test Connection","Step":-4,"Enabled":true,"Visible":false},"Theme":"modern","StepData":{"Eula":null,"Theme":"modern","Language":"en-US"},"Html":"

Also see attached screenshot.

To Reproduce
Steps to reproduce the behavior:

  1. Install a fresh copy of cacti 1.2.10
  2. Populate the cacti database (using cacti.sql)
  3. Edit include/config.php with your DB settings
  4. Point your browser to the installation site.
  5. See error

Expected behaviour
Installer should proceed normally and without warnings.

Screenshots
image

Desktop

  • OS: Gentoo Linux
  • Browser: Chromium 80.0.3987.122 (Developer Build) (64-bit)

Additional context

  • PHP 7.2.27

This is somewhat similar to #3323, except this is a fresh install, not an upgrade.

Removing 'Cacti_Stats.xml.gz' from install/functions.phpdoes allow the installation to continue.

@cigamit
Copy link
Member

cigamit commented Mar 8, 2020

This is now fixed again in the 1.2.x branch including the updated Cacti Stats package. I'll be part of the 1.2.11 release.

@cigamit cigamit changed the title cacti installer is broken on fresh install of 1.2.10 Cacti installer is broken on fresh install of 1.2.10 Mar 8, 2020
cigamit added a commit that referenced this issue Mar 8, 2020
This was actually resolved by merging the fetch branch into the 1.2.x branch.
@cigamit cigamit added bug Undesired behaviour resolved A fixed issue labels Mar 8, 2020
@cigamit cigamit added this to the 1.2.11 milestone Mar 8, 2020
@cigamit cigamit closed this as completed Mar 8, 2020
algitbot pushed a commit to alpinelinux/aports that referenced this issue Mar 10, 2020
@mckaygerhard
Copy link

this stupid error still persist! how developers can release a broken version? where's the real fix commit due after applied 501009a there's no files or fixeds .. neither commit 8e68706 not fix anything!

@netniV
Copy link
Member

netniV commented Mar 20, 2020

I could quite easily ask:

How can people not search properly to find a simple fix?

I would suggest before berating people, you try asking nicely for help. For now, this was fixed and verified.

@Cacti Cacti locked as too heated and limited conversation to collaborators Mar 20, 2020
@netniV netniV changed the title Cacti installer is broken on fresh install of 1.2.10 Packages that are not properly formatted can cause installation issues Apr 5, 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