mitre / caldera

Automated Adversary Emulation Platform
https://caldera.mitre.org
Apache License 2.0
5.5k stars 1.05k forks source link

Error Running after following the install process in documentation #3034

Open Sup34MaNIaM opened 3 weeks ago

Sup34MaNIaM commented 3 weeks ago

I am getting the following error when running on Ubuntu 24.04 after following the directions and troubleshooting the requirements install:

FileNotFoundError: [Errno 2] No such file or directory: 'plugins/magma/dist'

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/home/ubuntu/caldera/server.py", line 260, in run_tasks(services=app_svc.get_services(), run_vue_server=args.uiDevHost) File "/home/ubuntu/caldera/server.py", line 78, in run_tasks loop.run_until_complete(RestApi(services).enable()) File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/home/ubuntu/caldera/app/api/rest_api.py", line 32, in enable self.app_svc.application.router.add_static('/assets', 'plugins/magma/dist/assets/', append_version=True) File "/home/ubuntu/.local/lib/python3.12/site-packages/aiohttp/web_urldispatcher.py", line 1206, in add_static resource = StaticResource( ^^^^^^^^^^^^^^^ File "/home/ubuntu/.local/lib/python3.12/site-packages/aiohttp/web_urldispatcher.py", line 569, in init raise ValueError(f"'{directory}' does not exist") from error ValueError: 'plugins/magma/dist/assets/' does not exist

Can you please assist.

github-actions[bot] commented 3 weeks ago

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 commented 1 week ago

what commands did you run?

Did you use the '--build' flag when starting the server the first time?