Update "Resetting Your Admin Password" doc #44

Closed
opened 2026-02-15 17:05:25 -05:00 by yindo · 3 comments
Owner

Originally created by @zanagraf on GitHub (Oct 3, 2024).

Is your feature request related to a problem? Please describe.
Update "Resetting Your Admin Password" as docker command isn't actualise

Describe the solution you'd like
have the good command or a documented one of :
docker run --rm -v open-webui:/data alpine/socat EXEC:"bash -c 'apk add sqlite && echo UPDATE auth SET password='\''HASH'\'' WHERE email='\''admin@example.com'\''; | sqlite3 /data/webui.db'", STDIO

Describe alternatives you've considered
I tried to replace 'alpine/socat' by my image name 'ghcr.io/open-webui/open-webui' but i got this error :
'docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "EXEC:bash -c 'apk add sqlite && echo UPDATE auth SET password='\''y0$/LKFe9pfPXCzioOrGGru4ulRoSsfIkJVhiobfvJbH9WO2LAGehpLG'\'' WHERE email='\''e@mail.com'\''; | sqlite3 /data/webui.db',": stat EXEC:bash -c 'apk add sqlite && echo UPDATE auth SET password='''y0$/LKFe9pfPXCzioOrGGru4ulRoSsfIkJVhiobfvJbH9WO2LAGehpLG''' WHERE email='''e@mail.com'''; | sqlite3 /data/webui.db',: no such file or directory: unknown.'
I let the hash as it is because i'll change them after.

Additional context
Local docker compose with searXNG, try to reset my password after an docker update.

Originally created by @zanagraf on GitHub (Oct 3, 2024). **Is your feature request related to a problem? Please describe.** Update "Resetting Your Admin Password" as docker command isn't actualise **Describe the solution you'd like** have the good command or a documented one of : `docker run --rm -v open-webui:/data alpine/socat EXEC:"bash -c 'apk add sqlite && echo UPDATE auth SET password='\''HASH'\'' WHERE email='\''admin@example.com'\''; | sqlite3 /data/webui.db'", STDIO` **Describe alternatives you've considered** I tried to replace 'alpine/socat' by my image name 'ghcr.io/open-webui/open-webui' but i got this error : 'docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "EXEC:bash -c 'apk add sqlite && echo UPDATE auth SET password='\\''y0$/LKFe9pfPXCzioOrGGru4ulRoSsfIkJVhiobfvJbH9WO2LAGehpLG'\\'' WHERE email='\\''e@mail.com'\\''; | sqlite3 /data/webui.db',": stat EXEC:bash -c 'apk add sqlite && echo UPDATE auth SET password='\''y0$/LKFe9pfPXCzioOrGGru4ulRoSsfIkJVhiobfvJbH9WO2LAGehpLG'\'' WHERE email='\''e@mail.com'\''; | sqlite3 /data/webui.db',: no such file or directory: unknown.' I let the hash as it is because i'll change them after. **Additional context** Local docker compose with searXNG, try to reset my password after an docker update.
yindo closed this issue 2026-02-15 17:05:25 -05:00
Author
Owner

@stumblebot commented on GitHub (Oct 3, 2024):

I also ran into this. I ended up just deleting the volume and starting over.

@stumblebot commented on GitHub (Oct 3, 2024): I also ran into this. I ended up just deleting the volume and starting over.
Author
Owner

@zanagraf commented on GitHub (Oct 13, 2024):

I'll try that. I'm yet on a new system then no cache or local files will change something ^^

@zanagraf commented on GitHub (Oct 13, 2024): I'll try that. I'm yet on a new system then no cache or local files will change something ^^
Author
Owner

@silentoplayz commented on GitHub (Dec 21, 2024):

Related PR - https://github.com/open-webui/docs/pull/175

@silentoplayz commented on GitHub (Dec 21, 2024): Related PR - https://github.com/open-webui/docs/pull/175
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/docs#44