i am upgrading from 4.6 to 4.9 On Fri, Nov 11, 2016 at 10:41 AM, Sergey Levitskiy < sergey.levits...@autodesk.com> wrote:
> What version are you upgrading from ? > > > On 11/10/16, 6:26 PM, "Abdul Qayyum Halid" <haiy.ha...@gmail.com> wrote: > > Hi, I am having problem to start CS management. The error show unable > to > upgrade databases. MySQL version 5.7, CS 4.9. Any solution? Below are > the > error.Thank you > > ERROR [c.c.u.d.ScriptRunner] (main:null) (logid:) Error executing: > alter > table vm_template add size bigint unsigned > 2016-11-11 10:18:53,229 ERROR [c.c.u.d.ScriptRunner] (main:null) > (logid:) > com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate > column > name 'size' > 2016-11-11 10:18:53,229 ERROR [c.c.u.DatabaseUpgradeChecker] > (main:null) > (logid:) Unable to execute upgrade script: > /usr/share/cloudstack-management/setup/db/schema-40to410.sql > com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate > column > name 'size'.... > 2016-11-11 10:18:53,233 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 > > >