Cacti / cacti

Cacti ™
http://www.cacti.net
GNU General Public License v2.0
1.6k stars 398 forks source link

When Remote Poller installation completes, no finish button is shown #5723

Closed eduardomozart closed 2 months ago

eduardomozart commented 2 months ago

Describe the bug

When finishing a success Remote Poller clean installation, the installer spawns a new process, but when loading http://localhost/cacti, I was able to successfully log in without the installer being shown.

To Reproduce

Steps to reproduce the behavior:

  1. Do a successfull clean install of Remote Poller.

  2. See error

Expected behavior

A "finish" button should be able instead.

Screenshots

image

Desktop (please complete the following information)

Additional context

None.

TheWitness commented 2 months ago

Check your Cacti log and the install log for errors.

bmfmancini commented 2 months ago

I confirm this issue is happening fresh install

[2024-04-13 10:48:25] [          global always  ] Converting Table #113 'version'
[2024-04-13 10:48:26] [          global always  ] Updating remote configuration file
[2024-04-13 10:48:26] [          global always  ] Finished INSTALL Process for v1.2.27
[2024-04-13 10:48:26] [            sync always  ] Found 0 poller(s) to sync
[2024-04-13 10:48:26] [            sync always  ] No Remote Data Collectors found for full synchronization
[2024-04-13 10:48:26] [          global always  ] Installation was started at 2024-04-13 14:47:25, completed at 2024-04-13 14:48:26
[2024-04-13 10:48:27] [       templates always  ] getDefaultTemplate(): Default Device Template is '23'
[2024-04-13 10:48:27] [       templates always  ] getDefaultTemplate(): Default Device Template is '23'
[2024-04-13 10:48:27] [        template always  ] setDefaultTemplate(): Device default template is '23'
[2024-04-13 10:48:28] [          global always  ] Spawning background process: /usr/bin/php '/var/www/html/cacti/install/background.php' 1713019708.4326
[2024-04-13 10:48:28] [          global always  ] Background was already started at 2024-04-13 14:47:25.288600, this attempt at 2024-04-13 14:48:28.432600 was skipped

No console errors

bmfmancini commented 2 months ago
04/13/2024 10:46:04 - CMDPHP PHP ERROR Backtrace: (/poller.php[928]:poller_maintenance(), /lib/functions.php[5468]:trim(), CactiErrorHandler())
04/13/2024 10:46:04 - ERROR PHP DEPRECATED: trim(): Passing null to parameter #1 ($string) of type string is deprecated in file: /var/www/html/cacti/lib/functions.php on line: 5468
04/13/2024 10:46:04 - CMDPHP PHP ERROR Backtrace: (/poller.php[927]:automation_poller_bottom(), /lib/api_automation.php[2994]:trim(), CactiErrorHandler())
04/13/2024 10:46:04 - ERROR PHP DEPRECATED: trim(): Passing null to parameter #1 ($string) of type string is deprecated in file: /var/www/html/cacti/lib/api_automation.php on line: 2994

Only a deprecated error shows it the full log

TheWitness commented 2 months ago

This is resolved now. Painful.