Prerequisites
Manual setup
Install the LogLife plugin
--link flag means the plugin loads directly from your LogLife repo — no files are copied. When you git pull new changes, the plugin updates automatically.Generate an API key
~/.openclaw/openclaw.json. You’ll need this key when configuring the website.To retrieve the key later:Automated setup
If you prefer a single script instead of manual steps, the plugin includes a production setup script that handles steps 3–5 automatically:Plugin updates
A GitHub Actions workflow triggers on pushes tomain that change files in plugin/**. The workflow SSHes into your server and runs git pull to update the plugin code. See the CI/CD section for the full list of required secrets.
Troubleshooting
Plugin install fails with 'plugin not found'
Plugin install fails with 'plugin not found'
Make sure the
name field in plugin/package.json matches the id in plugin/openclaw.plugin.json. Both should be "loglife".Dashboard shows 'Failed to reach OpenClaw server'
Dashboard shows 'Failed to reach OpenClaw server'
Check that the gateway is running and the
OPENCLAW_API_URL in your .env is correct. Test the connection directly:Gateway fails to start with lock error
Gateway fails to start with lock error
Another gateway process may already be running. Kill it and try again:
401 Unauthorized from the plugin
401 Unauthorized from the plugin