Wordpress update on server(ssh)
Just thought i’d expand a little on the instructions provided on wordpress . This is by no means a cookbook but its what worked for me. I am not responsible for anybody screwing up their installation even if you follow the steps to the T.
This is just a slightly cleaned up version of the instructions i wrote
for a friend who wanted to do the upgrade too and later suggested that i
post them for others to use. For the record we are both on Linux servers
and have either root or user SSH access.
Anyway, here goes:
- BACKUP YOUR WORDPRESS FOLDER AND DATABASE
- Backup your wordpress folder and database
- I assume you are ssh’ed in to server at this point, change directory to your root folder if you are not
already there ('cd ~' or 'cd ~yourusername') or any folder where
you want to put the new files that we will be copying into your
current installation - Did you backup your database and wordpress folder, this might be a good time to do that.
- get the current release of wordpress(2.5 at time of writing), ‘
wget http://wordpress.org/latest.zip' - if your wordpress folder is named ‘wordpress’ and you downloaded the latest.zip file into the folder that contains your wordpress folder, you should create a temp folder and move the latest.zip file into it so that you don’t overwrite your current installation
- unzip the latest release (’
unzip latest.zip‘) - Go into the wordpress admin and deactivate all your plugins(I only had one plugin activated and left it on during the upgrade and that did not cause any problems, but that’s just my specific case)
- change directory to your wordpress folder(’
cd www/wordpress‘ if your web folder is ‘www’ and the wordpress folder is ‘wordpress’) - you can either delete or rename the admin and includes folders. I chose to rename first then delete afterwards(
'mv wp-includes wp-includes-old'and'mv wp-admin wp-admin-old') - move the new admin and includes folders into place; assuming you are still in the live wordpress folder and the newly downloaded files are in your
root/home folder ('mv ../../wordpress/wp-admin .' and 'mv ../../wordpress/wp-includes .') - copy the new contents folder over the current one: NOTE; i was not using neither the default nor the classic themes so if you are you are and have made changes to those themes, backup the themes folder inside the wp-content
folder so you can put those themes back after the update if need be. - to copy the new contents folder, going by the same assumptions as in #11 above; (
'/bin/cp -Rf ../../wordpress/wp-content .') - In case you don’t have ownership of the files(maybe you logged in as root), change the ownership of the files to your username. In the wordpress folder: (
'chown yourusername. * -R') - Pull up the upgrade script: http://yourdomain.com/wordpressfolderifany/wp-admin/upgrade.php
- Click continue or whatever the button on that page says.
- Pull up your blog, cross your fingers and hope all is well. If not, you did make a backup right? You can restore those if you need the blog back online now.
- Here are the official extended upgrade instructions: click
- Re-activate your plugins and test them.
- For help troubleshooting, feel free to contact me or better yet, visit the forums
July 29th, 2011 at 2:45:35
Order@Cheap.Coral.Calcium” rel=”nofollow”>..…
Buygeneric pills…
July 29th, 2011 at 3:08:32
Order@Discount.Coral.Calcium” rel=”nofollow”>..…
Buyno prescription…
July 29th, 2011 at 10:12:48
Purchase@Discount.Abana” rel=”nofollow”>……
Buywithout prescription…
July 29th, 2011 at 10:37:47
Cheap@Abana.Online” rel=”nofollow”>..…
Buynow it…
July 29th, 2011 at 16:07:22
Cheap@Abilify.Online” rel=”nofollow”>..…
Buygeneric meds…
July 30th, 2011 at 3:11:41
Buy@Acai.Online” rel=”nofollow”>.…
Buywithout prescription…
July 30th, 2011 at 5:38:04
Buy@Cheap.Acai” rel=”nofollow”>..…
Buydrugs without prescription…
July 30th, 2011 at 16:04:25
Purchase@Cheap.Acai” rel=”nofollow”>……
Buygeneric drugs…
July 31st, 2011 at 10:59:33
Buy@Acai.500mg” rel=”nofollow”>.…
Buynow it…
July 31st, 2011 at 14:32:08
Buy@Coral.Calcium.Online” rel=”nofollow”>.…
Buygeneric drugs…
July 31st, 2011 at 16:51:26
Purchase@Coral.Calcium.Online” rel=”nofollow”>..…
Buygeneric drugs…
August 1st, 2011 at 1:45:41
Buy@Discount.Coral.Calcium” rel=”nofollow”>..…
Buygeneric meds…
August 1st, 2011 at 3:37:36
coral@calcium.is.it.safe” rel=”nofollow”>..…
Buyit now…
August 2nd, 2011 at 4:15:35
Order@Cheap.Coral.Calcium” rel=”nofollow”>.…
Buygeneric drugs…
August 2nd, 2011 at 5:22:45
Purchase@Coral.Calcium.Online” rel=”nofollow”>..…
Buygeneric meds…
August 2nd, 2011 at 6:30:22
Purchase@Discount.Coral.Calcium” rel=”nofollow”>……
Buygeneric pills…
August 2nd, 2011 at 7:40:08
Get@Coral.Calcium.Online” rel=”nofollow”>……
Buywithout prescription…
August 3rd, 2011 at 14:57:13
Buy@Acai.Online” rel=”nofollow”>.…
Buynow it…
August 3rd, 2011 at 15:53:26
Buy@Cheap.Acai” rel=”nofollow”>……
Buywithout prescription…
August 3rd, 2011 at 16:32:59
Buy@Cheap.Acai” rel=”nofollow”>……
Buygeneric drugs…
August 3rd, 2011 at 18:40:00
Buy@Discount.Acai” rel=”nofollow”>……
Buygeneric drugs…
August 4th, 2011 at 1:03:22
Purchase@Acai.Online” rel=”nofollow”>……
Buynow it…
August 4th, 2011 at 1:34:05
Purchase@Cheap.Acai” rel=”nofollow”>……
Buyit now…
August 4th, 2011 at 1:44:19
Purchase@Cheap.Acai” rel=”nofollow”>……
Buyit now…
August 4th, 2011 at 2:54:58
Purchase@Cheap.Acai” rel=”nofollow”>..…
Buywithout prescription…
August 4th, 2011 at 5:18:12
Cheap@Acai.Online” rel=”nofollow”>.…
Buygeneric meds…
August 4th, 2011 at 21:03:45
Purchase@Generic.Acai” rel=”nofollow”>..…
Buygeneric drugs…
August 4th, 2011 at 21:33:58
Purchase@Acai.Without.Prescription” rel=”nofollow”>..…
Buyno prescription…
August 5th, 2011 at 1:52:26
Buy@Cheap.Energy.Boost” rel=”nofollow”>.…
Buygeneric drugs…
August 5th, 2011 at 17:33:38
Order@Cheap.Accupril” rel=”nofollow”>.…
Buygeneric drugs…
August 6th, 2011 at 7:04:52
Order@Discount.Accutane” rel=”nofollow”>.…
Buyno prescription…
August 6th, 2011 at 8:11:13
Purchase@Accutane.Online” rel=”nofollow”>.…
Buynow it…
August 6th, 2011 at 9:08:22
Purchase@Cheap.Accutane” rel=”nofollow”>.…
Buynow it…
August 7th, 2011 at 20:27:32
Get@Aciphex.Online” rel=”nofollow”>.…
Buygeneric pills…
August 7th, 2011 at 21:30:18
Buy@Generic.Aciphex” rel=”nofollow”>.…
Buygeneric meds…
August 8th, 2011 at 0:29:46
Order@Generic.Aciphex” rel=”nofollow”>.…
Buygeneric drugs…
August 8th, 2011 at 13:32:23
Cheap@Aciphex.20mg” rel=”nofollow”>.…
Buygeneric meds…
August 8th, 2011 at 16:58:33
Purchase@Generic.Aciphex.20mg” rel=”nofollow”>.…
Buynow it…
August 9th, 2011 at 6:50:43
Order@Acomplia.Online” rel=”nofollow”>.…
Buygeneric meds…
August 10th, 2011 at 16:11:25
Purchase@Generic.Actonel” rel=”nofollow”>.…
Buygeneric meds vbg…
August 10th, 2011 at 21:43:49
Actonel@35mg.Without.Prescription” rel=”nofollow”>.…
Buygeneric drugs zfk…
August 10th, 2011 at 22:16:15
Buy@Actoplus.Met.Online” rel=”nofollow”>..…
Buygeneric drugs krg…
August 10th, 2011 at 23:22:55
Buy@Discount.Actoplus.Met” rel=”nofollow”>..…
Buygeneric pills zdg…
August 11th, 2011 at 5:32:31
Buy@Discount.Actos” rel=”nofollow”>..…
Buygeneric meds qmo…
August 11th, 2011 at 8:41:38
Purchase@Cheap.Actos” rel=”nofollow”>..…
Buynow it vhx…
August 12th, 2011 at 14:46:15
Order@Discount.Adalat” rel=”nofollow”>.…
Buygeneric meds unm…
August 12th, 2011 at 16:50:11
Cheap@Adalat.Online” rel=”nofollow”>..…
Buywithout prescription dyo…
August 12th, 2011 at 18:58:03
Buy@Cheap.Coral.Calcium” rel=”nofollow”>……
Buywithout prescription xiu…
August 13th, 2011 at 5:16:31
Cheap@Abana.Online” rel=”nofollow”>..…
Buynow it tly…
August 13th, 2011 at 23:07:38
Generic@Abilify.5mg.10mg.15mg.20mg.30mg.Without.Prescription” rel=”nofollow”>..…
Buydrugs without prescription faj…
August 14th, 2011 at 3:34:12
Buy@Discount.Acai” rel=”nofollow”>.…
Buygeneric drugs axm…
August 14th, 2011 at 6:45:06
Order@Discount.Acai” rel=”nofollow”>.…
Buygeneric drugs nih…
August 14th, 2011 at 7:59:02
Purchase@Acai.Online” rel=”nofollow”>.…
Buyit now ojb…
August 14th, 2011 at 12:36:27
Get@Acai.Online” rel=”nofollow”>……
Buynow it zdg…
August 15th, 2011 at 9:41:57
Buy@Cheap.Energy.Boost” rel=”nofollow”>……
Buygeneric meds svb…
August 15th, 2011 at 23:59:00
Order@Accupril.Online” rel=”nofollow”>..…
Buyno prescription tao…
August 16th, 2011 at 8:15:33
Purchase@Accupril.Online” rel=”nofollow”>.…
Buywithout prescription yyn…
August 16th, 2011 at 9:30:33
Purchase@Cheap.Accupril” rel=”nofollow”>..…
Buyit now irl…
August 16th, 2011 at 19:37:28
Buy@Accutane.Online” rel=”nofollow”>..…
Buyno prescription jui…
August 17th, 2011 at 5:18:47
Cheap@Accutane.Online” rel=”nofollow”>.…
Buynow it lmg…
August 17th, 2011 at 12:04:10
Order@Accutane.Without.Prescription” rel=”nofollow”>..…
Buyno prescription gdt…
August 17th, 2011 at 20:57:07
Purchase@Generic.Accutane.10mg.20mg” rel=”nofollow”>.…
Buygeneric drugs itj…
August 18th, 2011 at 22:33:47
Purchase@Aciphex.Without.Prescription” rel=”nofollow”>.…
Buydrugs without prescription xab…
August 18th, 2011 at 23:46:40
Cheap@Generic.Aciphex” rel=”nofollow”>..…
Buyno prescription lka…
August 19th, 2011 at 4:51:20
Buy@Generic.Aciphex.20mg” rel=”nofollow”>……
Buydrugs without prescription jlg…
August 19th, 2011 at 10:46:06
Buy@Acomplia.Online” rel=”nofollow”>..…
Buyno prescription wkp…
August 23rd, 2011 at 8:29:32
Purchase@Cheap.Advair” rel=”nofollow”>.…
Buygeneric pills oir…
August 23rd, 2011 at 13:45:14
Get@Advair.Online” rel=”nofollow”>.…
Buygeneric drugs hwi…
August 23rd, 2011 at 17:43:28
Buy@Generic.Advair.Without.Prescription” rel=”nofollow”>..…
Buyno prescription jwi…
August 25th, 2011 at 15:52:19
Purchase@Albenza.Online” rel=”nofollow”>……
Buydrugs without prescription ttp…
August 25th, 2011 at 20:59:51
Get@Albenza.Online” rel=”nofollow”>……
Buynow fjl…
August 26th, 2011 at 8:48:45
abilify@and.weight.gain” rel=”nofollow”>……
Buyno prescription…
August 26th, 2011 at 10:01:24
hair@growth.and.accutane” rel=”nofollow”>..…
Buygeneric drugs…
August 26th, 2011 at 11:57:00
acomplia@sleep.apnea” rel=”nofollow”>.…
Buygeneric drugs…
August 26th, 2011 at 18:00:55
buy@acai.berry.juice” rel=”nofollow”>..…
Buygeneric drugs…
August 26th, 2011 at 20:41:45
accutane@krupnick.class.action” rel=”nofollow”>..…
Buynow…
August 27th, 2011 at 16:35:36
altace@cough.buy” rel=”nofollow”>..…
Buynow…
August 28th, 2011 at 2:02:19
abilify@company.buy” rel=”nofollow”>.…
Buywithout prescription…
August 28th, 2011 at 8:49:17
blue@sky.energy.solar.boost.3048” rel=”nofollow”>……
Buynow it…
August 28th, 2011 at 11:59:36
aciphex@muscle.pain” rel=”nofollow”>..…
Buygeneric pills…
August 28th, 2011 at 14:59:48
actos@side.effects.edema” rel=”nofollow”>..…
Buygeneric drugs…
August 29th, 2011 at 2:35:00
phamacokinetic@of.amikacin” rel=”nofollow”>..…
Buygeneric drugs…
August 29th, 2011 at 4:35:20
amoxicillin@online.buy” rel=”nofollow”>.…
Buygeneric drugs…
August 29th, 2011 at 5:47:09
ampicillin@500.mg” rel=”nofollow”>.…
Buydrugs without prescription…
August 29th, 2011 at 6:28:37
how@to.monitor.anafranil” rel=”nofollow”>.…
Buyno prescription…
October 18th, 2011 at 12:07:12
methotrexate and tricyclerides side effects…
Buy_generic pills…
October 18th, 2011 at 13:40:32
antidepressant drugs for cats…
Buy_generic drugs…
October 18th, 2011 at 15:21:58
alberta alcohol and drug abuse commission…
Buy_generic meds…
October 18th, 2011 at 17:01:32
cancer tattoos…
Buy_without prescription…
October 19th, 2011 at 6:27:45
erectile dysfunction herbal treatment…
Buy_drugs without prescription…
October 19th, 2011 at 9:41:43
brown algae good for slow thyroid…
Buy_generic drugs…
October 19th, 2011 at 18:08:49
novo 50 allergy medicine…
Buy_now it…
October 19th, 2011 at 19:47:36
drug detection testing…
Buy_generic meds…
October 20th, 2011 at 3:48:32
recipes for gastric bypass patients…
Buy_now…
October 20th, 2011 at 15:21:09
citalopram length of use…
Buy_drugs without prescription…
October 21st, 2011 at 11:50:46
best life diet…
Buy_no prescription…
October 21st, 2011 at 16:50:42
obesity children summer…
Buy_it now…
October 21st, 2011 at 23:32:47
weight gain stories feeders…
Buy_drugs without prescription…
October 22nd, 2011 at 7:52:27
accutane birth defects…
Buy_it now…
October 22nd, 2011 at 9:34:29
prostate cancer injection treatment…
Buy_now it…
October 23rd, 2011 at 2:49:17
lithium alcohol…
Buy_generic drugs…
October 23rd, 2011 at 4:34:56
menstrual patterns in menopause…
Buy_no prescription…
October 23rd, 2011 at 7:54:59
medication for ibs…
Buy_generic drugs…
October 24th, 2011 at 16:39:14
dependent disorder anxiety…
Buy_generic pills…
October 24th, 2011 at 23:13:39
green nerf ds lite armour…
Buy_generic pills…
October 25th, 2011 at 17:33:43
embed video webpage…
Buy_generic drugs…
October 26th, 2011 at 8:36:46
herbal flee collars for dogs…
Buy_generic pills…
October 26th, 2011 at 11:55:49
buy cheap clomid…
Buy_it now…
October 26th, 2011 at 15:15:16
effects of bulimia only sometimes…
Buy_generic meds…
October 26th, 2011 at 18:34:39
what is plavix…
Buy_drugs without prescription…
October 27th, 2011 at 1:14:44
postpartum remeron…
Buy_no prescription…
October 27th, 2011 at 2:56:23
boniva price…
Buy_drugs without prescription…
October 27th, 2011 at 4:38:15
statistics on pregnancy in high school…
Buy_generic meds…
October 27th, 2011 at 19:33:16
medication errors 2nd ed…
Buy_no prescription…
October 28th, 2011 at 2:12:50
australia clinical research resume…
Buy_generic drugs…
October 28th, 2011 at 15:27:37
what is valtrex used for…
Buy_generic drugs…
October 28th, 2011 at 20:33:55
tests for assessing anxiety…
Buy_now it…
October 28th, 2011 at 23:08:40
thyroid scan image…
Buy_generic pills…
October 29th, 2011 at 15:47:08
side effects of luvox…
Buy_now…
October 30th, 2011 at 1:47:13
cures for fingernail fungi…
Buy_generic meds…
October 30th, 2011 at 5:58:06
symptoms of chocolate allergy…
Buy_it now…
October 30th, 2011 at 17:30:32
prozac daily strength…
Buy_generic pills…
October 31st, 2011 at 0:12:05
acne in cats…
Buy_it now…
October 31st, 2011 at 3:31:18
deadliest type of cancer…
Buy_generic pills…
October 31st, 2011 at 10:13:00
bacterial staphylococcus aureus meningitis symptoms…
Buy_without prescription…
October 31st, 2011 at 16:49:14
genie francis weight loss…
Buy_now…
October 31st, 2011 at 23:31:35
nursing times alzheimer mavis ford…
Buy_it now…
November 1st, 2011 at 6:14:43
st joseph aspirin coupon…
Buy_generic pills…
November 1st, 2011 at 11:16:35
diseaeses contracted from sand fleas…
Buy_now it…
November 1st, 2011 at 21:10:49
pet ct scan results accuracy cancer…
Buy_drugs without prescription…
November 2nd, 2011 at 3:51:41
pictures of herpes blisters…
Buy_generic pills…
November 2nd, 2011 at 5:34:05
advantage of skin cancer…
Buy_generic drugs…
November 2nd, 2011 at 7:13:29
negative thyroid test…
Buy_no prescription…
November 2nd, 2011 at 8:52:39
persistent nausea and stomach pain…
Buy_generic meds…
November 2nd, 2011 at 18:52:47
household chemicals that kill fleas…
Buy_now it…
November 2nd, 2011 at 22:13:40
respiratory infection humidity dry antibiotics avelox…
Buy_generic pills…
November 2nd, 2011 at 23:50:15
find clomid cheap in us…
Buy_now…
November 3rd, 2011 at 15:44:41
atkins diet first week foods…
Buy_without prescription…
November 3rd, 2011 at 17:25:17
fungi amazing facts…
Buy_drugs without prescription…
November 3rd, 2011 at 22:23:48
reversing alcohol induced neuropathy…
Buy_generic meds…
November 4th, 2011 at 8:25:36
natural cures for premature ejaculation…
Buy_generic drugs…
November 5th, 2011 at 0:22:15
dog hives and what causes them…
Buy_drugs without prescription…
November 5th, 2011 at 8:43:39
hot spots or cancer…
Buy_without prescription…
November 5th, 2011 at 12:01:33
canadian paediatric diabetes association…
Buy_now…
November 6th, 2011 at 1:23:58
south beach diet foods to avoid…
Buy_no prescription…
November 6th, 2011 at 4:43:54
discovery of zinc in human health…
Buy_now…
November 6th, 2011 at 11:24:07
when develop toxemia pregnancy…
Buy_it now…
November 6th, 2011 at 19:40:13
emotions surviveing uterine cancer…
Buy_generic meds…
November 6th, 2011 at 21:20:27
washington university marfan losartan study…
Buy_drugs without prescription…
November 7th, 2011 at 0:41:13
clinical trial ediary data…
Buy_now it…
November 7th, 2011 at 5:46:00
period changes leading up to menopause…
Buy_it now…
November 7th, 2011 at 19:02:22
drug additiction symptoms…
Buy_generic meds…
November 8th, 2011 at 0:00:12
juliet’s on the spot acne treatment…
Buy_drugs without prescription…
November 8th, 2011 at 22:35:07
psychiatric care model…
Buy_generic meds…
November 9th, 2011 at 10:17:39
glucophage powered by vbulletin version 2.2.1…
Buy_generic pills…
November 10th, 2011 at 1:15:45
neurontin and mood lability…
Buy_generic meds…
November 10th, 2011 at 6:18:50
menses while on birth control pills…
Buy_generic drugs…
November 10th, 2011 at 19:35:01
new birth control pill…
Buy_now it…
November 11th, 2011 at 3:54:15
most successful diet ever…
Buy_generic pills…
November 11th, 2011 at 17:14:56
medical nebulizer…
Buy_generic meds…
November 12th, 2011 at 4:55:00
sleep apnea side effect of lexapro…
Buy_generic pills…
November 12th, 2011 at 9:54:50
zocor orange juice effects…
Buy_no prescription…
November 12th, 2011 at 23:13:57
childrens ibuprofen diabetes…
Buy_without prescription…
November 13th, 2011 at 19:13:06
can iodine help thyroid function…
Buy_generic drugs…
November 13th, 2011 at 20:55:43
tsa drug dogs for adoptino…
Buy_generic drugs…
November 13th, 2011 at 22:35:10
regulations for dementia units…
Buy_drugs without prescription…
November 14th, 2011 at 1:53:09
breven medication for add…
Buy_generic drugs…
November 15th, 2011 at 23:11:57
drug citalopram side effects…
Buy_generic drugs…
November 16th, 2011 at 0:51:01
information about treatment for leg edema…
Buy_generic drugs…
November 16th, 2011 at 5:54:42
barbecue interactions with drugs…
Buy_generic meds…
November 17th, 2011 at 3:30:37
dogs to detect cancer…
Buy_generic drugs…
December 9th, 2011 at 5:19:52
green@mountain.coffee.cafe.club” rel=”nofollow”>……
Buygeneric meds…
December 9th, 2011 at 8:36:59
side@effects.from.the.drug.protonix” rel=”nofollow”>……
Buynow it…
December 11th, 2011 at 4:46:59
benadryl dogs…
Buy_generic drugs…