mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 12:05:58 +03:00
[GH-ISSUE #401] Default login admin:admin for docker doesnt work #313
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#313
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @timowevel1 on GitHub (Jul 13, 2021).
Original GitHub issue: https://github.com/ciur/papermerge/issues/401
Originally assigned to: @ciur on GitHub.
Hello,
I deployed papermerge through docker on a completly new server. admin:admin doesnt work for login, it tells me it is wrong. I deployed it on another server, same issue.
You got an idea how I can login anyway?
Thanks
@julien-vu commented on GitHub (Jul 15, 2021):
Just updated the container and can't update at all, maybe it's linked
@iwconfig commented on GitHub (Jul 18, 2021):
Don't know for sure if this is related, but I did some changes to the papermerge config file and this occurred to me as well, after recreating the containers.
I solved it by removing everything with
then rebuilt the images before starting the containers by running
and then admin:admin worked as it should again.
To fix admin password without rebuilding, do the following:
and in the python shell, paste the following
and you're done.
@timowevel1 commented on GitHub (Jul 25, 2021):
Thank you, worked!
@iwconfig commented on GitHub (Jul 25, 2021):
Glad I could help!
Isn't this still considered a bug though? Maybe it's already reported in another open issue but if not I suggest reopening this again.
@hillbicks commented on GitHub (Jan 12, 2022):
Since this issue is still open, let me chime in.
I was also unable to login, but in my case the admin didn't even exist, so the solution was simple. Just run python3 manage.py createsuperuser inside the container.
@iwconfig commented on GitHub (Jan 13, 2022):
Yep, that's mentioned in the documentation as well, as part of the installation without using docker.
To run anything inside a container, do
<command>can be/bin/bashif you want but it's not necessary as you can call the desired command directly without opening a bash session.