Immediate checks

Run these commands first when production does not behave as expected.

systemctl status azora-app.service --no-pager
journalctl -u azora-app.service --since '10 minutes ago' --no-pager
cat .next/BUILD_ID
curl -L -k -sS -o /dev/null -w '%{http_code}\n' https://app.azora.id/

Common causes

Most production issues in this app fall into one of these buckets.

  • Service was restarted before Next was ready, producing a temporary 502.
  • Build ID did not change because build was not run after editing source.
  • A dynamic route slug is missing from its catalog.
  • A dark theme selector is being overridden by a later base selector.
  • Browser localStorage is holding a theme or primary color state that exposes a missed style.