Giving Drupal an Oil Change
Damien McKenna
Well done!
- Project completed
- Looks & works great
- Client happy
- You're happy
Three Steps
- Take a nap
- Backups
- Security check
Three Steps
- Without any further adieu...
Step #2: Backups
- Backup_Migrate module
- Download, install, configure,
- Schedule
- & forget
Step #3: More Security Checks
What Next?
- Deployment
- Maintenance
- Learning more & contributing
Deployment Prep
- System Status Report page
- DBLog module
Deployment
- New sites/*/settings.php dir & file
- e.g. sites/www.example.com/settings.php
- Update the database settings
- Upload all files
- Database backup
- System Status Report page
Troubleshooting
- 404 error on paths you know exist?
- Does /user work, or /admin?
- Make sure ".htaccess" was uploaded
- Check logs
Maintenance - Cron
- "Chronograph", i.e. run scripts on a timer
- Daily, hourly, etc.
- Backups, search index, etc, etc
- Visit http://example.com/cron.php
- Configuration depends per webhost
Maintenance - Updates
- Core "Updates" module
- Settings
- Email notification
- How often
Maintenance - Updating
- Download file
- Remove old directory
- Extract new archive
- Run update.php
- Test
- Upload
- Run update.php
- Test