-
-
Notifications
You must be signed in to change notification settings - Fork 799
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
Unable to logon - goes back to logon screen #8481
Comments
Looking through various PRs I came across this:
The setting on my install was none. I've changed to false and this has fixed the issue. Guess this issue only raised it's head as I'm always logged onto the session that was always working and one of the users had not logged in since the upgrade a few days ago. |
I'll reply here as this seems to be the first issue mentioning this. We also had our InvenTree being broken (we auto-update everything) and this indeed fixes it. My question however: why was this released as a MINOR version? It breaks all existing setups with the "default" configuration. That is a bit strange to me. |
I do not recommend autoupdating at this point. We are pre 1.0 so as per SemVer there can be and are breaking changes with releases. |
#7847 Would be a simple first issue |
@Mattie112 the breaking change here was to address a bug in our setup which broke other installs. Apologies for the inconvenience in any case. |
Please verify that this bug has NOT been raised before.
Describe the bug*
When I try and logon I get taken back to the logon screen without any errors. (This is on the old GUI interface)
I know the password is correct as if I enter the wrong password I get the correct response about password being incorrect.
This is happening across multiple machines/multiple browsers. (Latest Chrome and FF on Ubuntu 24.04)
I am however logged into a session from one machine and everything is working (Don't want to logout as I might not be able to get back in)
If I view the user under Admin I can see the last logon time is being updated so it's logging on but then kicking me out.
The issue looks similar to:
#7127
I did try update the settings.py file but this didn't make any difference. I have also updated from 0.16.2 to 0.16.8 a few days ago so not sure if it's related.
Tried clearing cache on browsers, rebooting inventree server. Not sure where to go from here or what logs to check.
Steps to Reproduce
Try and logon to Inventree only to be taken back to the logon screen.
Expected behaviour
Should be able to logon
Deployment Method
Version Information
Version Information:
InvenTree-Version: 0.16.8
Django Version: 4.2.15
Database: mysql
Debug-Mode: False
Deployed using Docker: False
Platform: Linux-5.4.0-200-generic-x86_64-with-glibc2.31
Installer: None
Active plugins: [{'name': 'InvenTreeBarcode', 'slug': 'inventreebarcode', 'version': '2.1.0'}, {'name': 'InvenTreeCoreNotificationsPlugin', 'slug': 'inventreecorenotificationsplugin', 'version': '1.0.0'}, {'name': 'InvenTreeCurrencyExchange', 'slug': 'inventreecurrencyexchange', 'version': '1.0.0'}, {'name': 'InvenTreeLabel', 'slug': 'inventreelabel', 'version': '1.1.0'}, {'name': 'InvenTreeLabelMachine', 'slug': 'inventreelabelmachine', 'version': '1.0.0'}, {'name': 'InvenTreeLabelSheet', 'slug': 'inventreelabelsheet', 'version': '1.0.0'}, {'name': 'DigiKeyPlugin', 'slug': 'digikeyplugin', 'version': '1.0.0'}, {'name': 'LCSCPlugin', 'slug': 'lcscplugin', 'version': '1.0.0'}, {'name': 'MouserPlugin', 'slug': 'mouserplugin', 'version': '1.0.0'}, {'name': 'TMEPlugin', 'slug': 'tmeplugin', 'version': '1.0.0'}, {'name': 'KiCadLibraryPlugin', 'slug': 'kicad-library-plugin', 'version': '1.4.3'}]
Please verify if you can reproduce this bug on the demo site.
Relevant log output
The text was updated successfully, but these errors were encountered: