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

Route issue '/ipa/modern_ui' #607

Open
irtaza9 opened this issue Jan 6, 2025 · 6 comments
Open

Route issue '/ipa/modern_ui' #607

irtaza9 opened this issue Jan 6, 2025 · 6 comments

Comments

@irtaza9
Copy link

irtaza9 commented Jan 6, 2025

I deployed the web-ui but it is not showing the page.

image

image

@abbra
Copy link

abbra commented Jan 7, 2025

Can you give more details on how you have deployed the app? It is supposed to be running on IPA server, not just on a random server you have.

@carma12
Copy link
Collaborator

carma12 commented Jan 7, 2025

Hello @irtaza9 . I guess that you followed the deployment instructions defined here, but it can be a good idea to double check it in case there is something expected or there is some issue to fix from our side. In a nutshell, those steps are:

  • Install vagrant dependencies
  • Do vagrant up to launch the environment
  • Add the IP into /etc/hosts
  • Start the nodejs environment by running npm run start

As @abbra already mentioned above, this is supposed to work in IPA environments only. Alternatively, you can reproduce the same steps to try it in your local and check how it would look.

@irtaza9
Copy link
Author

irtaza9 commented Jan 8, 2025

image

image

what is going on? previously i just run the project on a vm and run the project with using vegrant up

@carma12
Copy link
Collaborator

carma12 commented Jan 10, 2025

@irtaza9 If I understood correctly, the first time it worked but not the second one. Is that correct?

Which are the parameters and exact steps that you are using? Are you executing vagrant up in a VM in both cases?

I recommend you to first try it in your local (not using any VM) to check if it is working fine. As vagrant is using libvirt library this sometimes can lead to an error if versions are not compatible. Check this and this.

Alternatively, you can also try to check which version of libvirt are you using (rpm -qa 'libvirt*'. In my case I'm using libvirt-10.6.0-6.fc41.x86_64) and do a quick reinstall. After that, try again in a clean environment.

@irtaza9
Copy link
Author

irtaza9 commented Jan 10, 2025

I am using ubuntu via wsl on windows. the first time it worked without doing vagrat up but then app was not accessible. Then i did vagrant up and i faced the above shared error.

image

@carma12
Copy link
Collaborator

carma12 commented Jan 10, 2025

What do you mean by "first time it worked"? Were you able to actually see the modern WebUI the first time? Or it was not accessible at any point?

It would be very useful if you could describe the exact steps that you followed to configure and run everything, not only for the webui itself but also for your VM. This would help us understand better and maybe reproduce the issue.

FWIW, doing vagrant up is needed because the modern WebUI needs to be installed alongside a FreeIPA client. As described in the Development environment docs:

This project relies on Vagrant to set-up a virtual machine with FreeIPA installed and configured.

I'm not sure if your Ubuntu VM could need a specific vagrant configuration for which you'd need to modify the Vagrantfile included in the project repository. As an alternative, you can try to use a Fedora VM instead of an Ubuntu one.

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

3 participants