The error message suggests that the database hasn't been updated, so you should be able to reinstall 4.11.2 and have it start working again. Then you can add the system VM image before retrying the upgrade.
Regards, Richard On Sun, 16 Feb 2020, 16:08 Pratik Chandrakar, <[email protected]> wrote: > Hello, > We have updated our servers from 4.11.2 to 4.11.3 but accidentally we were > not able to add SystemVM template before doing so and at the same time > mariadb server was updated to 10.3.22 from 10.3.10, but after update UI of > cloudstack management server was not started. Please suggest > > Error log > > 2020-02-16 17:26:27,786 ERROR [c.c.u.DatabaseUpgradeChecker] (main:null) > (logid:) Unable to upgrade the database > com.cloud.utils.exception.CloudRuntimeException: 4.11.3.0KVM SystemVm > template not found. Cannot upgrade system Vms > 2020-02-16 17:26:27,791 WARN [o.a.c.s.m.c.ResourceApplicationContext] > (main:null) (logid:) Exception encountered during context initialization - > cancelling refresh attempt: > org.springframework.context.ApplicationContextException: Failed to start > bean 'cloudStackLifeCycle'; nested exception is > com.cloud.utils.exception.CloudRuntimeException: Unable to upgrade the > database > org.springframework.context.ApplicationContextException: Failed to start > bean 'cloudStackLifeCycle'; nested exception is > com.cloud.utils.exception.CloudRuntimeException: Unable to upgrade the > database > Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to > upgrade the database > Caused by: com.cloud.utils.exception.CloudRuntimeException: 4.11.3.0KVM > SystemVm template not found. Cannot upgrade system Vms > 2020-02-16 17:45:16,325 ERROR [c.c.u.DatabaseUpgradeChecker] (main:null) > (logid:) Unable to upgrade the database > com.cloud.utils.exception.CloudRuntimeException: 4.11.3.0KVM SystemVm > template not found. Cannot upgrade system Vms > 2020-02-16 17:45:16,329 WARN [o.a.c.s.m.c.ResourceApplicationContext] > (main:null) (logid:) Exception encountered during context initialization - > cancelling refresh attempt: > org.springframework.context.ApplicationContextException: Failed to start > bean 'cloudStackLifeCycle'; nested exception is > com.cloud.utils.exception.CloudRuntimeException: Unable to upgrade the > database > org.springframework.context.ApplicationContextException: Failed to start > bean 'cloudStackLifeCycle'; nested exception is > com.cloud.utils.exception.CloudRuntimeException: Unable to upgrade the > database > Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to > upgrade the database > Caused by: com.cloud.utils.exception.CloudRuntimeException: 4.11.3.0KVM > SystemVm template not found. Cannot upgrade system Vms > > -- > *Regards,* > *Pratik * >
