pegasus dasboard to display a message when pegasus-db-admin fails while reading a database

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • master, 4.6.0, 4.5.1
    • Affects Version/s: master, 4.5.0
    • Component/s: Pegasus Dashboard
    • None

      Hi Rajiv,

      On Jun 3, 2015, at 5:00 PM, Rajiv Mayani <mayani@ISI.EDU> wrote:

      The exception is thrown by database migration tool, which is trying to update the database to become compatible with Pegasus 4.5. As part of migration the ~/.pegasus/workflow.db is modified, thus requiring write permissions on workflow.db file.

      I was able to access Karan’s runs by running the pegasus-db-admin tool manually on workflow.db file.

      The STAMPEDE DB’s in the submit dirs. will also need to be updated. So apache would either need write permissions on those databases OR each on them will have to be manually updated by pegasus-db-admin.

      Great, thanks for figuring out the problem. It’s probably not safe to give apache write access to the user databases, so please could you modify the code so that when a database can’t be upgraded, the dashboard prints a friendly error message explaining what the user needs to do to upgrade the database?

      I think Karan has a fix pending for Alex, so if you could get this into 4.5.1, I can install everywhere.

      Cheers,
      Duncan.

            Assignee:
            Rajiv Mayani
            Reporter:
            Duncan Brown
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: