Skip to main content

Support Bundle

A support bundle gathers the logs and the state of a ProxCenter installation into one encrypted file that you send to ProxCenter support. Secrets never leave the host, and only ProxCenter support can open the file.

Enterprise Feature

The support bundle is available in the Enterprise edition. Settings > Platform status gives the command to run, and the Enterprise and air-gapped installers put the script next to the Compose file.

Build a bundle​

The bundle is built on the ProxCenter host by a script, not in the browser: container logs, restart counts and the Compose files can only be read there, and no ProxCenter container has access to the Docker socket.

  1. Open Settings > Platform status, section Support bundle.
  2. Pick the logs to collect: the last 24 hours, 72 hours or 7 days.
  3. Turn on Anonymize addresses and names if your environment requires it (see Anonymization).
  4. Click Copy the command and run it on the ProxCenter host, as root.
Settings > Platform status, Support bundle section: the Logs selector set to Last 72 hours, the Anonymize addresses and names switch, the command to run and the Copy the command button
The command follows the log range and the anonymization switch.

When the host can reach GitHub, the command downloads the latest version of the script, which always carries the latest masking rules:

curl -fsSL https://raw.githubusercontent.com/adminsyspro/proxcenter-ui/main/proxcenter-support-bundle.sh | sudo bash -s -- --since 72h

On an air-gapped instance, it runs the copy installed with ProxCenter:

sudo /opt/proxcenter/proxcenter-support-bundle.sh --since 72h

On a high-availability installation, run it on each node and send every file.

The script ends with the path of the bundle, its size and its SHA-256 fingerprint. By default the bundle is written to /opt/proxcenter/support/, as proxcenter-support-HOST-DATE.p7m.

Build it before you upgrade

Docker keeps the logs of a container until the container is recreated, which an upgrade does. Build the bundle before upgrading or recreating the containers, or the logs of the problem are gone.

What the bundle contains​

CollectedNever collected
Container state, restart counts, health checks, image versionsThe values of container environment variables: names only
Container logs over the chosen range, the last 20 MB per container at mostThe values of the .env, except the settings that hold no secret (version, ports, URLs, proxy)
Host facts: OS, Docker, CPU, memory, disks, listening ports, out-of-memory killsAny other file of the installation directory, such as TLS keys or the Patroni configuration
The Compose files and the .env, values masked
Database version, size and migration history
The orchestrator status report: scheduled tasks, connection pool

Every secret value found on the host is also replaced, character for character, in every collected file, and the usual credential shapes are masked in the logs: passwords in URLs, bearer tokens, Proxmox API tokens, private keys.

MANIFEST.txt, at the root of the archive, lists every file with its size, the log range and whether the bundle is anonymized.

Anonymization​

Anonymize addresses and names (--anonymize) replaces IP addresses, host names, the names of the Proxmox connections and nodes, and e-mail addresses with stable aliases: host-1, ip-1 and so on. The file name of the bundle then carries a random label instead of the host name.

The table of aliases is written next to the bundle, as proxcenter-support-LABEL-DATE-aliases.txt, and stays on your host. Do not send it: when support asks about host-3, it tells you which host that is.

VM names and user names such as root@pam are kept. When the database cannot be read, or when some names are 3 characters or shorter, the manifest says anonymized: partly.

Send the bundle​

The bundle is encrypted on the host, before it leaves it, for the ProxCenter support certificate (CMS, AES-256-GCM, or AES-256-CBC with OpenSSL 1.1). Only ProxCenter support holds the private key, so the file stays unreadable whatever channel carries it.

Send the .p7m file in one of these ways:

  • attach it to a ticket in your proxcenter.io account, under Support: tickets accept files of up to 10 MB;
  • or send it by e-mail to [email protected].

A bundle usually weighs well under 1 MB.

Options​

OptionEffect
--since DURATIONLogs to collect: 24h, 72h (default), 7d, or any number followed by m, h or d
--anonymizeReplace addresses and names with aliases, see above
--dir PATHInstallation directory, /opt/proxcenter by default
--output PATHWhere to write the bundle, the support folder of the installation directory by default
--max-log-mb NKeep the last N MB of logs per container at most, 20 by default
--keep-plaintextAlso keep the unencrypted archive, to review what is sent. Delete it once the bundle is sent
--recipient FILEEncrypt for this PEM certificate instead of the ProxCenter support one, your partner's for instance

sudo ./proxcenter-support-bundle.sh --help lists them on the host.