Hello All.
I tried to Upgrade from 2.4.8.5 to 3.1.2.1 and i got the error at the end.
root@new-ojs-2019:/var/www/ojs-3.1.2-1# php7.2 tools/upgrade.php upgrade
[pre-install]
[load: upgrade.xml]
[version: 3.1.2.1]
[code: Installer Installer::checkPhpVersion]
[code: Installer Installer::syncSeriesAssocType]
[data: dbscripts/xml/upgrade/2.4.0_preupdate_usageStatistics.xml (skipped)]
[data: dbscripts/xml/upgrade/2.4.0_preupdate_usageStatistics2.xml (skipped)]
[code: Installer Installer::removeReviewEntries]
[data: dbscripts/xml/upgrade/3.0.0_preupdate.xml]
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
[data: dbscripts/xml/upgrade/3.0.0_adaptTimedViews.xml (skipped)]
[data: dbscripts/xml/upgrade/3.0.0_adaptReferrals.xml]
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
[data: dbscripts/xml/upgrade/3.0.0_adaptBooksForReview.xml]
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
[data: dbscripts/xml/upgrade/remove_timed_views_bots.xml (skipped)]
[data: dbscripts/xml/upgrade/3.0.0_preupdate_commentsToEditor.xml]
[data: dbscripts/xml/upgrade/3.1.0_preupdate_review_assignments.xml]
[data: dbscripts/xml/upgrade/3.1.0_preupdate_notes.xml]
[data: dbscripts/xml/upgrade/3.1.0_preupdate_payments.xml]
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
[data: dbscripts/xml/upgrade/3.1.1_preupdate_citations.xml]
PHP Notice: Only variables should be assigned by reference in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
[data: dbscripts/xml/upgrade/3.1.2_preupdate_user_author_names.xml]
[schema: lib/pkp/xml/schema/common.xml]
[schema: lib/pkp/xml/schema/log.xml]
[schema: lib/pkp/xml/schema/announcements.xml]
[schema: lib/pkp/xml/schema/scheduledTasks.xml]
[schema: lib/pkp/xml/schema/temporaryFiles.xml]
[schema: lib/pkp/xml/schema/metadata.xml]
[schema: lib/pkp/xml/schema/reviews.xml]
[schema: lib/pkp/xml/schema/reviewForms.xml]
[schema: lib/pkp/xml/schema/controlledVocab.xml]
[schema: lib/pkp/xml/schema/submissions.xml]
[schema: lib/pkp/xml/schema/submissionFiles.xml]
[schema: lib/pkp/xml/schema/categories.xml]
[schema: lib/pkp/xml/schema/notes.xml]
[schema: lib/pkp/xml/schema/genres.xml]
[schema: lib/pkp/xml/schema/tombstone.xml]
[schema: lib/pkp/xml/schema/rolesAndUserGroups.xml]
[schema: lib/pkp/xml/schema/metrics.xml]
[schema: lib/pkp/xml/schema/views.xml]
[schema: lib/pkp/xml/schema/libraryFiles.xml]
[schema: lib/pkp/xml/schema/navigationMenus.xml]
[schema: dbscripts/xml/ojs_schema.xml]
[data: dbscripts/xml/indexes.xml]
[code: Installer Installer::installDefaultNavigationMenus]
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
[code: Installer Installer::migrateStaticPagesToNavigationMenuItems]
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
[code: Installer Installer::migrateSRLocale]
[code: Installer Installer::migrateUserAndAuthorNames]
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
[code: Installer Installer::concatenateIntoAbout]
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Invalid argument supplied for foreach() in /var/www/ojs-3.1.2-1/classes/install/Upgrade.inc.php on line 2078
PHP Warning: Invalid argument supplied for foreach() in /var/www/ojs-3.1.2-1/classes/install/Upgrade.inc.php on line 2078
PHP Warning: Invalid argument supplied for foreach() in /var/www/ojs-3.1.2-1/classes/install/Upgrade.inc.php on line 2078
PHP Warning: Invalid argument supplied for foreach() in /var/www/ojs-3.1.2-1/classes/install/Upgrade.inc.php on line 2078
[code: Installer Installer::concatenateIntoMasthead]
PHP Warning: Invalid argument supplied for foreach() in /var/www/ojs-3.1.2-1/classes/install/Upgrade.inc.php on line 2238
PHP Warning: Invalid argument supplied for foreach() in /var/www/ojs-3.1.2-1/classes/install/Upgrade.inc.php on line 2238
PHP Warning: Invalid argument supplied for foreach() in /var/www/ojs-3.1.2-1/classes/install/Upgrade.inc.php on line 2238
PHP Warning: Invalid argument supplied for foreach() in /var/www/ojs-3.1.2-1/classes/install/Upgrade.inc.php on line 2238
[code: Installer Installer::migrateCounterPluginUsageStatistics (skipped)]
[code: Installer Installer::migrateTimedViewsUsageStatistics (skipped)]
[code: Installer Installer::migrateDefaultUsageStatistics (skipped)]
[data: dbscripts/xml/upgrade/2.4.0_postUsageStatsMigration.xml (skipped)]
[data: dbscripts/xml/upgrade/2.4.0_postUsageStatsMigration2.xml (skipped)]
[data: dbscripts/xml/upgrade/2.4.0_postCounterMigration.xml (skipped)]
[data: dbscripts/xml/upgrade/2.4.0_postTimedViewsMigration.xml (skipped)]
[data: dbscripts/xml/upgrade/3.0.0_change_assoc_type.xml]
[data: dbscripts/xml/upgrade/3.0.0_change_assoc_type_metrics.xml]
[data: dbscripts/xml/upgrade/3.0.0_settings.xml]
[code: Installer Installer::installDefaultGenres]
[code: Installer Installer::migrateArticleMetadata]
PHP Warning: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /var/www/ojs-3.1.2-1/lib/pkp/classes/submission/SubmissionKeywordEntryDAO.inc.php on line 20
PHP Warning: Declaration of SubmissionLanguageEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /var/www/ojs-3.1.2-1/lib/pkp/classes/submission/SubmissionLanguageEntryDAO.inc.php on line 46
PHP Warning: Declaration of SubmissionDisciplineEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /var/www/ojs-3.1.2-1/lib/pkp/classes/submission/SubmissionDisciplineEntryDAO.inc.php on line 44
PHP Warning: Declaration of SubmissionAgencyEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /var/www/ojs-3.1.2-1/lib/pkp/classes/submission/SubmissionAgencyEntryDAO.inc.php on line 44
[data: dbscripts/xml/upgrade/3.0.0_update.xml]
[code: Installer Installer::clearDataCache]
[code: Installer Installer::migrateUserRoles]
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
[code: Installer Installer::fixReviewForms]
[code: Installer Installer::htmlifyEmailTemplates]
[note: docs/release-notes/README-BEACON]
[code: Installer Installer::installEmailTemplate]
[code: Installer Installer::installEmailTemplate]
[code: Installer Installer::installEmailTemplate]
[code: Installer Installer::installEmailTemplate]
[code: Installer Installer::installEmailTemplate]
[code: Installer Installer::installEmailTemplate]
[data: dbscripts/xml/upgrade/3.0.0_scheduledTasks.xml]
[code: Installer Installer::localizeCustomBlockSettings]
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
[code: Installer Installer::convertEditorDecisionNotes]
[code: Installer Installer::convertQueries]
[code: Installer Installer::migrateFiles]
WARNING: Unable to find a match for “2981-5160-2-PB.pdf” in “/pasithee_upload_files/journals/7//articles/2981/”. Skipping this file.
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
WARNING: Unable to find a match for “2751-4725-2-PB.pdf” in “/pasithee_upload_files/journals/9//articles/2751/”. Skipping this file.
WARNING: Unable to find a match for “2994-5184-1-PB.pdf” in “/pasithee_upload_files/journals/9//articles/2994/”. Skipping this file.
[code: Installer Installer::convertSupplementaryFiles]
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
[code: Installer Installer::provideSupplementaryFilesForReview]
[code: Installer Installer::setFileUploader]
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
[code: Installer Installer::setFileName]
PHP Warning: Illegal string offset ‘el_GR’ in /var/www/ojs-3.1.2-1/lib/pkp/classes/core/DataObject.inc.php on line 133
[data: dbscripts/xml/upgrade/3.0.0_postupdate.xml]
[data: dbscripts/xml/upgrade/3.0.0_pubId_settings.xml]
[data: dbscripts/xml/upgrade/3.0.0_postupgrade_galley_files.xml]
[data: dbscripts/xml/upgrade/3.0.0_postupgrade_metrics.xml]
[data: dbscripts/xml/upgrade/3.0.0_issue_settings.xml]
[data: dbscripts/xml/upgrade/3.0.0_submission_settings.xml]
[data: dbscripts/xml/upgrade/3.0.0_review_method.xml]
[data: dbscripts/xml/upgrade/3.0.0_edit_decisions.xml]
[data: dbscripts/xml/upgrade/3.0.1_update.xml]
[code: Installer Installer::convertCommentsToEditor]
PHP Warning: Element ‘<a><em><strong><cite><code><ul><ol><li><dl><dt><dd><b><i><u><img><sup><sub><br><p>’ is not supported (for information on implementing this, see the support forums) in /var/www/ojs-3.1.2-1/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php on line 311
[note: docs/release-notes/README-3.0]
[note: docs/release-notes/README-3.0.1]
[data: dbscripts/xml/upgrade/3.0.2_update.xml]
[note: docs/release-notes/README-3.0.2]
[code: Installer Installer::moveReviewerFiles]
[code: Installer Installer::fixAuthorGroup]
[data: dbscripts/xml/upgrade/3.0.0_reviewer_files.xml]
ERROR: Upgrade failed: DB: Column ‘review_round_id’ cannot be null
root@new-ojs-2019:/var/www/ojs-3.1.2-1#
Any suggestion? I cannot see any table named article_files into the database.
Thank you in advance.
Best Regards
Konstantinos