[GH-ISSUE #2650] vikunja_user_count is not updated after successful API registration #6721

Open
opened 2026-04-20 17:18:08 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @booxter on GitHub (Apr 16, 2026).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2650

Pre-submission checklist

  • I have searched for existing open or closed issue reports with the same problem.

Description

vikunja_user_count does not update after successful user creation through the regular registration API.

I reproduced this on the public demo instance at https://try.vikunja.io:

  1. GET /api/v1/metrics returned:
    vikunja_user_count 107
  2. POST /api/v1/register succeeded with 200 OK
  3. the response returned a newly created user:
    • username: codex-demo-reg-20260416-2356
    • id: 218
    • created: 2026-04-17T01:54:09+02:00
  4. GET /api/v1/metrics still returned:
    vikunja_user_count 107
  5. after waiting a few seconds, the metric was still unchanged

So the registration API creates the user successfully, but the metric does not reflect the new user count.

Vikunja Version

Public demo: v2.3.0-101-10ec3b55

I also investigated this locally against checkout 10ec3b55b01e083268747c15ee383059f6408695.

Browser and version

N/A

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

N/A

Originally created by @booxter on GitHub (Apr 16, 2026). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2650 ## Pre-submission checklist - [x] I have searched for existing open or closed issue reports with the same problem. ## Description `vikunja_user_count` does not update after successful user creation through the regular registration API. I reproduced this on the public demo instance at `https://try.vikunja.io`: 1. `GET /api/v1/metrics` returned: `vikunja_user_count 107` 2. `POST /api/v1/register` succeeded with `200 OK` 3. the response returned a newly created user: - username: `codex-demo-reg-20260416-2356` - id: `218` - created: `2026-04-17T01:54:09+02:00` 4. `GET /api/v1/metrics` still returned: `vikunja_user_count 107` 5. after waiting a few seconds, the metric was still unchanged So the registration API creates the user successfully, but the metric does not reflect the new user count. ## Vikunja Version Public demo: `v2.3.0-101-10ec3b55` I also investigated this locally against checkout `10ec3b55b01e083268747c15ee383059f6408695`. ## Browser and version N/A ## Can you reproduce the bug on the Vikunja demo site? Yes ## Screenshots N/A
GiteaMirror added the concern/regressionarea/apiarea/auth labels 2026-04-20 17:18:08 -05:00
Author
Owner

@booxter commented on GitHub (Apr 16, 2026):

One note: I think there's a separate path to miss metrics update - through CLI that would need a different treatment from what I just posted in https://github.com/go-vikunja/vikunja/pull/2651

<!-- gh-comment-id:4264236024 --> @booxter commented on GitHub (Apr 16, 2026): One note: I think there's a separate path to miss metrics update - through CLI that would need a different treatment from what I just posted in https://github.com/go-vikunja/vikunja/pull/2651
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6721