jonaswinkler/paperless-ng

[BUG] PAPERLESS_LOGOUT_REDIRECT_URL not working

ybizeul opened this issue · 5 comments

Describe the bug
PAPERLESS_LOGOUT_REDIRECT_URL doesn't seem to be working

To Reproduce
Steps to reproduce the behavior:

  1. Log in with a proxy to paperless, having PAPERLESS_ENABLE_HTTP_REMOTE_USER
  2. Make sure the user in the one logged in with on the upper right hand corner
  3. Logout
  4. Browser is sent to [...]/accounts/logout/ instead of the configured logout URL

Expected behavior
User should be redirected to configured URL

Relevant information

  • container
  • Safari
  • 1.5.0

The current docker image 1.5.0 does not include this functionality yet. See here:

#1258 (comment)

You would need to build it yourself or wait for the first release of paperless-ngx:

https://github.com/paperless-ngx/paperless-ngx

Hey,

unfortunately, the feature is not yet included in 1.5.0 (cf #1258 (comment)). You can check out paperless-ngx, a fork that tries to revive the project. Our image at ghcr.io/paperless-ngx/paperless-ngx:dev already includes this and a lot more. There will also be a proper release very soon.

Thanks guys. So there is a need to revive paperless-ng ? Is it no longer maintained ?
Is the database compatible ? i.e. can I just change the image name and it'll pick up ?

Hey. Yes unfortunately there has not been any activity in paperless-ng for months, so a revival was in order. paperless-ngx should be a drop-in replacement, see https://github.com/paperless-ngx/paperless-ngx/blob/dev/docs/setup.rst#migrating-from-paperless-ng
Currently, paperless-ngx:latest is just paperless-ng 1.5.0 while paperless-ngx 1.6.0 is in beta. The release should only be a few days away now. If you want to help us test the upcoming release, please check out paperless-ngx/paperless-ngx#213

Seems to be working with the beta. Thanks !