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

Error "Template 'index.html' not found" when connecting to localhost #2882

Closed
rbpn4 opened this issue Feb 16, 2024 · 8 comments
Closed

Error "Template 'index.html' not found" when connecting to localhost #2882

rbpn4 opened this issue Feb 16, 2024 · 8 comments
Labels

Comments

@rbpn4
Copy link

rbpn4 commented Feb 16, 2024

Hi everyone,

I hope someone can help with this issue. Whenever I connect to the localhost via a browser I get the following error "Template 'index.html' not found".

Is there a place to download this from or it's something that should be created during the deployment?

I am getting a few errors and warnings (screenshots) but I didn't think it would affect this - but I could be very wrong. Any help would be highly appreciated.

Cheers!

Full output:
Screenshot 2024-02-16 112830

update:

This is what I get in the browser when trying to access
image

@rbpn4 rbpn4 added the question label Feb 16, 2024
Copy link

Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/

@elegantmoose
Copy link
Contributor

Are you running v5 or v4.2. (Looks like v4.2)

I also dont see any errors in the output.

@rbpn4
Copy link
Author

rbpn4 commented Feb 16, 2024

Are you running v5 or v4.2. (Looks like v4.2)

I think it might be v4.2. I did forget to put the '--branch x.x.x' operator and mention the version.

I also dont see any errors in the output.

There are two on lines 14&15 and a couple of warnings but not sure what impact they have

image

@elegantmoose
Copy link
Contributor

Did you configure the port to be 10888 or is that typo? (Caldera's normal port is 8888)

@rbpn4
Copy link
Author

rbpn4 commented Feb 19, 2024

Yes I configured it to port 1088

@elegantmoose
Copy link
Contributor

Hmm, not sure what the issue is as those errors would not be causing the UI files to be missing.

Were you able to make progress? If not, I might say repull master branch and give that a try.

@rbpn4
Copy link
Author

rbpn4 commented Feb 22, 2024

No... I'm still stuck with the same issue... I tried to pull it again, tried versions 5.0,4.2 and 4.0 and also in a new VM - all seem to have the same issue

@rbpn4
Copy link
Author

rbpn4 commented Feb 22, 2024

Thanks for your help so far elegantmoose! I managed to resolve the issue just now.

This is what fixed it for me:

running the following command in the caldera folder: git submodule add https://github.com/mitre/magma

Then running - cd plugins/magma && npm install

And finally - sudo python3 server.py --build

@rbpn4 rbpn4 closed this as completed Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants