-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
Hello,
I've installed today version 2.0.0 (fresh install as suggested, docker on x64 target). I created a new admin user (with a username matching one OIDC user). I then removed the default admin user.
But each time I'm recreating or restarting the stack, the default user admin is automatically recreated.
2026-02-24T09:00:07Z |INFO| ==============================
[glkvm_cloud] 2026-02-24T09:00:07.602726411Z 2026-02-24T09:00:07Z |INFO| SslCert: /home/certificate/glkvm_cer,SslKey: /home/certificate/glkvm_key
[glkvm_cloud] 2026-02-24T09:00:07.605339245Z 2026-02-24T09:00:07Z |INFO| Listen http proxy on: [::]:10443
[glkvm_cloud] 2026-02-24T09:00:07.605506158Z 2026-02-24T09:00:07Z |INFO| Listen devices on: [::]:5912
[glkvm_cloud] 2026-02-24T09:00:07.954328735Z
[glkvm_cloud] 2026-02-24T09:00:07.954416406Z 2026/02/24 09:00:07 /opt/work/golang/src/glkvm-cloud-both/glkvm-cloud/internal/server/api.go:129
[glkvm_cloud] 2026-02-24T09:00:07.954463017Z [9.313ms] [rows:1] INSERT INTO users (username, description, password_hash, role, status, is_system)
[glkvm_cloud] 2026-02-24T09:00:07.954497678Z VALUES ('admin', 'Admin', "$2a$12$dY7/tFLgVSu5/m8nGBLviOheTItbZhrAMT3ZsxEI4h6Aln4obwP2G", 'admin', 'active', 1)
[glkvm_cloud] 2026-02-24T09:00:07.954523788Z ON CONFLICT(username) DO UPDATE SET
[glkvm_cloud] 2026-02-24T09:00:07.954544468Z password_hash=excluded.password_hash,
[glkvm_cloud] 2026-02-24T09:00:07.954560979Z role='admin',
[glkvm_cloud] 2026-02-24T09:00:07.954577429Z status='active',
[glkvm_cloud] 2026-02-24T09:00:07.954592519Z is_system=1
[glkvm_cloud] 2026-02-24T09:00:07.997414283Z 2026-02-24T09:00:07Z |INFO| Listen users on: [::]:11443
is it possible to avoid doing this if there is already one admin created and active ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels