Child pages
  • [install] Cron-related SQL errors during upgrade to 5.2.2
Skip to end of metadata
Go to start of metadata

When upgrading from 5.1.x to 5.2.x I'm seeing quite a few error messages like this:

Warning (#47): Table 'alex_inportal_upgrade.51x_LanguageLabels' doesn't exist (1146)
SQL:
    SELECT PhraseId, l1_Translation AS Translation, l1_HintTranslation AS HintTranslation, l1_ColumnTranslation AS ColumnTranslation
    FROM 51x_LanguageLabels
    WHERE (PhraseKey = 'LA_OPT_CRONMONDAYTHROUGHFRIDAY') AND (l1_Translation IS NOT NULL)
    LIMIT 0,1  in ...\core\kernel\utility\logger.php on line 886

The common part about these error messages is that all phrases start with "la_opt_cron".

Stack trace looks like this:

Solution

I think, that we can safely skip phrase-related part of initialization of "scheduled-task" unit during installation, because no scheduled tasks are executed during installation.

Related Tasks

INP-1496 - Getting issue details... STATUS