In some cases you may want to reinstall core MediaCP components. You can do this by deleting the related version file and running the upgrade script. Removing version files can be done with the rm command, it is important that you are very careful when using this command as you can easily delete entire directories resulting in data loss.
You can find all of the version files in the /usr/local/mediacp/versions/ directory. Deleting the version file for the compontent will result in the upgrade script reinstalling the component.
root@localhost:~# ls /usr/local/mediacp/versions/
ffmpeg ices mysql php_customini WowzaStreamingEngine flussonic ices20 nginx proftpd geoip ioncube nginx-rtmp redis icecast liquidsoap nginx_status release_branch icecastkh mediacp php scfiles
Here are some example steps for reinstalling icecast, you can :
- Connect to your server as root via SSH
- Remove the Icecast version file
rm -f /usr/local/mediacp/versions/icecast;
- Run the upgrade script to reinstall Icecast
/root/init upgrade;