XBackBone/docs/upgrading.md

34 lines
1.1 KiB
Markdown
Raw Normal View History

2020-04-02 13:34:07 +00:00
---
layout: default
title: Upgrading
nav_order: 4
---
2020-04-12 11:23:24 +00:00
# Upgrading
2020-04-02 16:23:16 +00:00
The system updates can be applied via the web interface by an administrator, or manually via CLI.
## Self-update (since v2.5)
+ Navigate to the system page as administrator.
2020-04-02 13:34:07 +00:00
+ Click the check for update button, and finally the upgrade button.
+ Wait until the browser redirect to the install page.
+ Click the update button.
+ Done.
2020-04-02 16:23:16 +00:00
## Manual update
2020-04-02 13:34:07 +00:00
+ Download and extract the release zip to your document root, overwriting any file.
+ Navigate to the `/install` path (es: `http://example.com/` -> `http://example.com/install/`)
+ Click the update button.
2020-04-02 16:23:16 +00:00
+ Done.
2020-04-02 16:48:16 +00:00
## CLI update
If, for whatever reason, the web UI is not accessible, you can upgrade from CLI:
+ Download and extract the release zip to your document root, overwriting any file.
+ Run the command `php\migrate`.
+ Run the command `php\clean`.
+ Done.
2020-04-02 16:23:16 +00:00
### Pre-release channel
From the system page, you can also choose to check from beta/RC releases, these are NOT considered stable enough for every day use, but only for testing purposes, **take a backup before upgrading to these versions**.