- Put in
~/tmp/
folder and don't forget to erase afterwards - Download URL: http://download.buildwithcraft.com/craft/{version}/{version}.{build}/Craft-{version}.{build}.zip
- Download
wget DOWNLOAD_URL
and unzip
- Craft usually backsup the database on update but I've found that if you have a large database, this can cause the update script to timeout.
- Craft should be set to
'backupDbOnUpdate' => false
- This means that you'll be responsible for updating previous to updating
create database [databasename];
grant all privileges on [databasename] to 'user'@'localhost';
FLUSH PRIVILEGES;
- Check
~/etc/php5/php.ini
- Check
../craft/config/general.php
- Drop a
../public/info.php
file just in case
- Move existing one to
app.old
- Copy new one from the
tmp
directory onto../craft/
- Lower memory limit back to
512M
(check performance) - Erase database backup and secondary databases
- Erase downloaded files
- Celebrate!
- Turn on dev mode and find out what's going on
- Worst case scenario restore back to normal removing new app directory and restoring database