karlmdavis / rps-tourney

An online multi-player Rock-Paper-Scissors game. Just because.
https://rpstourney.com/
1 stars 2 forks source link

Error: "liquibase.exception.ValidationFailedException" for change set 3's checksum #114

Closed karlmdavis closed 6 years ago

karlmdavis commented 6 years ago

After restoring the old rps DB and restarting the app in production, I got this error in the logs:

2018-02-12 08:33:14,529 [localhost-startStop-1] WARN  o.s.w.c.s.AnnotationConfigWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'databaseSchemaInitializer': Invocation of init method failed; nested exception is com.justdavis.karl.misc.exceptions.unchecked.UncheckedLiquibaseException: liquibase.exception.ValidationFailedException: Validation Failed:
     1 change sets check sum
          liquibase-change-log.xml::3::karlmdavis was: 7:760cb33fcc07ec76e3a8d0e0188afb5f but is now: 7:90bcfccbd78b4aa501e0d2cbe5d8db8b
karlmdavis commented 6 years ago

Figured out the cause, finally: the previous validChecksum from an earlier issue was wrong. Need to remove that, still.

karlmdavis commented 6 years ago

Resolved by: