Last edited 7 months ago
by Anonymous user
Revision as of 08:21, 10 March 2026 by imported>Margit.link-rodrigue ((username removed) (log details removed))

{{#default_form:Collapsible}}


Update from 4.5 to 5.1 breaks at slot_roles and content_models   v4.5+

Description: There have been several upgrades where slot_roles and content_models are not correctly assigned. When we bring down the stack and bring it up again, we noticed that the automatic run of update.php will not happen. We then run update.php --force, and the outcome seems to be good.


Help: Criteria for whether an import is good or not:

  • for those old ids smaller than 20, action=raw should produce identical content in the original and the migrated wiki
  • in the content_models table one should see one PDFCreator related line
  • in the slot_roles table one should see seven PDFCreator related lines

Procedure:

  1. stop stack
  2. import database,
  3. start stack and
  4. update database