mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 03:55:58 +03:00
[GH-ISSUE #574] Logging out doesn't bring up log in dialogue #447
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#447
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 @thndrbck on GitHub (Jan 4, 2024).
Original GitHub issue: https://github.com/ciur/papermerge/issues/574
Originally assigned to: @ciur on GitHub.
In case you experience issues with docker image provided by linuxserver.io/papermerge, please open bug report in their repository.
Description
When the admin user logs out, there is a blank screen with a single word: "error".
Expected
The standard Papermerge login screen
Actual
a blank screen with a single word: "error" at the top left
Info:
@ciur commented on GitHub (Jan 6, 2024):
@thndrbck could you please attach containers logs? (web app logs would suffice)
@puhamihai commented on GitHub (Jan 8, 2024):
Hi @ciur I am facing the same issue.
Need to mention that if you reload the page with 'Error" message it redirects to the log dialog and it is working again.
Info:
OS: server: Ubuntu 22.04 LTS] docker, desktop: Windows
Mozilla Firefox
Database PostgreSQL 14.4.0
papermerge/papermerge:3.0
Web app container logs:
2024-01-08 15:57:43 INFO: 127.0.0.1:50174 - "GET /token-validator HTTP/1.0" 401 Unauthorized
2024-01-08 15:57:43 INFO 2024-01-08 13:57:43,902 auth Database based authentication for 'john'
2024-01-08 15:57:43 INFO 2024-01-08 13:57:43,933 auth Authentication succeded for 'john'
2024-01-08 15:57:43 172.20.0.1 - - [08/Jan/2024:13:57:43 +0000] "POST /api/token HTTP/1.1" 200 229 "http://localhost:12000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-08 15:57:43 INFO: 127.0.0.1:50186 - "GET /token-validator HTTP/1.0" 200 OK
2024-01-08 15:57:43 172.20.0.1 - - [08/Jan/2024:13:57:43 +0000] "GET / HTTP/1.1" 200 680 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-08 15:57:44 INFO: 127.0.0.1:50194 - "GET /token-validator HTTP/1.0" 200 OK
2024-01-08 15:57:44 INFO: 127.0.0.1:50200 - "GET /token-validator HTTP/1.0" 200 OK
2024-01-08 15:57:44 172.20.0.1 - - [08/Jan/2024:13:57:44 +0000] "GET /api/users/me HTTP/1.1" 200 290 "http://localhost:12000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-08 15:57:44 172.20.0.1 - - [08/Jan/2024:13:57:44 +0000] "GET /images/papermerge1.svg HTTP/1.1" 499 0 "http://localhost:12000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-08 15:57:44 INFO: 127.0.0.1:50224 - "GET /token-validator HTTP/1.0" 200 OK
2024-01-08 15:57:44 172.20.0.1 - - [08/Jan/2024:13:57:44 +0000] "GET /api/users/me HTTP/1.1" 200 290 "http://localhost:12000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-08 15:57:44 INFO: 127.0.0.1:50230 - "GET /token-validator HTTP/1.0" 200 OK
2024-01-08 15:57:44 INFO: 127.0.0.1:50236 - "GET /token-validator HTTP/1.0" 200 OK
2024-01-08 15:57:44 172.20.0.1 - - [08/Jan/2024:13:57:44 +0000] "GET /api/nodes/aa5b5e85-0de1-44ab-9c14-9948a1d93489?page_number=1&page_size=10&order_by=-title HTTP/1.1" 200 57 "http://localhost:12000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-08 15:57:44 172.20.0.1 - - [08/Jan/2024:13:57:44 +0000] "GET /api/folders/aa5b5e85-0de1-44ab-9c14-9948a1d93489 HTTP/1.1" 200 293 "http://localhost:12000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-08 15:57:55 172.20.0.1 - - [08/Jan/2024:13:57:55 +0000] "GET /ws/ocr HTTP/1.1" 101 4 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-08 15:57:55 INFO: 127.0.0.1:59946 - "GET /token-validator HTTP/1.0" 401 Unauthorized
2024-01-08 15:57:55 172.20.0.1 - - [08/Jan/2024:13:57:55 +0000] "GET /ws/ocr HTTP/1.1" 200 702 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
2024-01-08 15:57:55 INFO: 127.0.0.1:59958 - "GET /token-validator HTTP/1.0" 401 Unauthorized
2024-01-08 15:57:55 172.20.0.1 - - [08/Jan/2024:13:57:55 +0000] "GET /api/users/me HTTP/1.1" 401 12 "http://localhost:12000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
@thndrbck commented on GitHub (Jan 8, 2024):
Here's some further info and the file you requested


7d27fc1b3247c48781fe05df19dbab152aba7be4ff0b23c356ef9d5446117d5f-json.log
viewpagesource.txt
consoleSource.txt
consoleElements.txt
@n2qcn commented on GitHub (Jan 26, 2024):
confirmed in 3.0.2
@ciur commented on GitHub (Jan 28, 2024):
This PR fixes the problem.
Signing out before the fix:

Signing out after the fix:

@ciur commented on GitHub (Feb 4, 2024):
@thndrbck could you please confirm that issue was solved in 3.0.3 ?