Upgrade OJS 2.4.8 to OJS 3.1: Error in version

Hello,
I upgraded my OJS to latest production version.
The upgrade seems quite fine but there is something strange.
Going at “version check” page: index/admin/systemInfo?versionCheck=1

I see:
Current version: 2.4.8.0 (May 13, 2016 - 11:56 AM)
Latest version: 3.1.1.0 (April 4, 2018)

What??? Something was wrong.

How can I solve it?

Hi @Alfredo_Cosco,

The upgrade likely didn’t complete successfully. Do you have the output of that process available?

Regards,
Alec Smecher
Public Knowledge Project Team

No more, I upgraded the last week from php cli, and now I can’t find if the upgrade script writes a log, moreover in apache log I just find traces about action made after the upgrade.
Do you think that I can patch the installation relaunching the upgrade tool or do I have to do it again from zero?

Thanks
A.C.

Hi @Alfredo_Cosco,

The command-line tool outputs its record directly, it doesn’t record it in a log file. If you’re not certain whether the process completed fully it’s probably best to restore from backup and re-run the upgrade process.

Regards,
Alec Smecher
Public Knowledge Project Team

I re run the upgrade and this is the log. :frowning:

[pre-install]
[load: upgrade.xml]
[version: 3.1.1.0]

[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]
WARNING: Unable to find a match for “177-214-1-RV.doc” in “/path/files/journals/1//articles/177/”. Skipping this file.
WARNING: Unable to find a match for “2159-10137-1-RV.pdf” in “/path/files/journals/9//articles/2159/”. Skipping this file.
WARNING: Unable to find a match for “2293-10667-1-RV.pdf” in “/path/files/journals/1//articles/2293/”. Skipping this file.
WARNING: Unable to find a match for “2442-11355-1-RV.pdf” in “/path/files/journals/11//articles/2442/”. Skipping this file.
WARNING: Unable to find a match for “2444-11397-1-RV.pdf” in “/path/files/journals/11//articles/2444/”. Skipping this file.
[data: dbscripts/xml/upgrade/3.0.0_preupdate.xml]
[data: dbscripts/xml/upgrade/3.0.0_adaptTimedViews.xml (skipped)]
[data: dbscripts/xml/upgrade/3.0.0_adaptReferrals.xml]
[data: dbscripts/xml/upgrade/3.0.0_adaptBooksForReview.xml]
[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]
[data: dbscripts/xml/upgrade/3.1.1_preupdate_citations.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/notes.xml]
[schema: lib/pkp/xml/schema/views.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 Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133

[code: Installer Installer::migrateStaticPagesToNavigationMenuItems]
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133

[code: Installer Installer::concatenateIntoAbout]
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35

[code: Installer Installer::concatenateIntoMasthead]
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35

[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 Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
[data: dbscripts/xml/upgrade/3.0.0_update.xml]

[code: Installer Installer::clearDataCache]

[code: Installer Installer::migrateUserRoles]
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133

[code: Installer Installer::fixReviewForms]

[code: Installer Installer::htmlifyEmailTemplates]
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
[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 Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133

[code: Installer Installer::convertEditorDecisionNotes]

[code: Installer Installer::convertQueries]

[code: Installer Installer::migrateFiles]
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
WARNING: Unable to find a match for “2441-11352-1-SM.pdf” in “/path/files/journals/11//articles/2441/”. Skipping this file.
WARNING: Unable to find a match for “2441-11353-1-RV.pdf” in “/path/files/journals/11//articles/2441/”. Skipping this file.
WARNING: Unable to find a match for “2441-11357-2-PB.pdf” in “/path/files/journals/11//articles/2441/”. Skipping this file.
WARNING: Unable to find a match for “2441-11356-1-CE.pdf” in “/path/files/journals/11//articles/2441/”. Skipping this file.
WARNING: Unable to find a match for “2442-11354-1-SM.pdf” in “/path/files/journals/11//articles/2442/”. Skipping this file.
WARNING: Unable to find a match for “2444-11396-1-SM.pdf” in “/path/files/journals/11//articles/2444/”. Skipping this file.
WARNING: Unable to find a match for “2445-11398-1-SM.pdf” in “/path/files/journals/11//articles/2445/”. Skipping this file.
WARNING: Unable to find a match for “2445-11399-1-RV.pdf” in “/path/files/journals/11//articles/2445/”. Skipping this file.
WARNING: Unable to find a match for “2446-11400-1-SM.pdf” in “/path/files/journals/11//articles/2446/”. Skipping this file.
WARNING: Unable to find a match for “2446-11401-1-RV.pdf” in “/path/files/journals/11//articles/2446/”. Skipping this file.
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
WARNING: Unable to find a match for “2126-10031-1-SM.pdf” in “/path/files/journals/9//articles/2126/”. Skipping this file.
WARNING: Unable to find a match for “2128-10040-1-SM.pdf” in “/path/files/journals/9//articles/2128/”. Skipping this file.
WARNING: Unable to find a match for “2128-10041-1-RV.pdf” in “/path/files/journals/9//articles/2128/”. Skipping this file.
WARNING: Unable to find a match for “2128-10045-2-LE.pdf” in “/path/files/journals/9//articles/2128/”. Skipping this file.
WARNING: Unable to find a match for “2128-10044-1-ED.pdf” in “/path/files/journals/9//articles/2128/”. Skipping this file.
WARNING: Unable to find a match for “2128-10042-1-CE.pdf” in “/path/files/journals/9//articles/2128/”. Skipping this file.
WARNING: Unable to find a match for “2159-10136-1-SM.pdf” in “/path/files/journals/9//articles/2159/”. Skipping this file.
WARNING: Unable to find a match for “177-213-1-SM.doc” in “/path/files/journals/1//articles/177/”. Skipping this file.
WARNING: Unable to find a match for “177-215-1-PB.pdf” in “/path/files/journals/1//articles/177/”. Skipping this file.
WARNING: Unable to find a match for “2293-10666-1-SM.pdf” in “/path/files/journals/1//articles/2293/”. Skipping this file.
WARNING: Unable to find a match for “5184-19453-1-SM.pdf” in “/path/files/journals/15//articles/5184/”. Skipping this file.
WARNING: Unable to find a match for “5184-19454-1-RV.pdf” in “/path/files/journals/15//articles/5184/”. Skipping this file.
WARNING: Unable to find a match for “5184-19455-1-CE.pdf” in “/path/files/journals/15//articles/5184/”. Skipping this file.
WARNING: Unable to find a match for “5184-19456-1-PB.pdf” in “/path/files/journals/15//articles/5184/”. Skipping this file.
WARNING: Unable to find a match for “229-303-1-SM.doc” in “/path/files/journals/4//articles/229/”. Skipping this file.
WARNING: Unable to find a match for “478-1098-1-SM.doc” in “/path/files/journals/4//articles/478/”. Skipping this file.
WARNING: Unable to find a match for “478-1100-1-CE.doc” in “/path/files/journals/4//articles/478/”. Skipping this file.
WARNING: Unable to find a match for “478-1099-2-CE.pdf” in “/path/files/journals/4//articles/478/”. Skipping this file.
WARNING: Unable to find a match for “478-1099-1-RV.doc” in “/path/files/journals/4//articles/478/”. Skipping this file.
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
WARNING: Unable to find a match for “3008-14232-2-SM.docx” in “/path/files/journals/3//articles/3008/”. Skipping this file.
WARNING: Duplicate potential files for “5021-18924-1-SM.pdf” in “/path/files/journals/3//articles/5021/”. Taking the first.
WARNING: Unable to find a match for “5021-18925-1-RV.pdf” in “/path/files/journals/3//articles/5021/”. Skipping this file.

[code: Installer Installer::convertSupplementaryFiles]
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133

[code: Installer Installer::setFileUploader]
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133

[code: Installer Installer::setFileName]
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in /path/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in /path/ojs/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]

Hi @Alfredo_Cosco,

It looks like the upgrade didn’t complete – that last step can take quite a while. Did it dump you back to the command line after that, or did you cancel the process?

(There are other threads about the unserialize warning and missing files warnings, so just treating the overall success/failure for now.)

Regards,
Alec Smecher
Public Knowledge Project Team

Hello @asmecher now I upgraded to 3.1.1-1.
There is the same issue on versionig.
I think the log is complete now

[pre-install]
[load: upgrade.xml]
[version: 3.1.1.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]
WARNING: Unable to find a match for "177-214-1-RV.doc" in "[mypath]serena/files/journals/1//articles/177/". Skipping this file.
WARNING: Unable to find a match for "2159-10137-1-RV.pdf" in "[mypath]serena/files/journals/9//articles/2159/". Skipping this file.
WARNING: Unable to find a match for "2293-10667-1-RV.pdf" in "[mypath]serena/files/journals/1//articles/2293/". Skipping this file.
WARNING: Unable to find a match for "2442-11355-1-RV.pdf" in "[mypath]serena/files/journals/11//articles/2442/". Skipping this file.
WARNING: Unable to find a match for "2444-11397-1-RV.pdf" in "[mypath]serena/files/journals/11//articles/2444/". Skipping this file.
[data: dbscripts/xml/upgrade/3.0.0_preupdate.xml]
[data: dbscripts/xml/upgrade/3.0.0_adaptTimedViews.xml (skipped)]
[data: dbscripts/xml/upgrade/3.0.0_adaptReferrals.xml]
[data: dbscripts/xml/upgrade/3.0.0_adaptBooksForReview.xml]
[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]
[data: dbscripts/xml/upgrade/3.1.1_preupdate_citations.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/notes.xml]
[schema: lib/pkp/xml/schema/views.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 Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
[code: Installer Installer::migrateStaticPagesToNavigationMenuItems]
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
[code: Installer Installer::migrateSRLocale]
[code: Installer Installer::concatenateIntoAbout]
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
[code: Installer Installer::concatenateIntoMasthead]
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
[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 Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
[data: dbscripts/xml/upgrade/3.0.0_update.xml]
[code: Installer Installer::clearDataCache]
[code: Installer Installer::migrateUserRoles]
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
[code: Installer Installer::fixReviewForms]
[code: Installer Installer::htmlifyEmailTemplates]
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
[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 Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
[code: Installer Installer::convertEditorDecisionNotes]
[code: Installer Installer::convertQueries]
[code: Installer Installer::migrateFiles]
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
WARNING: Unable to find a match for "2441-11352-1-SM.pdf" in "[mypath]serena/files/journals/11//articles/2441/". Skipping this file.
WARNING: Unable to find a match for "2441-11353-1-RV.pdf" in "[mypath]serena/files/journals/11//articles/2441/". Skipping this file.
WARNING: Unable to find a match for "2441-11357-2-PB.pdf" in "[mypath]serena/files/journals/11//articles/2441/". Skipping this file.
WARNING: Unable to find a match for "2441-11356-1-CE.pdf" in "[mypath]serena/files/journals/11//articles/2441/". Skipping this file.
WARNING: Unable to find a match for "2442-11354-1-SM.pdf" in "[mypath]serena/files/journals/11//articles/2442/". Skipping this file.
WARNING: Unable to find a match for "2444-11396-1-SM.pdf" in "[mypath]serena/files/journals/11//articles/2444/". Skipping this file.
WARNING: Unable to find a match for "2445-11398-1-SM.pdf" in "[mypath]serena/files/journals/11//articles/2445/". Skipping this file.
WARNING: Unable to find a match for "2445-11399-1-RV.pdf" in "[mypath]serena/files/journals/11//articles/2445/". Skipping this file.
WARNING: Unable to find a match for "2446-11400-1-SM.pdf" in "[mypath]serena/files/journals/11//articles/2446/". Skipping this file.
WARNING: Unable to find a match for "2446-11401-1-RV.pdf" in "[mypath]serena/files/journals/11//articles/2446/". Skipping this file.
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
WARNING: Unable to find a match for "2126-10031-1-SM.pdf" in "[mypath]serena/files/journals/9//articles/2126/". Skipping this file.
WARNING: Unable to find a match for "2128-10040-1-SM.pdf" in "[mypath]serena/files/journals/9//articles/2128/". Skipping this file.
WARNING: Unable to find a match for "2128-10041-1-RV.pdf" in "[mypath]serena/files/journals/9//articles/2128/". Skipping this file.
WARNING: Unable to find a match for "2128-10045-2-LE.pdf" in "[mypath]serena/files/journals/9//articles/2128/". Skipping this file.
WARNING: Unable to find a match for "2128-10044-1-ED.pdf" in "[mypath]serena/files/journals/9//articles/2128/". Skipping this file.
WARNING: Unable to find a match for "2128-10042-1-CE.pdf" in "[mypath]serena/files/journals/9//articles/2128/". Skipping this file.
WARNING: Unable to find a match for "2159-10136-1-SM.pdf" in "[mypath]serena/files/journals/9//articles/2159/". Skipping this file.
WARNING: Unable to find a match for "177-213-1-SM.doc" in "[mypath]serena/files/journals/1//articles/177/". Skipping this file.
WARNING: Unable to find a match for "177-215-1-PB.pdf" in "[mypath]serena/files/journals/1//articles/177/". Skipping this file.
WARNING: Unable to find a match for "2293-10666-1-SM.pdf" in "[mypath]serena/files/journals/1//articles/2293/". Skipping this file.
WARNING: Unable to find a match for "5184-19453-1-SM.pdf" in "[mypath]serena/files/journals/15//articles/5184/". Skipping this file.
WARNING: Unable to find a match for "5184-19454-1-RV.pdf" in "[mypath]serena/files/journals/15//articles/5184/". Skipping this file.
WARNING: Unable to find a match for "5184-19455-1-CE.pdf" in "[mypath]serena/files/journals/15//articles/5184/". Skipping this file.
WARNING: Unable to find a match for "5184-19456-1-PB.pdf" in "[mypath]serena/files/journals/15//articles/5184/". Skipping this file.
WARNING: Unable to find a match for "229-303-1-SM.doc" in "[mypath]serena/files/journals/4//articles/229/". Skipping this file.
WARNING: Unable to find a match for "478-1098-1-SM.doc" in "[mypath]serena/files/journals/4//articles/478/". Skipping this file.
WARNING: Unable to find a match for "478-1100-1-CE.doc" in "[mypath]serena/files/journals/4//articles/478/". Skipping this file.
WARNING: Unable to find a match for "478-1099-2-CE.pdf" in "[mypath]serena/files/journals/4//articles/478/". Skipping this file.
WARNING: Unable to find a match for "478-1099-1-RV.doc" in "[mypath]serena/files/journals/4//articles/478/". Skipping this file.
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
WARNING: Unable to find a match for "3008-14232-2-SM.docx" in "[mypath]serena/files/journals/3//articles/3008/". Skipping this file.
WARNING: Duplicate potential files for "5021-18924-1-SM.pdf" in "[mypath]serena/files/journals/3//articles/5021/". Taking the first.
WARNING: Unable to find a match for "5021-18925-1-RV.pdf" in "[mypath]serena/files/journals/3//articles/5021/". Skipping this file.
[code: Installer Installer::convertSupplementaryFiles]
PHP Notice:  unserialize(): Error at offset 1054 of 1383 bytes in [mypath]serena/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning:  Cannot use a scalar value as an array in [mypath]serena/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
[code: Installer Installer::provideSupplementaryFilesForReview]
PHP Warning:  assert(): Assertion failed in [mypath]serena/ojs/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 285
<h1>Invalid file!</h1>ojs2: Invalid file!

Hi @Alfredo_Cosco,

There are a few things going on there. First let’s tackle these messages:

unserialize(): Error at offset (abc) of (xyz) bytes

These are probably caused by an accidental change to your encoding configuration. Did your client_charset, connection_charset, or database_charset settings accidentally change compared to your old version?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,
client_charset, connection_charset, or database_charset have the same values in old and new
config.inc.php file.
Best,
Alfredo

Hi @Alfredo_Cosco,

Is it possible that you’ve changed something in creating a test database? You might have to check in MySQL to see e.g. whether the table and database encodings are the same as your old database.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,
I checked:
the old database encoding is latin1-swedish-ci
the tables charset is always utf8-general-ci

In the new Database everything is utf8-general-ci

So I deleted the new one and replicated the old, now I 'm ready to re-try the upgrade, do I have to change the value:

database_charset = utf8

in config.inc.php?

Hi @Alfredo_Cosco,

The ideal settings are

client_charset = utf-8
connection_charset = utf8
database_charset = utf8

(The inconsistencies between utf8 and utf-8 are intentional and necessary!)

However, if your data is mis-encoded in your database, you won’t be able to just set these and have everything work as expected – you may have to transcode your database contents. The new database has the right encoding (utf8-general-ci), but it’s likely that your database dump is in Latin1.

Regards,
Alec Smecher
Public Knowledge Project Team

Hello @asmecher,
as you said the database is latin1, but all the tables are utf8.

I tried to simply change DB encoding to utf8 but it doesn’t work.

Then I reloaded everything as in origin and I tried to upgrade but setting in config.inc.php:

database_charset = latin1

but it doesn’t work.

As you said “you may have to transcode your database contents”, but I never did something like this. :expressionless:

Thanks,
Alfredo

Hi @Alfredo_Cosco,

You might find some information on transcoding over at Stackoverflow.com – it’s more of a database concern than an OJS concern, though there are some other threads about it on this forum you might find useful.

Regards,
Alec Smecher
Public Knowledge Project Team

Hello @asmecher ,
I transcoded the database using this guide:
http://www.alphadevx.com/a/420-Converting-a-MySQL-database-from-latin1-to-utf8
and other suggestions found on this forum.
Then I set-up the config file with right values.
Then I launched the upgrade:

[pre-install]
[load: upgrade.xml]
[version: 3.1.1.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]
WARNING: Unable to find a match for “177-214-1-RV.doc” in “[ojs_path]/files/journals/1//articles/177/”. Skipping this file.
WARNING: Unable to find a match for “2159-10137-1-RV.pdf” in “[ojs_path]/files/journals/9//articles/2159/”. Skipping this file.
WARNING: Unable to find a match for “2293-10667-1-RV.pdf” in “[ojs_path]/files/journals/1//articles/2293/”. Skipping this file.
WARNING: Unable to find a match for “2442-11355-1-RV.pdf” in “[ojs_path]/files/journals/11//articles/2442/”. Skipping this file.
WARNING: Unable to find a match for “2444-11397-1-RV.pdf” in “[ojs_path]/files/journals/11//articles/2444/”. Skipping this file.
[data: dbscripts/xml/upgrade/3.0.0_preupdate.xml]
[data: dbscripts/xml/upgrade/3.0.0_adaptTimedViews.xml (skipped)]
[data: dbscripts/xml/upgrade/3.0.0_adaptReferrals.xml]
[data: dbscripts/xml/upgrade/3.0.0_adaptBooksForReview.xml]
[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]
[data: dbscripts/xml/upgrade/3.1.1_preupdate_citations.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/notes.xml]
[schema: lib/pkp/xml/schema/views.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 Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133

[code: Installer Installer::migrateStaticPagesToNavigationMenuItems]
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133

[code: Installer Installer::migrateSRLocale]

[code: Installer Installer::concatenateIntoAbout]
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35

[code: Installer Installer::concatenateIntoMasthead]
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35

[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 Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
[data: dbscripts/xml/upgrade/3.0.0_update.xml]

[code: Installer Installer::clearDataCache]

[code: Installer Installer::migrateUserRoles]
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133

[code: Installer Installer::fixReviewForms]

[code: Installer Installer::htmlifyEmailTemplates]
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/db/SettingsDAO.inc.php on line 35
[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 Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133

[code: Installer Installer::convertEditorDecisionNotes]

[code: Installer Installer::convertQueries]

[code: Installer Installer::migrateFiles]
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
WARNING: Unable to find a match for “2441-11352-1-SM.pdf” in “[ojs_path]/files/journals/11//articles/2441/”. Skipping this file.
WARNING: Unable to find a match for “2441-11353-1-RV.pdf” in “[ojs_path]/files/journals/11//articles/2441/”. Skipping this file.
WARNING: Unable to find a match for “2441-11357-2-PB.pdf” in “[ojs_path]/files/journals/11//articles/2441/”. Skipping this file.
WARNING: Unable to find a match for “2441-11356-1-CE.pdf” in “[ojs_path]/files/journals/11//articles/2441/”. Skipping this file.
WARNING: Unable to find a match for “2442-11354-1-SM.pdf” in “[ojs_path]/files/journals/11//articles/2442/”. Skipping this file.
WARNING: Unable to find a match for “2444-11396-1-SM.pdf” in “[ojs_path]/files/journals/11//articles/2444/”. Skipping this file.
WARNING: Unable to find a match for “2445-11398-1-SM.pdf” in “[ojs_path]/files/journals/11//articles/2445/”. Skipping this file.
WARNING: Unable to find a match for “2445-11399-1-RV.pdf” in “[ojs_path]/files/journals/11//articles/2445/”. Skipping this file.
WARNING: Unable to find a match for “2446-11400-1-SM.pdf” in “[ojs_path]/files/journals/11//articles/2446/”. Skipping this file.
WARNING: Unable to find a match for “2446-11401-1-RV.pdf” in “[ojs_path]/files/journals/11//articles/2446/”. Skipping this file.
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
WARNING: Unable to find a match for “2126-10031-1-SM.pdf” in “[ojs_path]/files/journals/9//articles/2126/”. Skipping this file.
WARNING: Unable to find a match for “2128-10040-1-SM.pdf” in “[ojs_path]/files/journals/9//articles/2128/”. Skipping this file.
WARNING: Unable to find a match for “2128-10041-1-RV.pdf” in “[ojs_path]/files/journals/9//articles/2128/”. Skipping this file.
WARNING: Unable to find a match for “2128-10045-2-LE.pdf” in “[ojs_path]/files/journals/9//articles/2128/”. Skipping this file.
WARNING: Unable to find a match for “2128-10044-1-ED.pdf” in “[ojs_path]/files/journals/9//articles/2128/”. Skipping this file.
WARNING: Unable to find a match for “2128-10042-1-CE.pdf” in “[ojs_path]/files/journals/9//articles/2128/”. Skipping this file.
WARNING: Unable to find a match for “2159-10136-1-SM.pdf” in “[ojs_path]/files/journals/9//articles/2159/”. Skipping this file.
WARNING: Unable to find a match for “177-213-1-SM.doc” in “[ojs_path]/files/journals/1//articles/177/”. Skipping this file.
WARNING: Unable to find a match for “177-215-1-PB.pdf” in “[ojs_path]/files/journals/1//articles/177/”. Skipping this file.
WARNING: Unable to find a match for “2293-10666-1-SM.pdf” in “[ojs_path]/files/journals/1//articles/2293/”. Skipping this file.
WARNING: Unable to find a match for “5184-19453-1-SM.pdf” in “[ojs_path]/files/journals/15//articles/5184/”. Skipping this file.
WARNING: Unable to find a match for “5184-19454-1-RV.pdf” in “[ojs_path]/files/journals/15//articles/5184/”. Skipping this file.
WARNING: Unable to find a match for “5184-19455-1-CE.pdf” in “[ojs_path]/files/journals/15//articles/5184/”. Skipping this file.
WARNING: Unable to find a match for “5184-19456-1-PB.pdf” in “[ojs_path]/files/journals/15//articles/5184/”. Skipping this file.
WARNING: Unable to find a match for “229-303-1-SM.doc” in “[ojs_path]/files/journals/4//articles/229/”. Skipping this file.
WARNING: Unable to find a match for “478-1098-1-SM.doc” in “[ojs_path]/files/journals/4//articles/478/”. Skipping this file.
WARNING: Unable to find a match for “478-1100-1-CE.doc” in “[ojs_path]/files/journals/4//articles/478/”. Skipping this file.
WARNING: Unable to find a match for “478-1099-2-CE.pdf” in “[ojs_path]/files/journals/4//articles/478/”. Skipping this file.
WARNING: Unable to find a match for “478-1099-1-RV.doc” in “[ojs_path]/files/journals/4//articles/478/”. Skipping this file.
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
WARNING: Unable to find a match for “3008-14232-2-SM.docx” in “[ojs_path]/files/journals/3//articles/3008/”. Skipping this file.
WARNING: Duplicate potential files for “5021-18924-1-SM.pdf” in “[ojs_path]/files/journals/3//articles/5021/”. Taking the first.
WARNING: Unable to find a match for “5021-18925-1-RV.pdf” in “[ojs_path]/files/journals/3//articles/5021/”. Skipping this file.

[code: Installer Installer::convertSupplementaryFiles]
PHP Notice: unserialize(): Error at offset 1054 of 1383 bytes in [ojs_path]/ojs/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133
PHP Warning: Cannot use a scalar value as an array in [ojs_path]/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133

[code: Installer Installer::provideSupplementaryFilesForReview]
PHP Warning: assert(): Assertion failed in [ojs_path]/ojs/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 285

Invalid file!

ojs2: Invalid file!

The version recognized in the back-end is still 2.4.8.0

Best,
Alfredo

Hi @Alfredo_Cosco

The very last error should be solved with this patch/changes: pkp/pkp#3783 consider supp files without file id in the migration by bozana · Pull Request #2009 · pkp/ojs · GitHub.
However, you would need to take a look at all those warnings before as well, i.e.

  1. From the function removeReviewEntries: All the messages of the form: Unable to find a match for “…” in “/path/files/journals/1//articles/…/
    In OJS 2 a submission file is immediately copied as a review file and an entry in the table review_rounds is added, also when the editor has not been assigned yet. Those review files should be removed in OJS 3 – so that that first review round does not immediately exist.
    This SQL gets all the articles that has no editor assigned: ojs/Upgrade.inc.php at ojs-3_1_1-2 · pkp/ojs · GitHub.
    Could you please double check if this is correct – that those articles have not been assigned to an editor yet?
    If so correct, for those articles:
    Lets take for example “Unable to find a match for “177-214-1-RV.doc” in “/path/files/journals/1//articles/177/”
    There seems to be a review_file_id in your table articles, where article ID = 177, that cannot be found in your files folder. However, it is probably present in the DB: in the table articles, column review_file_id, and in the table article_files.
    They all should be removed – from the files folder (where they cannot be found in your case), and using these SQLs ojs/Upgrade.inc.php at ojs-3_1_1-2 · pkp/ojs · GitHub. And this was not done in the upgrade, because the loop proceeded when the error/warning occurred.
    Thus, you would probably need to double check that those articles are not assigned to an editor, double check that the review file is not in the files folder, then see if the review round exist for those articles in the DB and if that review file exist in the table article_files, and finally (if everything is so) remove them.

  2. Unfortunately I am not sure what are those messages “Error at offset…” and “Cannot use a scalar value …” – maybe some character encodings problems?

  3. The function migrateFiles: All the messages of the form “Unable to find a match for “2441-11352-1-SM.pdf”. Those means that there are such files in your DB table article_files, but they are not in your files folder. You would need to double check them all i.e. upload the correct files or delete them using the GUI (because of the dependencies in the DB).

Best,
Bozana

Hi @Alfredo_Cosco

One more thing regarding the last error message: what do you get when you execute this SQL:
SELECT a.journal_id, sf.* FROM article_supplementary_files sf, articles a WHERE a.article_id = sf.article_id AND sf.file_id <> 0 AND sf.show_reviewers = 1 AND sf.remote_url IS NULL ?
Do you have all the files from the result in your DB and in your files folder?

Best,
Bozana

1 Like

Hi @bozana, as i’m using a docker container at version 3.1.1-2 i found an interesting branch mistake, at branch stable.3_1_1 there is your bugfix, BUT at the TAG 3.1.1-2 it doesn’t.

Can you check this? I had to do this manually so i can upgrade my environment from 2.4.8 to 3.1.1-2.

Another thing, after i upgraded i can’t login as admin, i didn’t change the encryption and commented the salt option, is there anything i can look?

Thanks.

Hi @lucasdiedrich,

The tags are snapshots of the stable branch, and correspond to the .tar.gz files for each release. After each release the stable branch will keep evolving, so there are often fixes in the stable branch that won’t be included in the latest tag. The stable branch should be stable enough for hosting purposes.

Regards,
Alec Smecher
Public Knowledge Project Team

This is pretty confusing actually, if i download the latest version it doesn’t have all the fixes from the stable release? That doesn’t make any sense, if i download this will not have the correct fixes, and there is no branch “stable” for version 3.1.1-2, is this stable?

Actually, i got the idea, tag = Snapshot, and branch Stable will keep evolving, but why there is no branch-stable for version 3.1.1-2?

But the branch changes after it was released? thats strange.