| Issue Number | 504 |
|---|---|
| Summary | Uninstall ebms_forums properly |
| Created | 2019-02-11 18:49:34 |
| Issue Type | Task |
| Submitted By | Kline, Bob (NIH/NCI) [C] |
| Assigned To | Kline, Bob (NIH/NCI) [C] |
| Status | Closed |
| Resolved | 2019-08-12 12:29:25 |
| Resolution | Fixed |
| Path | /home/bkline/backups/jira/oceebms/issue.240092 |
It appears that when the forum subsystem was dropped from the EBMS
the ebms_forums module was never properly uninstalled. As a
result, administrative reports include warnings that the module is
missing from the file system. As far as I can tell, this condition does
not cause any serious problems. However, it is always a good idea to
have reports as free from spurious warnings as possible, in order to
minimize the risk that a serious problem might be buried and overlooked.
The process for correcting this problem is to have CBIIT copy the
attached backup of the module file to
/tmp/ebms_forums-release-3.4.tar.xz on
nciws-p557-v.nci.nih.gov and run the following commands on
that server.
sudo su - drupal
cd /local
tar -xJf /tmp/ebms_forums-release-3.4.tar.xz
cd /local/drupal/sites/ebms.nci.nih.gov
drush pmu -y ebms_forums
rm -rf modules/custom/ebms_forumsOr an even better solution, which doesn't require giving CBIIT an extra tar file:
TARBALL=https://api.github.com/repos/NCIOCPL/ebms/tarball/release-3.4
CURL="curl -L -s -k"
EBMS_FORUMS='*/ebms/ebms.nci.nih.gov/modules/custom/ebms_forums'
# CBIIT has an older version of tar installed on the servers,
# so the --wildcard option has to be specified explicitly.
sudo su - drupal
cd /local/drupal/sites/ebms.nci.nih.gov/modules/custom
$CURL $TARBALL | tar -xzf - --strip 5 --wildcards $EBMS_FORUMS
cd ../..
drush pmu -y ebms_forums
rm -rf modules/custom/ebms_forumsScript created and tested on DEV.
| File Name | Posted | User |
|---|---|---|
| ebms_forums-release-3.4.tar.xz | 2019-02-11 18:49:22 | Kline, Bob (NIH/NCI) [C] |
Elapsed: 0:00:00.000574