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

Some users have no data when use usage-report:generate #81

Open
Koky999 opened this issue Jan 13, 2022 · 2 comments
Open

Some users have no data when use usage-report:generate #81

Koky999 opened this issue Jan 13, 2022 · 2 comments

Comments

@Koky999
Copy link

Koky999 commented Jan 13, 2022

Hi,

I have problem that some users have no data (when I use command usage-report:generate to generate all users data stats), and they are not disabled or not used accounts. Also in data folder there are GBs of data. When I use usage-report:generate username with user, who has no data from usage-report:generate, then it show stats corectly. But I must then add this one by one to my statistics report to those who have missing data and if it is about hundred of accounts, ufff...

Thank you very much for help.

I use last version Nextcloud 22.2.3 and app user usage report version 1.6.0.

@nickvergessen
Copy link
Member

Mind to share some details?
Like the number of users, the details of a user that doesn't show details, the position of the user in the list of the overall report (beginning, end, regular pattern, etc?)

@Koky999
Copy link
Author

Koky999 commented Jan 13, 2022

Hi, yes. I also found, that there is between usage-report:generate and usage-report:generate --last-login

When I use usage-report:generate --last-login I got total 868 users, where users with data are not sorted, they are random (but first is root, so maybe by some internal ID which is not shown) and after this there are users sorted by login name with, and in few sections. First they have some data (last two columns or so), then again another section sorted by login name with only one column and then again with no data. Below are some from output, deleted part of login name and also placed separators to see, where is changed, but in report there aren't.

dana,"2022-01-13T15:59:07+00:00","1970-01-01T00:00:00+00:00","125 GB",0,2,0,0,0
anna,"2022-01-13T15:59:07+00:00","1970-01-01T00:00:00+00:00","125 GB",0,2,0,0,0
vaclav,"2022-01-13T15:59:07+00:00","1970-01-01T00:00:00+00:00","125 GB",0,2,0,0,0
jakub,"2022-01-13T15:59:07+00:00","2022-01-13T10:58:43+00:00","125 GB",1263511,159,0,0,0
pavla,"2022-01-13T15:59:07+00:00","1970-01-01T00:00:00+00:00","125 GB",0,2,0,0,0
rudolf,"2022-01-13T15:59:07+00:00","2021-12-02T08:34:14+00:00","125 GB",6271199,11,0,0,0
martina,"2022-01-13T15:59:07+00:00","1970-01-01T00:00:00+00:00","125 GB",0,2,0,0,0
daniela,"2022-01-13T15:59:07+00:00","2018-10-05T10:42:22+00:00","125 GB",1263511,10,0,0,0
gabriela,"2022-01-13T15:59:07+00:00","1970-01-01T00:00:00+00:00","125 GB",0,2,0,0,0
jarmila,"2022-01-13T15:59:07+00:00","2022-01-05T05:55:07+00:00","125 GB",0,3,0,0,0
miroslav,"2022-01-13T15:59:07+00:00","2019-12-17T09:24:31+00:00","125 GB",6271199,11,0,0,0
petr,"2022-01-13T15:59:07+00:00","1970-01-01T00:00:00+00:00","125 GB",0,2,0,0,0
ludvik,"2022-01-13T15:59:07+00:00","2021-09-07T06:59:53+00:00","125 GB",6271199,11,0,0,0
jana,"2022-01-13T15:59:07+00:00","1970-01-01T00:00:00+00:00","125 GB",0,2,0,0,0
jitka,"2022-01-13T15:59:07+00:00","2022-01-13T15:14:01+00:00","125 GB",1263511,1598,0,0,276
klara,"2022-01-13T15:59:07+00:00","1970-01-01T00:00:00+00:00","125 GB",0,2,0,0,0
jana,"2022-01-13T15:59:07+00:00","1970-01-01T00:00:00+00:00","125 GB",0,2,0,0,0
katerina,"2022-01-13T15:59:07+00:00","2022-01-11T08:47:36+00:00","125 GB",6271199,11,0,0,0
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
anna,"2022-01-13T15:59:07+00:00","2022-01-12T13:28:54+00:00","","",,1,,37
barbora,"2022-01-13T15:59:07+00:00","2022-01-13T06:29:03+00:00","","",,,6,85
ivan,"2022-01-13T15:59:07+00:00","2022-01-13T11:21:10+00:00","","",,,,109
jan,"2022-01-13T15:59:07+00:00","2022-01-13T05:13:38+00:00","","",,8,,100
jana,"2022-01-13T15:59:07+00:00","2022-01-12T13:41:51+00:00","","",,,6,
zbynek,"2022-01-13T15:59:07+00:00","2022-01-12T10:55:28+00:00","","",,16,14,2
zdenek,"2022-01-13T15:59:07+00:00","2022-01-13T07:55:35+00:00","","",,,1,40
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
anezka,"2022-01-13T15:59:07+00:00","2021-12-21T15:55:10+00:00","","",,1,,
anita,"2022-01-13T15:59:07+00:00","2021-04-29T08:00:24+00:00","","",,3,,
barbora,"2022-01-13T15:59:07+00:00","2019-07-10T10:35:22+00:00","","",,2,,
eliska,"2022-01-13T15:59:07+00:00","2019-01-29T10:22:27+00:00","","",,10,,
eva,"2022-01-13T15:59:07+00:00","2019-10-01T11:49:01+00:00","","",,2,,
jan,"2022-01-13T15:59:07+00:00","2022-01-05T10:38:42+00:00","","",,8,,
zdenka,"2022-01-13T15:59:07+00:00","2021-09-30T06:14:09+00:00","","",,1,,
zuzana,"2022-01-13T15:59:07+00:00","2021-12-21T08:59:16+00:00","","",,7,,
zuzana,"2022-01-13T15:59:07+00:00","2020-09-01T08:11:33+00:00","","",,1,,
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
adela,"2022-01-13T15:59:07+00:00","2021-07-07T09:57:58+00:00","","",,,,
alena,"2022-01-13T15:59:07+00:00","2018-08-08T13:15:35+00:00","","",,,,
anezka,"2022-01-13T15:59:07+00:00","1970-01-01T00:00:00+00:00","","",,,,
anna,"2022-01-13T15:59:07+00:00","2020-09-30T14:09:53+00:00","","",,,,
barbora,"2022-01-13T15:59:07+00:00","2018-10-05T09:01:59+00:00","","",,,,
dagmar,"2022-01-13T15:59:07+00:00","1970-01-01T00:00:00+00:00","","",,,,
dan,"2022-01-13T15:59:07+00:00","2022-01-12T09:56:27+00:00","","",,,,
daniel,"2022-01-13T15:59:07+00:00","1970-01-01T00:00:00+00:00","","",,,,
elena,"2022-01-13T15:59:07+00:00","2018-09-12T15:56:18+00:00","","",,,,
zdenek,"2022-01-13T15:59:07+00:00","2021-12-10T13:52:48+00:00","","",,,,
zita,"2022-01-13T15:59:07+00:00","1970-01-01T00:00:00+00:00","","",,,,
zuzana,"2022-01-13T15:59:07+00:00","2019-02-07T08:00:49+00:00","","",,,,

