mirror of
https://github.com/open-webui/docs.git
synced 2026-07-20 15:38:19 -04:00
Update "Resetting Your Admin Password" doc #44
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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'", STDIODescribe 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.
@stumblebot commented on GitHub (Oct 3, 2024):
I also ran into this. I ended up just deleting the volume and starting over.
@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 ^^
@silentoplayz commented on GitHub (Dec 21, 2024):
Related PR - https://github.com/open-webui/docs/pull/175