Skip to main content
HDdev
Site Care · knowledge base

Install the canary step by step

The canary is the small HDdev agent that monitors your site: it sends us an encrypted signal every hour and runs the maintenance included in your plan. Here is how to install it in a few minutes.

Before you start

  • FTP/SFTP access to your hosting, or your host’s file manager.
  • Your HDdev customer area: on your site’s page, the “Prepare my canary” button downloads the package.
  • The package contains a single-use activation code, valid for 5 minutes: prepare it right before installing. You can prepare a new one at any time.

WordPress site

  1. Unzip the package: you get a “hddev-sitecare-canary” folder and a “hddev-sitecare-canary-loader.php” file.
  2. Copy both into your site’s “wp-content/mu-plugins/” folder (create it if it does not exist). The file must sit directly in “mu-plugins”, with the folder right next to it.
  3. Open https://your-site/wp-content/mu-plugins/hddev-sitecare-canary/canary.php?action=first-contact (the “Activate now” button in your customer area opens it for you): the canary checks in with us immediately. Otherwise, open your site’s home page: WordPress will trigger it during its scheduled tasks.
  4. Your site’s page in your customer area switches to “Active” and you receive a confirmation email.

Other PHP site

  1. Copy the “hddev-sitecare-canary” folder into your site’s public folder.
  2. Open https://your-site/hddev-sitecare-canary/canary.php?action=first-contact (or, with SSH access: php hddev-sitecare-canary/canary.php run).
  3. Add an hourly scheduled task: php /path/to/hddev-sitecare-canary/canary.php run — it sends the signal every hour.
  4. Check in your customer area that the site’s page switches to “Active”.

If nothing happens

  • More than 5 minutes have passed since preparing it: prepare a new package and fully replace the installed folder (and the loader file).
  • Your host blocks PHP execution inside “wp-content”: open your site’s home page instead, then wait a few minutes.
  • The “mu-plugins” folder did not exist: create it in “wp-content”, then copy both items again.
  • Your host blocks outgoing connections: email us and we will tell you what to allow.
  • Still stuck: email support@hddev.eu with your domain and we will look at it with you.

What the canary does — and does not do

  • It only runs maintenance actions from a fixed list and refuses any other instruction.
  • It only accepts an update signed by HDdev.
  • Its state is encrypted; its sensitive files return nothing when opened from a browser.
  • The encrypted signal it sends every hour is what measures your site’s availability.

Uninstall

Delete the “hddev-sitecare-canary” folder and the “hddev-sitecare-canary-loader.php” file. Monitoring stops immediately: if your subscription continues, let us know.

A question? support@hddev.eu