hubio-sync info

Display diagnostic information about hubio-sync.

Synopsis

hubio-sync info

Description

The info command displays comprehensive diagnostic information including:

  • Version and build information
  • Platform and architecture
  • Configuration file locations
  • Data and log directory paths
  • Service status

This is useful for troubleshooting and support requests.

Usage

hubio-sync info

Output

macOS Example

hubio Sync Information
======================

Build
-----
  Version:    1.0.8
  Commit:     a1b2c3d
  Go version: go1.24.0

Platform
--------
  OS:           darwin
  Architecture: arm64
  CPUs:         10

Paths
-----
  Executable: /usr/local/bin/hubio-sync
  Config:     /Users/jeff/.config/hubio-sync
  Data:       /Users/jeff/.local/share/hubio-sync
  Logs:       /Users/jeff/Library/Logs/hubio-sync
  Service:    /Users/jeff/Library/LaunchAgents/com.hubio.sync.plist

Service
-------
  Status: Running (PID 12345)

Linux Example

hubio Sync Information
======================

Build
-----
  Version:    1.0.8
  Commit:     a1b2c3d
  Go version: go1.24.0

Platform
--------
  OS:           linux
  Architecture: amd64
  CPUs:         8

Paths
-----
  Executable: /usr/local/bin/hubio-sync
  Config:     /home/user/.config/hubio-sync
  Data:       /home/user/.local/share/hubio-sync
  Logs:       /home/user/.local/state/hubio-sync/logs
  Service:    /etc/systemd/system/hubio-sync.service

Service
-------
  Status: Stopped

Windows Example

hubio Sync Information
======================

Build
-----
  Version:    1.0.8
  Commit:     a1b2c3d
  Go version: go1.24.0

Platform
--------
  OS:           windows
  Architecture: amd64
  CPUs:         12

Paths
-----
  Executable: C:\Program Files\hubio-sync\hubio-sync.exe
  Config:     C:\Users\Jeff\AppData\Roaming\hubio-sync
  Data:       C:\Users\Jeff\AppData\Local\hubio-sync\data
  Logs:       C:\Users\Jeff\AppData\Local\hubio-sync\logs
  Service:    (Windows Service Control Manager)

Service
-------
  Status: Running (PID 5678)

Information Displayed

Build Section

FieldDescription
Versionhubio-sync version number
CommitGit commit hash of the build
Go versionGo runtime version used to compile

Platform Section

FieldDescription
OSOperating system (darwin, linux, windows)
ArchitectureCPU architecture (amd64, arm64)
CPUsNumber of available CPU cores

Paths Section

FieldDescription
ExecutablePath to the hubio-sync binary
ConfigConfiguration directory
DataData storage directory
LogsLog file directory
ServiceService configuration file path

Service Section

FieldDescription
StatusService installation and running state

Use Cases

Troubleshooting

When reporting issues, include the output of hubio-sync info:

hubio-sync info > hubio-sync-info.txt

Verifying Installation

After installation, verify the correct paths:

hubio-sync info | grep -A5 "Paths"

Checking Version

Quick way to see version and build info:

hubio-sync info | grep -A4 "Build"

Or simply:

hubio-sync --version

Finding Config Location

hubio-sync info | grep "Config:"

Environment Variables

The paths shown respect these environment variables on Linux:

VariableAffects
XDG_CONFIG_HOMEConfig directory (default: ~/.config)
XDG_DATA_HOMEData directory (default: ~/.local/share)
XDG_STATE_HOMELogs directory (default: ~/.local/state)

On Windows:

VariableAffects
APPDATAConfig directory
LOCALAPPDATAData and logs directories

See Also