Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-1915

./admin/ShowDBDefs is broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Normal Normal
    • NGS - Final
    • None
    • None
    • None

      mbserver@brainzvm:~/git/mb_server$ ./admin/ShowDBDefs
      Can't locate object method "get_all_symbols" via package "Package::Stash" at ./admin/ShowDBDefs line 40.

      /admin/ShowDBDefs should normally returns among others:
      export REPLICATION_TYPE=2
      export RT_MASTER=1
      export RT_SLAVE=2
      export RT_STANDALONE=3

      Consequence: upgrade.sh section never runs:
      if [ "$REPLICATION_TYPE" != "$RT_SLAVE" ]
      then
      echo `date` : Creating foreign key constraints
      ./admin/psql READWRITE <./admin/sql/CreateFKConstraints.sql
      ./admin/psql RAWDATA <./admin/sql/vertical/rawdata/CreateFKConstraints.sql
      echo `date` : Creating triggers
      ./admin/psql READWRITE <./admin/sql/CreateTriggers.sql
      fi

            rob Robert Kaye
            murdos Aurélien Mino
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                NGS - Final