After the first upgrade, it wasn’t successful.
- New copy of package 3.0.2.
- Changed owner of files, cache, public, config.inc to apache, the rest remain as after the unpacking, and permission to 777 (for testing purposes).
- The files directory used was the one i had managed to avoid all the erros i’ve faced before.
- GeoLiteCity.dat in plugins/generic/usageStats
Now, this is what i got:
upgrade.php
[code: Installer Installer::migrateFiles]
[code: Installer Installer::convertSupplementaryFiles]
Warning: copy(/home/files/journals/3//articles/1440/attachment/1440-1-3683-1-13-20121214.jpg): failed to open stream: No such file or directory in /var/www/html/ojs32/lib/pkp/classes/file/FileManager.inc.php on line 159
Warning: assert(): Assertion failed in /var/www/html/ojs32/lib/pkp/classes/submission/SubmissionFileDAODelegate.inc.php on line 132
Warning: copy(/home/files/journals/3//articles/1440/attachment/1440-1-3686-1-13-20121214.jpg): failed to open stream: No such file or directory in /var/www/html/ojs32/lib/pkp/classes/file/FileManager.inc.php on line 159
Warning: assert(): Assertion failed in /var/www/html/ojs32/lib/pkp/classes/submission/SubmissionFileDAODelegate.inc.php on line 132
Warning: copy(/home/files/journals/3//articles/1458/attachment/1458-1-3750-1-13-20130102.jpg): failed to open stream: No such file or directory in /var/www/html/ojs32/lib/pkp/classes/file/FileManager.inc.php on line 159
Warning: assert(): Assertion failed in /var/www/html/ojs32/lib/pkp/classes/submission/SubmissionFileDAODelegate.inc.php on line 132
Warning: copy(/home/files/journals/3//articles/1458/attachment/1458-1-3754-1-13-20130102.jpg): failed to open stream: No such file or directory in /var/www/html/ojs32/lib/pkp/classes/file/FileManager.inc.php on line 159
(it goes on…)
Warning: copy(/home/files/journals/28//articles/3953/attachment/3953-1-15045-1-13-20170111.jpg): failed to open stream: No such file or directory in /var/www/html/ojs32/lib/pkp/classes/file/FileManager.inc.php on line 159
Warning: assert(): Assertion failed in /var/www/html/ojs32/lib/pkp/classes/submission/SubmissionFileDAODelegate.inc.php on line 132
[code: Installer Installer::setFileUploader]
Fatal error: Call to a member function getId() on a non-object in /var/www/html/ojs32/classes/install/Upgrade.inc.php on line 930
- these were exactly the kind of errors i had concerning files, and now its complaining about jpg files which extension was uppercase (.JPG) that i changed, and 2 pdf files that dont exist (i might have to the same as before and “create” them).
/var/log/php_errors.log
[23-Mar-2017 12:06:58 Europe/Lisbon] WARNING: Unable to find a match for “3953-15 044-1-SP.JPG” in “/home/files/journals/28//articles/3953/”. Skipping this file.
[23-Mar-2017 12:06:58 Europe/Lisbon] WARNING: Unable to find a match for “3953-15 045-1-SP.JPG” in “/home/files/journals/28//articles/3953/”. Skipping this file.
[23-Mar-2017 12:06:58 Europe/Lisbon] WARNING: Unable to find a match for “3752-14 104-1-SP.JPG” in “/home/files/journals/28//articles/3752/”. Skipping this file.
[23-Mar-2017 12:06:58 Europe/Lisbon] WARNING: Unable to find a match for “3752-14 105-1-SP.JPG” in “/home/files/journals/28//articles/3752/”. Skipping this file.
[23-Mar-2017 12:06:58 Europe/Lisbon] WARNING: Unable to find a match for “3752-14 106-1-SP.JPG” in “/home/files/journals/28//articles/3752/”. Skipping this file.
[23-Mar-2017 12:06:58 Europe/Lisbon] WARNING: Unable to find a match for “3752-14 107-1-SP.JPG” in “/home/files/journals/28//articles/3752/”. Skipping this file.
[23-Mar-2017 12:06:58 Europe/Lisbon] WARNING: Unable to find a match for “3752-14 108-1-SP.JPG” in “/home/files/journals/28//articles/3752/”. Skipping this file.
[23-Mar-2017 12:06:58 Europe/Lisbon] WARNING: Unable to find a match for “3752-14 109-1-SP.JPG” in “/home/files/journals/28//articles/3752/”. Skipping this file.
[23-Mar-2017 12:07:00 Europe/Lisbon] WARNING: Unable to find a match for “1410-35 69-2-SM.pdf” in “/home/files/journals/27//articles/1410/”. Skipping this file.
[23-Mar-2017 12:07:00 Europe/Lisbon] WARNING: Unable to find a match for “1699-64 95-1-LE.pdf” in “/home/files/journals/1//articles/1699/”. Skipping this file.
(it goes on with more jpg…)
[23-Mar-2017 12:07:12 Europe/Lisbon] PHP Warning: copy(/home/files/journals/3//a rticles/1440/attachment/1440-1-3683-1-13-20121214.jpg): failed to open stream: No such file or directory in /var/www/html/ojs32/lib/pkp/classes/file/FileManager.i nc.php on line 159
[23-Mar-2017 12:07:12 Europe/Lisbon] PHP Warning: assert(): Assertion failed in /var/www/html/ojs32/lib/pkp/classes/submission/SubmissionFileDAODelegate.inc.php on line 132
[23-Mar-2017 12:07:12 Europe/Lisbon] PHP Warning: copy(/home/files/journals/3//a rticles/1440/attachment/1440-1-3686-1-13-20121214.jpg): failed to open stream: No such file or directory in /var/www/html/ojs32/lib/pkp/classes/file/FileManager.i nc.php on line 159
[23-Mar-2017 12:07:12 Europe/Lisbon] PHP Warning: assert(): Assertion failed in /var/www/html/ojs32/lib/pkp/classes/submission/SubmissionFileDAODelegate.inc.php on line 132
[23-Mar-2017 12:07:14 Europe/Lisbon] PHP Warning: copy(/home/files/journals/3//a rticles/1458/attachment/1458-1-3750-1-13-20130102.jpg): failed to open stream: No such file or directory in /var/www/html/ojs32/lib/pkp/classes/file/FileManager.i nc.php on line 159
[23-Mar-2017 12:07:14 Europe/Lisbon] PHP Warning: assert(): Assertion failed in /var/www/html/ojs32/lib/pkp/classes/submission/SubmissionFileDAODelegate.inc.php on line 132
(…)
[23-Mar-2017 12:07:43 Europe/Lisbon] PHP Fatal error: Call to a member function getId() on a non-object in /var/www/html/ojs32/classes/install/Upgrade.inc.php on line 930
/var/log/httpd/error_log
[Thu Mar 23 12:12:13 2017] [error] [client -ip] ojs2: 404 Not Found, referer: http://-ip/ojs32/
[Thu Mar 23 12:12:13 2017] [error] [client -ip] PHP Warning: require_once(/var/www/html/plugins/generic/alm/ArticleInfoSender.inc.php): failed to open stream: No such file or directory in /var/www/html/lib/pkp/includes/functions.inc.php on line 25, referer: http://-ip/ojs32/
[Thu Mar 23 12:12:13 2017] [error] [client -ip] PHP Fatal error: require_once(): Failed opening required ‘/var/www/html/plugins/generic/alm/ArticleInfoSender.inc.php’ (include_path=’.:/var/www/html/classes:/var/www/html/pages:/var/www/html/lib/pkp:/var/www/html/lib/pkp/classes:/var/www/html/lib/pkp/pages:/var/www/html/lib/pkp/lib/adodb:/var/www/html/lib/pkp/lib/phputf8:/var/www/html/lib/pkp/lib/pqp/classes:/var/www/html/lib/pkp/lib/smarty:.:/usr/share/pear:/usr/share/php’) in /var/www/html/lib/pkp/includes/functions.inc.php on line 25, referer: http://-ip/ojs32/
[Thu Mar 23 12:12:13 2017] [error] [client -ip] PHP Warning: require_once(/var/www/html/ojs32/plugins/generic/pln/classes/tasks/Depositor.inc.php): failed to open stream: No such file or directory in /var/www/html/ojs32/lib/pkp/includes/functions.inc.php on line 25
[Thu Mar 23 12:12:13 2017] [error] [client -ip] PHP Fatal error: require_once(): Failed opening required ‘/var/www/html/ojs32/plugins/generic/pln/classes/tasks/Depositor.inc.php’ (include_path=’.:/var/www/html/ojs32/classes:/var/www/html/ojs32/pages:/var/www/html/ojs32/lib/pkp:/var/www/html/ojs32/lib/pkp/classes:/var/www/html/ojs32/lib/pkp/pages:/var/www/html/ojs32/lib/pkp/lib/adodb:/var/www/html/ojs32/lib/pkp/lib/phputf8:/var/www/html/ojs32/lib/pkp/lib/pqp/classes:/var/www/html/ojs32/lib/pkp/lib/smarty:.:/usr/share/pear:/usr/share/php’) in /var/www/html/ojs32/lib/pkp/includes/functions.inc.php on line 25
[Thu Mar 23 12:12:37 2017] [error] [client -ip] ojs2: 404 Not Found
[Thu Mar 23 12:12:37 2017] [error] [client -ip] PHP Warning: require_once(/var/www/html/classes/tasks/ReviewReminder.inc.php): failed to open stream: No such file or directory in /var/www/html/lib/pkp/includes/functions.inc.php on line 25
[Thu Mar 23 12:12:37 2017] [error] [client -ip] PHP Fatal error: require_once(): Failed opening required ‘/var/www/html/classes/tasks/ReviewReminder.inc.php’ (include_path=’.:/var/www/html/classes:/var/www/html/pages:/var/www/html/lib/pkp:/var/www/html/lib/pkp/classes:/var/www/html/lib/pkp/pages:/var/www/html/lib/pkp/lib/adodb:/var/www/html/lib/pkp/lib/phputf8:/var/www/html/lib/pkp/lib/pqp/classes:/var/www/html/lib/pkp/lib/smarty:.:/usr/share/pear:/usr/share/php’) in /var/www/html/lib/pkp/includes/functions.inc.php on line 25
browser window
404 Not Found
Stack Trace:
File: /var/www/html/lib/pkp/classes/core/PKPPageRouter.inc.php line 203
Function: Dispatcher->handle404()
File: /var/www/html/lib/pkp/classes/core/Dispatcher.inc.php line 134
Function: PKPPageRouter->route(Object(Request))
File: /var/www/html/lib/pkp/classes/core/PKPApplication.inc.php line 227
Function: Dispatcher->dispatch(Object(Request))
File: /var/www/html/index.php line 68
Function: PKPApplication->execute()
Warning: require_once(/var/www/html/classes/tasks/ReviewReminder.inc.php): failed to open stream: No such file or directory in /var/www/html/lib/pkp/includes/functions.inc.php on line 25 Fatal error: require_once(): Failed opening required ‘/var/www/html/classes/tasks/ReviewReminder.inc.php’ (include_path=’.:/var/www/html/classes:/var/www/html/pages:/var/www/html/lib/pkp:/var/www/html/lib/pkp/classes:/var/www/html/lib/pkp/pages:/var/www/html/lib/pkp/lib/adodb:/var/www/html/lib/pkp/lib/phputf8:/var/www/html/lib/pkp/lib/pqp/classes:/var/www/html/lib/pkp/lib/smarty:.:/usr/share/pear:/usr/share/php’) in /var/www/html/lib/pkp/includes/functions.inc.php on line 25
What do you think? should i restore DB and files_dir with these errors fixed and try again?
Redo everything?
Thank you for your help!
Best regards