imported>Margit.link-rodrigue m (username removed) (log details removed) |
imported>Margit.link-rodrigue No edit summary |
||
| Line 4: | Line 4: | ||
|cheader=Update from 4.5 to 5.1 breaks at <code>slot_roles</code> and <code>content_models</code> | |cheader=Update from 4.5 to 5.1 breaks at <code>slot_roles</code> and <code>content_models</code> | ||
|bsvFrom=4.5 | |bsvFrom=4.5 | ||
|cdescription=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 <code>update.php</code> will not happen. We then run <code>update.php -- | |cdescription=There have been several upgrades where <code>slot_roles</code> and <code>content_models</code> are not correctly assigned. When we bring down the stack and bring it up again, we noticed that the automatic run of <code>update.php</code> will not happen. We then run <code>update.php --force</code>, and the outcome seems to be good. | ||
|chelp=Criteria for whether an import is good or not: | |chelp=Criteria for whether an import is good or not: | ||
*for those old ids smaller than 20, <code>action=raw</code> should produce identical content in the original and the migrated wiki | *for those old ids smaller than 20, <code>action=raw</code> should produce identical content in the original and the migrated wiki | ||
Revision as of 08:26, 10 March 2026
{{#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=rawshould produce identical content in the original and the migrated wiki - in the
content_modelstable one should see one PDFCreator related line - in the
slot_rolestable one should see seven PDFCreator related lines
Procedure:
- stop stack
- import database,
- start stack and
- update database