Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-3380

Cannot start backend if databaseDumps directory exists

      Reproduce:

      • Have a databaseDumps directory in the client directory
      • Run the start-backend script

      Expected:

      • The backend starts normally

      Observed:

      • The backend does not start

      Hint:

      The start-backend script tries to create the directory and fails if it already exists: https://github.com/camunda/camunda-optimize/blob/ed83d754bbc2f018c82b2b9108a43f6025eee70c/client/scripts/start-backend.js#L131

      We try to remove the directory when stopping the start-backend script: https://github.com/camunda/camunda-optimize/blob/ed83d754bbc2f018c82b2b9108a43f6025eee70c/client/scripts/start-backend.js#L184 but if the cleanup does not happen (e.g, because the computer crashed), the directory remains, causing the described bug on the next startup

        This is the controller panel for Smart Panels app

            [OPT-3380] Cannot start backend if databaseDumps directory exists

            There are no comments yet on this issue.

              Unassigned Unassigned
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: