[last updated: 2023-12-29]
Drupal home page
see Reference Links below...
-----
- This page documents my process of updating from 7.73 to 7.99.
These steps were extracted from several places, mostly drupal.org, starting at: https://www.drupal.org/docs/7/update/
- This process assumes:
All customization for your site has been done in the [root] /sites directory, which this process does not affect.
----------------------------------------------
- Follow These Steps:
- 1. Prepare:
- Find your current installed Drupal version:
Open a browser to your website, log in
Reports (top menu bar) --> Status Report
top line will show current Drupal version
- Decide what version you will update to:
- Get your new version:
Choose to download zip file
Notes for future updates, but not relevant for this one:
Optional method: Unzip the file on your local PC. (or, optional see below...)
Delete the /sites folder in your unzipped new version. (You'll be replacing this with the one you saved from your existing site.)
If you have customized any other files, eg. robots.txt or .htaccess, delete them from the new version as well.
- Review the Release Notes for your new version:
They will tell you if you need to do anything special to accommodate your site to the new version
(link to:) drupal.org.
At bottom of the project page under the "Downloads" section, use the link for your version of Drupal to view the release notes.
If your version is not listed, use the "View all releases" link.
No accommodations needed for this rev. for my site.
- Review tutorials and websites:
define the specific procedure you will use for your situation and preferences.
- Update D-7 modules:
https://www.drupal.org/docs/7/update/updating-modules
(this page also has links to drush and composer modules, which are tools for updating modules)
I don't have any contributed modules installed, other than adsense, which I'll be deleting.
- Examine [root]/sites/default/settings.php
record your database name, user name, and user password.
- Make sure your host supports everything needed:
https://www.drupal.org/docs/7/system-requirements
appears I need to upgrade php from current 7.4.33 to 8.2
see note here: https://www.drupal.org/docs/7/system-requirements/php-requirements-for-d...
regarding file permissions needed by php
- 2. Backup files, directories, and Database:
- 3. Update core files:
- 5. Update the modules (link to: module update instructions)
If you have installed any modules, ie. modules that are not part of the default module set, then you must update them to be compatible with your new drupal version.
For my site, the only one is: sites/all/modules/simple_adsense
----------------------------------------------------------
- Reference Links:
eof