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

OKIT web GUI non-responsive #736

Open
rkasibhatla opened this issue Dec 17, 2024 · 10 comments
Open

OKIT web GUI non-responsive #736

rkasibhatla opened this issue Dec 17, 2024 · 10 comments

Comments

@rkasibhatla
Copy link

Hi

I tried installing the okit web using native installation on both ol8 and ol9 and also using docker image based install. I am following the exact step-by-step procedure. though the web interface is accessible, none of the GUI areas are working. I am not able to query an existing tenancy, nor i could able to add a new tenancy info using the green "wheel" button. its just non-responsive. the okit.log and okit-debug.log are not showing and error at all.

is there any specific issue with any dependencies ?

thanks

@xjuarez
Copy link

xjuarez commented Dec 18, 2024

I have the same problem, do you have a solution?

@rkasibhatla
Copy link
Author

Nop...no clue at all.
I tried all these combinations...

OEL9: native as well as Docker
OEL8: native as well as Docker
Ubuntu 24
Ubuntu 20
WSL2 with Windows 11

nothing seems to work. earlier versions worked seamlessly with the fast docker based run. but this latest version is not at all working.

tried cloning until 0.60.0, but the same trouble persists.

the documentation is not precise regading the version compatibilities, package dependencies etc...so its like groping in the dark.

hope somebody looks into the issue to give a solution ASAP.

@obingul
Copy link

obingul commented Dec 19, 2024

Same here

@xjuarez
Copy link

xjuarez commented Dec 24, 2024

I was able to continue but it was with ocd-0.2.6-Setup.exe, this installs the app and does the same for the .oci .ssh issue, you must place it in C:\Users\User\

@rkasibhatla
Copy link
Author

Hi

Yes the local installable OCD works fine...no issue with that. However it still has a lot of scope for improvement in its coming releases. Because,

  1. AS per the documentation OCD has only a partial functionality comparted to the OKIT Web
  2. The way in which the OCD creates the drawings up on querying an existing OCI environment is very awkward and is not presentation friendly. and moving around all the components even for a simple deployment is very clumsy to make it human understandable.

Regards

@BaumSchorle
Copy link

The Problem is a syntax error in the added jquery3.6.0.js library. You can simply replace the library with version 3.6.1 and then everything works again.

@rkasibhatla
Copy link
Author

Hi

I have set up two clean VMs from scratch one with OL8.10 and the other with OL9.5
followed the exact steps as per the documentation, and after that replaced the jquery.js as per your advice.

in none of the environments it worked. The GUI is still non-responsive.

If you can share the exact configuration versions from the OS, Python and its modules, etc. where the web interface worked for your correctly, I would like to recreate an exact environment to see if it works for me too.

Thanks a lot.

Regards

@BaumSchorle
Copy link

Hi,

I have forked the repository and implemented a fix in Branch "736-fixes".

Then I simply built a new Docker image and it worked. It is important to update the Dockerfile, since it will pull the code from the repository to point to the fork and use "--build-arg BRANCH=736-fixes" while building the Docker image to pull the correct branch.

You should be able to download my fork and when using the correct branch and above args to build a working docker image.

This simply worked on my environment.

The bug was introduced with this commit: b872c74
The developer changed the jquery code and did introduce the syntax errors. You can check the Developer Tools of your browser and you will find the error in the console.

@rkasibhatla
Copy link
Author

Hi

Good Day.

Thank you very much for your explanation and the effort you had put into this issue.
In the first place just to confirm that yesterday I have tried the native linux installation method not the docker method.

I have two questions though:

  1. It seems that the "dockering" feature is being de-emphasized as of the latest version. In this case, the modification you suggested regarding the jquery won't work in a native linux installation method ?

  2. As you have forked this with a bug etc., can we expect this issued getting resolved in the next stable version?

Thank you very much.

Regards

Ravi

@sbarberuk
Copy link

The Problem is a syntax error in the added jquery3.6.0.js library. You can simply replace the library with version 3.6.1 and then everything works again.

I did something similar, only with the latest version of jquery

cd okit/okitweb/static/js
mv jquery-3.6.0.js jquery-3.6.0.js.old
wget https://code.jquery.com/jquery-3.7.1.js
mv jquery-3.7.1.js jquery-3.6.0.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants