Greenlight Dashboard Error 500: Find the Failing Service

A Greenlight dashboard showing 500 Internal Server Error usually needs a server-side fix, not a browser refresh. On Greenlight v3, read the application log at the time of the failure, then correct the specific database, cache, configuration, or proxy problem it reports. Do not delete Docker volumes or recreate the database as a first attempt: doing so can erase users, rooms, and other persistent data.

Browser window displaying a BigBlueButton Greenlight page with a 500 Internal Server Error and a Reload button
A 500 Internal Server Error in the Greenlight browser page indicates a server-side failure; capture the time of the request before troubleshooting.

Before you begin: identify the Greenlight installation

Greenlight is the web portal used to sign in, manage rooms, and launch meetings on a BigBlueButton server. An HTTP 500 response means the server encountered an error while processing the request; the browser page alone does not identify its cause.

This procedure targets Greenlight v3, whose standard Docker Compose deployment includes the application, PostgreSQL (its relational database), and Redis (a fast data store used by the application). Its example containers are named greenlight-v3, postgres, and redis; yours may differ. See the Greenlight v3 installation instructions and upstream Docker Compose file.

Use SSH with Docker permissions. Record the failing URL and time, and preserve a recent backup before changing settings. Note any recent upgrade.

Step 1: find the exception behind the 500 response

First see which containers are present and whether they are running:

docker ps -a --format 'table {{.Names}}	{{.Status}}	{{.Image}}'

On a standard v3 installation, inspect recent application logs, then reload the failing dashboard once while recording the time:

docker logs --since 15m --tail 150 greenlight-v3

Match the error near the failed request to the next check:

  • PG::ConnectionBad, ActiveRecord::ConnectionNotEstablished, or authentication failure: inspect PostgreSQL and the database URL.
  • A Redis connection refusal or timeout: inspect the Redis container and REDIS_URL.
  • A missing environment variable, secret, or application initialization error: inspect the application configuration without changing keys blindly.
  • An upstream connection error in Nginx: check whether Nginx can reach the Greenlight container.

For other exceptions, investigate their specific message instead.

Terminal showing a Greenlight container log with a highlighted PostgreSQL connection refusal message
A Greenlight log view highlights a database connection error. Use the real exception and timestamp from your own installation to choose the next check.

Step 2: check PostgreSQL and Redis before changing settings

Even a running application container can fail when it queries its database or cache. Inspect dependency logs:

docker logs --tail 80 postgres
docker logs --tail 80 redis

For the container names in the official example, these checks report whether PostgreSQL is accepting connections and Redis answers a ping:

docker exec postgres pg_isready -U postgres
docker exec redis redis-cli ping

Redis normally returns PONG. PostgreSQL readiness does not verify Greenlight's password; compare authentication errors with Step 3. If the containers are stopped, examine their logs and free disk space with df -h before starting them. On a standard installation, docker start postgres redis starts existing stopped containers without deleting their stored data.

If one of these commands reports that its container does not exist, use the actual name from Step 1 rather than creating a second, empty database. Do not use docker compose down -v, docker volume prune, or database initialization commands as a casual repair.

Terminal showing Greenlight, PostgreSQL, and Redis container status lines and a PostgreSQL readiness check
Container status and a PostgreSQL readiness check help distinguish a stopped database service from an application configuration problem. The values shown are examples.

Step 3: verify Greenlight's environment variables

The documented Greenlight installer normally places the environment file at /root/greenlight-v3/.env. Edit it with sudo nano /root/greenlight-v3/.env and compare it with Compose. Never publish its passwords or secrets.

Check DATABASE_URL for the correct PostgreSQL host, database name, user, and password; REDIS_URL for the Redis host and port; and URL_HOST for the hostname visitors actually use. The upstream Compose service hosts are postgres and redis, not localhost inside the application container. The project sample environment file documents these variable names and the SECRET_KEY_BASE setting.

If your log points to a BigBlueButton API or certificate problem, confirm BIGBLUEBUTTON_ENDPOINT and BIGBLUEBUTTON_SECRET against sudo bbb-conf --secret on the BigBlueButton server. That command displays a secret; keep its output private. Also check that the configured endpoint is reachable over HTTPS with a trusted certificate. If Greenlight runs under a subdirectory such as /gl, check RELATIVE_URL_ROOT against the deployed proxy route. The official Greenlight setup guide explains that path setting.

Do not replace SECRET_KEY_BASE with a new random value just to clear a 500 error. Changing it can invalidate sessions or tokens; restore the original value from secure records.

Configuration editor showing DATABASE_URL, REDIS_URL, BIGBLUEBUTTON_ENDPOINT, and URL_HOST settings in a Greenlight environment file
Greenlight v3 environment settings include database, Redis, BigBlueButton endpoint, and public host values. Replace example hostnames with those for your own deployment.

Step 4: distinguish an application failure from an Nginx routing failure

Nginx is a reverse proxy: it accepts browser requests and forwards them to the Greenlight application. If Greenlight responds locally but the public site fails, inspect proxy routing and TLS configuration rather than resetting PostgreSQL.

The upstream example publishes the Greenlight container on 127.0.0.1:5050 on the host. If your Compose file uses this mapping, check the local route, the Nginx configuration, and the error log:

curl -I http://127.0.0.1:5050/
sudo nginx -t
sudo tail -n 80 /var/log/nginx/error.log

Local success but public failure suggests a proxy or hostname issue. Local 500 means inspect the application log. Connection refusal suggests an unavailable container or different port. Never expose the private Greenlight application port to the Internet as a workaround.

Step 5: apply the smallest correction and verify recovery

After restoring a stopped dependency, try the dashboard again before restarting anything else. If you changed .env, a simple container restart may leave the old environment in place. From the verified Compose directory, the following command recreates only the Greenlight service using the current configuration:

cd /root/greenlight-v3
docker compose up -d --no-deps --force-recreate greenlight-v3

Use the actual Compose directory and service name for your installation. This command is not a database repair tool; run it only after checking the configuration and preserving application data. If Nginx configuration was edited, run sudo nginx -t first and reload Nginx only after the test passes. If the related BigBlueButton server also fails, run sudo bbb-conf --check on that server as advised by the official BigBlueButton troubleshooting guide.

Verification: confirm the dashboard works

Open the Greenlight URL in a fresh browser session, sign in, load the dashboard, and open a room page. Confirm that the page responds without a 500 error and that existing rooms remain visible. If meeting creation was affected, test it with a noncritical room. Finally, run docker logs --since 5m greenlight-v3 and ensure the same exception does not recur during those actions. If it does, keep the correlated log message and revisit the failing dependency rather than repeating resets.

Leave a Comment

Greenlight Dashboard Error 500: Find the Failing Service

Greenlight Dashboard Error 500: Find the Failing Service

Trace a BigBlueButton Greenlight 500 error through application logs, PostgreSQL, Redis, environment settings, and Nginx without risking room data.

Set a Safe Retention Schedule for BigBlueButton Recordings

Set a Safe Retention Schedule for BigBlueButton Recordings

Preview which published recordings exceed your retention period, then schedule BigBlueButton cleanup with a logged daily script and a dry-run safeguard.

Resolve BigBlueButton SIP Gateway Registration Timeouts

Resolve BigBlueButton SIP Gateway Registration Timeouts

Trace FreeSWITCH REGISTER requests, correct gateway or network settings, and confirm that your BigBlueButton SIP trunk registers successfully.

Use Jitsi Meet Virtual Backgrounds on a Low-End PC

Enable a Jitsi Meet background, troubleshoot missing controls, and reduce video lag on slower laptops without risky configuration changes.

Resolve Matrix Room Admin Permission Errors by Action

Trace M_FORBIDDEN to room power levels, membership, or Synapse server-admin access, then restore only the permission the blocked action needs.

Make Your Matrix Synapse Server Reachable for Federation

Make Your Matrix Synapse Server Reachable for Federation

Configure Synapse discovery, HTTPS, and proxy routing so other Matrix homeservers can find and contact your server.

Connect Element Web to Keycloak Through Synapse OIDC

Configure a Keycloak OIDC client and Synapse provider so Element Web users can sign in through your identity server without exposing client secrets.

Set Up Element Key Backup and Cross-Signing Safely

Set Up Element Key Backup and Cross-Signing Safely

Save a recovery key, verify your Element sessions, and check that encrypted message keys can be restored without confusing backup with your account password.

Stop Matrix Synapse Memory Crashes During Client Sync

Diagnose Synapse out-of-memory failures during sync, adjust caching safely, identify request backlogs, and verify stable memory use.

Resolve Synapse Federation TLS Certificate Errors

Trace Matrix federation certificate failures to the correct server, repair the TLS chain or CA trust, and verify the fix without disabling security checks.