#1874·unstract

fix: [ISSUE] Local Docker Compose install fails in browser with CSP unsafe-eval / Ajv schema compilation error

Author: BradyKSmithCreated Mar 25, 2026Updated Mar 25, 2026
Labelsbug

Describe the bug

Fresh local self-hosted install fails in the browser UI. The console shows a Content Security Policy error blocking unsafe-eval, followed by an Ajv-generated schema compilation failure. This appears to break the frontend in a local Docker Compose setup.

To reproduce

1.	Start Unstract with ./run-platform.sh script
2.	Open the local UI in the browser
3.	Go to http://frontend.unstract.localhost/mock_org/onboard
4.	Select any of the 4 oboarding steps
5.  Click test connection green button
6.	Observe CSP error and schema compilation failure

Expected behavior

The test connection to pass or fail with a user feedback message

Environment details

  • Version: v0.161.2 (latest tag in docker as of 3/24/26)

Screenshots

Image