Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8296

Cannot find instructions for upgrading from one 5.x release to another

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 5.3.1
    • None
    • scripts and tools
    • None

    Description

      I'm trying to upgrade a Solr install on Linux from 5.2.1. The current install was installed with the install_solr_service shell script.

      This command doesn't work:

      ./install_solr_service.sh /index/src/lucene_solr_5_3/solr/package/solr-5.3.2-SNAPSHOT.tgz -d /index/solr5 -s solr5 -p 8982
      

      I get this message:

      ERROR: /etc/init.d/solr5 already exists! Perhaps Solr is already setup as a service on this host?
      

      What I was hoping for was another directory in /opt, the symlink /opt/solr5 changing to point at the new directory, and a new init script, with the installer noticing an existing solr.in.sh and other files in /index/solr5, and not touching them.

      When I installed 5.2.1, I used the same command, with the older install script and the 5.2.1 tarball.

      There is an "Upgrading Solr" section in the reference guide, but it just talks about differences that might require config changes, not an actual procedure.

      I do not know whether we need a separate upgrade script or an upgrade option for the current script.

      Attachments

        Activity

          People

            Unassigned Unassigned
            elyograg Shawn Heisey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: