socfortress / CoPilot

SOCFortress CoPilot
https://www.socfortress.co
GNU Affero General Public License v3.0
191 stars 39 forks source link

Stack Provisioning Error #190

Closed gap579137 closed 5 months ago

gap579137 commented 5 months ago

Describe the bug When following along with this video:

https://www.youtube.com/watch?v=euFrHP0VkD8

I get an error when clicking "deploy" Screenshot Error To Reproduce Steps to reproduce the behavior:

Expected behavior Explained in video, TLDW, deploy the SOCFortress Provided Wazuh Content Pack

Screenshots Attached inline

**Container Logs

copilot-backend-1 | 2024-04-10 14:04:22.945 | INFO | app.db.db_session:get_db_session:65 - Closing DB session copilot-backend-1 | 2024-04-10 14:04:22.948 | ERROR | app.connectors.influxdb.services.alerts:get_alerts:86 - Error fetching alerts: list index out of range copilot-backend-1 | INFO: 172.19.0.3:53444 - "GET /api/influxdb/alerts HTTP/1.0" 500 Internal Server Error copilot-backend-1 | 2024-04-10 14:04:29.034 | INFO | app.stack_provisioning.graylog.routes.provision:get_available_content_packs_route:116 - Getting available content packs... copilot-backend-1 | INFO: 172.19.0.3:35468 - "GET /api/stack_provisioning/graylog/available/content_packs HTTP/1.0" 200 OK copilot-backend-1 | 2024-04-10 14:04:30.137 | INFO | app.stack_provisioning.graylog.routes.provision:provision_content_pack_route:136 - Provisioning content pack SOCFORTRESS_WAZUH_CONTENT_PACK... copilot-backend-1 | 2024-04-10 14:04:30.137 | INFO | app.connectors.graylog.services.management:get_system_info:27 - Getting system information from Graylog copilot-backend-1 | 2024-04-10 14:04:30.137 | INFO | app.connectors.graylog.utils.universal:send_get_request:89 - Sending GET request to /api/system copilot-backend-1 | 2024-04-10 14:04:30.137 | INFO | app.db.db_session:get_db_session:57 - DB session created copilot-backend-1 | 2024-04-10 14:04:30.137 | INFO | app.connectors.utils:get_connector_info_from_db:29 - Fetching connector Graylog from database copilot-backend-1 | 2024-04-10 14:04:30.140 | INFO | app.db.db_session:get_db_session:65 - Closing DB session copilot-backend-1 | 2024-04-10 14:04:30.153 | INFO | app.stack_provisioning.graylog.routes.provision:system_version_check:42 - Graylog System version: 6.0.0-rc.1+61d7f40 copilot-backend-1 | INFO: 172.19.0.3:35472 - "POST /api/stack_provisioning/graylog/provision/content_pack HTTP/1.0" 400 Bad Request

Side note, it would be awesome if the "toast" messages had an "X" to close them or onhover caused them not to close... Just a thought

taylorwalton commented 5 months ago

Hey @gap579137 looks like you are running an unsupported version of Graylog (6.0.0-rc). As this is still a release candidate, and not a stable release, I recommend deploying the latest stable version of graylog which is 5.2.6: https://graylog.org/releases/