Last change
on this file since 33157 was 33157, checked in by davidb, 5 years ago |
Additional text added to describe issue with running on networked drive
|
-
Property svn:executable
set to
*
|
File size:
935 bytes
|
Rev | Line | |
---|
[32806] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
[33029] | 3 | cwd=`pwd`
|
---|
| 4 | col=${cwd##*/}
|
---|
[32806] | 5 |
|
---|
[33029] | 6 | activate.pl -site heritage-nz -library_url http://localhost:8383/greenstone3/hnz-library $* "$col"
|
---|
| 7 |
|
---|
[33157] | 8 |
|
---|
| 9 | echo "***"
|
---|
| 10 | echo "* activate.pl operating on a networked drive with a Solr-based Greenstone collection"
|
---|
| 11 | echo "* is known to have a problem with file locking, with an issue that seems to be"
|
---|
| 12 | echo "* related to it trying to reference a 'sidx' index, even though there is only a"
|
---|
| 13 | echo "* 'didx' for this collection."
|
---|
| 14 | echo "*"
|
---|
| 15 | echo "* As a result of this, the effective 'mv building index' command goes awry, as"
|
---|
| 16 | echo "* the index directory hasn't been completely removed, and so we end up with"
|
---|
| 17 | echo "* 'building' inside of 'index'"
|
---|
| 18 | echo "*"
|
---|
| 19 | echo "* The fix is:"
|
---|
| 20 | echo "* mv index/building ."
|
---|
| 21 | echo "* mv index index.DUFF"
|
---|
| 22 | echo "* mv building index"
|
---|
| 23 | echo "*"
|
---|
| 24 | echo "* Then restart the Greenstone3 server, as a user with sudo access:"
|
---|
| 25 | echo "* sudo systemctl restart greenstone3"
|
---|
| 26 | echo "***"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.