Delete existing code from RHEL 7 (we are starting fresh, similar to starting fresh with the database above) & then, transfer code from RHEL6 to RHEL7 using rsync:
rsync -av eop rjb03001admin@phptst1.its.uconn.edu:/apps/
After it completes, check RHEL7:
Update settings file:
vim /apps/eop/sites/default/settings.php
- Change the database info
- Change $update_free_access from FALSE to TRUE
- Finally, Add the following lines at the end of the file:
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
$conf['error_level'] = 2;
This will help us troubleshoot/debug as PHP errors will be shown, if any!
Let's run the Drupal's update file and how it goes...
Right off-bat, we see couple modules that needs to be updated...
So before we continue with the update process, let's update these two modules and then refresh this page...
[root@phptst1 modules]# rm -rf cas
[root@phptst1 modules]# rm -rf cas_attributes/
[root@phptst1 modules]# rm -rf ldap
[root@phptst1 modules]# rm -rf search_api/
[root@phptst1 modules]# rm -rf search_api_attachments/
[root@phptst1 modules]# rm -rf search_api_db/
[root@phptst1 modules]#
After getting the appropriate modules and transferring them onto RHEL7, refresh the Drupal's update process:
NICE! no errors etc. So now, click continue and see what updates are pending:
Review the pending updates and click on "Apply pending updates" button.
Coooool! No error messages so far... so click on the link to go to the Front page:
Almost there... ctools needs to be updated: