-
-
Notifications
You must be signed in to change notification settings - Fork 621
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
CSRF error when behind Traefik after update to v1.7 #2622
Comments
No idea why but now it is working. I literally added a random variable via Still seems like there could be a bug where setting the PAPERLESS_URL via the app questions doesnt trigger a change or something? |
Could it be you shell'd into the container before it gets shutdown and the new one spawn (so it would have the new env set)? But considering it DID work at the end. It might or might not be a bug from scale side, but then again, if that was the case, we many users you have problem with env's. |
I had tried multiple times so i dont think i could have shell'd in too early. I tried replicating it with another instance and couldnt sooo... 🤷 We can probably close this |
This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists |
App Name
paperless-ng
SCALE Version
22.02.0
App Version
1.7.0_2.0.24
Application Events
Application Logs
Application Configuration
The only relevant part here is that I tried setting
PAPERLESS_URL
both via the field underContainer Configuration
as well as manually underConfigure Image Environment
. The formal of the url washttps://paperless.domain.com
Describe the bug
The latest paperless-ng update (to v1.7) appears to have broken installs that are behind Traefik.
The project has posted an issue that explains how to fix it here: paperless-ngx/paperless-ngx#712
I also saw that the chart has an explicit PAPERLESS_URL input but unfortunately putting a value in there or adding it manually does not set the env var in the paperless-ng container.
I confirmed this by going into the container with the shell and just trying echo $PAPERLESS_URL after both methods
To Reproduce
PAPERLESS_URL
(it isnt required for 1.6)PAPERLESS_URL
either in the provided field in the App questions or "manually" viaConfigure Image Environment
does not appear to actually set it within the paperless-ng containerExpected Behavior
Setting
PAPERLESS_URL
via the App questions orConfigure Image Environment
should result in the variable being set in the paperless-ng containerScreenshots
.
Additional Context
.
I've read and agree with the following
The text was updated successfully, but these errors were encountered: