Skip to content

When upgrading to 1.2.11, installer can appear to stop at 42% #3438

@misterjmw

Description

@misterjmw

On two different CentOS 7 systems the installer hangs at 42%.
The upgrade page keeps refreshing, but no progress is made.

The seems to be caused by importing template packages (which I can find no other way to import).

From the Forums: https://forums.cacti.net/viewtopic.php?f=2&t=60847

[2020-04-06 20:58:15] [ always  ] Converting Table #191 'version'
[2020-04-06 20:58:15] [ always  ] Converting Table #192 'weathermap_auth'
[2020-04-06 20:58:16] [ always  ] Converting Table #193 'weathermap_data'
[2020-04-06 20:58:16] [ always  ] Converting Table #194 'weathermap_groups'
[2020-04-06 20:58:16] [ always  ] Converting Table #195 'weathermap_maps'
[2020-04-06 20:58:16] [ always  ] Converting Table #196 'weathermap_settings'
[2020-04-06 20:58:16] [ always  ] Switched from  to /tmp/cduF1KTV7
[2020-04-06 20:58:16] [ always  ] NOTE: Using temporary file for db cache: /tmp/cduF1KTV7
[2020-04-06 20:58:16] [ always  ] Upgrading from v1.2.10 (DB 1.2.11 (DB: 1.2.10)) to v1.2.11
[2020-04-06 20:58:16] [ always  ] Found 6 templates to install
[2020-04-06 20:58:16] [ always  ] About to import Package #1 'Cacti_Stats.xml.gz'.
[2020-04-06 20:58:18] [ always  ] Import of Package #1 'Cacti_Stats.xml.gz' under Profile '1' succeeded
[2020-04-06 20:58:18] [ always  ] About to import Package #2 'Cisco_Router.xml.gz'.

Eventually, I reboot the server. The Install runs through converting the tables again;

[2020-04-06 20:58:16] [ always  ] Switched from  to /tmp/cduF1KTV7
[2020-04-06 20:58:16] [ always  ] NOTE: Using temporary file for db cache: /tmp/cduF1KTV7
[2020-04-06 20:58:16] [ always  ] Upgrading from v1.2.10 (DB 1.2.11 (DB: 1.2.10)) to v1.2.11
[2020-04-06 20:58:16] [ always  ] Found 6 templates to install
[2020-04-06 20:58:16] [ always  ] About to import Package #1 'Cacti_Stats.xml.gz'.
[2020-04-06 20:58:18] [ always  ] Import of Package #1 'Cacti_Stats.xml.gz' under Profile '1' succeeded
[2020-04-06 20:58:18] [ always  ] About to import Package #2 'Cisco_Router.xml.gz'.
-- Reboot here --
[2020-04-06 21:23:21] [ always  ] Spawning background process: /bin/php '/usr/share/cacti/install/background.php' 1586229801.2444
[2020-04-06 21:23:21] [ always  ] Setting PHP Option max_execution_time = 0
[2020-04-06 21:23:21] [ always  ] Setting PHP Option memory_limit = -1
[2020-04-06 21:23:22] [ always  ] Starting INSTALL Process for v1.2.11
[2020-04-06 21:23:22] [ always  ] Found 196 tables to convert
[2020-04-06 21:23:22] [ always  ] Converting Table #1 'aggregate_graphs'
[2020-04-06 21:23:22] [ always  ] Converting Table #2 'aggregate_graphs_graph_item'
[2020-04-06 21:23:22] [ always  ] Converting Table #3 'aggregate_graphs_items'
[2020-04-06 21:23:22] [ always  ] Converting Table #4 'aggregate_graph_templates'

This time it succeeds as the import is not performed at the end of the process.

Also; It should also be noted that the timestamps are in local time and the installation times (started/completed) are seemingly in UTC.

[2020-04-06 21:23:51] [ always  ] Converting Table #194 'weathermap_groups'
[2020-04-06 21:23:51] [ always  ] Converting Table #195 'weathermap_maps'
[2020-04-06 21:23:52] [ always  ] Converting Table #196 'weathermap_settings'
[2020-04-06 21:23:52] [ always  ] Finished INSTALL Process for v1.2.11
[2020-04-06 21:23:52] [ always  ] Installation was started at 2020-04-07 03:23:21, completed at 2020-04-07 03:23:52

Metadata

Metadata

Assignees

Labels

bugUndesired behaviourresolvedA fixed issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions