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
| Field | Description |
|---|---|
| Version | hubio-sync version number |
| Commit | Git commit hash of the build |
| Go version | Go runtime version used to compile |
Platform Section
| Field | Description |
|---|---|
| OS | Operating system (darwin, linux, windows) |
| Architecture | CPU architecture (amd64, arm64) |
| CPUs | Number of available CPU cores |
Paths Section
| Field | Description |
|---|---|
| Executable | Path to the hubio-sync binary |
| Config | Configuration directory |
| Data | Data storage directory |
| Logs | Log file directory |
| Service | Service configuration file path |
Service Section
| Field | Description |
|---|---|
| Status | Service 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:
| Variable | Affects |
|---|---|
XDG_CONFIG_HOME | Config directory (default: ~/.config) |
XDG_DATA_HOME | Data directory (default: ~/.local/share) |
XDG_STATE_HOME | Logs directory (default: ~/.local/state) |
On Windows:
| Variable | Affects |
|---|---|
APPDATA | Config directory |
LOCALAPPDATA | Data and logs directories |
See Also
- CLI Reference
- service status - Detailed service status
- Troubleshooting