mirror of
https://github.com/MengMengCode/CLICD.git
synced 2026-08-05 05:36:07 +08:00
a45e063fc2
- Introduced Container Management documentation covering lifecycle operations, resource management, and console access. - Added Dashboard documentation detailing metrics and related APIs. - Created Host Report documentation summarizing host environment and resource status. - Included Image Management documentation for template handling and management actions. - Documented Networking and Routing features including NAT4 and IPv6 management. - Added Security Alerts documentation outlining alert scenarios and API usage. - Created Snapshot Management documentation for snapshot operations and scheduling. - Documented Sub-user management for granting access to specific containers. - Added Configuration guide detailing runtime settings and security recommendations. - Created Installation guide for setting up CLICD with requirements and steps. - Added Introduction and Quick Start guides for new users. - Documented Upgrade process with version checking and pre-upgrade checklist. - Created Deployment guide for service exposure and firewall recommendations. - Added FAQ section addressing common questions and concerns. - Documented Troubleshooting steps for common issues encountered.
44 lines
1.1 KiB
Markdown
44 lines
1.1 KiB
Markdown
# Upgrade
|
|
|
|
The CLICD installer and CLI are built around GitHub Release artifacts. Before upgrading, check the current version and back up configuration and database files.
|
|
|
|
## Check the Version
|
|
|
|
The current version is shown at the bottom of the web panel sidebar. You can also run:
|
|
|
|
```bash
|
|
curl http://127.0.0.1:8999/api/version
|
|
```
|
|
|
|
Example response:
|
|
|
|
```json
|
|
{
|
|
"success": true,
|
|
"data": {
|
|
"version": "1.1.6"
|
|
}
|
|
}
|
|
```
|
|
|
|
## Upgrade with the Installer
|
|
|
|
The installer uses the latest release by default:
|
|
|
|
```bash
|
|
curl -fsSL https://raw.githubusercontent.com/MengMengCode/CLICD/main/install.sh | sudo sh
|
|
```
|
|
|
|
Install a specific version:
|
|
|
|
```bash
|
|
curl -fsSL https://raw.githubusercontent.com/MengMengCode/CLICD/main/install.sh | sudo CLICD_VERSION=v1.1.6 sh
|
|
```
|
|
|
|
## Pre-upgrade Checklist
|
|
|
|
- Back up `/root/.clicd/` or the actual configuration directory.
|
|
- Make sure no critical tasks are currently running.
|
|
- If an image download or snapshot restore is running, wait for it to finish first.
|
|
- After upgrading, check `systemctl status clicd` and the version shown in the web panel.
|