Skip to content
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

Cannot switch to PUI - None shown in browser #8393

Open
2 of 6 tasks
Keybored02 opened this issue Oct 29, 2024 · 3 comments
Open
2 of 6 tasks

Cannot switch to PUI - None shown in browser #8393

Keybored02 opened this issue Oct 29, 2024 · 3 comments
Labels
bug Identifies a bug which needs to be addressed question This is a question triage:not-checked Item was not checked by the core team

Comments

@Keybored02
Copy link

Keybored02 commented Oct 29, 2024

Please verify that this bug has NOT been raised before.

  • I checked and didn't find a similar issue

Describe the bug*

When prompted to switch to PUI during login, if link is clicked no UI is loaded.Image
This is not affected by the browser or machine accessing it. It happens with inventree.localhost too, with and without SSL certification.
No error report is shown in the admin console. Unsure where the log files are located with DEBUG disabled.

Steps to Reproduce

  1. From the login screen, click the link to PUI switch.

Expected behaviour

The UI is switched from CUI to PUI, as in the demo. A new login page appears.

Deployment Method

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

Version Information

Version Information:

InvenTree-Version: 0.17.0 dev
Django Version: 4.2.14

Database: sqlite3
Debug-Mode: False
Deployed using Docker: False
Platform: Linux-5.10.0-33-amd64-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.

  • I can reproduce this bug on the demo site.

Relevant log output

13:32:35 server inventree-web-1.service[2275]: Manifest file not found
Oct 29 13:32:35 server inventree-web-1.service[2275]: 192.168.1.15 - - [29/Oct/2024:12:32:35 +0000] "GET /platform HTTP/1.0" 200 401 "http://192.168.1.96/accounts/login/?next=/" "Mozilla/5.0 >
Oct 29 13:32:35 server inventree-web-1.service[2281]: 192.168.1.15 - - [29/Oct/2024:12:32:35 +0000] "GET /favicon.ico HTTP/1.0" 302 0 "http://192.168.1.96/platform" "Mozilla/5.0 (Windows NT 1>
Oct 29 13:32:35 server inventree-web-1.service[2274]: 192.168.1.15 - - [29/Oct/2024:12:32:35 +0000] "GET /accounts/login/?next=/favicon.ico HTTP/1.0" 200 8517 "http://192.168.1.96/platform" ">
lines 980-1002/1002 (END)

@Keybored02 Keybored02 added bug Identifies a bug which needs to be addressed question This is a question triage:not-checked Item was not checked by the core team labels Oct 29, 2024
@SchrodingersGat
Copy link
Member

You may not have compiled the frontend code when updating - this may be skipped depending on your setup.

Run the following command:

invoke update --frontend

And then restart the server. LMK if you see the frontend code then

@Keybored02
Copy link
Author

Hi, thanks for the fast response.

Unfortunately it didn't work. invoke update does run without errors, but the issue remains the same.

I also tried stopping the service inventree before invoking, still no luck.

Maybe a general update would benefit it?

I used the provided installer for the initial setup btw.

@SchrodingersGat
Copy link
Member

Does the web browser provide any error / warning information in the console?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies a bug which needs to be addressed question This is a question triage:not-checked Item was not checked by the core team
Projects
None yet
Development

No branches or pull requests

2 participants