Upgrade to 2.2 Load Archetypes issue

Hey everyone,

Trying to go through the initial upgrading steps (from 2.1.3) and having an issue loading archetypes:

So,

> cd <OPENVPMS_HOME>/bin
> toolbox archetype --load

gives me:

SQL Error: 1054, SQLState: 42S22
Unknown column 'archetyped0_.created' in 'field list'
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'archetypeDescriptorCache' defined in class path resource [toolbox-context.xml]: Invocation of init method failed; nested exception is org.openvpms.component.business.dao.im.common.IMObjectDAOException: Failed to find IMObjects for class org.openvpms.component.business.dao.hibernate.im.archetype.ArchetypeDescriptorDO with shortName: descriptor.* and instanceName: null.
Error creating bean with name 'archetypeDescriptorCache' defined in class path resource [toolbox-context.xml]: Invocation of init method failed; nested exception is org.openvpms.component.business.dao.im.common.IMObjectDAOException: Failed to find IMObjects for class org.openvpms.component.business.dao.hibernate.im.archetype.ArchetypeDescriptorDO with shortName: descriptor.* and instanceName: null.

 

Any help appreciated, as always.

Cheers,

Anton

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Upgrade to 2.2 Load Archetypes issue

Sounds like the database upgrade step hasn't been run.

See https://openvpms.org/documentation/csh/2.2/topics/installing-openvpms/up...

Re: Upgrade to 2.2 Load Archetypes issue

Oh man, face palm and embarrassed!

 

Thanks Tim.

Syndicate content