How to upgrade Drupal core - pulibrary/pul_library_drupal GitHub Wiki
- Update local
-
start lando
lando start
Update core and any modules that are behind
-
Pull latest database from prod
lando drush @librarymain.prod sql-dump --result-file=/tmp/dump.sql; scp pulsys@library-prod1:/tmp/dump.sql .; lando db-import dump.sql lando drush vset --exact file_temporary_path /tmp
-
update all the modules
lando drush upc
OR
Only update core (or another module)
lando drush pm-update drupal
-
If you see
No code updates available
stop here -
Do a git status (Look for .htaccess, robots, and web.config these may contain things you do not want to commit). They may also put in their own .gitignore which may not check everything in.
-
Check the status report page to make sure it shows no issues
lando drush uli <UID> open uri in web page http://library-main.lndo.site/admin/reports/status