Skip to content
This repository was archived by the owner on Sep 5, 2026. It is now read-only.
This repository was archived by the owner on Sep 5, 2026. It is now read-only.

Logging out doesn't bring up log in dialogue #574

Closed

Description

@thndrbck

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:

  • OS: server: Ubuntu 20.04 LTS] docker, desktop: Linuxmint
  • Browser Chrome
  • Database SQLite
  • Papermerge Version 3
    Screenshot from 2024-01-04 18-35-34
    Screenshot from 2024-01-04 18-35-22
    Screenshot from 2024-01-04 18-35-10

Activity

  1. ciur commented on Jan 6, 2024

    @ciur
    Owner

    @thndrbck could you please attach containers logs? (web app logs would suffice)

  2. puhamihai commented on Jan 8, 2024

    @puhamihai

    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"

  3. thndrbck commented on Jan 8, 2024

    @thndrbck
    Author
  4. n2qcn commented on Jan 26, 2024

    @n2qcn

    confirmed in 3.0.2

  5. ciur commented on Jan 28, 2024

    @ciur
    Owner

    This PR fixes the problem.

    Signing out before the fix:
    before

    Signing out after the fix:
    after

  6. ciur commented on Feb 4, 2024

    @ciur
    Owner

    @thndrbck could you please confirm that issue was solved in 3.0.3 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions