Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • SCHEMA_LIST
  • ROLE_LIST
  • RESOURCE_LIST
  • CONFIGURATION_EXPORT
  • CONFIGURATION_SET
  • SECURITY_QUESTION_LIST
  • SECURITY_QUESTION_READ
  • SECURITY_QUESTION_CREATE
  • SECURITY_QUESTION_UPDATE
  • SECURITY_QUESTION_DELETE

Enable ContentUpgrader

  • In coreIn core/src/main/resources/coreContext.xml add xml add (at the end of file) before </beans>:

    Code Block
    languagexml
    <import resource="classpath*:upgradeContext.xml"/>
  • In core/pom.xml add following dependency from core-upgrader module:

    Code Block
    languagexml
    <dependency>
      <groupId>org.apache.syncope</groupId>
      <artifactId>syncope-core-upgrader</artifactId>
      <version>${syncope.version}</version>
    </dependency>
  • In core/src/main/resources/log4j2.xml add following lines:

    Code Block
    languagexml
    <appenders>
    ...
    ...
    	<RollingRandomAccessFile name="upgrader" fileName="${log.directory}/core-upgrader.log"
                                 filePattern="${log.directory}/core-upgrader-%d{yyyy-MM-dd}.log.gz"
                                 immediateFlush="false" append="true">
    		<PatternLayout>
        		<pattern>%d{HH:mm:ss.SSS} %-5level %logger - %msg%n</pattern>
        	</PatternLayout>
        	<Policies>
        		<TimeBasedTriggeringPolicy/>
            	<SizeBasedTriggeringPolicy size="250 MB"/>
        	</Policies>
    	</RollingRandomAccessFile>
    ...
    ...
    </appenders>
    
    <loggers>
    ...
    ...
        <asyncLogger name="org.apache.syncope.upgrader" additivity="false" level="INFO">
          <appender-ref ref="upgrader"/>
        </asyncLogger>
    ...
    ...
    </loggers>

...

Stop the JEE container and follow steps below.

 

Note
titleVersion Migration Warning

If during the upgrade process, MySQL returns an "Incorrect string value", take off utf8 in your 'utf80 out of the JDBC URLS, in the datasource configuration.

...