Files
Sankofa/docs/marketplace/sovereign-stack/QUICK_FIX.md
defiQUG 33d50fb91e
Some checks failed
API CI / API Lint (push) Successful in 47s
API CI / API Type Check (push) Failing after 47s
API CI / API Test (push) Successful in 1m0s
API CI / API Build (push) Failing after 50s
API CI / Build Docker Image (push) Has been skipped
Build Crossplane Provider / build (push) Failing after 5m51s
CD Pipeline / Deploy to Staging (push) Failing after 29s
CI Pipeline / Lint and Type Check (push) Failing after 36s
CI Pipeline / Build (push) Has been skipped
CI Pipeline / Test Backend (push) Failing after 1m33s
CI Pipeline / Test Frontend (push) Failing after 30s
CI Pipeline / Security Scan (push) Failing after 1m16s
Crossplane Provider CI / Go Test (push) Failing after 3m23s
Crossplane Provider CI / Go Lint (push) Failing after 7m27s
Crossplane Provider CI / Go Build (push) Failing after 3m27s
Deploy to Staging / Deploy to Staging (push) Failing after 30s
Portal CI / Portal Lint (push) Failing after 21s
Portal CI / Portal Type Check (push) Failing after 21s
Portal CI / Portal Test (push) Failing after 21s
Portal CI / Portal Build (push) Failing after 22s
Test Suite / frontend-tests (push) Failing after 30s
Test Suite / api-tests (push) Failing after 49s
Test Suite / blockchain-tests (push) Failing after 30s
Type Check / type-check (map[directory:. name:root]) (push) Failing after 23s
Type Check / type-check (map[directory:api name:api]) (push) Failing after 21s
Type Check / type-check (map[directory:portal name:portal]) (push) Failing after 19s
Validate Configuration Files / validate (push) Failing after 1m52s
CD Pipeline / Deploy to Production (push) Has been skipped
chore: consolidate local WIP (repo cleanup 20260707)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-07 09:41:34 -07:00

1.1 KiB

Quick Fix: Database Password Error

The Error

SecretValidationError: Secret 'DB_PASSWORD' is required but not provided

Quick Solution

Step 1: Create .env File

cd /home/intlc/projects/Sankofa/api

# Option A: Use the helper script
pnpm create-env

# Option B: Copy manually
cp .env.example .env

Step 2: Edit .env and Set Password

Open .env and set your database password:

DB_PASSWORD=your_secure_password_here

For Development (minimum requirements):

  • At least 8 characters
  • Not in insecure list (password, admin, etc.)

Example: dev_sankofa_2024

For Production (strict requirements):

  • At least 32 characters
  • Must have: uppercase, lowercase, numbers, special characters

Example: MySecureP@ssw0rd123!WithSpecialChars

Add to .env:

NODE_ENV=development

This relaxes password requirements to minimum 8 characters.

Step 4: Run Setup Again

./scripts/setup-sovereign-stack.sh

Still Having Issues?

See TROUBLESHOOTING.md for more detailed solutions.