Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3784

Migration auto failed for versions before 4.6M9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.6.0
    • None
    • None
    • None
    • 4.6 RC1, 4.6 RC4

      Message : Content content://4e21d308-8592-4d69-a66d-581e5c9f37d0 migration failure
      
      Pile d'appels :
      
      org.ametys.core.cache.CacheException: An error occurred while computing the new value for key UserIdentity [login=7708972598, population=utilisateurs]
      
      Caused by: java.sql.SQLSyntaxErrorException: Unknown column 'creationDate' in 'field list'
      at com.mysql.cj.jdbc.exceptions.SQLError#createSQLException:120
      at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping#translateException:122
      at com.mysql.cj.jdbc.ClientPreparedStatement#executeInternal:953
      at com.mysql.cj.jdbc.ClientPreparedStatement#executeQuery:1009
      at org.apache.commons.dbcp2.DelegatingPreparedStatement#executeQuery:122
      at org.apache.commons.dbcp2.DelegatingPreparedStatement#executeQuery:122
      at org.ametys.plugins.core.impl.user.directory.JdbcUserDirectory$AbstractJdbcQueryExecutor#executeQuery:1272
      at org.ametys.plugins.core.impl.user.directory.JdbcUserDirectory$AbstractJdbcQueryExecutor#runWithException:1228
      

      The scrip which failed:

      org.ametys.core.migration.MigrationException: Error while executing script to upgrade component 'plugin.userdirectory.jcr' to version '20220607T0000'. Error : '', 
      

      Migration of users tables should be passed before all others migrations

            bmaurel Bérénice Maurel
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: