InvenTree icon indicating copy to clipboard operation
InvenTree copied to clipboard

Cannot login with any user | DigitalOcean one-click install

Open CWatson-Tactile opened this issue 10 months ago • 8 comments

Please verify that this bug has NOT been raised before.

  • [x] I checked and didn't find a similar issue

Describe the bug*

I setup a digital ocean image using the one-click on the DO marketplace.

Everything was working fine yesterday, but I tried ot login this morning and no matter which user tries to login, I always get a blank white screen. The tab says 'InvenTree | Permission Denied'. Image

I am running behind a reverse proxy and with SSL. Changed nothing between yesterday and today.

I have tried the steps listed in the doumentation for resetting a password via cli, and using 'invoke superuser' and neither has worked.

Image

Image

Steps to Reproduce

Likely something wrong with my instance.

Expected behaviour

Should be able to login

Deployment Method

  • [ ] Docker
  • [ ] Package
  • [ ] Bare metal
  • [x] Other - added info in Steps to Reproduce

Version Information

Not sure since I cannot open the instance. But it was created yesterday using the DO one-click on the marketplace.

Please verify if you can reproduce this bug on the demo site.

  • [ ] I can reproduce this bug on the demo site.

Relevant log output


CWatson-Tactile avatar Apr 01 '25 17:04 CWatson-Tactile

Just realized I submitted this as a bug, but probably should be under 'installation problems'

CWatson-Tactile avatar Apr 01 '25 17:04 CWatson-Tactile

Neither of the steps listed are for the package-based DO install - please link to the sections that list them

matmair avatar Apr 01 '25 18:04 matmair

https://docs.inventree.org/en/latest/start/accounts/

CWatson-Tactile avatar Apr 01 '25 18:04 CWatson-Tactile

If there's a different documentation for the DO version I don't see indication of that anywhere.

CWatson-Tactile avatar Apr 01 '25 18:04 CWatson-Tactile

If there's a different documentation for the DO version I don't see indication of that anywhere.

DO is not an official install method as indicated on the website. It is not mentioned in the docs at all.

A member of the team provides a 1-click app for InvenTree on the DigitalOcean marketplace.

matmair avatar Apr 01 '25 18:04 matmair

True. Do you have a suggestion how to fix this issue? The link to the source for the DO install has no content.

Image

CWatson-Tactile avatar Apr 01 '25 18:04 CWatson-Tactile

Please refer to this issue - https://github.com/inventree/InvenTree/issues/9427 - which seems to be having the same problem

SchrodingersGat avatar Apr 01 '25 21:04 SchrodingersGat

Please refer to this issue - #9427 - which seems to be having the same problem

I saw this, and thought it would be a different issue since that user was able to login. I believe I have the site_url set correctly, since I am able to get to the login screen.

CWatson-Tactile avatar Apr 01 '25 22:04 CWatson-Tactile

This issue seems stale. Please react to show this is still important.

github-actions[bot] avatar Jun 01 '25 11:06 github-actions[bot]