Upgrading Services/Packages
In ServBay, the process of upgrading packages is simple and efficient. By following the steps and features described below, you can easily update packages to the latest version, ensuring your system is always in optimal condition.
TIP
Upgrades will not affect your current data (including MariaDB, PostgreSQL), so users can safely update to the latest version.
Steps to Upgrade Packages
Open ServBay Application:
- Launch the ServBay application and navigate to the 'Services' page in the left menu.
View Installed Packages:
- On the 'Services' page, you can see a list of all installed packages. The current version, latest version, status, and other information for each package are clearly displayed.
Check for Available Updates:
- In the package list, check the 'Latest Version' column. If an update is available, it will be shown as the latest version number, with an orange 'Upgrade' button displayed next to it.
Click the Upgrade Button:
- On the far right of the package entry that needs to be upgraded, there is an orange 'Upgrade' button (usually with an arrow icon). Click this button, and ServBay will automatically download and install the latest version.
Upgrade Process:
- The upgrade process may take a few minutes, depending on the package size and network speed. Once the upgrade is complete, the package will automatically restart and show as 'Running'.
Example Explanation
Here is an example of upgrading the PHP 8.1 package:
Navigate to the 'Services' Page:
- Open the ServBay application and click the 'Services' option in the left menu.
Find PHP 8.1:
- In the service list, find 'PHP 8.1'. You will see the current version displayed as '8.1.28' and the latest version as '8.1.29'.
Click the Upgrade Button:
- On the far right of '8.1.29', click the 'Upgrade' button with an arrow icon.
Wait for the Upgrade to Complete:
- Once the upgrade process starts, you will see a progress indicator. After the upgrade is complete, the current version of 'PHP 8.1' will update to '8.1.33', and the status will change to 'Running'.
FAQ
Will upgrading packages affect my current data?
No. Upgrading only updates the package itself, and the data is isolated. Specifically, database data files are stored independently. You can refer to Database File Management and Migration for more information.
How to confirm if the upgrade was successful?
After a successful upgrade, the current version of the package will be updated to the latest version, and the status will change to 'Running'. You can also see the process ID of the service in the 'PID' column.
What to do if an error occurs during the upgrade?
If an error occurs during the upgrade, ServBay will display relevant error information. Follow the prompts to troubleshoot, such as checking network connections or disk space. If the issue persists, you can contact the ServBay support team for assistance.
Is it possible to upgrade packages automatically?
ServBay does not currently support automatic upgrades. It is recommended to regularly check the 'Services' page to ensure all packages remain up-to-date.
By following these steps and instructions, you can easily upgrade packages in ServBay, keeping the system secure and up-to-date. After the upgrade, you can also manage and configure packages further using other features provided by ServBay.