New templates are not installed during the update
I don't know if the existing templates have been updated. But the new ones are not being installed.
No warning nor error in log.
@netniV, can you work on this one?
@xmacan do you have a detailed install-complete.log that shows this?
Also, can you run a query for:
SELECT * FROM settings WHERE name like 'install_template_%';
[root@kaktus /usr/local/share/cacti/log]# cat install-complete.log [2022-04-07 16:49:29] [ global always ] Spawning background process: /usr/local/bin/php '/usr/local/share/cacti/install/background.php' 1649342969.9585 [2022-04-07 16:49:30] [ global always ] Setting PHP Option max_execution_time = 0 [2022-04-07 16:49:30] [ global always ] Setting PHP Option memory_limit = -1 [2022-04-07 16:49:30] [ global always ] Starting UPGRADE Process for v1.2.20 [2022-04-07 16:49:30] [ global always ] No tables where found or selected for conversion [2022-04-07 16:49:30] [ global always ] Switched from to /tmp/cduOKfrl4 [2022-04-07 16:49:30] [ global always ] NOTE: Using temporary file for db cache: /tmp/cduOKfrl4 [2022-04-07 16:49:30] [ global always ] Upgrading from v1.2.19 (DB 1.2.20 (DB: 1.2.19)) to v1.2.20 [2022-04-07 16:49:35] [ global always ] No templates were selected for import [2022-04-07 16:49:35] [ global always ] Finished UPGRADE Process for v1.2.20 [2022-04-07 16:49:35] [ sync always ] Found 0 poller(s) to sync [2022-04-07 16:49:35] [ sync always ] No Remote Data Collectors found for full syncronization [2022-04-07 16:49:35] [ global always ] Installation was started at 2022-04-07 14:49:30, completed at 2022-04-07 14:49:35
root@localhost [cacti]> select * from settings where name like 'install_template_%'; Empty set (0.001 sec)
See, that would mirror what your log says "Nothing was selected".
I tried update two installations and I selected at least one template on each installation.
OK, I will have to test that out then.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Okay, I have resolved this, but I'm going to open a new ticket as the user should have options that we have on the Package Install page when it comes to upgrades.