0

Is there a way to update Drupal Core without reuploading files and following the UPDATE.php file? Something similar to how you can update a Wordpress install with a click of a button? I wasn't sure if there is a module that will allow this?

--edit--

I've attempted the "drush up" command per @Enxebre's suggestion.

I installed Drush to my shared host and it seems to be running correctly. The site is still not updating though. I checked for updates and its still at 7.22 instead of 7.23.

I also had to run an update on Drush. Here are my results from the terminal command:

Drush self update:

drush self-update 
X-Powered-By: PHP/5.2.17
Content-type: text/html

A newer version of drush, 7.x-5.x-dev (2013-Aug-06), is available.  Would you like to back up your current drush, version 4.3-dev, to /home1/munortap/drush-backups/drush/20130912205746 and replace it with the newer release? (y/n): y
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in     <b>/home1/munortap/public_html/drush/includes/drush.inc</b> on line <b>576</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in     <b>/home1/munortap/public_html/drush/includes/drush.inc</b> on line <b>576</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in     <b>/home1/munortap/public_html/drush/includes/drush.inc</b> on line <b>576</b><br />

Drush up:

[~/public_html/misadventureinc]# drush up
X-Powered-By: PHP/5.2.17
Content-type: text/html

<br />
<b>Notice</b>:  Use of undefined constant STDERR - assumed 'STDERR' in         <b>/home1/munortap/public_html/drush/includes/drush.inc</b> on line <b>1668</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in     <b>/home1/munortap/public_html/drush/includes/output.inc</b> on line <b>34</b><br />
<br />
<b>Notice</b>:  Use of undefined constant STDERR - assumed 'STDERR' in     <b>/home1/munortap/public_html/drush/includes/drush.inc</b> on line <b>1668</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in     <b>/home1/munortap/public_html/drush/includes/output.inc</b> on line <b>34</b><br />
<br />
<b>Notice</b>:  Use of undefined constant STDERR - assumed 'STDERR' in     <b>/home1/munortap/public_html/drush/includes/drush.inc</b> on line <b>1668</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in     <b>/home1/munortap/public_html/drush/includes/output.inc</b> on line <b>34</b><br />
<br />
<b>Notice</b>:  Use of undefined constant STDERR - assumed 'STDERR' in     <b>/home1/munortap/public_html/drush/includes/drush.inc</b> on line <b>1668</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in     <b>/home1/munortap/public_html/drush/includes/output.inc</b> on line <b>34</b><br />
  • 1
    Hi, you can upload drupal core and modules through command line with "drush up" – Enxebre Sep 12 '13 at 19:18
  • Thanks @Enxebre. Can you please look at the edit to this post. I installed Drush but I'm still not able to update correctly. – Michele Sep 12 '13 at 21:04
  • 1
    Did you install drush in a shared hosting environment? It seems that something is not right, drush up should not return X-Powered-By or Content-type those are Apache headers. – Steven Sep 12 '13 at 21:13
  • @Steven I followed these steps (minus using PuTTY, everything was done in terminal): themerforhire.com/installing-drush-hostgator-shared-hosting – Michele Sep 12 '13 at 21:15
  • When you run drush up you get all that garbage, but nothing else happens? – Steven Sep 12 '13 at 21:16
-1

If you like you can use the CMS Updater module to enable automatic Drupal core updates. Find the module on drupal.org here: https://www.drupal.org/project/cms_updater

If you need more information about the service behind, lokk here: https://cms-updater.com

Excerpt from project page:

CMS Updater module helps you to keep your Drupal site secure at all times. Right after a new Drupal core release is published, this is recognised by the CMS Updater Service, which in turn will update your Drupal system.

There is no need for intervention on your part – just check your mailbox from time to time, read your PDF update, and see if the automated updates have been successfully completed (or not).

The use of this module requires the purchase of a CMS Updater licence key for € 29.99 incl. VAT. This fee covers one year of updates - your subscription will not be automatically extended, although you will be reminded when your subscription is close to expiring. You can buy the licence key directly in your Drupal admin area under /admin/config/system/cms-updater. If you need a hand or more information, visit https://cms-updater.com.

Emphasis on price added for purpose of this answer.

  • 1
    If you are in any way associated with them, please say it. – Mołot Sep 9 '15 at 15:09
  • Also, -1 because I don't like paid solutions posted as answers when OP is clearly struggling with totally other, and usually very good solution. – Mołot Sep 9 '15 at 15:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.