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

[BUG] Dynamic group is no longer filled (2.12.0 with https://github.com/OCSInventory-NG/OCSInventory-ocsreports/pull/1542) #1544

Closed
LMS235 opened this issue Jul 20, 2023 · 5 comments

Comments

@LMS235
Copy link
Contributor

LMS235 commented Jul 20, 2023

OCS Inventory version
Version : 2.12.0 with Fixes from #1542

Describe the bug
Since the installation of the fixes from #1542 the dynamic groups are no longer filled cleanly and the deployment therefore no longer runs.

The cronjobs run clean and even after 1 day "All computers (cached)" remains empty.
"All computers (replay)" displays everything correctly.

Expected behavior
The data should be present in both views
Here unfortunately since 2.12.0 some things are no longer correct :(

Screenshots
All computers (replay):
image

All computers (cached):
image

@LMS235 LMS235 changed the title [BUG] Dynamic group is no longer filled (2.12.0 with https://github.com/OCSInventory-NG/OCSInventory-ocsreports/pull/1542 [BUG] Dynamic group is no longer filled (2.12.0 with https://github.com/OCSInventory-NG/OCSInventory-ocsreports/pull/1542) Jul 20, 2023
@LMS235
Copy link
Contributor Author

LMS235 commented Jul 20, 2023

Update: Old dynamic groups continue to function as usual. Only newly created ones have the problem

PS: it can also be that it is generally with 2.12.0 so, I just noticed it afterwards (in the short period on 2.12.0 without the fixes I have not created dynamic groups)

@Lea9250
Copy link
Contributor

Lea9250 commented Aug 14, 2023

Hi @LMS235,

The PR OCSInventory-NG/OCSInventory-Server#433 should fix the issue, could you try it and update us ?

As a side note, you mentioned a cron job, but the groups are not being populated by a cron script. Instead, a device gets added at the time of its inventory. OCS verifies whether it matches any dynamic group request, and if so, the device is added to the group.

Regards,
Léa

@LMS235
Copy link
Contributor Author

LMS235 commented Aug 15, 2023

@Lea9250 works now :)

@Lea9250
Copy link
Contributor

Lea9250 commented Aug 16, 2023

@LMS235 thanks for the update ! Glad to hear it works.
I'll close the issue now.

Have a nice day

@Lea9250 Lea9250 closed this as completed Aug 16, 2023
@LMS235
Copy link
Contributor Author

LMS235 commented Aug 16, 2023

@Lea9250 thank you.

There are some open issues just after 2.12.0 (also some already fixed by fixes like this one) - when will there be an update (i.e. a 2.12.1 or similar)? Think some will otherwise run into problems (and many patching not by hand individual files)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants