I am new in the ojs administration, one box was give to me for that, the actual version in production is 2.4.5 with patch 2.4.8-2 aplieded, my problem is that I want to upgrade to 2.4.8-3 an run the command $php tools/upgrade.php upgrade , always the message “ERROR: Upgrade failed: DB: ERROR: must be owner of relation versions_pkey” is show it, I don’t undestand what is the real solution.
That message is coming from MySQL (or PostgreSQL) – you’ll probably need to resolve it with a GRANT SQL statement. I’d suggest searching for must be owner of relation e.g. on StackOverflow.
Regards,
Alec Smecher
Public Knowledge Project Team
Thanks really the problem was fixed with the GRAND directive, but now when I try going from ojs-2.4.8-3 to ojs-.3.0.0 the next message appears “ERROR: Upgrade failed: DB: ERROR: type “serial” does not exist” I make the proof with ojs-3.0.0 after the same message was display trying with ojs-3.1.1.1-1. What is wrong?
Thaks for your answer, I have the patch (postgresql-serials.diff) but I don´t know how apply it, do you can explain me, please? o maybe say me where is the explanation about.
I wouldn’t suggest trying to upgrade to version 3.0.0 – that’s now quite out of date. Please get the most recent version of OJS 3.x from the OJS download page.
Regards,
Alec Smecher
Public Knowledge Project Team
In the update process from 2.4.8 version to 3.1.1-1 the process top with the next messages:
PHP Warning: copy(/opt/archivos_ojs1/journals/3//articles/2583/submission/proof/2583-110-12619-1-10-20180318.jpeg): failed to open stream: No such file or directory in /var/www/ojs-3.1.1-1/lib/pkp/classes/file/FileManager.inc.php on line 159
PHP Warning: assert(): Assertion failed in /var/www/ojs-3.1.1-1/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 285