I am trying to upgrade my ojs from 2.4.8.1 to 3.1.2-4. I have warnings and errors that I don’t understand and I don’t kwow how to proceed.
Some files don’t exist. I think there are records in the database but not in the data folder:
[27-Dec-2019 23:49:31 UTC] WARNING: Unable to find a match for “40-172-1-RV.pdf” in “/home/_ojsdata/journals/11//articles/40/”. Skipping this file.
[27-Dec-2019 23:49:31 UTC] WARNING: Unable to find a match for “41-175-1-RV.pdf” in “/home/_ojsdata/journals/11//articles/41/”. Skipping this file.
Error with unserialize funtion.
[27-Dec-2019 23:56:56 UTC] PHP Notice: unserialize(): Error at offset 3882 of 4099 bytes in /_ojs3/lib/pkp/classes/db/DAO.inc.php on line 352
[27-Dec-2019 23:56:57 UTC] PHP Notice: unserialize(): Error at offset 72 of 3768 bytes in /_ojs3/lib/pkp/classes/db/DAO.inc.php on line 352
Error with getFileId() funtion:
[28-Dec-2019 01:09:36 UTC] PHP Warning: assert(): assert(is_readable($sourceFile)) failed in /_ojs3/lib/pkp/classes/submission/SubmissionFileDAODelegate.inc.php on line 112
[28-Dec-2019 01:09:36 UTC] PHP Warning: copy(_ojsdata/journals/7//articles/96/submission/proof/96-38-268-1-10-20111118.doc): failed to open stream: No such file or directory in /_ojs3/lib/pkp/classes/file/FileManager.inc.php on line 162
[28-Dec-2019 01:09:36 UTC] PHP Fatal error: Uncaught Error: Call to a member function getFileId() on null in /_ojs3/lib/pkp/classes/file/SubmissionFileManager.inc.php:184
Thank you very much. I really appreciate your help.
I think that I solved it bu now I have the new message error:
"[code: Installer Installer::convertCommentsToEditor]
[note: docs/release-notes/README-3.0]
[note: docs/release-notes/README-3.0.1]
[data: dbscripts/xml/upgrade/3.0.2_update.xml]
[note: docs/release-notes/README-3.0.2]
[code: Installer Installer::moveReviewerFiles]
There are no readable files in this directory tree. Are safe mode or open_basedir active?
"
I think the folder have already the readable permissions.
I am sorry to introduce a new topic. I think that I have solved the problem due to error values in the database, the upgrade have been done successfully
thank you very much, I really appreciate your dedication.