View Categories

Software Inventory: PHP, WordPress and Node.js Versions

Software Inventory is a report on the software your hosted websites run: the PHP version of every site, the WordPress installations and their versions, Node.js where the panel reports it, and each hosting panel’s own version and the PHP versions it still offers. A nightly scan reads every connected Enhance, cPanel and Plesk panel, and the page judges each version against a table of support dates that ships with RackHelm. It leads with what needs attention: which sites run a PHP that no longer gets fixes, who owns them, and how to reach them. This article covers who can open the page, how the data gets there, what each part of the page shows and what to do when it looks wrong.

Before you start #

Note: The page is held by the view_software_inventory permission, listed as View Software Inventory in the System Settings & Monitoring group of the role editor. On a new install the built-in Administrator role holds it. On an install upgraded to 2.0.3, only a Super Admin can open the page until you grant the permission to a role under Users & Roles → Roles & Permissions. See Roles and Permissions and Permission Reference.

The scan runs as a queued job, so two things must be running on the server:

  • the per-minute scheduler cron, which starts the nightly scan;
  • the queue workers (Horizon), which carry out every scan, whether the schedule or the Refresh button queued it.

See Queue Workers, Horizon and the Scheduler. The updater applies the page’s database changes (a table that stores the scans, the permission and the Collect Software Inventory schedule) and restarts the queue workers, so an install updated the usual way needs no manual database step.

Note: The page has nothing to show until the first scan has run. After an upgrade the first scan runs at the next 04:23 UTC, unless you press Refresh on the page first.

Opening the page #

Expand Integrations in the admin sidebar and select Software Inventory (/admin/software-inventory). The Integrations group appears for anyone holding View Software Inventory, even without permission to edit integrations.

The Software Inventory screen showing summary status cards and the refresh button
Software Inventory surfaces end-of-life PHP, WordPress and Node.js builds across connected panels.

Before the first scan the page shows one of two cards:

  • No hosting panels are connected: there is no active panel connection to read. Add one first; see Adding a Control Panel Connection.
  • No inventory yet: panels are connected but nothing has been collected. The card says when the first automatic scan runs and offers Run the first scan now.

Once a scan has finished, the header shows when it ran and whether the schedule or a staff member started it, how many panels were read out of how many, the number of sites, and a link to any anomalies. Export CSV and Refresh sit beside it. Below, from top to bottom: the tiles, the Act now card, the Panels table, the filters and the Sites list, and the Anomalies card. The footer gives the date of the support-date table.

How the inventory is collected #

The page never contacts a hosting panel while you look at it. It shows the newest stored scan, and a scan is made in one of two ways:

  • The nightly schedule. Collect Software Inventory is seeded enabled and runs daily at 04:23 UTC. Like any system schedule it can be retimed, switched off or run on demand from its editor; see System Schedules and the Scheduler. With it switched off, the page says so and changes only when someone presses Refresh.
  • Refresh. The button queues the same scan straight away. The page then shows Scan in progress with the number of panels read so far, and reloads itself when the scan finishes. A scan usually takes under a minute.

Note: Refresh is greyed out while a scan is running, and a second press within a minute is refused with “A scan was queued less than a minute ago. Give it a moment before running another.” Each press reads every connected panel. If no queue worker is running, the scan is still queued, and the page warns that it will wait in the queue until one starts.

Every active Enhance, cPanel and Plesk connection is scanned. An inactive connection is left out.

Panel What the scan reads
Enhance Every website’s PHP version, its WordPress installations and their versions, and the Node.js versions of its apps where the API token may read them. Also the panel’s own version and licence status, and the servers in the cluster, where the token may read them.
cPanel / WHM Every account’s PHP version, the PHP versions installed on the server and which one is the default, the Node.js packages installed on the server, and the WordPress installations on each account.
Plesk Every subscription’s PHP version, the PHP handlers installed on the server, and WordPress installations through WP Toolkit. Add-on domains and subdomains are not listed separately; each subscription is one row. Node.js is not read on Plesk.
DirectAdmin, CyberPanel, ISPmanager Not contacted. The panel is listed with the status not supported, and its packages are listed from the portal’s own records with PHP unknown.

Sites that a panel hosts but the portal did not sell are listed too, marked unmanaged, where the panel lets the scan see them. They have no customer or package in the portal, so they cannot be billed or emailed from it.

Note: On cPanel, looking for WordPress takes several API calls per account, so each scan checks up to ten accounts, accounts sold through the portal first. An account beyond that shows no applications.

What the scan never does #

  • It only reads. Every call to a panel is a read or a listing. The scan never changes a site, its PHP version or a WordPress installation.
  • It never empties the report. A panel that cannot be reached keeps its previous results, marked stale, and a red banner at the top of the page names it. A panel that suddenly lists no sites, when the previous scan found some, is not trusted either: the previous list is kept and the run records it.
  • It never overruns. Each scan has a time budget, three minutes by default. When it runs out the scan stops cleanly, the panels it did not reach keep their previous data marked stale, and the page says the last scan finished partially. Only one scan runs at a time.

Where the support dates come from #

Whether a version is still supported is worked out each time the page is shown, from a table of support dates that ships with RackHelm. The table is taken from php.net and endoflife.date, and the page footer gives the date it was taken. The page needs no outside connection, and a scan taken before a version’s end date reads correctly on the day after.

Verdict What it means
supported (green) The line still gets bug and security fixes. The label gives the date active support ends.
security fixes only (amber) Active support has ended. Security fixes continue until the end-of-life date, which the label gives with the days left. The badge turns red in the last 90 days.
end of life (red) No fixes of any kind. The label gives the date support ended.
unknown (grey) The version could not be read, or is not in the table.

A PHP line gets two years of active support, then two years of security fixes. WordPress publishes no end dates for its recent branches: the newest branch counts as supported and older ones as security fixes only. The oldest branches are end of life.

Note: The report follows php.net. PHP packages from an operating-system vendor (Ubuntu, Debian, RHEL) may receive fixes after the upstream end date.

The tiles #

Each tile opens the Sites list filtered to the sites it counts, except Servers still offering EOL PHP, which jumps to the Panels table.

Tile What it counts
Sites on end-of-life PHP Sites whose PHP line is end of life, with a count per version (for example 8.1 ×1).
Sites on security-only PHP Sites on a line that gets security fixes only, with each version’s end date and the days left.
Servers still offering EOL PHP Panels that still have an end-of-life PHP build installed, even if no site uses it today, and their names. A panel that reports no list of offered versions counts through the versions its sites run.
Apps behind latest WordPress installations older than the latest release, with that release’s version number.
Unknown Shown only when there are sites whose PHP version could not be read.

Act now #

The Act now card lists who is on a line that no longer gets fixes, or soon will not. It appears only when it has something to list. Each row is one version: a PHP or Node.js version that is end of life or on security fixes only, or a WordPress branch that is end of life. End-of-life rows come first, then the closest end dates.

  • Software and Verdict: the version and its support state.
  • Sites: how many sites run it.
  • Customers: how many customers own those sites, plus a line for unmanaged sites, which have no customer on record.
  • Show sites opens the Sites list filtered to match, and CSV downloads the same list. For a PHP row the filter is the verdict, so two end-of-life PHP versions show the same sites; for a WordPress row it is every site with an app behind the latest release. Node.js rows have no matching filter and offer only the copy button.
  • Copy e-mail addresses copies the customers’ addresses, comma separated, ready to paste into your mail client. The portal sends nothing from here; you write the message.

Tip: Paste the addresses into the BCC field, so customers do not see each other’s addresses.

The Panels table #

One row per connected panel:

  • Panel: the connection’s name, its type and host.
  • Version: the panel’s version, with an update available badge when the panel reports one, and a badge when its licence is not active. It reads unknown when the panel does not report its version to the credentials the portal uses.
  • OS: the server’s operating system, where reported.
  • PHP offered: the PHP versions the server can run, each coloured by its verdict. A red badge means an end-of-life build is still installed, even if no site uses it today. ★ marks the server default, and a faded badge a version that is installed but disabled. A panel that reports no list of offered versions shows the versions its sites run instead, marked “in use by its sites”; Enhance does this with a reseller-level token.
  • Node.js: the versions found, or why there are none, such as “not readable with this token” or “not exposed by this panel”.
  • Sites: the number of sites, which opens the Sites list for that panel, and how many are unmanaged.
  • Status: ok, partial (some sections could not be read; they are named under the badge), unreachable, auth (the panel rejected the credentials), error, skipped or not supported. A panel showing earlier data reads “stale since” and when.
  • Scanned: when the panel was read and how long it took.

On Enhance, each server in the cluster has a row of its own under the panel, where the token can read them. Staff holding edit_integrations also get a button that opens the panel’s connection settings.

The Sites list #

One row per website or account, 50 to a page, sorted by severity to start with: end of life first, then security fixes only, unknown and supported.

Column What it shows
Domain The site’s domain and product. For a site sold through the portal the domain opens its package; others carry an unmanaged badge.
Customer The customer’s name, which opens their Packages tab, and email address.
Panel The panel type, the connection’s name and, where reported, the server.
PHP The PHP version and its verdict, “(server default)” when the site uses the server’s default, and the versions the site could move to.
Apps Each WordPress installation and its version, with the latest release beside it when it is behind and a Woo badge where WooCommerce is installed.
Node.js The Node.js versions the site’s apps use, where the panel reports them.
Status The site’s state on the panel (active, suspended, disabled or deleted), plus a badge for anything that did not line up: deleted in panel, deleted in portal, org mismatch, not listed, read error or stale. Hover a badge for the reason.
Scanned When the site was read. Red, and marked stale, when it is carried forward from an earlier scan.

Above the list, the filters narrow it, and a change takes effect straight away:

  • Panel: one connection, or All panels.
  • PHP status: end of life, security fixes only, supported or unknown.
  • Apps: behind latest or none detected.
  • Managed: managed or unmanaged.
  • Status: active, suspended, deleted or stale.
  • Sort: severity, domain, customer or panel. The Domain, Customer, Panel and PHP column headings sort too.
  • Search: part of a domain, a customer’s name or an email address.

Active filters are repeated after Showing: as chips; click one to remove it, or Clear to remove them all. Arriving from a tile or from Show sites sets these filters for you.

Export CSV downloads the list with the current filters and sort; the button reads Export CSV (filtered) while a filter is active. The file has one row per site, including the customer’s email address, the product, the PHP version, its verdict and the versions on offer, the applications, Node.js, the server and when the site was scanned. A cell that a spreadsheet would read as a formula starts with an apostrophe.

Anomalies #

The Anomalies card at the foot of the page is collapsed behind a count; Show opens it. It lists what did not line up between the portal and the panels, and anything the scan itself recorded:

  • Run errors: per panel and section, what could not be read and why.
  • Packages whose site is gone from the panel: the portal still holds a provisioned package but the panel no longer lists the site. Check whether it was terminated by hand.
  • Sites the panel refused under the recorded organisation: the site may have been moved between organisations on the panel.
  • Portal packages the panel listing did not include, and Sites that could not be matched to a package.
  • Sites with no package in the portal: normal for a site created directly on the panel.
  • Sites with a read error: the panel reported the site but part of it could not be read.

Acting on the report #

  1. Start with Act now. For each end-of-life PHP row, copy the email addresses and tell those customers which sites are affected and what to move to. CSV gives you the list to keep.
  2. Move the sites to a supported PHP version on the panel, or ask the customers to. Customers who manage their site from the portal can switch its PHP version themselves; see Sites: PHP version and settings.
  3. Work through the security-only rows next, starting with the closest end date.
  4. Check Servers still offering EOL PHP. An end-of-life build that no site uses today can still be chosen for a site tomorrow.
  5. Press Refresh to confirm the changes, or let the nightly scan pick them up.

Troubleshooting #

Symptom Cause and fix
“No hosting panels are connected” No panel connection is active. Add one, or tick Active on an existing connection.
“No inventory yet” the day after an upgrade The nightly scan did not run. Check that the Collect Software Inventory schedule is enabled, that the scheduler cron exists (/etc/cron.d/rackhelm) and that the queue workers are running. Run the first scan now collects one straight away.
“Software Inventory storage is not installed yet” The 2.0.3 database changes were not applied, so there is nowhere to keep a scan. Run the command the page shows on the server, from the application directory, then reload the page. See Maintenance, Logs and Health for running a migration safely.
“This snapshot is … old. The nightly scan did not run” No scan has finished for more than 36 hours. Check the schedule, the cron and the queue workers as above, or press Refresh.
After Refresh: “No queue worker appears to be running” The scan is queued but nothing is processing the queue. Start Horizon with sudo supervisorctl start rackhelm-horizon; the scan runs as soon as a worker is free.
A red banner: “the panel could not be reached” The scan could not connect to that panel. Its sites are carried forward from the last scan that read it, marked stale. Check that the host is up and that the portal server can reach it. A test or retired connection left active produces this banner on every scan; untick Active on it.
A red banner: “the panel rejected the API credentials” The stored token, key or password no longer works. Update it on the panel’s connection settings.
“The last scan finished partially” Some panels or sections could not be read, or the time budget ran out. What was not reached keeps its previous data, marked stale. The reasons are under Anomalies → Run errors.
PHP reads unknown, or an Unknown tile appears The site is on a panel the scan does not read (DirectAdmin, CyberPanel, ISPmanager), its panel has never been reached, the site could not be read, or the version is not in the support-date table. The site’s Status column and Anomalies say which.
Node.js reads “not readable with this token”, or Version reads unknown The panel does not let the portal’s credentials read that part. An Enhance reseller-level token, for example, may not be allowed to read the panel’s version. The rest of the inventory is unaffected.
A cPanel account that runs WordPress shows no applications The account is beyond the ten accounts checked per scan, or the panel refused the WordPress check; the panel’s Status then names the section that failed.
No button to open a panel’s connection settings That button needs edit_integrations, which only a Super Admin holds by default.