Skip to content

Upgrading an Existing Installation

Upgrading to 2.0

  • Delete the old Lime Boostrap app: plugin-hemnet and 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 projectunit follows the required field definitions technical.
  • Update application config to include configuration for showings.
  • Replace Lime Bootstrap App
  • In pyproject.toml in 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

  1. Add new fields hemnet_status and hemnet_error to 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:
    • newproduction for project
    • apartment for projectunit/listing
    • viewing for showing.

!!!warning Don't remove any fields not in the field definition yet!

  1. Go through each table integrated with Hemnet. Bulk update objects as follows:
    • For objects where date_published_hemnet is not empty, set hemnet_status = published
    • For objects where date_unpublished_hemnet is not empty, set hemnet_status = unpublished
    • For project units where featured_unit = True, set hemnet_status_featured = published
  2. Remove fields not in required field definitions; published_on_hemnet, date_published_hemnet, date_unpublished_hemnet, featured_unit exact fields names can vary for each table, see required field definitions in technical.

Upgrade package version in solution and add decorators

  • In pyproject.toml in 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).
Back to top