Overview
This guide explains how to deploy and fix Plausible Analytics on CloudJiffy when using the Marketplace template.
By default, the Plausible template may fail due to missing environment variables, causing the application container to restart continuously.
Issue Description
After deploying Plausible Analytics from the Marketplace:
- Environment shows Running
- But application is not accessible
- Container keeps restarting
Error Observed
From container logs:
BASE_URL must start with 'http' or 'https'. Currently configured as ""
Step-by-Step Resolution
Step-by-Step Resolution
Step 1: Access Server via SSH
Login to the application server node from CloudJiffy dashboard.
Step 2: Navigate to Deployment Directory
cd /root/hosting
Step 3: Edit Docker Compose File
vi compose.yml
Step 4: Update Plausible Service Configuration
✅ Add env_file (above TMPDIR line)
env_file:
- plausible-conf.env
- plausible-conf.env
✅ Update Port Mapping
ports:
- "80:8000"
- "80:8000"
✅ Keep Existing TMPDIR Configuration
environment:
- TMPDIR=/var/lib/plausible/tmp
- TMPDIR=/var/lib/plausible/tmp
Note: TMPDIR is already present. Use it as a reference point to insert
env_fileabove it.
Remove Invalid Environment Variables
Delete the following lines:
- BASE_URL=${BASE_URL}
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
You file will appear like below:Step 5 :Validate YAML Syntaxdocker compose config > /dev/null && echo "YAML OK"
Note: Above command you need to execute in this path >> /root/hosting
Step 6: Recreate Plausible Containerdocker compose up -d --force-recreate plausible
Step 7:Verify Container Statusdocker ps -a --format "table {{.Names}}\t{{.Status}}"Expected output:hosting-plausible-1 UpStep8: Configure Secure Access
- Remove Public IP (optional)
- Use CloudJiffy built-in SSL
- Wait ~30 seconds
- Access Plausible UI