Legacy To Go
Section titled “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.
Before You Start
Section titled “Before You Start”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.
1. Download The Latest Beta Installer
Section titled “1. Download The Latest Beta Installer”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
2. Run The Legacy Installer Once
Section titled “2. Run The Legacy Installer Once”Make the script executable, run it, and allow it to replace the existing install when prompted.
chmod +x install-crona-tui.sh./install-crona-tui.shKeep the existing install selected when the script asks whether to overwrite the current version.
3. Back Up Your Database
Section titled “3. Back Up Your Database”Run:
crona backupThe command prints the backup path. Keep that path for the restore step.
4. Remove The Runtime Directory
Section titled “4. Remove The Runtime Directory”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
5. Remove The Legacy Binaries
Section titled “5. Remove The Legacy Binaries”Remove the old binaries from your PATH.
Typical locations:
~/.local/bin/crona~/.local/bin/crona-daemon~/.local/bin/crona-tui
6. Install From Source
Section titled “6. Install From Source”Install the source build with:
go install github.com/webxsid/crona/...@latestMake sure your GOBIN or PATH includes the directory where Go installs binaries.
7. Restore The Backup
Section titled “7. Restore The Backup”Run:
crona restore <path-to-backup>If the runtime directory already contains a crona.db, Crona prompts before overwriting it.
After Migration
Section titled “After Migration”- Source installs now own their update path through
go install github.com/webxsid/crona/...@latest. crona backupandcrona restoreonly movecrona.db.- Keep the same
go installcommand handy for future reinstalls or upgrades.
Contact
Section titled “Contact”If the source-install path gets confusing, contact me directly:
- Email:
me@webxsid.com - WhatsApp:
+91-6375728437