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.
- drupal
sudo su /local
cd -xJf /tmp/ebms_forums-release-3.4.tar.xz
tar /local/drupal/sites/ebms.nci.nih.gov
cd -y ebms_forums
drush pmu -rf modules/custom/ebms_forums rm
Or an even better solution, which doesn't require giving CBIIT an extra tar file:
=https://api.github.com/repos/NCIOCPL/ebms/tarball/release-3.4
TARBALL="curl -L -s -k"
CURL='*/ebms/ebms.nci.nih.gov/modules/custom/ebms_forums'
EBMS_FORUMS
,
# CBIIT has an older version of tar installed on the servers--wildcard option has to be specified explicitly.
# so the sudo su - drupal
/local/drupal/sites/ebms.nci.nih.gov/modules/custom
cd | tar -xzf - --strip 5 --wildcards $EBMS_FORUMS
$CURL $TARBALL ../..
cd drush pmu -y ebms_forums
-rf modules/custom/ebms_forums rm
Script 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.000614