lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Upgrading SOLR (not clustered)
Date Wed, 25 Jul 2018 20:22:49 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Phil,

On 7/25/18 12:38 PM, Staley, Phil R - DCF wrote:
> What are the steps for upgrading a non-clustered SOLR version?
> Here's what I thought should work:
> 
> 
> 
> 1.      Open a bash window and ssh login to desired server with
> your Linux admin credentials
> 
> 2.      Change directories:  cd /opt
> 
> 3.      Download the latest Linux/OSX version direct to server: 
> sudo wget http://apache.claz.org/lucene/solr/x.x.x/solr-x.x.x.tgz
> (replace x.x.x with the latest version number)
> 
> a.      Additional download mirror servers are available @
> http://www.apache.org/dyn/closer.lua/lucene/solr/7.3.1 if the
> http://apache.claz.org is site is slow.
> 
> 4.      Login as root user:  sudo -i  and enter you admin password
> 
> 5.      Unzip the .tgz file:  tar zxf solr-x.x.x.tgz
> 
> 6.      Change directories:  cd /
> 
> 7.      Stop SOLR service: service solr stop
> 
> 8.      Confirm that SOLR is stopped:   service solr status
> 
> 9.      Change directories to your user home directory:  cd
> /home/myadminlogonid
> 
> 10.  Create new solr symbolic link in your user home folder that
> points to new SOLR version:   ln -s /opt/solr-x.x.x  solr
> 
> 11.  Move/replace current symbolic link:  mv solr /opt

What version are you going from/to?

What OS is this?

Do you have an /etc/init.d/solr file? If so, where does
SOLR_INSTALL_DIR point?

Do you have an /etc/default/solr.in.sh file? If it points to all of
your data-locations, then you should be okay.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAltY3BgACgkQHPApP6U8
pFgPBRAAvhRGsL2b7WN9ivgerORr8P9Q5+eSrfiCh+DHcBWGUXbLvC5286U2Ieua
F6A5xPbjg6hhNoo7TVN/b+5iPBJbZL/Ea9UnuR7ZdVL+xTVktoN+Y5HWUEHwEFk1
PTzfAw/GyNmN4hQbFLVQbYQn+hzYyj1xXCtwa/RKO82c7CEM5H43aTO90CoZa2Vh
rNBeBiXXKPmlaL+RJdDs2yRZAjpTYO2FMJAZWPrzNq9R956tuZj8rPMrERhpLBuk
Dh/33EZKaanLzEBEfOU5O5Qqm5oOlKqDDOK3hs25ru8o6pZ7wAPsiiBof0dSBkj1
V/DGdUfrSMjzVi7DYC1Ie0m1RI8IvHwUZZV7cT23S73U6+QvP+9ap/m8/P4CZCtH
i06aSfEFHEhcvjM2DQ2+sbn2VRinbiQWggGtlr0lrauOSdJ/NCTb4fgiZ3w/esbC
xdY4O9HwQhkjyKFgagKKIBdx/4klusrM+mx/VdhqQ5RtfiWcO3gqKZPlVHYfyc6m
FWMW4i06QfmZLyLeH6xzBqOVUcUdY7UbwALEOO/Kgm2B9J9t/azDlkM4XcnMLeBT
Ee7WuqREe4JoV9iH+MvReHfA+FbrO5vt0b2LFgI2RmcEgFzp1CDq/vbqkcEESN6C
5tRG1VjOpBTINvAKo2hNNwmiNIDGa6ZpWcxqgknZqQJiZ7AsuUw=
=GP6+
-----END PGP SIGNATURE-----

Mime
View raw message