-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Template 'index.html' not found #3009
Comments
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/ |
Sounds like the UI components are not building and completing. Can you run |
And you are sure you have NodeJS v16 or higher? |
Have the same error, running caldera from docker-compose |
Sorry for the long delay. I am going to try and rebuild the VM again and try again, but this is an issue |
I was having this issue also. I tried option B first, but Option A fixed it for me, after some troubleshooting with ChatGPT, I got this answer:
Steps to Resolve the Issue1. Upgrade Node.jsTo resolve these warnings and ensure compatibility with the packages you are trying to install, you should upgrade Node.js to a more recent version. Here's how you can do that: Option A: Using Node Version Manager (NVM)
Option B: Direct Installation
2. Verify the Node.js Version
3. Re-run the npm Install
4. Rebuild the Project
5. Re-run the Caldera Server Command
Upgrading Node.js should eliminate the |
@cmndcntrlcyber Appreciate that write up, hopefully it helps. |
Many thanks to you for these commands. Much appreciated. This helped me get it working along with another fix. There is also an issue with having to update the .env file and changing the ip address to the actual host address and not 0.0.0.0. I found this on another forum. Since the "--build" function points to the default.yml file, I had to change the address in the default.yml file and the .env file. Using IPv4 192.168.1.1 as an example address-- I change the address in the following tow files:caldera/conf/default.yml -- changed the host.app line to https://192.168.1.1 Copied the .env file to another folder:cp plugins/magma/.env.template plugins/magma/.env Changed the ip to match the ip in the hosts file:nano plugins/magma.env -- changed ip from localhost to 192.168.1.1 Ran the command given above:python3 server.py --insecure --build Many thanks again for the response. |
Please forgive me as I am new to setting this up. I have tried to connect to caldera through various steps and I think I at the final point, but can't get the web UI working. I get the Template index not found.
Info that may be of use:
Running VM on ESXi 8
Ubuntu 22.04 LTS (Jammy Jellyfish)
16 GM ram
1 TB storage (thin provisioned)
So far I have used the posts in this issues thread to fix various errors I have encountered which has been helpful.
My steps:
Due to being a fresh Ubuntu 22.04 instal I had to add some dependencies for the issues I saw when trying to install Caldera on Ubuntu 24.04.
Installed upon first boot:
python3-pip
golang ( I found this on stack overflow)
sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt update
sudo apt install golang-go
npm
pip3 install docker, donut
snap install vue
pip3 install cryptography, openssl version (found in the issues thread)
This got the program running ok on the cli, but the webpage there is an issue.
Once I managed to narrow down the errors and install the appropriate fixes, I did the following:
rm -r conf/local.yml
python3 server.py --fresh
##NOTE I attempted the --insecure --build command first.
Since there were not errors, I went to the web UI and went to the webpage:
http://127.0.0.1:8888 -- output Template 'index.html' not found
I then saw a thread about changing the .env file in the magma folder.
I did this and rebooted system.
python3 server.py --build ## to attempt to rebuild the server:
I did the command
npm i [email protected]. - to address the issue with vue
npm audit fix force -- to resolve the vulnerabilities found when compiling vue.
npm is installed and I attempted to try again by changing the npm to pnpm (saw this in the issue thread.).
Still not able to get a webpage.
I am not sure what I am doing wrong.
The text was updated successfully, but these errors were encountered: