Unknown Locale Component - Upgrade from 2.4.8.5 to 3.2.0.0

Hello,

Here’s my problem: When trying to upgrade from 2.4.8.5 to 3.2.0.0, in SupplementaryFile Migration, I get this error: Unknown Locale Component.

My Stack Trace:

<h1>Unknown locale component </h1><h4>Stack Trace:</h4>
<strong>File:</strong> /var/www/html/rbp/lib/pkp/classes/submission/SubmissionFile.inc.php line 625<br />
<strong>Function:</strong> PKPLocale::requireComponents(1, Null)<br />
<br/>
<strong>File:</strong> /var/www/html/rbp/lib/pkp/classes/submission/SubmissionFileDAODelegate.inc.php line 94<br />
<strong>Function:</strong> SubmissionFile->_generateName()<br />
<br/>
<strong>File:</strong> /var/www/html/rbp/lib/pkp/classes/submission/SupplementaryFileDAODelegate.inc.php line 36<br />
<strong>Function:</strong> SubmissionFileDAODelegate->insertObject(Object(SupplementaryFile), "/var/www/html/rbp/files/journals/3//articles/27/submission/27-4-...", False)<br />
<br/>
<strong>File:</strong> /var/www/html/rbp/lib/pkp/classes/submission/SubmissionFileDAO.inc.php line 386<br />
<strong>Function:</strong> SupplementaryFileDAODelegate->insertObject(Object(SupplementaryFile), "/var/www/html/rbp/files/journals/3//articles/27/submission/27-4-...")<br />
<br/>
<strong>File:</strong> /var/www/html/rbp/classes/install/Upgrade.inc.php line 1346<br />
<strong>Function:</strong> SubmissionFileDAO->updateObject(Object(SupplementaryFile))<br />
<br/>
<strong>File:</strong> /var/www/html/rbp/lib/pkp/classes/install/Installer.inc.php line 417<br />
<strong>Function:</strong> Upgrade->convertSupplementaryFiles(Object(Upgrade), Array(1))<br />
<br/>
<strong>File:</strong> /var/www/html/rbp/lib/pkp/classes/install/Installer.inc.php line 263<br />
<strong>Function:</strong> Installer->executeAction(Array(3))<br />
<br/>
<strong>File:</strong> /var/www/html/rbp/lib/pkp/classes/install/Installer.inc.php line 186<br />
<strong>Function:</strong> Installer->executeInstaller()<br />
<br/>
<strong>File:</strong> /var/www/html/rbp/lib/pkp/classes/cliTool/UpgradeTool.inc.php line 88<br />
<strong>Function:</strong> Installer->execute()<br />
<br/>
<strong>File:</strong> /var/www/html/rbp/lib/pkp/classes/cliTool/UpgradeTool.inc.php line 64<br />
<strong>Function:</strong> UpgradeTool->upgrade()<br />
<br/>
<strong>File:</strong> /var/www/html/rbp/tools/upgrade.php line 22<br />
<strong>Function:</strong> UpgradeTool->execute()<br />
<br/>
ojs2: Unknown locale component

I’m using CLI to run the upgrade, and it doens’t show any other errors.
I already checked null or empty values on articles.locale.

Hi @giovanne-oliveira,

I believe that patching this issue before running the upgrade script should resolve the problem:
https://github.com/pkp/pkp-lib/issues/5689

Regards,
Alec Smecher
Public Knowledge Project Team