Upgrading an Existing Installation¶
Upgrading to 2.0¶
- Delete the old Lime Boostrap app:
plugin-hemnetand all instansiations of the app in the actionpads. - In the solution - remove the dependency to
limepkg-hemnet - Do all steps in installation
Upgrading to 3.0¶
- If upgrading from earlier versions than 2.0, do all previous upgrading steps.
- Check that the table mapped to Hemnet's
projectunitfollows the required field definitions technical. - Update application config to include configuration for
showings. - Replace Lime Bootstrap App
- In
pyproject.tomlin the customer's solution, replace version of limepkg-hemnet with "^3.0.0" - Build and deploy your solution
- Restart service
Lime CRM Web server(only for on premise customers).
Upgrading to 4.0¶
- Replace Lime Bootstrap App and/or configure web client. See configuration
Add new fields and migrate data from old fields¶
- Add new fields
hemnet_statusandhemnet_errorto each table integrated with Hemnet. Exact names can differ between tables, check required field definitions in technical. Lip package exists if the customer uses table names:newproductionfor projectapartmentfor projectunit/listingviewingfor showing.
!!!warning Don't remove any fields not in the field definition yet!
- Go through each table integrated with Hemnet. Bulk update objects as follows:
- For objects where
date_published_hemnetis not empty, sethemnet_status=published - For objects where
date_unpublished_hemnetis not empty, sethemnet_status=unpublished - For project units where
featured_unit= True, sethemnet_status_featured=published
- For objects where
- Remove fields not in required field definitions;
published_on_hemnet,date_published_hemnet,date_unpublished_hemnet,featured_unitexact fields names can vary for each table, see required field definitions in technical.
Upgrade package version in solution and add decorators¶
- In
pyproject.tomlin the customer's solution, replace version of limepkg-hemnet with "^4.0.0" - Add decorators to limeobject classes. See instructions in installation.
- Build and deploy your solution
- Restart service
Lime CRM Web server(only for on premise customers).