MacOS

This guide explains how to install, configure, and uninstall Colibri Server on macOS.

Requirements

  • macOS 10.15 (Catalina) or newer

  • Administrator access (sudo privileges)

  • At least 500 MB free disk space

  • Optional: Memcached for caching (recommended for production)

Installation

Download

Download the latest installer package from the GitHub Releasesarrow-up-right page:

curl -L -O https://github.com/corpus-core/colibri-stateless/releases/latest/download/colibri-server-1.0.0.pkg

Install via Command Line

sudo installer -pkg colibri-server-1.0.0.pkg -target /

Install via Finder

  1. Double-click the downloaded .pkg file

  2. Follow the installation wizard

  3. Enter your administrator password when prompted

What Gets Installed

The installer places files in the following locations:

  • Binary: /usr/local/bin/colibri-server

  • Configuration: /usr/local/etc/colibri/server.conf

  • Launch Daemon: /Library/LaunchDaemons/io.corpuscore.colibri-server.plist

  • Log Files: /var/log/colibri-server.log, /var/log/colibri-server.error.log

  • Data Directory: /var/lib/colibri/

Automatic Service Start

The Colibri Server is automatically installed as a LaunchDaemon and starts:

  • Immediately after installation

  • Automatically on system boot

The service runs in the background and listens on port 8090 by default.

Configuration

Edit Configuration File

Key Configuration Parameters

Reload Configuration

After changing the configuration, reload the service:

Memcached significantly improves performance by caching external RPC/Beacon API requests.

Install and start:

Configure:

Reload server:

Verify it's working:

Enable Web UI (Optional)

To enable the web-based configuration interface:

  1. Edit the config file:

  2. Set WEB_UI_ENABLED=1

  3. Reload the service (see above)

  4. Access the UI at: http://localhost:8090/config.html

⚠️ Security Warning: Only enable the Web UI on trusted local networks. It has no authentication and should never be exposed to the internet.

Service Management

Check Service Status

Start/Stop Service Manually

View Live Logs

Uninstallation

Use the uninstall script:

The script will:

  1. Stop and unload the service

  2. Remove the binary and LaunchDaemon

  3. Ask if you want to remove configuration files and logs

Manual Uninstallation

If you prefer to uninstall manually:

See UNINSTALL.mdarrow-up-right for detailed uninstallation instructions.

Troubleshooting

Service Won't Start

  1. Check logs for errors:

  2. Common issues:

    • Port 8090 already in use → Change PORT in config file

    • Invalid RPC endpoints → Check network connectivity

    • Config file syntax error → Validate config file format

  3. Test manually:

Port Already in Use

Check what's using port 8090:

Either stop that process or change the port in /usr/local/etc/colibri/server.conf.

Permission Denied Errors

Ensure log files and data directory are writable:

Check Installation Status

Use the diagnostic script to check your installation:

Building from Source

If you want to build the installer package yourself:

Requirements:

  • Xcode Command Line Tools

  • CMake (brew install cmake)

Support

  • Documentation: https://corpus-core.gitbook.io/specification-colibri-stateless

  • Issues: https://github.com/corpus-core/colibri-stateless/issues

  • Email: simon@corpus.io

License

The Colibri core library is licensed under the MIT License.

The server component is dual-licensed:

  • PolyForm Noncommercial License 1.0.0 for non-commercial use

  • Commercial License required for commercial use (contact simon@corpus.io)

Last updated