Hello, I would like to know How to Download and Install all the Updates on my Website. We run our own Server and I deal with an outside vendor on keeping my site up to date, Backup of the server and other problems we have. We seen we have an option to download the updates but we do not know how to do it. We would like to save the money if we do not need the outside service to do this. Can anyone help us and explain what we need to do. We would Appreciate it Greatly. Thank You!

Comments

John_B’s picture

Install drush if it is not already on the server. If you are using a skilled Drupal company to manage the site it will be on the server already.

Change directory you are in directory root.

Issue command 'drush up'

You have now updated the site with 5 seconds work!

For tutorials on installing using and installing drush try your favourite search engine.

Always back up before updating.

On a mission-critical site it is unprofessional to run updates without testing them first on a development site. Nevertheless, I would say updates installed with druh break a site probably not more than one time in fifty. However, if your site has modules or core which has been modified (and sometimes if an off-the-shelf theme has been modified), updates will break the site, unless you take the trouble to exclude those modified parts of the site from your update.

If you can tolerate a little downtime, and you know how to recover from a problem, you may choose to run updates directly on the live site. On a larger site this is really never done, and the updates may be pushed from development site via staging site to live site using version control. There are times I do update a site live if I know it is a small client wishes to save money, and will accept a little risk, and because I know how to recover fast if things go wrong.

Actually you should not be asking this on the forum. Just hit the Documentation menu item at the top of this page, and follow links to find the documentation on the task you wish to learn to do. The forums are really for people who have taken the time and trouble to research the documentation and / or other tutorials, and have not been able to find the solution.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors

servtech’s picture

Hello, Thank You for your Help. Will this drush program also install tar.gz Files for the security Updates. Thank You! Richard

John_B’s picture

TBH I never looked at the code to see whether drush is downloading tarred files, or grabbing the code using an alternative tool (you can get the code on your server by grabbing tar.gz files, by using version control software, or by transferring entire directories, for example with rsync or queued ftp).

At the end of the day drush gets the code onto your server, and whether inside the 'black box' it is grabbing .tar.gz files and untarring them or using an alternative mechanism is something which, if you need to know for some reason, you can read the code.

Be sure to back up before you start. Read a few tutorials. A few general comments: If you do not have time or the patience with the frustrations which go with most IT work, just pay someone: for example I do this kind of work, and I am not particularly cheap, and my clients could all learn to do what I do, there is no lock-in and no kind of trick, simply that the clients have worked out that it takes me a fraction of the time it would take them, & I know what to when things go wrong, and I take the stress & hassle out of it for the client. The reason you pay someone for this work is only if they offer genuine good value. This is not discourage you, I really like it and am supportive when my clients work on their own sites. Just suggesting that there is going to be a 'learning curve', and re-running basic info (which you can find the Documentation on this site already) in a forum post is not going to change the fact that working with Drupal does cost something in time and energy.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors