docs icon indicating copy to clipboard operation
docs copied to clipboard

Update "Resetting Your Admin Password" doc

Open zanagraf opened this issue 1 year ago • 3 comments

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='\''[email protected]'\''; | 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='\''[email protected]'\''; | sqlite3 /data/webui.db',": stat EXEC:bash -c 'apk add sqlite && echo UPDATE auth SET password='''y0$/LKFe9pfPXCzioOrGGru4ulRoSsfIkJVhiobfvJbH9WO2LAGehpLG''' WHERE email='''[email protected]'''; | 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.

zanagraf avatar Oct 03 '24 06:10 zanagraf