How to Update Centova Cast

How to Update Centova Cast

Are you ready to elevate your Centova Cast experience by ensuring it’s always up-to-date? TutoSquad brings you an in-depth guide on how to update Centova Cast, keeping your system current and unlocking the latest features. Let’s dive into the steps to ensure your online radio station operates at its best!

Centovacast update guide by Tutosquad

Automated Updates Made Easy

Centova Cast simplifies the update process with a fully automated utility designed to upgrade your system whenever a new version or components are available. To initiate a complete update, use the following basic invocation:

/usr/local/centovacast/sbin/update

Detailed instructions for this process can be found in the Upgrading Version 3 section of the Installation Manual.

Updating Individual Components

If you prefer updating specific components rather than the entire system, you can pass an application identifier as the first parameter to the update script. For instance:

/usr/local/centovacast/sbin/update web

To discover available application identifiers, use the following command:

for f in /usr/local/centovacast/etc/update.d/*.update; do . $f; echo "${DATADIR/cc-/} - $TITLE" done

Forcing an Update

Centova Cast automatically detects newer versions and refrains from updating if none are available. However, if you suspect file corruption, you can force an update using the --force parameter:

/usr/local/centovacast/sbin/update --force

This can also be applied to individual components, as explained in the previous section.

Adding New Components

Extend Centova Cast’s functionality by installing new packages with the --add parameter. Refer to the Adding Additional Software section of the Installation Manual for detailed instructions.

Custom Actions on Update

Customize your update process by running scripts before or after an update. Centova Cast checks for the existence of a preupdate script before the update and a postupdate script after the update. These scripts are useful for preserving modifications, such as theme changes.

Here’s a simple example:

preupdate:

#!/bin/sh mkdir -p /usr/local/centovacast/var/preupdate_backup cp -f /usr/local/centovacast/web/theme/images/login-logo.png \ /usr/local/centovacast/var/preupdate_backup/

postupdate:

#!/bin/sh cp -f /usr/local/centovacast/var/preupdate_backup/login-logo.png \ /usr/local/centovacast/web/theme/images/ rm -rf /usr/local/centovacast/var/preupdate_backup

By following this comprehensive guide from TutoSquad, you’ll ensure that your Centova Cast installation stays current, powerful, and tailored to your specific needs. Happy updating!

Leoz Dawn Avatar