These docs have been generated using AI. Expect inaccuracies until we remove this banner.
- Docs
- Troy Client
- Troubleshooting
Troubleshooting
How Updates Work
Understanding the update cycle helps diagnose issues:
- WordPress checks for updates automatically (usually twice daily via WP-Cron, or when you visit Dashboard → Updates)
- Troy Client intercepts this check for Troy-enabled plugins
- Cached responses are used if available (default: 10 minutes)
- Fresh requests are made to each Troy Server if the cache is stale
- Results appear in your normal WordPress updates screen
The Cache
Troy Client caches API responses to reduce server load. Default: 10 minutes.
| Scenario | What Happens |
|---|---|
| You just published an update | Wait 10 minutes, or clear the cache |
| You check updates repeatedly | Same cached response until expiry |
| Cache expires | Next check fetches fresh data |
Force a fresh check:
// Add temporarily, reload any admin page, then remove:
delete_site_option( 'troy_client_api_request_cache' );
Or visit Dashboard → Updates and click Check Again (after cache expires).
About the Cache Size
Troy Client limits cache to ~333KB of serialized data. This accommodates roughly 20 plugins with full metadata—more than enough for typical use. It's one of many micro-optimizations ensuring Troy doesn't bloat your database or slow your site.
The math: a typical plugin's update response is ~15–17KB serialized. At 333KB, that's about 20 plugins before older entries get purged.
Updates Not Appearing
Checklist:
- âś“ Troy Client active? Check Plugins screen
- âś“ Plugin has Troy header? Look for
* Troy: repo.example.comin the plugin file - âś“ Server version is higher? Troy compares version numbers
- âś“ Cache cleared? Wait 10 minutes or clear manually
- âś“ Troy Server online? Visit
https://their-repo.com/pingin your browser
Won't Activate
Requirements:
| Component | Minimum |
|---|---|
| WordPress | 6.7+ |
| PHP | 7.4+ |
Check your versions in Tools → Site Health → Info.
Connection Errors
If Troy Client can't reach a server:
- Server down? Test the URL in your browser
- Host blocking outbound? Some hosts restrict HTTPS connections—contact them
- Security plugin interference? Temporarily disable to test
Updates Fail to Install
- Check disk space
- Verify
wp-content/pluginsis writable - Manual fallback: download ZIP from developer, delete old plugin, upload new one
Still Stuck?
- Contact your plugin developer—they can check their Troy Server logs
- Community Discord