When I use only usage-report:generate, then I get 553 users, random (not sorted) and there are sorted at then end with some data missing, but at least one column.

alois,"2022-01-13T15:52:32+00:00","125 GB",1263511,431,0,10,40
vaclav,"2022-01-13T15:52:32+00:00","125 GB",0,2,0,0,0
jan,"2022-01-13T15:52:32+00:00","125 GB",0,2,0,0,0
veronika,"2022-01-13T15:52:32+00:00","125 GB",51981711,350,0,0,0
klara,"2022-01-13T15:52:32+00:00","125 GB",6179650,11,0,0,0
pavel,"2022-01-13T15:52:32+00:00","125 GB",472868459,24,0,0,0
pavel_2509,"2022-01-13T15:52:32+00:00","125 GB",389773293,430,0,0,0
marketa,"2022-01-13T15:52:32+00:00","125 GB",83546777,16,0,0,0
vladimir,"2022-01-13T15:52:32+00:00","125 GB",763579513,211,4,0,0
zdenek,"2022-01-13T15:52:32+00:00","125 GB",15516627062,5088,3,0,0
jan,"2022-01-13T15:52:32+00:00","125 GB",55870096,22,0,0,0
michal,"2022-01-13T15:52:32+00:00","125 GB",0,2,0,0,0
pavel,"2022-01-13T15:52:32+00:00","125 GB",41319477182,445,0,0,0
jarmil,"2022-01-13T15:52:32+00:00","125 GB",0,2,0,0,0
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
anna,"2022-01-13T15:52:32+00:00","","",,1,,37
barbora,"2022-01-13T15:52:32+00:00","","",,,6,85
ivan,"2022-01-13T15:52:32+00:00","","",,,,109
jan,"2022-01-13T15:52:32+00:00","","",,8,,100
katerina,"2022-01-13T15:52:32+00:00","","",,,6,86
lenka,"2022-01-13T15:52:32+00:00","","",,,1,3
martin,"2022-01-13T15:52:32+00:00","","",,1,20,
ondrej,"2022-01-13T15:52:32+00:00","","",,,,103
vojtech,"2022-01-13T15:52:32+00:00","","",,,,141
zbynek,"2022-01-13T15:52:32+00:00","","",,16,14,2
zdenek,"2022-01-13T15:52:32+00:00","","",,35,3047,47
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
anezka,"2022-01-13T15:52:32+00:00","","",,1,,
anita,"2022-01-13T15:52:32+00:00","","",,3,,
barbora,"2022-01-13T15:52:32+00:00","","",,2,,
eliska,"2022-01-13T15:52:32+00:00","","",,10,,
eva,"2022-01-13T15:52:32+00:00","","",,2,,
marketa,"2022-01-13T15:52:32+00:00","","",,1,,
martin,"2022-01-13T15:52:32+00:00","","",,1,,
martin,"2022-01-13T15:52:32+00:00","","",,2,,
milena,"2022-01-13T15:52:32+00:00","","",,5,,
nikola_5916,"2022-01-13T15:52:32+00:00","","",,1,,
nikola,"2022-01-13T15:52:32+00:00","","",,1,,
pavla,"2022-01-13T15:52:32+00:00","","",,1,,
petr,"2022-01-13T15:52:32+00:00","","",,4,,
petr_8404,"2022-01-13T15:52:32+00:00","","",,1,,
petr,"2022-01-13T15:52:32+00:00","","",,2,,
radka,"2022-01-13T15:52:32+00:00","","",,2,,
robert,"2022-01-13T15:52:32+00:00","","",,3,,
tatana,"2022-01-13T15:52:32+00:00","","",,2,,
viola,"2022-01-13T15:52:32+00:00","","",,1,,
vojtech,"2022-01-13T15:52:32+00:00","","",,2,,
zuzana,"2022-01-13T15:52:32+00:00","","",,1,,

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

2 participants