Docker-gitlab: Users statistics are empty

Created on 18 May 2020  路  10Comments  路  Source: sameersbn/docker-gitlab

users statistics is 0 , but i have 5 users ... why ?

url:
https://gitlab.example.com/admin/dashboard/stats

image

image

bug

Most helpful comment

@MatthiasHertel @cwildfoerster The automatic release broke today in the morning. I restarted it and it will be available in ~聽next 30 Minutes.

All 10 comments

I can confirm this.

This issue is also posted in the upstream check this link: https://gitlab.com/gitlab-org/gitlab/-/issues/215492

Another Link
https://gitlab.com/gitlab-org/gitlab/-/issues/216461.

It seems that it will be fixed with 13.0 .

I'll gonna close this right here because it's nothing related to our project.

Just upgraded to 13.0. Still empty, but maybe the job hasn't ran yet.

Yes, this is working now, i forced the users_create_statistics_worker cron job under Monitoring > Background Jobs > Cron

@cwildfoerster
how do u upgrade ?
https://github.com/sameersbn/docker-gitlab/releases

this repo is still on 12.10.6 :thinking:

did u used the official gitlab-ce image ?

is it possible without break anything ?

@cwildfoerster
under: https://gitlab.example.com/admin/background_jobs i cannot find a cron like users_create_statistics , but i still on version 12.10.6 ... but in version 13.0 is the cron , right ?

@MatthiasHertel yes 13.0.0 see https://github.com/sameersbn/docker-gitlab/pull/2154 for more info. 13.0.0 tag is not on docker hub yet, use latest and make sure your postgresql database is correctly migrated to 11, because postgresql is not using the 10 dataset for upgrade, depending on how long you have been using it (from the 9.6 days)

@MatthiasHertel @cwildfoerster The automatic release broke today in the morning. I restarted it and it will be available in ~聽next 30 Minutes.

Its all good, but maybe you/we should add another info to the postgresql upgrade readme part about if you have a pretty old installation from the 9.6 days, the upgrade to 11 will fail because postgresql doesn't upgrade the more recent 10 dataset automatically.

@cwildfoerster

hi i guess i have the problem u drescribed above.

i am on pretty old postgres 9.6 and the image version is pinned on 9.6-2.

docker-compose.yml (snippet):

...
postgresql:
    restart: always
    image: sameersbn/postgresql:9.6-2
    volumes:
    - /srv/docker/gitlab/postgresql:/var/lib/postgresql:Z
...
gitlab:
    restart: always
    image: sameersbn/gitlab:latest
    depends_on:
    - redis
    - postgresql
...

do u know what i have to do to upgrade on gitlab 13 (latest)?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pmoralesp picture pmoralesp  路  3Comments

josefglatz picture josefglatz  路  5Comments

tarach picture tarach  路  5Comments

cyklodev picture cyklodev  路  3Comments

azman0101 picture azman0101  路  4Comments