Skip to content

Base package of the Recensio Plone portal.

Notifications You must be signed in to change notification settings

syslabcom/recensio.plone

Repository files navigation

recensio.plone

Base package of the Recensio Plone portal.

Requirements

We need some system packages to be available for this package to be fully functional:

  • abiword (doc to pdf)
  • ghostscript (pdf)
  • imagemagick (to use convert for pdf pages images)
  • openjdk (pdftk/solr)
  • pdftk (works on pdf)
  • poppler_utils (pdf)
  • html-tidy (cleans up the html that will be converted to pdf)

Migration

Read Notes on speed and large migrations in the collective.exportimport README.

Then decide if you want to do an export from Plone 4 and only set blob paths. If so, set the COLLECTIVE_EXPORTIMPORT_BLOB_HOME variable on import.

Also disable the recensio event subscribers which would generate PDFs from already generated content. To do this, set RECENSIO_DISABLE_SUBSCRIBERS=true.

After successful migration import the page pictures, which were not in the Recensio Archetypes schema in Plone 4 and therefore not exported. The blob home environment variable must be set to import the page pictures.

http://localhost:8080/recensio/@@import-page-pictures

Order of import:

  1. Create fresh Plone instance "recensio"
  2. Apply profile recensio.plone:default
  3. Import users (< 5m): http://localhost:8080/recensio/@@import_members
  4. Import content: (3.5-4h): http://localhost:8080/recensio/@@import_content
  5. Import relations: (5 minutes): http://localhost:8080/recensio/@@import_relations
  6. Import translations (0): http://localhost:8080/recensio/@@import_translations
  7. Import local roles (< 5m): http://localhost:8080/recensio/@@import_localroles
  8. Import default pages (< 5m): http://localhost:8080/recensio/@@import_defaultpages
  9. Import ordering (~ 20m): http://localhost:8080/recensio/@@import_ordering
  10. Import portlets (< 5m): http://localhost:8080/recensio/@@import_portlets
  11. Reset dates (< 5m): http://localhost:8080/recensio/@@reset_dates
  12. Fix collections (0m): http://localhost:8080/recensio/@@fix_collection_queries
  13. Fix html (< 5m): http://localhost:8080/recensio/@@fix_html

About

Base package of the Recensio Plone portal.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages