Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9118

Sling fails to start when database exists but 'sling' directory is missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Starter 12
    • None
    • None

    Description

      1. Create a persistent mongodb to use with Sling.
      2. Start sling using the mongodb.
      3. Stop sling.
      4. Remove 'sling' directory.
      5. Attempt to restart sling. Ultimately, sling fails to start.

      Steps to reproduce with attached scripts:

      1. Run run-mongo.sh . This creates a MongoDB 3.6 container named mongo-sling
      2. Run run-sling-initial.sh. This starts up Sling in the oak_mongo runmode, shuts it down after it's (probably) started up
      3. Run run-sling-second.sh. This moves away the sling directory and starts up a new instance. This always fails

      For cleanup, the drop-mongo.sh script stops and removes the mongo-sling container.

      Attachments

        1. drop-mongo.sh
          0.1 kB
          Robert Munteanu
        2. error.log
          576 kB
          Carlos Munoz
        3. fm-launch.zip
          1.57 MB
          Robert Munteanu
        4. karaf.log
          489 kB
          Oliver Lietz
        5. recreateSlingReplicaSet.sh
          0.9 kB
          Carlos Munoz
        6. run-mongo.sh
          0.3 kB
          Robert Munteanu
        7. run-sling-initial.sh
          0.4 kB
          Robert Munteanu
        8. run-sling-second.sh
          0.1 kB
          Robert Munteanu
        9. sling-startup-error.log.txt
          28 kB
          Carlos Munoz

        Issue Links

          Activity

            People

              rombert Robert Munteanu
              benradey Ben Radey
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: