Cannot upgrade OJS 2.4.8 to 3.1.1-2

hi there i got error when trying to upgrade to ojs 3.1.1-2 from 2.4.8 the error is

A database error has occurred: Duplicate entry ‘1881-3-1’ for key ‘review_rounds_submission_id_stage_id_round_pkey’

what should i do to solve this error. tqvm.

Hi @mohd_arshad,

See this issue for instructions: Upgrade to 3.0.0: pkey violation on review_rounds · Issue #1921 · pkp/pkp-lib · GitHub

Regards,
Alec Smecher
Public Knowledge Project Team

thanks for the reply. i was able to clear the error by deleting the duplicated review submission id.

but then other error encountered. here is the log

Blockquote
[Wed Jun 27 10:25:54.015252 2018] [fcgid:warn] [pid 8737] [removeip] mod_fcgid: stderr: WARNING: Unable to find a match for “424-1281-1-RV.docx” in “/home/publisher/public_html/ojs/files/journals/17//articles/424/”. Skipping this file., referer: http://remove/ojs/index.php/index/install/upgrade
[Wed Jun 27 10:25:54.015469 2018] [fcgid:warn] [pid 8737] [removeip] mod_fcgid: stderr: WARNING: Unable to find a, referer: http://remove/ojs/index.php/index/install/upgrade
[Wed Jun 27 10:30:59.536718 2018] [fcgid:warn] [pid 8737] [removeip] mod_fcgid: read data timeout in 301 seconds, referer: http://remove/ojs/index.php/index/install/upgrade
[Wed Jun 27 10:30:59.536797 2018] [core:error] [pid 8737] [removeip] End of script output before headers: index.php, referer: http://remove/ojs/index.php/index/install/upgrade

the file “424-1281-1-RV.docx” is the review file most of the error is Unable to find a match for this file.
most of it were file related and the file is gone so i ignore this.
im assuming the error is with max execution time so i bump to unlimited then got this error.

Blockquote[Wed Jun 27 10:52:40.851881 2018] [fcgid:warn] [pid 12421] [removeip] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_html/ojs/classes/install/Upgrade.inc.php on line 2255, referer: http://remove/ojs/index.php/index/install/upgrade
[Wed Jun 27 10:52:40.851889 2018] [fcgid:warn] [pid 12421] [removeip] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_html/ojs/classes/install/Upgrade.inc.php on line 2255, referer: http://remove/ojs/index.php/index/install/upgrade
[Wed Jun 27 10:52:40.851905 2018] [fcgid:warn] [pid 12421] [removeip] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_html/ojs/classes/install/Upgrade.inc.php on line 2255, referer: http://remove/ojs/index.php/index/install/upgrade
[Wed Jun 27 10:52:40.851913 2018] [fcgid:warn] [pid 12421] [removeip] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_html/ojs/classes/install/Upgrade.inc.php on line 2255, referer: http://remove/ojs/index.php/index/install/upgrade
[Wed Jun 27 10:52:40.851920 2018] [fcgid:warn] [pid 12421] [removeip] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_html/ojs/classes/install/Upgrade.inc.php on line 2255, referer: http://remove/ojs/index.php/index/install/upgrade
[Wed Jun 27 10:52:40.851928 2018] [fcgid:warn] [pid 12421] [removeip] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_html/ojs/classes/install/Upgrade.inc.php on line 2255, referer: http://remove/ojs/index.php/index/install/upgrade
[Wed Jun 27 10:52:40.852073 2018] [fcgid:warn] [pid 12421] [removeip] mod_fcgid: stderr: PHP Fatal error: Maximum execution time of 0 seconds exceeded in /home/publisher/public_html/ojs/lib/pkp/classes/db/DAO.inc.php on line 0, referer: http://remove/ojs/index.php/index/install/upgrade

Hi @mohd_arshad,

It looks like your web server is still timing out during the upgrade process; you’ll need to figure out a way to allow enough time for OJS to complete the upgrade process, either by changing your PHP configuration or by working with your web server/mod_fcgid configuration. A resource like stackoverflow.com might be helpful.

If it’s possible, you might try using the command-line upgrade tool, as it’s often not subject to the same limits.

Regards,
Alec Smecher
Public Knowledge Project Team

im not from information technology background sorry if my term is not correct

im using webmin as host… so to upgrade using command line is to go to the running processes and run the command line from there?

my file is in “public_html/ojs/tools/upgrade.php”

should i put the code like this “php public_html/ojs/tools/upgrade.php upgrade” and run the command?

Hi @mohd_arshad,

I would first change into the OJS installation directory:

cd public_html/ojs

Then run the upgrade script:

php tools/upgrade.php upgrade

Make sure to have a complete backup before you run this.

Regards,
Alec Smecher
Public Knowledge Project Team

thanks for the reply… finally i understand and manage to run using command
then i got this error… this is done at different server so i can learn and experiment before upgrading the real one.

[remove ~]$ cd public_html/ojs
[remove ojs]$ php tools/upgrade.php upgrade
[pre-install]
[load: upgrade.xml]
[version: 3.1.1.2]

[code: Installer Installer::checkPhpVersion]
ERROR: Upgrade failed: Your server’s PHP version is not supported by this software. Double-check the installation requirements in docs/README.
[remove ojs]$

in the ojs it detected the php version is 5.6… when i check the server php version its 5.4…
this mean i need to upgrade the server version to 5.6…
tqvm

ok i finally manage to run the update but got this error

[publisher@ihost ~]$ cd public_html/ojs
[publisher@ihost ojs]$ php tools/upgrade.php upgrade
[pre-install]
[load: upgrade.xml]
[version: 3.1.1.2]

[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 “424-1281-1-RV.docx” in "/home/publisher/pub
very long warning about missing file
WARNING: Unable to find a match for “2897-9756-1-RV.doc” in “/home/publisher/pub lic_html/ojs/files/journals/17//articles/2897/”. 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]

[code: Installer Installer::migrateStaticPagesToNavigationMenuItems]

[code: Installer Installer::migrateSRLocale]

[code: Installer Installer::concatenateIntoAbout]
PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_ html/ojs/classes/install/Upgrade.inc.php on line 2096
PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_ html/ojs/classes/install/Upgrade.inc.php on line 2096
PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_ html/ojs/classes/install/Upgrade.inc.php on line 2096
PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_ html/ojs/classes/install/Upgrade.inc.php on line 2096
PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_ html/ojs/classes/install/Upgrade.inc.php on line 2096
PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_ html/ojs/classes/install/Upgrade.inc.php on line 2096

[code: Installer Installer::concatenateIntoMasthead]
PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_ html/ojs/classes/install/Upgrade.inc.php on line 2255
PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_ html/ojs/classes/install/Upgrade.inc.php on line 2255
PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_ html/ojs/classes/install/Upgrade.inc.php on line 2255
PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_ html/ojs/classes/install/Upgrade.inc.php on line 2255
PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_ html/ojs/classes/install/Upgrade.inc.php on line 2255
PHP Warning: Invalid argument supplied for foreach() in /home/publisher/public_ html/ojs/classes/install/Upgrade.inc.php on line 2255

[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]
[data: dbscripts/xml/upgrade/3.0.0_update.xml]

[code: Installer Installer::clearDataCache]

[code: Installer Installer::migrateUserRoles]

[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]

[code: Installer Installer::convertEditorDecisionNotes]

[code: Installer Installer::convertQueries]

[code: Installer Installer::migrateFiles]
WARNING: Unable to find a match for “1149-4043-1-RV.docx” in “/home/publisher/pu blic_html/ojs/files/journals/9//articles/1149/”. Skipping this file.

[code: Installer Installer::convertSupplementaryFiles]

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

Invalid file!

ojs2: Invalid file! [publisher@ihost ojs]$

Hi @mohd_arshad

I think this patch/changes should solve the last problem: pkp/pkp#3783 consider supp files without file id in the migration by bozana · Pull Request #2009 · pkp/ojs · GitHub 2.

Do not forget to always restore the clean OJS 2 backup when starting a new upgrade attempt…

Best,
Bozana

thank you @bozana and @asmecher for the support. i finally manage to upgrade the ojs to 3.1.1.2. all this is done on a backup server. i will scrutinize the installation first and then make the real upgrade.
thank you very much again.

1 Like

Hi @bozana

I’ve the same error massage of @mohd_arshad:

[code: Installer Installer::provideSupplementaryFilesForReview]

Invalid file!

ojs2: Invalid file!

I’ve applied the patch suggested by you (pkp/pkp#3783 consider supp files without file id in the migration by bozana · Pull Request #2009 · pkp/ojs · GitHub)

but this do not resolve my problem.

My situation is:

  • upgrading from OJS 2.4.8-3 to OJS 3.1.1-2
  • PHP version : 7.1.6
  • MySQL version 5.5.45
  • upgrade done via command line (tools/upgrade.php upgrade)

Here is the log of the upgrade with the error:
PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 0
[pre-install]
[load: upgrade.xml]
[version: 3.1.1.2]

[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/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/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/vhosts/actaitalica-ojs-new.archicoop.it/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/vhosts/actaitalica-ojs-new.archicoop.it/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/vhosts/actaitalica-ojs-new.archicoop.it/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/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
[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 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352

[code: Installer Installer::migrateStaticPagesToNavigationMenuItems]
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352

[code: Installer Installer::migrateSRLocale]

[code: Installer Installer::concatenateIntoAbout]
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352

[code: Installer Installer::concatenateIntoMasthead]
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352

[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 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/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/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/submission/SubmissionLanguageEntryDAO.inc.php on line 0
PHP Warning: Declaration of SubmissionAgencyEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/submission/SubmissionAgencyEntryDAO.inc.php on line 0
[data: dbscripts/xml/upgrade/3.0.0_update.xml]

[code: Installer Installer::clearDataCache]

[code: Installer Installer::migrateUserRoles]
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352

[code: Installer Installer::fixReviewForms]

[code: Installer Installer::htmlifyEmailTemplates]
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
[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 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352

[code: Installer Installer::convertEditorDecisionNotes]

[code: Installer Installer::convertQueries]
PHP Warning: Declaration of SubmissionFileDAO::fromRow($row) should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/classes/article/SubmissionFileDAO.inc.php on line 23

[code: Installer Installer::migrateFiles]
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
WARNING: Unable to find a match for “8-16-1-SP.pdf” in “/var/www/vhosts/files/journals/1//articles/8/”. Skipping this file.
WARNING: Unable to find a match for “10-13-1-SM.rtf” in “/var/www/vhosts/files/journals/1//articles/10/”. Skipping this file.

[code: Installer Installer::convertSupplementaryFiles]
PHP Notice: unserialize(): Error at offset 127 of 756 bytes in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/db/DAO.inc.php on line 352
PHP Warning: copy(/var/www/vhosts/files/journals/1//articles/8/attachment/8-1-16-1-13-20120126.pdf): failed to open stream: No such file or directory in /var/www/vhosts/actaitalica-ojs-new.archicoop.it/lib/pkp/classes/file/FileManager.inc.php on line 159

[code: Installer Installer::provideSupplementaryFilesForReview]

Invalid file!

ojs2: Invalid file!

I think its better to post your error in you own post so we can break down much easy. And also post your log before you apply the patch. I think that there is multiple error that i dont know how to solve.

ok, I’ll do it

thanks

Crosslink: Error upgrading from 2.4.8 to 3.1.1: "Invalid file!"