Thanks Alec,
managed to get the dependencies installed (Composer and Node).
Then I got a different error:
PHP Fatal error: require_once(): Failed opening required ‘/var/www/html/ojs/plugins/generic/citationStyleLanguage/lib/vendor/autoload.php’ (include_path=‘/var/www/html/ojs/lib/pkp/lib/vendor/phpunit/phpunit-selenium:.:/var/www/html/ojs/classes:/var/www/html/ojs/pages:/var/www/html/ojs/lib/pkp:/var/www/html/ojs/lib/pkp/classes:/var/www/html/ojs/lib/pkp/pages:/var/www/html/ojs/lib/pkp/lib/adodb:/var/www/html/ojs/lib/pkp/lib/phputf8:/var/www/html/ojs/lib/pkp/lib/pqp/classes:/var/www/html/ojs/lib/pkp/lib/smarty:.:/usr/share/php’) in /var/www/html/ojs/plugins/generic/citationStyleLanguage/CitationStyleLanguagePlugin.inc.php on line 17
It seems that the plugin should load some libraries, but it fails to locate them?
I tried deleting the citationStyleLanguage plugin, and I got the OJS 3 working!
I’m trying to do a test upgrade from 2.4.8.2 to 3.1 in an Ubuntu Server 17.10. I used installed=Off in config.inc.php and pointed the browser to ojs directory. This shows me the OJS Installation page. I then clicked on the ‘click here’ link under Upgrade, and then Upgrade Open Journal Systems. Again, I got the 500 error, looking into logs, the problem was now the paypal plugin
PHP Fatal error: require_once(): Failed opening required ‘/var/www/html/ojs/plugins/paymethod/paypal/vendor/autoload.php’
Deleted that plugin also, and i tried the CLI method for database upgrade (that was also not working before I deleted the paypal plugin). This time the php upgrade was working, but it’s throwing out all sorts of different errors (file permissions, php errors, …), finally ending with an error:
ERROR: Upgrade failed: DB: Duplicate entry ‘1702-3-2’ for key ‘review_rounds_submission_id_stage_id_round_pkey’
There was too much text output from the upgrade script, so I lost most of the text. Is the upgrade.php generating a log file somewhere?
Interestingly, OJS 3.1 is now working, but the webpage is without CSS:
I can follow the links, I can even login as a user of the old OJS. However, PDF is not showing, I get an error “Message: stream must have data” - this probably related to the file permission errors that were showing during upgrade.
If I go the the Dashboard, I get a properly styled paged (in OJS 3 default theme), but whatever I click there I get a white screen with the error {“status”:true,“content”:"\n\n\t</span>\n\t\t\tHelp\n\t</a>\n\n.
So I’m lost with the upgrade process… I don’t want to see this happening in our production site. I wanted to use the Git method of installation, so that the upgrades would be easier, but I guess I don’t know how to use Git properly.
What would be the best way to upgrade from 2.4 to 3.1? I really want to upgrade the system…
Regards,
Ales