Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-2673

Create script referred to in NAS 5.2 Postgresql installation documentation contains error

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.3, 5.2.2, 5.3.1
    • Fix Version/s: 5.4
    • Component/s: None
    • Labels:
      None

      Description

      It seems that the scripts bundled with NAS release 5.2.2 release in scripts/sql/createHarvestDB.pgsql
      have errors.
      cf. https://sbforge.org/display/NASDOC52/Choose+an+Installation+Scenario#ChooseanInstallationScenario-PostgreSQLDatabase

      The 'harvestdefinitions' table created has the wrong schemaversion '4'
      Also the harvestchannel lacks a 'issnapshot' field

      A workaround for this is the following

      drop table harvestchannel;
      delete from schemaversions where tablename='harvestchannel';
      update schemaversions set version='3' where tablename='harvestdefinitions';
      \q
      

      The run update_external_harvest_database.sh again

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                svc Søren Vejrup Carlsen
                Reporter:
                svc Søren Vejrup Carlsen
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: