Docs · Troubleshooting

Troubleshooting

A machine doesn't appear

  • Not on Manage → Machines: enrollment didn't complete. Re-run the install with the token and check its output. The token may have expired or been revoked: mint a new one.
  • On Manage but not on Fleet: it enrolled but hasn't reported health yet. Give it 5 minutes. On a Mac, press Start capture in the app.

A machine shows "stale" or "not reporting"

No report for more than 12.5 minutes. In order of likelihood:

  1. It's asleep, shut down or offline. Normal for laptops; it catches up when it's back (blocks queue on the machine meanwhile).
  2. The collector stopped: on a Mac, check the menu bar icon; on Windows, the notification-area icon (Restart collector); on Linux, systemctl status for the collector service.
  3. The machine was deactivated in Manage: its uploads are refused.

"Needs Full Disk Access" (Mac)

ProofStream doesn't have the permission yet (a new install), or macOS removed it. It starts recording by itself once it's allowed. Follow Mac app → Full Disk Access.

Uploads paused

  • Offline: the machine can't reach cloud storage, or cloud storage refuses its uploads. The machine's log then says storage refused <object> (GCS returned 403: <reason>); keeping it to try again, with storage's own reason, such as a billing account that is disabled, once for each object it refuses, and the status file upload-status.json in the queue folder says storage refuses uploads (…). Blocks wait on the machine (up to 2 GB) and upload when storage takes them again.
  • Not accepted / auth failed: the machine's enrollment was refused, usually because it was deactivated. Reactivate it in Manage. Running the install command again keeps a deactivated machine deactivated; to enroll it again instead, add --force-enroll (Linux) or -ForceEnroll (Windows). A machine whose enrollment was replaced (device_replaced in the log: it was enrolled again on the same computer, and something still runs with the old enrollment, such as a copy of the machine made before it was enrolled again) is refused for good: enroll it with an enrollment token, and it becomes a machine of its own.
  • Enrollment copied from another machine (credential_copied in the log): the machine holds another machine's credential. It came with a disk image or virtual machine template made from an enrolled machine, or with a backup or Migration Assistant on a new Mac. So that the copy does not upload as the machine it came from, it uploads nothing, and keeps recording. Enroll it as a machine of its own: run the install command with an enrollment token on it, or put the token in the file enrollment-token next to its credential (Linux /etc/proofstream/enrollment-token, Windows C:\ProgramData\ProofStream\enrollment-token, a managed Mac the token file or profile of Managed Macs). The collector looks for that file within the hour, or at once when it restarts, enrolls the machine and removes the file. A Mac with the ProofStream app un-enrolls itself and says so: enroll it there. What it recorded meanwhile is uploaded then; the machine it came from is not affected. A machine whose hardware changed (a new motherboard, a virtual machine restored into a new one) is taken for a copy too: enroll it again the same way. It becomes a new machine on Fleet: archive its old card in Manage → Machines. Collectors up to 1.0.9 can't tell a copy: every copy uploads as the machine it came from.
  • Collector too old: the machine's log says its collector "is too old to upload". ProofStream can stop accepting a collector version that is no longer safe to run; we email every organization before we do. Install the current release on it (Download → Updating the collector); what it recorded meanwhile is uploaded then.
  • Trial or subscription ended: the organization's free trial is over or its subscription has ended, so its machines may not upload. Nothing is wrong with the machine. An owner subscribes under Manage → Billing, and uploads resume by themselves within minutes; nothing needs doing on the machine.
  • Organization closed: we closed the organization because an owner asked us to (Closing your organization). The machine no longer uploads; uninstall the collector, or have an owner write to us within 90 days to reopen.
  • Collector too old: your organization no longer accepts this collector version. The machine keeps recording, and its log and status say the server's message. Update it (Download → Updating the collector); a Linux or Windows machine with automatic updates on does this by itself, and its waiting uploads go out once it runs the new version. On a Mac, Download update in the app.
  • Windows, after an upgrade to 1.0.6 or earlier: "could not read device credentials … Access is denied": upgrading over an installed collector locked the files it already had, including its credential. Nothing is lost: blocks wait on the machine. Install collector 1.0.7 or later on it by hand (Windows); that repairs the files, and the waiting blocks upload. The machine can't fix this by updating itself, because it can no longer read its credential.

A block that can't be read is given up

Recorded activity waits on the machine in blocks (up to about 10 minutes of activity each) until it is uploaded. If the machine can't read a waiting block when its turn comes, usually because an antivirus or backup tool has it open, the collector leaves it, uploads the blocks behind it and tries it again later. Nothing is lost while it waits.

A block that still can't be read after 24 hours is removed from the queue: the file activity it held (up to about 10 minutes of that machine's recording) is lost and never reaches the console. The 24 hours are time the machine was awake, counted within one run of the collector: a restart, an update or a reboot starts the count again. A Linux machine installed before this was fixed starts a new run about every 16 hours, so there the count never reaches 24 hours and the block stays queued, until its install command is run again.

What you see: only the collector's log, on the machine and under Machine details → Log:

  • upload queue: could not read <block> (<error>); keeping it for a later pass the first time,
  • upload queue: <block> still cannot be read after N h (<error>); keeping it about once an hour after that,
  • upload queue: <block> could not be read for 24 h (<error>); removing it from the queue when it is given up.

Fleet, the machine's health and email alerts don't show it. In Machine details → Raw data the run's blocks skip that block's sequence number.

What to do when the first line appears, before the 24 hours are up: check the machine's disk for errors and space, check that the collector's data folder (Linux, Windows, on a Mac /Library/Application Support/ProofStream) still belongs to the system and that nothing changed its permissions, and exclude that folder from antivirus and backup tools that lock files while they scan. The block uploads at the next try once it can be read.

A machine didn't update itself

Only the installed service updates itself: on Linux the service the install command set up, on Windows the one the installer set up. A Mac never does (use Download update in the app), and neither does a collector started by hand. A machine tries a given version at most once every 6 hours, so after a failure it tries again later on its own. What stops an update:

  • Self-update is off in this build: the log says self-update: disabled in this build. Update by installing again.
  • The download could not be checked: a release must carry ProofStream's signature and match its published checksum, or the machine refuses it and keeps the version it has. The log says why (signature does not match, sha256 mismatch). Nothing was changed on the machine.
  • Offline: the update waits for the next try.
  • Rolled back: the new version wasn't running 15 minutes after it was installed, so the machine put the previous one back. The status says failed with the reason, and that version is not tried again for 24 hours. On Linux the check is a systemd timer, which also runs after a restart; if it cannot be set up there is no automatic rollback (the log says so), and the previous program stays next to the new one as /usr/local/sbin/proofstream-collector.prev. On Windows the installer's log is C:\ProgramData\ProofStream\logs\update-<version>.log, and a rollback is noted in logs\install.log. There the rollback uninstalls the new version and installs the previous one, each step tried up to three times a minute apart (for example while another installation is running). If the previous version won't install, the new one is installed again: the status then says failed with why, on the new version. If neither installs, the machine has no collector for a while: it tries again every 90 minutes, for about three days of the machine being on, and then gives up; install the collector again by hand (the install command or the MSI). To stop the tries sooner, for example because you are removing ProofStream, delete the scheduled task ProofStream\CollectorRollbackCheck.

Missed opens

A Fleet card says N opens missed (machine busy): during a burst of activity (a build, a backup, an antivirus scan, many files copied at once) the machine produced file opens faster than they could be recorded, and those opens are not in the history. The collector keeps running; nothing is needed to recover it.

How it happens, by system:

  • Mac: Apple's file-event feed numbers every event. A gap in the numbers means macOS discarded events before ProofStream got them. Each missing event counts as one.
  • Linux: the kernel's event queue overflowed. The kernel doesn't say how many opens it lost, so each overflow counts as one: the real number can be higher.
  • Windows: the machine was busier than the collector could follow, so its own queue (16,384 opens) was full, or Windows itself discarded opens before they reached that queue. Each open counts as one, except where Windows discarded a whole batch of them at once, which counts as one: the real number can be higher. Collectors up to 1.0.9 count only the queue's, so a busy machine on one of those can miss opens with no count on its card.

What's normal: a few, or a few hundred, against hundreds of thousands of opens a day is nothing to act on. The count is since the collector last started, so it starts at zero again after a restart, an update or a reboot.

When to act: if it keeps growing all day, or on most machines:

  1. Open the machine's Insights → Top programs. One program usually accounts for most of the activity.
  2. If it is housekeeping (indexing, antivirus, backup), add it to the noise filter: fewer opens to record, fewer missed.
  3. Build servers and machines that copy large trees all day will miss some during the busiest minutes. A program that keeps working still shows up in the history; what's missing are some of its opens in those minutes.

Missed opens are not the noise filter: the noise filter leaves out programs you chose, on purpose, and those are counted separately in the machine's health.

Numbers look wrong

  • A program is listed for a folder it only wrote to (a log, a download): on Linux and Windows every file open is recorded, not only reads. See File open in the glossary. On a Mac this can't happen.

  • The collector's CPU or memory is high for a while: it follows how many files programs open. A build, a backup, an antivirus scan or a script that starts a program per file can take it to half of one core and to about 45 MB (Linux) or 115 MB (Mac) while it runs. CPU falls back at once. Memory on Linux settles at about 30 MB and stays there until the collector restarts: the system keeps it reserved for the collector, it is not growing. On a Mac the figure is the one Activity Monitor's Memory column shows, for the collector and eslogger together. (Collectors up to 1.0.3 reported a larger figure that included memory already given back.) If it stays high all day, look at Insights → Top programs for that machine: one program is usually behind it, and the noise filter can filter it out.

  • One machine uploads far more than the others (Usage): the same cause. A program that starts a new process for every file fills an upload every minute or so instead of every ten.

  • On Windows, a row shows a folder named like a file: some folders really are named like files (System.Xml, cloud.google.com).

  • A read shown with its file name has size 0 on Windows: on purpose, see File names.

  • Opens vs rows: rows are far fewer than opens on purpose: repeated opens of the same folder by the same process within a block are one row.

  • Uptime too short: uptime counts awake time only.

  • CPU over 100%: per-core figure on a multi-core machine; see the "share of the machine" line.

  • The Mac's CPU looks high: most of it is eslogger, Apple's file-event feed; the card shows its share.

  • A program you expect is missing: it may be in the noise filter, or it ran between the last upload and now (uploads happen about every 10 minutes).

The console

  • "Couldn't reach the server": the console's server didn't answer; check your connection and reload.
  • Signed out unexpectedly: sessions end after 1 hour without activity or 12 hours after sign-in, or someone used Sign out everywhere.
  • "A newer version of the console is out": ProofStream was updated while the page was open. Reload to use the new version. See Which version you see.
  • Contacting support: copy the Version line from the account panel (your initials, top right) into your message.
  • "Too many requests. Try again in N s.": you hit a safety limit (for example, many block downloads in a row, or more than 10 enrollment tokens in an hour). Wait the time shown.

Installers

  • Windows: SmartScreen warning: More info → Run anyway.
  • Windows: "Run this from an elevated PowerShell": start PowerShell with Run as administrator.
  • Linux: "WARNING: kernel … < 5.9; fanotify may be unavailable": the collector needs Linux 5.9 or newer; on an older kernel it can't record.
  • "checksum mismatch … refusing to install": the download was corrupted or tampered with. Run again; if it repeats, contact support.
  • "… cannot be verified … nothing was installed": the list of checksums could not be downloaded, so the installer stopped. Run again; if it repeats, check that the machine can reach the console's address.

This is the help built into the ProofStream console, as it is in the latest release. Something missing? Ask us.