Uploaded image for project: 'SET - Setups'
  1. SET - Setups
  2. SET-124

Update installer should find a SCHEDULER_DATA path with a renamed JobScheduler Id

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 1.11.7, 1.12.2
    • None

    Description

      Current Situation

      The JobSchedulerId is part of

      • the installation paths SCHEDULER_HOME and SCHEDULER_DATA.
      • the Windows service name.

      If a user will change the JobSchedulerId then he has to

      • stop the JobScheduler
      • change the installation paths SCHEDULER_HOME and SCHEDULER_DATA
      • remove the Windows service with
        SCHEDULER_HOME\bin\jobscheduler.cmd remove
      • edit the environment variables SCHEDULER_HOME,SCHEDULER_DATA and SCHEDULER_ID in SCHEDULER_HOME/bin/jobscheduler_environment_variables.(cmd|sh)
      • reinstall the Windows service with
        SCHEDULER_HOME\bin\jobscheduler.cmd install
      • recreate symlinks
        • SCHEDULER_HOME/scheduler_data
        • SCHEDULER_HOME/operations_gui/scheduler_data/jobs
        • SCHEDULER_HOME/operations_gui/scheduler_data/logs

      If you start later an update installer then it doesn't found the changed SCHEDULER_DATA directory. It looks still at the old place and raises

      /path/of/old/scheduler_data/config/scheduler.xml (No such file or directory)
      The data of the previous installation are incomplete under /path/of/new/install/path.
      

      Desired Behavior

      • The update installer checks if the "old" SCHEDULER_DATA path exists.
      • If not then it tries to find a modified SCHEDULER_DATA path where the last part of the installation path is used as last part for the "new" SCHEDULER_DATA.

      Attachments

        Activity

          People

            oh Oliver Haufe
            oh Oliver Haufe
            Mahendra Patidar Mahendra Patidar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: