English
The following informations are provided as is, without warranty and without any liability.
This informations may not be correct and lead to problems on your server, if you wish to follow it you assume responsibility for it.
Sometimes updating a system app such as Apache or PHP in Webuzo can lead to errors, in this case, waiting for support from the team, you may need to restore the working backup.
The related guide on Webuzo System App updates is available at the following link: Update System Applications
As you can see, the location of the backups is indicated in the message in the yellow banner /usr/local/apps/backup/
If for example the Apache update has sent the service into KO state, you can proceed as follows:
- Check that Apache service is not running (Manage Services)
- By SFTP go to /usr/local/apps/ than the relativa Apache folder can be apache2 that can be renamed into apache2_old
- By SSH copy the folder present in the backup folder into apps with the following command:
cp -r /usr/local/apps/backup/apache2_288121412/ /usr/local/apps/apache2
Start the Apache service with the following command: service httpd start
everything should work.
If you have additional configuration for Apache verify that it is active from the Webuzo interface.
Caution: if you want to restore Exim for example, the second part of the command may be different because you will have to specify where Exim is located.
cp -r /usr/local/apps/backup/exim_288121412/ /etc/exim
In the near future Webuzo could implement the restoration of a backup application from the web interface simply with a button; for the moment this function has been requested and is not yet available.