Code: Select all
2021-09-17 10:13:43.817 INFO 2574 --- [main] n.unimus.starter.composite.Application : Starting Application v2.1.2 using Java 11.0.11 on unimus-1 with PID 2574 (/opt/unimus/Unimus.jar started by root in /opt/unimus)
2021-09-17 10:13:43.823 INFO 2574 --- [main] n.unimus.starter.composite.Application : The following profiles are active: jar,composite,unimus,core,unix,unimus-unix
2021-09-17 10:14:05.867 INFO 2574 --- [main] n.unimus.starter.composite.Application : Started Application in 23.228 seconds (JVM running for 24.435)
2021-09-17 10:14:06.865 INFO 2574 --- [SimpleAsyncTaskExecutor-1] n.u.s.b.b.step.LoggingPathAccessibility : Checking logging subsystem
2021-09-17 10:14:06.868 INFO 2574 --- [SimpleAsyncTaskExecutor-1] n.u.s.b.b.step.DatabaseConnectionCheck : Testing database connection
2021-09-17 10:14:07.137 INFO 2574 --- [SimpleAsyncTaskExecutor-1] n.u.s.b.b.step.DatabaseConnectionCheck : Database connection test passed
2021-09-17 10:14:07.138 INFO 2574 --- [SimpleAsyncTaskExecutor-1] n.u.s.b.boot.step.DatabaseUpdate : Connecting to database (MYSQL, jdbc:mysql://localhost:3306/unimus?allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC)
2021-09-17 10:14:07.141 INFO 2574 --- [SimpleAsyncTaskExecutor-1] n.u.s.b.boot.step.DatabaseUpdate : Updating database schema
2021-09-17 10:14:10.120 WARN 2574 --- [SimpleAsyncTaskExecutor-1] liquibase.hub : Skipping auto-registration
2021-09-17 10:14:10.318 ERROR 2574 --- [SimpleAsyncTaskExecutor-1] n.u.b.d.LiquibaseChangeExecListenerImpl : Failed to migrate importer configs to sync presets. Default zone not found.
2021-09-17 10:14:10.321 ERROR 2574 --- [SimpleAsyncTaskExecutor-1] n.u.b.d.LiquibaseChangeExecListenerImpl : Failed to execute, rolling-back transaction
java.lang.RuntimeException: Failed to migrate importer configs to sync presets. Default zone not found.
at net.unimus.business.database.LiquibaseChangeExecListenerImpl.getDefaultZoneId(LiquibaseChangeExecListenerImpl.java:1427)
at net.unimus.business.database.LiquibaseChangeExecListenerImpl.migrateNetxmsImporterConfigToSyncPreset(LiquibaseChangeExecListenerImpl.java:962)
at net.unimus.business.database.LiquibaseChangeExecListenerImpl.migrateImporterConfigsToSyncPresets(LiquibaseChangeExecListenerImpl.java:885)
at net.unimus.business.database.LiquibaseChangeExecListenerImpl.ran(LiquibaseChangeExecListenerImpl.java:348)
at liquibase.changelog.visitor.UpdateVisitor.fireRan(UpdateVisitor.java:79)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:57)
at liquibase.changelog.ChangeLogIterator$2.lambda$null$0(ChangeLogIterator.java:111)
at liquibase.Scope.lambda$child$0(Scope.java:160)
at liquibase.Scope.child(Scope.java:169)
at liquibase.Scope.child(Scope.java:159)
at liquibase.Scope.child(Scope.java:138)
at liquibase.changelog.ChangeLogIterator$2.lambda$run$1(ChangeLogIterator.java:110)
at liquibase.Scope.lambda$child$0(Scope.java:160)
at liquibase.Scope.child(Scope.java:169)
at liquibase.Scope.child(Scope.java:159)
at liquibase.Scope.child(Scope.java:138)
at liquibase.Scope.child(Scope.java:222)
at liquibase.changelog.ChangeLogIterator$2.run(ChangeLogIterator.java:94)
at liquibase.Scope.lambda$child$0(Scope.java:160)
at liquibase.Scope.child(Scope.java:169)
at liquibase.Scope.child(Scope.java:159)
at liquibase.Scope.child(Scope.java:138)
at liquibase.Scope.child(Scope.java:222)
at liquibase.Scope.child(Scope.java:226)
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:66)
at liquibase.Liquibase.lambda$null$0(Liquibase.java:273)
at liquibase.Scope.lambda$child$0(Scope.java:160)
at liquibase.Scope.child(Scope.java:169)
at liquibase.Scope.child(Scope.java:159)
at liquibase.Scope.child(Scope.java:138)
at liquibase.Scope.child(Scope.java:222)
at liquibase.Liquibase.lambda$update$1(Liquibase.java:272)
at liquibase.Scope.lambda$child$0(Scope.java:160)
at liquibase.Scope.child(Scope.java:169)
at liquibase.Scope.child(Scope.java:159)
at liquibase.Scope.child(Scope.java:138)
at liquibase.Liquibase.runInScope(Liquibase.java:2322)
at liquibase.Liquibase.update(Liquibase.java:216)
at liquibase.Liquibase.update(Liquibase.java:202)
at liquibase.integration.spring.SpringLiquibase.performUpdate(SpringLiquibase.java:322)
at net.unimus.business.database.DatabaseUpdateSupport.update(DatabaseUpdateSupport.java:56)
at net.unimus.business.database.Database.update(Database.java:246)
at net.unimus.business.database.Database$$FastClassBySpringCGLIB$$47ee56e2.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692)
at net.unimus.business.database.Database$$EnhancerBySpringCGLIB$$a1959b51.update(<generated>)
at net.unimus.system.bootstrap.boot.step.DatabaseUpdate.run(DatabaseUpdate.java:33)
at net.unimus.system.bootstrap.boot.Boot.boot(Boot.java:94)
at net.unimus.system.bootstrap.boot.Boot$$FastClassBySpringCGLIB$$e357c3b1.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.lang.Thread.run(Thread.java:829)
2021-09-17 10:14:10.647 ERROR 2574 --- [SimpleAsyncTaskExecutor-1] n.u.s.b.boot.step.DatabaseUpdate : Failed to update database schema. Reason = 'liquibase.exception.LiquibaseException: java.lang.RuntimeException: Failed to migrate importer configs to sync presets'