Skip to content

legacy to go

Use this guide when you are moving off the legacy install script and want to keep Crona installed from source with go install. Stop Crona, run the beta installer once, back up the database, clear the old runtime, remove the old binaries, install from Go, and restore the backup.

Estimated time: 15-25 minutes, depending on whether Go dependencies are already cached locally.

Keep the backup path handy before you remove anything.

Stop every running Crona process before you touch the install.

Close any open TUI windows, CLI sessions, and background Crona processes. If a process is still running after you close the app, stop it manually with your operating system tools.

Download the legacy installer script for your platform from the latest beta release page on GitHub Releases.

  • macOS and Linux: install-crona-tui.sh
  • Windows: install-crona-tui.ps1

Make the script executable, run it, and allow it to replace the existing install when prompted.

Terminal window
chmod +x install-crona-tui.sh
./install-crona-tui.sh

Keep the existing install selected when the script asks whether to overwrite the current version.

Run:

Terminal window
crona backup

The command prints the backup path. Keep that path for the restore step.

Remove the Crona runtime directory after the backup is complete.

  • macOS prod: ~/Library/Application Support/Crona
  • macOS dev: ~/Library/Application Support/Crona Dev
  • Linux prod: ${XDG_DATA_HOME:-~/.local/share}/crona
  • Linux dev: ${XDG_DATA_HOME:-~/.local/share}/crona-dev

Remove the old binaries from your PATH.

Typical locations:

  • ~/.local/bin/crona
  • ~/.local/bin/crona-daemon
  • ~/.local/bin/crona-tui

Install the source build with:

Terminal window
go install github.com/webxsid/crona/...@latest

Make sure your GOBIN or PATH includes the directory where Go installs binaries.

Run:

Terminal window
crona restore <path-to-backup>

If the runtime directory already contains a crona.db, Crona prompts before overwriting it.

  • Source installs now own their update path through go install github.com/webxsid/crona/...@latest.
  • crona backup and crona restore only move crona.db.
  • Keep the same go install command handy for future reinstalls or upgrades.

If the source-install path gets confusing, contact me directly:

  • Email: me@webxsid.com
  • WhatsApp: +91-6375728437