Skip to main content

orphelix update

Update Orphelix to the latest version from GitHub with automatic backup.

Usage

Interactive Update Process

Automatic Backup

Before updating, a full database backup is automatically created. If the update fails, you can restore from this backup.

Update Source

Updates are fetched from GitHub releases:

Version Checking

The update command:
  1. Queries GitHub API for latest release
  2. Compares with current version (from package.json)
  3. Shows release notes if update available
  4. Prompts for confirmation
  5. Creates automatic backup
  6. Downloads and installs update
  7. Preserves all settings and data

No Update Available

Skipping Update

Press N or Ctrl+C to cancel:

After Update

Restart the application to use the new version:

Rollback

If the update causes issues, restore from the automatic backup:

Update Frequency

Check for updates:
  • Automatically when running orphelix version
  • Manually with orphelix update
  • Weekly via GitHub notifications (if watching the repository)

Pre-release Updates

The update command installs stable releases only. Pre-release versions must be installed manually via npm.
To install pre-release:

Troubleshooting

Network Error

Check internet connection and try again.

Permission Denied

Update npm permissions or use:
(Not recommended - fix npm permissions instead)

Update Failed

If update fails:
  1. Restore from automatic backup
  2. Check logs: orphelix logs
  3. Run diagnostics: orphelix doctor
  4. Report issue on GitHub

See Also

Changelog

View all version history

Releases

Browse GitHub releases