RH-SSO Openshift images giving DirectoryNotEmptyException on standalone_xml_history directory

Solution Verified - Updated -

Issue

  • Red Hat Single Sign-On running on OpenShift is giving:

    16:22:48,140 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0056: Could not rename /opt/eap/standalone/configuration/standalone_xml_history/current to /opt/eap/standalone/configuration/standalone_xml_history/20180413-162248132: java.nio.file.DirectoryNotEmptyException: /opt/eap/standalone/configuration/standalone_xml_history/current
        at sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:498)
        at sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:262)
        at java.nio.file.Files.move(Files.java:1395)
        at org.jboss.as.controller.persistence.ConfigurationFile.forcedMove(ConfigurationFile.java:773)
        at org.jboss.as.controller.persistence.ConfigurationFile.createHistoryDirectory(ConfigurationFile.java:655)
        at org.jboss.as.controller.persistence.ConfigurationFile.successfulBoot(ConfigurationFile.java:500)
        at org.jboss.as.controller.persistence.BackupXmlConfigurationPersister.successfulBoot(BackupXmlConfigurationPersister.java:94)
        at org.jboss.as.controller.AbstractControllerService.finishBoot(AbstractControllerService.java:533)
        at org.jboss.as.server.ServerService.finishBoot(ServerService.java:428)
        at org.jboss.as.server.ServerService.boot(ServerService.java:398)
        at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:370)
        at java.lang.Thread.run(Thread.java:748)
    

Environment

  • Red Hat Single Sign-On (RH-SSO)
    • 7.1
    • 7.2
  • Openshiht

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.