Wx Portal Migration Dev Notes
Wx (Weather Group) Portal Migration – RHEL 6 ==> RHEL 7
Wx Errors
On RHEL7, go to the modules dir:
/apps/PORTAL_DIR/sites/all/modules
And run the command:
tar –zxvf <FILE_NAME>
When done, you can remove the <MODULE_NAME>.tar.gz file(s) by running the following command and confirming the removal:
rm <FILE_NAME>
Finally, run the Drupal’s update script, by going to <PORTAL_URL>/update.php and click on the “Continue” button
(Note: Drupal will automatically append “?op=info” to the URL)
Review the pending updates (if any) and click on the “Apply Pending Updates” button
Once the updates have been applied, you may proceed to the Front page
At approx. as of 10:20 AM this morning (12/10/2020)……… Drum roll please……… ………
WE HAVE WX PORTAL UP AND RUNNING!!!
Now we have some permission issues and module issues to resolve…
Fix the permission issue:
chown -R apache:apache files/
Next, lets update the panels (and panels style pack) module to see if these errors are auto-resolved (since both modules are pretty old and were not a problem on RHEL 6 probably because we were on PHP 5.4 --- we are now on PHP 7.4)
Now, it’s complaining about ctools being outdated… so let’s update that module:
And now…. We are down to just one warning:
Still broken
Time to drop the entire DB and re-import…
YAYYYYY!!! We have the multi-campus weather display back!!! (TGIEDB --- Thank Goodness I Exported Database)
NOTE: after importing the DB, first step is to run the Drupal’s update process!!
But we still have that warning at the top… it did disappear, if you noticed from the screenshot earlier when the weather home page was broken… so this tells me, it’s the custom code that is being interpreted --- looking at the currently live Wx portal (wx.uconn.edu) I see that we have the same error there too….
First, let’s fix some permission issues…
chown rjb03001admin: date/
chown rjb03001admin: ctools/
chown rjb03001admin: panels
chown rjb03001admin: views
chown rjb03001admin: ace_editor/
chown rjb03001admin: panels_style_pack/
Much Better: