mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 02:11:44 +03:00
cbbf5b4ad4
no issue Upgrading from v1 or v2 can result in successful upgrades but with mobiledoc errors showing in the logs: ``` NAME: InternalServerError MESSAGE: Mobiledoc card 'card-markdown' not found. ``` The errors do not signify a problem as long as the 4.0 migrations run because those rename the deprecated card before re-rendering. - `@tryghost/kg-default-cards` dropped support for `card-markdown` cards. 4.0 migrations handled this by renaming all `card-markdown` cards to `markdown` before re-generating any content - 2.0 and 3.0 also had migrations that re-generated content but they are run before the 4.0 card rename migration meaning that the mobiledoc renderer sees cards that it doesn't know about. The behaviour for unknown cards is to log an error and skip rendering of that card - by NOOPing the 2.0 and 3.0 migrations we eliminate the incompatibility errors and reduce the amount of processing the upgrade needs to perform |
||
---|---|---|
.. | ||
01-remove-user-ghost-auth-columns.js | ||
02-drop-token-auth-tables.js | ||
03-drop-client-auth-tables.js | ||
04-add-posts-meta-table.js | ||
05-populate-posts-meta-table.js | ||
06-remove-posts-meta-columns.js | ||
07-add-posts-type-column.js | ||
08-populate-posts-type-column.js | ||
09-remove-posts-page-column.js | ||
10-remove-empty-strings.js | ||
11-update-posts-html.js | ||
12-populate-members-table-from-subscribers.js | ||
13-drop-subscribers-table.js | ||
14-remove-subscribers-flag.js |