|
|
|
|
|
![]() |
|
|
|
Helpdesk
|
Disaster recovery
Jan 13, 2013 11:00pm
Question:
My Centova Cast installation was damaged and I tried to repair it. I've re-uploaded all of the files; can I just set the permissions to 0777 to make everything work?
Answer:
No. Setting permissions to 0777 is guaranteed to cause problems -- both technical and security-related. Note that Centova Cast is not a typical PHP script; it is a control panel, and due to its nature of operation it has special requirements in terms of ownerships and permissions. More information is included in the sections below.Procedures described hereunder are dangerous and unsupported Please note that we cannot provide support for anything explained below; this article is intended to assist advanced users in recovering a damaged installation, but this is outside of the scope of the Centova Cast support agreement. Please also note that the procedures described below are advanced and risky, and may result in data loss if performed incorrectly. Recovery by a Centova Technologies Technician If you have any doubts about your ability to perform a recovery, but are sure your data is intact, you may wish to contact Centova Technologies to have an experienced technician perform the recovery for you. In most cases, this requires less than an hour of time and thus will only incur a fee of one hour of professional services (priced at USD$69.99 at the time of this writing). Manual recovery If you are sure you have re-uploaded all of the files correctly, and/or your original files are still intact and have not been damaged or deleted, and are all located in the same paths as you originally installed them:
Changing the Centova Cast user account While we strongly recommand against doing so, if you change the UID/GID of the user account under which Centova Cast runs as part of the above process, you will need to edit the Centova Cast database and change the ccuid/ccgid fields in the 'settings' table to match the new UID/GID. Changing the Centova Cast core files path While we strongly recommand against doing so, if you change the location of Centova Cast's files, you will need to edit config.php in your Centova Cast web interface directory, as well as in /home/centovacast, and update them with the new path. You will also need to edit your Centova Cast database and change the 'vhostpath' field in the 'settings' table. Reinstallation and recovery If your Centova Cast installation is damaged beyond repair, the best approach is often to reinstall Centova Cast, then restore your old data. Please note that this is a particularly risky procedure; be sure to backup your data carefully in advance. To perform a reinstallation and subsequent recovery:
|