This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
web_services:drupal9_update [2022/04/12 11:38] tschulz created |
web_services:drupal9_update [2022/06/07 15:31] (current) tschulz |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Headline ====== | + | ====== Update Drupal Webserver ====== |
+ | ===== Web Browser ===== | ||
+ | - Go to https://www.sebeka.k12.mn.us/user/login | ||
+ | - Go to https://www.sebeka.k12.mn.us/admin/reports/status to check for updates | ||
+ | - Run composer update under **Update from Shell** | ||
+ | - Go to https://www.sebeka.k12.mn.us/admin/config/development/performance | ||
+ | - Click on Clear Cache | ||
+ | - Run backup from **Backup to Mercurial** | ||
+ | - Check site status report https://www.sebeka.k12.mn.us/admin/reports/status | ||
+ | ===== Update from Shell ===== | ||
+ | <file bash> | ||
+ | su -l www | ||
+ | cd /var/www/html/drupal | ||
+ | hg addremove | ||
+ | hg commit -m "Pre update" | ||
+ | composer update drupal/core "drupal/core-*" --with-all-dependencies | ||
+ | </file> | ||
+ | |||
+ | ===== Backup to Mercurial ===== | ||
+ | <file bash> | ||
+ | su -l www | ||
+ | cd /var/www/html/drupal | ||
+ | hg addremove | ||
+ | hg commit -m "Post update" | ||
+ | hg push | ||
+ | </file> | ||