Open main menu

Changes

109 bytes added ,  02:46, 12 July 2018
no edit summary
# make sure you have a backup of your civicrm.settings.php file
cp $config ~/civicrm.settings.php.bak
mkdir backup=/tmp/html.backupmkdir $backup && sudo chown www-data:www-data html.$backupsudo -u www-data cp -ar /var/www/html html.$backupwget package=https://download.civicrm.org/civicrm-45.73.160-wordpress.zipwget $packagesudo rm -rf $pluginroot/civicrm && sudo -u www-data unzip civicrm-4.7.16-wordpress.zip $package -d /var/www/html/wp-content/plugin$pluginrootrm -r $templates/# upgrade the database by visiting the URL in your browser/admin.php?page=CiviCRM&q=civicrm/upgrade&reset=1
# test and then cleanup or revert
rm civicrm-4.7.16-wordpress.zip$package
rm ~/civicrm.settings.php.bak
sudo rm -rf html.$backup
</source>
4,558

edits