Sling
  1. Sling
  2. SLING-2495

Configs stored in {sling.home}/config purged at startup

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JCR Installer 3.1.4
    • Fix Version/s: JCR Installer 3.1.6
    • Component/s: Installer
    • Labels:
      None

      Description

      Configs stored in

      {sling.home}

      /config are purged when a Sling is started.

      If for example authentication requirements is added in the authentication service
      a SlingAuthenticator.config file is created in config/org/apache/sling/engine/impl/auth
      but when Sling is restarted the file is removed and the settings are lost.
      The folders are still there though.

        Activity

        Hide
        Pontus Amberg added a comment -

        The issue has been discussed in this thread http://markmail.org/message/r3oar7rbgpglyj7c

        Show
        Pontus Amberg added a comment - The issue has been discussed in this thread http://markmail.org/message/r3oar7rbgpglyj7c
        Hide
        Carsten Ziegeler added a comment -

        The jcr installer has been configured incorrectly: changed configs are written back to /apps/system/config while the installer only reads from directories named install. So on startup, the previously written back configuration is not found by the jcr installer and therefore the installer assumes the configuration has been removed from the repository and removes it from the config admin.
        Changed the configuration

        Show
        Carsten Ziegeler added a comment - The jcr installer has been configured incorrectly: changed configs are written back to /apps/system/config while the installer only reads from directories named install. So on startup, the previously written back configuration is not found by the jcr installer and therefore the installer assumes the configuration has been removed from the repository and removes it from the config admin. Changed the configuration
        Hide
        Pontus Amberg added a comment -

        Storing configs seems to be working as usual now

        Show
        Pontus Amberg added a comment - Storing configs seems to be working as usual now

          People

          • Assignee:
            Carsten Ziegeler
            Reporter:
            Pontus Amberg
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development