imported>Margit.link-rodrigue Created page with "{{CollapsibleWrapper |CollapsibleItems= {{Collapsible |cheader=Update from 4.5 to 5.1 breaks at slot_roles and content_models |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 --forc</code>e, and the outcome seems to be good. |chelp=Criteria..." |
imported>Margit.link-rodrigue No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
|CollapsibleItems= | |CollapsibleItems= | ||
{{Collapsible | {{Collapsible | ||
|cheader=Update from 4.5 to 5.1 breaks at slot_roles and content_models | |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 | ||
| Line 11: | Line 11: | ||
Procedure: | Procedure: | ||
#stop stack | #stop stack, | ||
#import database, | #import database, | ||
#start stack and | #start stack and | ||
| Line 17: | Line 17: | ||
}} | }} | ||
}} | }} | ||
[[de:Setup:Bekannte Installations- und Update-Probleme]] | |||
Latest revision as of 08:37, 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