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

        Pontus Amberg created issue -
        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
        Carsten Ziegeler made changes -
        Field Original Value New Value
        Assignee Carsten Ziegeler [ cziegeler ]
        Carsten Ziegeler made changes -
        Fix Version/s JCR Installer 3.1.6 [ 12321290 ]
        Affects Version/s JCR Installer 3.1.4 [ 12319441 ]
        Component/s Installer [ 12312464 ]
        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
        Carsten Ziegeler made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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
        Pontus Amberg made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Gavin made changes -
        Workflow no-reopen-closed,doc-test-required [ 12670376 ] Copy of no-reopen-closed,doc-test-required [ 12762823 ]
        Gavin made changes -
        Workflow Copy of no-reopen-closed,doc-test-required [ 12762823 ] no-reopen-closed,doc-test-required [ 12766584 ]
        Gavin made changes -
        Workflow no-reopen-closed,doc-test-required [ 12766584 ] re-open possible,doc-test-required [ 12788020 ]
        Gavin made changes -
        Workflow re-open possible,doc-test-required [ 12788020 ] no-reopen-closed,doc-test-required [ 12790848 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        3d 9h 1m 1 Carsten Ziegeler 30/May/12 07:21
        Resolved Resolved Closed Closed
        3d 15h 19m 1 Pontus Amberg 02/Jun/12 22:40

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development