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

New templates are not installed during the update #4682

Closed
xmacan opened this issue Apr 5, 2022 · 11 comments
Closed

New templates are not installed during the update #4682

xmacan opened this issue Apr 5, 2022 · 11 comments
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Milestone

Comments

@xmacan
Copy link
Member

xmacan commented Apr 5, 2022

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.

@xmacan xmacan added bug Undesired behaviour unverified Some days we don't have a clue labels Apr 5, 2022
@netniV netniV added this to the v1.2.21 milestone Apr 5, 2022
@netniV netniV added unverified Some days we don't have a clue confirmed Bug is confirm by dev team and removed unverified Some days we don't have a clue labels Apr 5, 2022
@TheWitness
Copy link
Member

@netniV, can you work on this one?

@netniV netniV self-assigned this Apr 13, 2022
@netniV
Copy link
Member

netniV commented Apr 13, 2022

@xmacan do you have a detailed install-complete.log that shows this?

@netniV
Copy link
Member

netniV commented Apr 13, 2022

Also, can you run a query for:

SELECT * FROM settings WHERE name like 'install_template_%';

@xmacan
Copy link
Member Author

xmacan commented Apr 13, 2022

[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

@xmacan
Copy link
Member Author

xmacan commented Apr 13, 2022

root@localhost [cacti]> select * from settings where name like 'install_template_%';
Empty set (0.001 sec)

@netniV
Copy link
Member

netniV commented Apr 17, 2022

See, that would mirror what your log says "Nothing was selected".

@xmacan
Copy link
Member Author

xmacan commented Apr 19, 2022

I tried update two installations and I selected at least one template on each installation.

@netniV
Copy link
Member

netniV commented Apr 19, 2022

OK, I will have to test that out then.

@TheWitness TheWitness removed the unverified Some days we don't have a clue label May 7, 2022
@TheWitness TheWitness modified the milestones: v1.2.21, v1.2.22 May 19, 2022
@github-actions
Copy link

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.

@github-actions github-actions bot added the outdated No recent activity label Jul 19, 2022
@netniV netniV removed the outdated No recent activity label Jul 21, 2022
@TheWitness TheWitness modified the milestones: v1.2.22, v1.2.23 Aug 9, 2022
@github-actions
Copy link

github-actions bot commented Oct 9, 2022

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.

@github-actions github-actions bot added the outdated No recent activity label Oct 9, 2022
@TheWitness TheWitness removed the outdated No recent activity label Oct 9, 2022
TheWitness added a commit that referenced this issue Oct 18, 2022
New templates are not installed during the update
@TheWitness
Copy link
Member

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.

@TheWitness TheWitness added the resolved A fixed issue label Oct 18, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jan 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

3 participants