Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update "Resetting Your Admin Password" doc #233

Open
zanagraf opened this issue Oct 3, 2024 · 2 comments
Open

Update "Resetting Your Admin Password" doc #233

zanagraf opened this issue Oct 3, 2024 · 2 comments

Comments

@zanagraf
Copy link

zanagraf commented 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='\''[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.

@stumblebot
Copy link

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

@tjbck tjbck transferred this issue from open-webui/open-webui Oct 4, 2024
@zanagraf
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants