Skip to content

Fusionaly Manager

Command-line tool for managing your Fusionaly installation

Fusionaly Manager is a command-line tool that simplifies installation, updates, and maintenance of your Fusionaly instance. It works with both Free and Pro editions.

  • One-command installation - Set up Fusionaly with SSL certificates and reverse proxy
  • Automatic updates - Keep your installation up to date via cron jobs
  • Database backups - Daily, weekly, and monthly automated backups
  • Easy maintenance - Reload configuration, restore backups, change passwords

Download and run the installer:

Terminal window
curl -fsSL https://fusionaly.com/install | sh

The installer will:

  1. Prompt for your domain name
  2. Configure SSL certificates via Let’s Encrypt
  3. Set up Caddy as a reverse proxy
  4. Pull and start the Docker containers
  5. Configure automatic updates and backups

Install Fusionaly on a fresh server:

Terminal window
fusionaly install

Update to the latest version:

Terminal window
fusionaly update

This command:

  1. Backs up your database
  2. Pulls the latest Docker image
  3. Restarts containers with zero downtime
  4. Updates the manager binary if needed

Reload containers with the current configuration (without backup):

Terminal window
fusionaly reload

Useful after manually editing the .env file.

Interactively restore from a backup:

Terminal window
fusionaly restore-db

Lists available backups and prompts you to select one.

Change the admin user password:

Terminal window
fusionaly change-admin-password

Update your license key:

Terminal window
fusionaly update-license-key [key]

Show the manager version:

Terminal window
fusionaly version

Configuration is stored in /opt/fusionaly/.env:

Terminal window
FUSIONALY_DOMAIN=analytics.example.com
APP_IMAGE=karloscodes/fusionaly-pro:latest
CADDY_IMAGE=caddy:2.7-alpine
INSTALL_DIR=/opt/fusionaly
BACKUP_PATH=/opt/fusionaly/storage/backups
VERSION=1.0.0
FUSIONALY_PRIVATE_KEY=your-private-key
FUSIONALY_LICENSE_KEY=your-license-key

Upgrade from Free to Pro edition:

Terminal window
fusionaly upgrade

This command backs up your database, switches to the Pro Docker image, and restarts the containers. After upgrading, visit your dashboard to enter your license key.

The manager automatically creates backups on a schedule:

  • Daily backups - Every night, retained for 7 days
  • Weekly backups - Every Sunday, retained for 14 days
  • Monthly backups - First of each month, retained for 90 days

Backups are stored in /opt/fusionaly/storage/backups/.

The update command creates a backup before updating. For manual backups, you can use sqlite3 directly:

Terminal window
sqlite3 /opt/fusionaly/storage/fusionaly-production.db ".backup /path/to/backup.db"
/opt/fusionaly/
├── .env # Configuration
├── storage/
│ ├── fusionaly-production.db # SQLite database
│ └── backups/ # Automated backups
└── logs/ # Application logs

View application logs:

Terminal window
docker logs fusionaly-app

View Caddy (reverse proxy) logs:

Terminal window
docker logs fusionaly-caddy

Check Docker logs:

Terminal window
docker logs fusionaly-app

Ensure your DNS is pointing to the server and ports 80/443 are open:

Terminal window
curl -I https://your-domain.com

If you see database lock errors, ensure only one instance is running:

Terminal window
docker ps | grep fusionaly

To completely remove Fusionaly:

Terminal window
# Stop and remove containers
docker stop fusionaly-app fusionaly-caddy
docker rm fusionaly-app fusionaly-caddy
# Remove data (WARNING: destroys all analytics data)
rm -rf /opt/fusionaly
# Remove the manager binary
rm /usr/local/bin/fusionaly