Docs / Connector module
A small, optional Drupal module that tells Drubix exactly what's installed on a site. Setup takes about five minutes: install it, paste one key, and you're done.
modules/custom/.drush en drubix_connector -y.app.drubix.com.It depends on what you want to see:
| You want… | Use |
|---|---|
| Exact module versions only | Connect GitHub. Nothing to install. |
| PHP version, config drift, and the permissions and security-settings audit | The connector module |
| Everything | Both. They work well together. |
In the dashboard, open a site and click Download connector (.zip). You can also download it directly.
Unzip it into your site's modules/custom/ folder, so this file exists:
modules/custom/drubix_connector/drubix_connector.info.yml
Then enable it:
drush en drubix_connector -y
Not using Drush? Go to Extend, find Drubix Connector under the Drubix group, tick it and click Install.
If you deploy with Git, commit the module folder and deploy as usual, then enable it on the live site.
drush drubix:connect drbx1_…Or paste the key into the module's settings at Configuration → Web services → Drubix Connector (
/admin/config/services/drubix-connector) and click Save.Keep the key private. Anyone with it can send reports as this site. If it leaks, or the site moves, click Connector active in the dashboard and generate a new key. The old one stops working immediately.
Within a minute, the site switches to Connector active in your dashboard, showing its PHP version and any config drift. After that the module reports during cron, at most once an hour, so make sure cron runs on the site.
To send a report now:
drush drubix:report
On the Drupal site, Reports → Status report also shows the connector's last report and any error.
| What you see | What to do |
|---|---|
| The settings page says "Page not found" | The module isn't enabled yet. Run drush pm:list --filter=drubix. If it isn't "Enabled", run drush en drubix_connector -y, then drush cr. |
drush en fails with "The module X does not exist" | That's a different module your site thinks is installed but whose code is missing. Restore it (composer require drupal/X) or uninstall it, then enable the connector. |
| The module isn't on the Extend page | Check the folder isn't nested twice after unzipping. drubix_connector.info.yml must be directly inside modules/custom/drubix_connector/. |
| "Invalid key" or a 401 error | The key was regenerated, or wasn't copied in full. Generate a new one and connect again. |
| Plan error (402) | The account is on the Free plan. Start the trial or subscribe. |
| Couldn't connect, or timed out | The server can't make outgoing HTTPS requests. Ask your host to allow traffic to app.drubix.com on port 443. |
| It worked once, then stopped | Cron isn't running on the site. Set up cron, or run drush drubix:report from a scheduled task. |
settings.php is writable, development modules are on, untrusted users can post unfiltered HTML, or upload fields accept executable filesdrush drubix:integrityIt never sends content, email addresses, passwords or database data. Every report is signed, so Drubix can tell it really came from your site. See the Privacy Policy for details.
Uninstall it like any module (drush pmu drubix_connector -y) and delete the folder. Reports stop, and the history already in your dashboard stays.