Upgrading the pgEdge Command Line Interface
To upgrade the pgEdge Command Line Interface (CLI), perform the following steps on each node that uses the older version:
- Browse into your pgEdge installation directory and ensure you are pointing to the correct repository:
./pgedge info
This command will display the version (for example, 24.10.8) and the repository that the CLI is pointing to.
- Refresh the metadata to view available component upgrades:
./pgedge update
Please note that this command will only update the metadata and display information about available components (installed version and upgrade versions available); to upgrade, you must run the upgrade script.
- Run the CLI upgrade script:
python3 -c "$(curl -fsSL $REPO/upgrade-cli.py)"
This script will upgrade the CLI only. After the upgrade, the command displays the new CLI version that you’ve upgraded to and all available upgrades for the component.
- Validate the upgraded cli version (24.10-10):
./pgedge info
Upgrading pgEdge Platform Components
Use the following command to list all supported components and available versions:
./pgedge um list
To upgrade a platform component such as the spock extension, invoke the upgrade command for corresponding component:
./pgedge um upgrade spock
Each listed component can be similarly upgraded using the component name displayed by the pgedge um list
command.