Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
2020/04/07 09:08:20 - INSTALL: always: About to import Package #4 'Local_Linux_Machine.xml.gz'.
2020/04/07 09:08:20 - INSTALL: always: Import of Package #3 'Generic_SNMP_Device.xml.gz' under Profile '1' succeeded
2020/04/07 09:08:16 - INSTALL: always: About to import Package #3 'Generic_SNMP_Device.xml.gz'.
2020/04/07 09:08:16 - INSTALL: always: Import of Package #2 'Cisco_Router.xml.gz' under Profile '1' succeeded
2020/04/07 09:07:58 - INSTALL: always: About to import Package #2 'Cisco_Router.xml.gz'.
2020/04/07 09:07:58 - INSTALL: always: Import of Package #1 'Cacti_Stats.xml.gz' under Profile '1' succeeded
2020/04/07 09:06:39 - INSTALL: always: About to import Package #1 'Cacti_Stats.xml.gz'.
2020/04/07 09:06:39 - INSTALL: always: Found 6 templates to install
2020/04/07 09:06:38 - INSTALL: always: Upgrading from v1.2.10 (DB 1.2.11 (DB: 1.2.10)) to v1.2.11
2020/04/07 09:06:38 - INSTALL: always: NOTE: Using temporary file for db cache: /tmp/cdugTHLnM
2020/04/07 09:06:38 - INSTALL: always: Switched from to /tmp/cdugTHLnM
2020/04/07 09:06:38 - INSTALL: always: No tables where found or selected for conversion
2020/04/07 09:06:35 - INSTALL: always: Starting UPGRADE Process for v1.2.11
2020/04/07 09:06:32 - INSTALL: always: Setting PHP Option memory_limit = -1
2020/04/07 09:06:32 - INSTALL: always: Setting PHP Option max_execution_time = 0
2020/04/07 09:06:32 - INSTALL: Checking arguments
2020/04/07 09:06:32 - INSTALL: always: Spawning background process: /usr/bin/php '/var/www/htdocs/stats/cacti/install/background.php' 1586239592.7606
And nothing more gets printed. I noticed that two httpd processes are running high CPU on the server, but I find no errors in the logs. What could be the problem? I'm not sure why this version decided to import device templates...
Okay, first restart Apache, then execute the following command from MySQL:
DELETE FROM settings WHERE name LIKE "install%";
Next, navigate to. cacti/index.php and this time don't pick the templates. This was tested multiple times. Not sure why it hanging for you. Tell us a bit about you pho and Apache and OS versions.
Last edited by Osiris on Tue Apr 07, 2020 1:37 am, edited 1 time in total.
Osiris wrote: ↑Tue Apr 07, 2020 1:36 am
Next, navigate to. cacti/index.php and this time don't pick the templates. This was tested multiple times. Not sure why it hanging for you. Tell us a bit about you pho and Apache and OS versions.
Ups... I wrote meantime. Well, the templates were pre-selected, so I left it like this as I didn't expect problems. Anyway I'm on Slackware 14.2, Apache 2.4.43 and PHP 5.6.40, but it's the first time I get this problem on upgrading Cacti. I'll make sure I deselect templates if I get this on next upgrade.
Argh... now that I manged to upgrade the first issue I face is that most of my devices are not visible in Management -> Devices, which should be related to the new filter by location...
This update of the templates already cost me the whole morning... some of my modified data queries were wiped out and I'm still restoring... please, be ware NOT to select the installation of templates during upgrade. I'm really not sure why I got this option displayed.
gdsotirov wrote: ↑Tue Apr 07, 2020 6:11 am
This update of the templates already cost me the whole morning... some of my modified data queries were wiped out and I'm still restoring... please, be ware NOT to select the installation of templates during upgrade. I'm really not sure why I got this option displayed.
That should only happen if you are modifying the base templates rather than duplicating them and then modifying the duplicates.