Skip to main content

./thub doctor menunjukkan error merah

API tidak start — error Scalev

Pastikan override dev:
Lalu ./thub env merge dan restart ./thub dev.

./thub dev — port sudah dipakai

Dev server mungkin sudah jalan. Cek:
Stop proses di port 3739 / 5757, atau ganti port di .env.development.local.

Web blank / tidak connect ke API

  1. Cek apps/web/.env.development.local:
  2. ./thub env merge
  3. Restart ./thub dev

./thub secrets check gagal

Isi key wajib di .env shared:
  • BETTER_AUTH_SECRET
  • DEEPSEEK_API_KEY
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
Key opsional yang kosong hanya peringatan.

Deploy gagal — DATABASE_URL

Buat .env.production.local dengan DATABASE_URL=postgresql://... valid. Atau legacy: baris psql=... di .env.production.

Smoke prod gagal

Kalau 200 tapi smoke gagal, cek openapi title (harus mengandung Hono API).

docs.sertifikasitrainer.com minta login

Bukan dari kode repo — Mintlify Dashboard mengaktifkan site Private. Perbaikan: Authentication → Site visibility → Public → Save. Detail: Docs Mintlify (publik).

Dokumentasi ini

Preview di http://localhost:3333 (tanpa login)