Task #2946
Story #2945: Dataone-cn-solr prerm script destroys index data
Prevent index and config loss on dataone-cn-solr upgrade on patch update
Status:
Closed
Priority:
Normal
Assignee:
Robert Waltz
Category:
d1_cn_solr_extensions
Target version:
Start date:
2012-06-15
Due date:
% Done:
100%
Milestone:
CCI-1.0.1
Product Version:
*
Story Points:
Sprint:
Description
Issue to track this problem and help ensure its handled on upgrade.
Effected directories:
Data:
/var/lib/solr/data/d1-cn-index
/var/lib/solr/data/d1-cn-log
Config:
/usr/share/solr/d1-cn-log/
/usr/share/solr/d1-cn-index/
Offending lines in /var/lib/dpkg/info/dataone-cn-solr.prerm
lines: 10-12
Remove core home dirs¶
rm -rf /usr/share/solr/d1-cn-index
rm -rf /usr/share/solr/d1-cn-log
lines: 17-19
Remove core data dirs¶
rm -rf /var/lib/solr/data/d1-cn-index
rm -rf /var/lib/solr/data/d1-cn-log
Related issues
History
#1 Updated by Robert Waltz over 12 years ago
- Status changed from New to In Progress
#2 Updated by Robert Waltz over 12 years ago
- Status changed from In Progress to Closed