Giter Club home page Giter Club logo

Comments (14)

shamoon avatar shamoon commented on June 18, 2024

Are you suggesting we lock unicorn to 0.25? I can’t tell if they meant for 0.26 to be a breaking change, surprising if so.

Since you presumably have a ‘bare metal’ install seems like the answer is “don’t install 0.26” in the meantime.

Perhaps some else has a better solution, but…

edit:

"root_path": settings.FORCE_SCRIPT_NAME or "",

from paperless-ngx.

shamoon avatar shamoon commented on June 18, 2024

Did you notice your logs say “papeless/accounts”?

from paperless-ngx.

gringus avatar gringus commented on June 18, 2024

Unfortunately not.

from paperless-ngx.

gringus avatar gringus commented on June 18, 2024

I would say that currently using uvicorn 0.26 will cause problems in certain scenarios. In my case, I install paperless-ngx from sources on my home server (no docker).

from paperless-ngx.

stumpylog avatar stumpylog commented on June 18, 2024

We still provide the versions we know work, and if you are choosing to install something else, that really is at your own risk.

This doesn't feel like a bug, but just heads up for some future maybe bug.

from paperless-ngx.

stumpylog avatar stumpylog commented on June 18, 2024

And frankly, this seems like a user action is needed. As pointed out above, there is already a setting to configure that uvicorn setting, so this seems not like a bug. If/when we update to 0.26, we can flag that for users to know they need to take action

from paperless-ngx.

gringus avatar gringus commented on June 18, 2024

1 comment and 1 question:

  • In Pipfile you do not restrict uvicorn version, so likely some people will run into trouble (non-docker folks). I have my workaround, so it's up to you to decide what you are going to do with this piece of information.
  • So what should be the new configuration with uvicorn 0.26 if you want to provide paperless-ngx under https://example.com/paperless URL? I tried multiple combinations, but none of them worked..

from paperless-ngx.

shamoon avatar shamoon commented on June 18, 2024
  • Yea, I think locking it for now will be an immediate solution for bare-metal installs like yourself.
  • This is a great question and I definitely dont know the answer, I find this rather confusing. You mean you tried different options for PAPERLESS_FORCE_SCRIPT_NAME, correct? Did you also try adjusting the settings at your reverse proxy. Thats the part that I find confusing / unclear how to easily test.

from paperless-ngx.

gringus avatar gringus commented on June 18, 2024

Yes, I tried to tweak PAPERLESS_URL along with PAPERLESS_FORCE_SCRIPT_NAME and PAPERLESS_STATIC_URL. None of the combinations gave me a landing page :-( I can try experimenting a bit more, but likely we will need a patch or something..

from paperless-ngx.

stumpylog avatar stumpylog commented on June 18, 2024

If a user is following the bare metal installation instructions, they will end up with 0.25 right now anyway, so this seems pretty low priority. We can't really help users who decide not to use the versions we're specifying.

We'll just lock it for now and if anyone every actually understands the new requirement, can unlock and add documentation.

from paperless-ngx.

shamoon avatar shamoon commented on June 18, 2024

If a user is following the bare metal installation instructions, they will end up with 0.25 right now anyway

Thanks for clarifying that stumpy, I misunderstood that

from paperless-ngx.

gringus avatar gringus commented on June 18, 2024

Sounds fair..

from paperless-ngx.

shamoon avatar shamoon commented on June 18, 2024

Thanks for the report, I think this is resolved as above.

from paperless-ngx.

github-actions avatar github-actions commented on June 18, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns. See our contributing guidelines for more details.

from paperless-ngx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.