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] Package --> Validate --> You don't have access to this data #1537

Closed
LMS235 opened this issue Jul 14, 2023 · 9 comments · Fixed by #1542
Closed

[BUG] Package --> Validate --> You don't have access to this data #1537

LMS235 opened this issue Jul 14, 2023 · 9 comments · Fixed by #1542

Comments

@LMS235
Copy link
Contributor

LMS235 commented Jul 14, 2023

OCS Inventory version
Version : 2.12.0
Usertype: sadmin

Describe the bug
Package --> 'Validate SUCCESSES' OR 'Validate all' --> You don't have access to this data

image

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Deploymenr' => 'Activate'
  2. Select 'Statistics" of a Package
  3. Klick on 'Validate SUCCESSES' OR 'Validate all'
  4. See error

Expected behavior
The displayed message is clearly wrong. What should be displayed here?
If there is no data that could be displayed, you have to describe it differently.
But it can't stay the way it is now.

Screenshots
image

=> image

@charleneauger
Copy link
Member

Hi @LMS235 ,

I made some fixes related to your issues.
You will find them in the following PR : #1542

Best regards,
Charlene

@LMS235
Copy link
Contributor Author

LMS235 commented Jul 19, 2023

tested --> work

@LMS235
Copy link
Contributor Author

LMS235 commented Jul 19, 2023

Now it is displayed correctly, but how is this data recreated in general? Because these are still "empty" in my test now

@LMS235
Copy link
Contributor Author

LMS235 commented Aug 16, 2023

Also after a couple of weeks - empty
image
What is the point then if the data is not collected again?

@LMS235
Copy link
Contributor Author

LMS235 commented Aug 30, 2023

@Lea9250 the Topic is NOT solved. There are still NO data available.

image

=>
image

When and how is this data re-read/calculated?

@Lea9250
Copy link
Contributor

Lea9250 commented Aug 30, 2023

Hi @LMS235,

This issue was closed due to the PR being merged. The message displayed in case there was no data has been updated as you requested.
Regarding the fact that no data is available for some of your packages, we'll need a bit more info to help solve this :
Was the package assigned to a specific device / to a group ? Has the device been inventoried since ? What is the status of the deployment if so ?
The statistics should be updated at the time of the inventory, depending on the deployment status of the package. That's when you'll see either errors / successes.

Regards,
Léa

@LMS235
Copy link
Contributor Author

LMS235 commented Aug 31, 2023

Hi @Lea9250

These are packages which are installed on every computer (e.g. the OCS Winupdate plugin), which also means that the computers on which the package is installed have already reported x times.

BUT it is NOT installed software (here only data is copied from A to B) - maybe that can be the problem?

@Lea9250
Copy link
Contributor

Lea9250 commented Sep 4, 2023

The fact that it isn't installed software doesn't affect the stats. These numbers are only related to package deployment.
Any error/warning showing in your apache logs while accessing this page ? If you recreate a test package and deploy it to a device, do you get any stats for said package ?

@LMS235
Copy link
Contributor Author

LMS235 commented Sep 4, 2023

I have statistics for packages until I press "Validate all". Error messages do not come.

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

Successfully merging a pull request may close this issue.

6 participants