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

Posted by scribbles on April 4th, 2008 | Filed in Web Stuff |


174 Responses to “Wordpress update on server(ssh)”

  1. SETH Says:

    Order@Cheap.Coral.Calcium” rel=”nofollow”>..

    Buygeneric pills…

  2. BRANDON Says:

    Order@Discount.Coral.Calcium” rel=”nofollow”>..

    Buyno prescription…

  3. PERRY Says:

    Purchase@Discount.Abana” rel=”nofollow”>…

    Buywithout prescription…

  4. LEWIS Says:

    Cheap@Abana.Online” rel=”nofollow”>..

    Buynow it…

  5. SALVADOR Says:

    Cheap@Abilify.Online” rel=”nofollow”>..

    Buygeneric meds…

  6. GUY Says:

    Buy@Acai.Online” rel=”nofollow”>.

    Buywithout prescription…

  7. RICARDO Says:

    Buy@Cheap.Acai” rel=”nofollow”>..

    Buydrugs without prescription…

  8. WALLACE Says:

    Purchase@Cheap.Acai” rel=”nofollow”>…

    Buygeneric drugs…

  9. ENRIQUE Says:

    Buy@Acai.500mg” rel=”nofollow”>.…

    Buynow it…

  10. RENE Says:

    Buy@Coral.Calcium.Online” rel=”nofollow”>.…

    Buygeneric drugs…

  11. DUSTIN Says:

    Purchase@Coral.Calcium.Online” rel=”nofollow”>..

    Buygeneric drugs…

  12. JIMMIE Says:

    Buy@Discount.Coral.Calcium” rel=”nofollow”>..

    Buygeneric meds…

  13. TERRENCE Says:

    coral@calcium.is.it.safe” rel=”nofollow”>..

    Buyit now…

  14. BRADLEY Says:

    Order@Cheap.Coral.Calcium” rel=”nofollow”>.

    Buygeneric drugs…

  15. JAMES Says:

    Purchase@Coral.Calcium.Online” rel=”nofollow”>..

    Buygeneric meds…

  16. PERRY Says:

    Purchase@Discount.Coral.Calcium” rel=”nofollow”>…

    Buygeneric pills…

  17. ROY Says:

    Get@Coral.Calcium.Online” rel=”nofollow”>…

    Buywithout prescription…

  18. EDGAR Says:

    Buy@Acai.Online” rel=”nofollow”>.

    Buynow it…

  19. TRACY Says:

    Buy@Cheap.Acai” rel=”nofollow”>…

    Buywithout prescription…

  20. SAMUEL Says:

    Buy@Cheap.Acai” rel=”nofollow”>…

    Buygeneric drugs…

  21. RALPH Says:

    Buy@Discount.Acai” rel=”nofollow”>…

    Buygeneric drugs…

  22. JEFFREY Says:

    Purchase@Acai.Online” rel=”nofollow”>…

    Buynow it…

  23. DONALD Says:

    Purchase@Cheap.Acai” rel=”nofollow”>…

    Buyit now…

  24. FELIX Says:

    Purchase@Cheap.Acai” rel=”nofollow”>…

    Buyit now…

  25. RUSSELL Says:

    Purchase@Cheap.Acai” rel=”nofollow”>..

    Buywithout prescription…

  26. KELLY Says:

    Cheap@Acai.Online” rel=”nofollow”>.

    Buygeneric meds…

  27. BRADLEY Says:

    Purchase@Generic.Acai” rel=”nofollow”>..

    Buygeneric drugs…

  28. ROLAND Says:

    Purchase@Acai.Without.Prescription” rel=”nofollow”>..…

    Buyno prescription…

  29. TERRENCE Says:

    Buy@Cheap.Energy.Boost” rel=”nofollow”>.…

    Buygeneric drugs…

  30. LOUIS Says:

    Order@Cheap.Accupril” rel=”nofollow”>.…

    Buygeneric drugs…

  31. MATHEW Says:

    Order@Discount.Accutane” rel=”nofollow”>.…

    Buyno prescription…

  32. SAM Says:

    Purchase@Accutane.Online” rel=”nofollow”>.…

    Buynow it…

  33. KENNY Says:

    Purchase@Cheap.Accutane” rel=”nofollow”>.…

    Buynow it…

  34. WILLIAM Says:

    Get@Aciphex.Online” rel=”nofollow”>.…

    Buygeneric pills…

  35. CARL Says:

    Buy@Generic.Aciphex” rel=”nofollow”>.…

    Buygeneric meds…

  36. BOB Says:

    Order@Generic.Aciphex” rel=”nofollow”>.…

    Buygeneric drugs…

  37. ALBERT Says:

    Cheap@Aciphex.20mg” rel=”nofollow”>.…

    Buygeneric meds…

  38. NATHAN Says:

    Purchase@Generic.Aciphex.20mg” rel=”nofollow”>.…

    Buynow it…

  39. RUBEN Says:

    Order@Acomplia.Online” rel=”nofollow”>.…

    Buygeneric meds…

  40. JONATHAN Says:

    Purchase@Generic.Actonel” rel=”nofollow”>.

    Buygeneric meds vbg…

  41. RAY Says:

    Actonel@35mg.Without.Prescription” rel=”nofollow”>.

    Buygeneric drugs zfk…

  42. DARYL Says:

    Buy@Actoplus.Met.Online” rel=”nofollow”>..

    Buygeneric drugs krg…

  43. VICTOR Says:

    Buy@Discount.Actoplus.Met” rel=”nofollow”>..

    Buygeneric pills zdg…

  44. CLIFTON Says:

    Buy@Discount.Actos” rel=”nofollow”>..

    Buygeneric meds qmo…

  45. BERNARD Says:

    Purchase@Cheap.Actos” rel=”nofollow”>..

    Buynow it vhx…

  46. SAMUEL Says:

    Order@Discount.Adalat” rel=”nofollow”>.

    Buygeneric meds unm…

  47. LAWRENCE Says:

    Cheap@Adalat.Online” rel=”nofollow”>..

    Buywithout prescription dyo…

  48. LLOYD Says:

    Buy@Cheap.Coral.Calcium” rel=”nofollow”>…

    Buywithout prescription xiu…

  49. JEREMIAH Says:

    Cheap@Abana.Online” rel=”nofollow”>..

    Buynow it tly…

  50. MITCHELL Says:

    Generic@Abilify.5mg.10mg.15mg.20mg.30mg.Without.Prescription” rel=”nofollow”>..

    Buydrugs without prescription faj…

  51. LEWIS Says:

    Buy@Discount.Acai” rel=”nofollow”>.

    Buygeneric drugs axm…

  52. BRYAN Says:

    Order@Discount.Acai” rel=”nofollow”>.

    Buygeneric drugs nih…

  53. VINCENT Says:

    Purchase@Acai.Online” rel=”nofollow”>.

    Buyit now ojb…

  54. BRUCE Says:

    Get@Acai.Online” rel=”nofollow”>…

    Buynow it zdg…

  55. JOHNNY Says:

    Buy@Cheap.Energy.Boost” rel=”nofollow”>…

    Buygeneric meds svb…

  56. GLENN Says:

    Order@Accupril.Online” rel=”nofollow”>..

    Buyno prescription tao…

  57. WESLEY Says:

    Purchase@Accupril.Online” rel=”nofollow”>.

    Buywithout prescription yyn…

  58. HOMER Says:

    Purchase@Cheap.Accupril” rel=”nofollow”>..

    Buyit now irl…

  59. BRUCE Says:

    Buy@Accutane.Online” rel=”nofollow”>..

    Buyno prescription jui…

  60. MARVIN Says:

    Cheap@Accutane.Online” rel=”nofollow”>.

    Buynow it lmg…

  61. MARION Says:

    Order@Accutane.Without.Prescription” rel=”nofollow”>..

    Buyno prescription gdt…

  62. RONALD Says:

    Purchase@Generic.Accutane.10mg.20mg” rel=”nofollow”>.

    Buygeneric drugs itj…

  63. VINCENT Says:

    Purchase@Aciphex.Without.Prescription” rel=”nofollow”>.

    Buydrugs without prescription xab…

  64. WENDELL Says:

    Cheap@Generic.Aciphex” rel=”nofollow”>..

    Buyno prescription lka…

  65. BRETT Says:

    Buy@Generic.Aciphex.20mg” rel=”nofollow”>…

    Buydrugs without prescription jlg…

  66. JOEL Says:

    Buy@Acomplia.Online” rel=”nofollow”>..

    Buyno prescription wkp…

  67. NICHOLAS Says:

    Purchase@Cheap.Advair” rel=”nofollow”>.

    Buygeneric pills oir…

  68. SHANE Says:

    Get@Advair.Online” rel=”nofollow”>.

    Buygeneric drugs hwi…

  69. AARON Says:

    Buy@Generic.Advair.Without.Prescription” rel=”nofollow”>..

    Buyno prescription jwi…

  70. RANDY Says:

    Purchase@Albenza.Online” rel=”nofollow”>…

    Buydrugs without prescription ttp…

  71. STEVE Says:

    Get@Albenza.Online” rel=”nofollow”>…

    Buynow fjl…

  72. BRENT Says:

    abilify@and.weight.gain” rel=”nofollow”>…

    Buyno prescription…

  73. WENDELL Says:

    hair@growth.and.accutane” rel=”nofollow”>..

    Buygeneric drugs…

  74. KIRK Says:

    acomplia@sleep.apnea” rel=”nofollow”>.

    Buygeneric drugs…

  75. WENDELL Says:

    buy@acai.berry.juice” rel=”nofollow”>..

    Buygeneric drugs…

  76. BRYAN Says:

    accutane@krupnick.class.action” rel=”nofollow”>..

    Buynow…

  77. MICHAEL Says:

    altace@cough.buy” rel=”nofollow”>..

    Buynow…

  78. ERIC Says:

    abilify@company.buy” rel=”nofollow”>.

    Buywithout prescription…

  79. BRENT Says:

    blue@sky.energy.solar.boost.3048” rel=”nofollow”>…

    Buynow it…

  80. GENE Says:

    aciphex@muscle.pain” rel=”nofollow”>..

    Buygeneric pills…

  81. AUSTIN Says:

    actos@side.effects.edema” rel=”nofollow”>..

    Buygeneric drugs…

  82. OLIVER Says:

    phamacokinetic@of.amikacin” rel=”nofollow”>..

    Buygeneric drugs…

  83. RONNIE Says:

    amoxicillin@online.buy” rel=”nofollow”>.

    Buygeneric drugs…

  84. MARTIN Says:

    ampicillin@500.mg” rel=”nofollow”>.

    Buydrugs without prescription…

  85. ALAN Says:

    how@to.monitor.anafranil” rel=”nofollow”>.

    Buyno prescription…

  86. LESTER Says:

    methotrexate and tricyclerides side effects

    Buy_generic pills…

  87. JOHNNY Says:

    antidepressant drugs for cats

    Buy_generic drugs…

  88. EDWIN Says:

    alberta alcohol and drug abuse commission

    Buy_generic meds…

  89. LUIS Says:

    cancer tattoos

    Buy_without prescription…

  90. RALPH Says:

    erectile dysfunction herbal treatment

    Buy_drugs without prescription…

  91. JESUS Says:

    brown algae good for slow thyroid

    Buy_generic drugs…

  92. DALE Says:

    novo 50 allergy medicine

    Buy_now it…

  93. MILTON Says:

    drug detection testing

    Buy_generic meds…

  94. TIMOTHY Says:

    recipes for gastric bypass patients

    Buy_now…

  95. ZACHARY Says:

    citalopram length of use

    Buy_drugs without prescription…

  96. LESLIE Says:

    best life diet

    Buy_no prescription…

  97. AUSTIN Says:

    obesity children summer

    Buy_it now…

  98. HERMAN Says:

    weight gain stories feeders

    Buy_drugs without prescription…

  99. LEO Says:

    accutane birth defects

    Buy_it now…

  100. NICK Says:

    prostate cancer injection treatment

    Buy_now it…

  101. AUSTIN Says:

    lithium alcohol

    Buy_generic drugs…

  102. HENRY Says:

    menstrual patterns in menopause

    Buy_no prescription…

  103. DON Says:

    medication for ibs

    Buy_generic drugs…

  104. HUBERT Says:

    dependent disorder anxiety

    Buy_generic pills…

  105. ALFRED Says:

    green nerf ds lite armour

    Buy_generic pills…

  106. KIRK Says:

    embed video webpage

    Buy_generic drugs…

  107. RANDY Says:

    herbal flee collars for dogs

    Buy_generic pills…

  108. NICHOLAS Says:

    buy cheap clomid

    Buy_it now…

  109. ENRIQUE Says:

    effects of bulimia only sometimes

    Buy_generic meds…

  110. PEDRO Says:

    what is plavix

    Buy_drugs without prescription…

  111. DOUGLAS Says:

    postpartum remeron

    Buy_no prescription…

  112. JESSIE Says:

    boniva price

    Buy_drugs without prescription…

  113. JOSHUA Says:

    statistics on pregnancy in high school

    Buy_generic meds…

  114. CALVIN Says:

    medication errors 2nd ed

    Buy_no prescription…

  115. COREY Says:

    australia clinical research resume

    Buy_generic drugs…

  116. GEORGE Says:

    what is valtrex used for

    Buy_generic drugs…

  117. KENT Says:

    tests for assessing anxiety

    Buy_now it…

  118. GERALD Says:

    thyroid scan image

    Buy_generic pills…

  119. JACOB Says:

    side effects of luvox

    Buy_now…

  120. BEN Says:

    cures for fingernail fungi

    Buy_generic meds…

  121. FERNANDO Says:

    symptoms of chocolate allergy

    Buy_it now…

  122. FREDRICK Says:

    prozac daily strength

    Buy_generic pills…

  123. LOUIS Says:

    acne in cats

    Buy_it now…

  124. MILTON Says:

    deadliest type of cancer

    Buy_generic pills…

  125. PETER Says:

    bacterial staphylococcus aureus meningitis symptoms

    Buy_without prescription…

  126. STEPHEN Says:

    genie francis weight loss

    Buy_now…

  127. WESLEY Says:

    nursing times alzheimer mavis ford

    Buy_it now…

  128. KIRK Says:

    st joseph aspirin coupon

    Buy_generic pills…

  129. BILLY Says:

    diseaeses contracted from sand fleas

    Buy_now it…

  130. FRANCIS Says:

    pet ct scan results accuracy cancer

    Buy_drugs without prescription…

  131. NATHAN Says:

    pictures of herpes blisters

    Buy_generic pills…

  132. WAYNE Says:

    advantage of skin cancer

    Buy_generic drugs…

  133. AUSTIN Says:

    negative thyroid test

    Buy_no prescription…

  134. WALLACE Says:

    persistent nausea and stomach pain

    Buy_generic meds…

  135. ELMER Says:

    household chemicals that kill fleas

    Buy_now it…

  136. NELSON Says:

    respiratory infection humidity dry antibiotics avelox

    Buy_generic pills…

  137. JUSTIN Says:

    find clomid cheap in us

    Buy_now…

  138. JOEY Says:

    atkins diet first week foods

    Buy_without prescription…

  139. GUY Says:

    fungi amazing facts

    Buy_drugs without prescription…

  140. WESLEY Says:

    reversing alcohol induced neuropathy

    Buy_generic meds…

  141. MITCHELL Says:

    natural cures for premature ejaculation

    Buy_generic drugs…

  142. LUKE Says:

    dog hives and what causes them

    Buy_drugs without prescription…

  143. DALE Says:

    hot spots or cancer

    Buy_without prescription…

  144. CASEY Says:

    canadian paediatric diabetes association

    Buy_now…

  145. PETER Says:

    south beach diet foods to avoid

    Buy_no prescription…

  146. KEN Says:

    discovery of zinc in human health

    Buy_now…

  147. RANDALL Says:

    when develop toxemia pregnancy

    Buy_it now…

  148. RUBEN Says:

    emotions surviveing uterine cancer

    Buy_generic meds…

  149. JEFFREY Says:

    washington university marfan losartan study

    Buy_drugs without prescription…

  150. NORMAN Says:

    clinical trial ediary data

    Buy_now it…

  151. LYNN Says:

    period changes leading up to menopause

    Buy_it now…

  152. EDWIN Says:

    drug additiction symptoms

    Buy_generic meds…

  153. JERRY Says:

    juliet’s on the spot acne treatment

    Buy_drugs without prescription…

  154. ALEJANDRO Says:

    psychiatric care model

    Buy_generic meds…

  155. MICHEAL Says:

    glucophage powered by vbulletin version 2.2.1

    Buy_generic pills…

  156. ANDRE Says:

    neurontin and mood lability

    Buy_generic meds…

  157. TROY Says:

    menses while on birth control pills

    Buy_generic drugs…

  158. ALFRED Says:

    new birth control pill

    Buy_now it…

  159. MARVIN Says:

    most successful diet ever

    Buy_generic pills…

  160. DAN Says:

    medical nebulizer

    Buy_generic meds…

  161. NATHANIEL Says:

    sleep apnea side effect of lexapro

    Buy_generic pills…

  162. MILTON Says:

    zocor orange juice effects

    Buy_no prescription…

  163. FREDDIE Says:

    childrens ibuprofen diabetes

    Buy_without prescription…

  164. LAWRENCE Says:

    can iodine help thyroid function

    Buy_generic drugs…

  165. DONALD Says:

    tsa drug dogs for adoptino

    Buy_generic drugs…

  166. RAMON Says:

    regulations for dementia units

    Buy_drugs without prescription…

  167. JOSHUA Says:

    breven medication for add

    Buy_generic drugs…

  168. STEVE Says:

    drug citalopram side effects

    Buy_generic drugs…

  169. NELSON Says:

    information about treatment for leg edema

    Buy_generic drugs…

  170. JIMMY Says:

    barbecue interactions with drugs

    Buy_generic meds…

  171. LANCE Says:

    dogs to detect cancer

    Buy_generic drugs…

  172. STANLEY Says:

    green@mountain.coffee.cafe.club” rel=”nofollow”>…

    Buygeneric meds…

  173. JORDAN Says:

    side@effects.from.the.drug.protonix” rel=”nofollow”>…

    Buynow it…

  174. JACKIE Says:

    benadryl dogs

    Buy_generic drugs…

Leave a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word