Christian,

The chances are I have not done the exact same upgrade as you are
attempting. the generic upgrade of the database (assuming the right
template and other things) is quite straight forward. You will need to give
us at least the stacktrace and any related information. from the log above
it, if this is a reproducible error.

On Wed, Oct 11, 2017 at 2:34 PM, Ciobanu Cristian <[email protected]>
wrote:

> I have restored back to 4.5.2, but if I upgrade again using the steps
> provide in documentation I will end with the same error..  did you tested
> this? With tha configuration (acs 4.5.2, vmware, local storage) ?
>
> Regards,
> Cristian
>
> -----Original Message-----
> From: Daan Hoogland [mailto:[email protected]]
> Sent: Wednesday, October 11, 2017 3:29 PM
> To: [email protected]
> Subject: Re: Upgrade Cloudstack 4.5 to 4.9 - Unable to upgrade the database
>
> Hi the management server on starting up should take care of the upgrade.
> if you have a clustered MS make sure to start only one. In your case after
> the failure you should probably restore the latest backup before continuing.
>
> On Wed, Oct 11, 2017 at 2:26 PM, Ciobanu Cristian <[email protected]
> >
> wrote:
>
> > Hello,
> >
> >
> >
> >    In order to upgrade cloudstack to 4.9 I have followed this
> > doecumentation
> > :
> > http://docs.cloudstack.apache.org/projects/cloudstack-
> > release-notes/en/4.9.2
> > .0/upgrade/upgrade-4.5.html  and ended with this :
> >
> >
> >
> > management-server.log:2017-10-11 08:05:35,612 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
> >
> >
> >
> > Is there a valid upgrade procedure or script for : Cloudstack 4.5.2 to
> > CloudStack 4.9 ( VMware with Local Storage ) ?
> >
> >
> >
> > (cloudstack was installed from shapeblue repo)
> >
> >
> >
> >
> >
> > Thank you.
> >
> > Cristian
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> Daan
>
>


-- 
Daan

Reply via email to