I am trying to update my OJS 3.0.1 to the latest version (3.0.2).
I have made local changes in the templates files but I haven’t got installed by git, so the first method that I tried was the full package and then, when everything will be installed, I will modify again the templates. To upgrade via full package I follow the instructions in docs/UPGRADE: copy the config.inc.php, /public and the files folder, and then I replace the directories. However, it didn’t works fine because in the installation screen, at the top, there was this error messages.
I decided that I could try to install OJS via git to solve this problems and be easier to update in the future. For that, I followed the instructions in PKP wiki. Nothing got an error, everything perfect. However, when I open the website I can only see a white page and I can’t access to any URL that I have in the history. Then I remember an error: I didn’t upgrade the database. For that I followed the instructions in docs/UPGRADE: “installed” = on, then run the upgrade script (without any error) and the “installed” = off. But everything was the same: white page. I look in the log of the upgrade script to check something wrong and I find something that I don’t understand:
Successfully upgraded to version 126.96.36.199
I understand reading this that the script downgrade my database from 3.0.1 to 3.0.0… But I don’t understand why, because installing OJS via should install the latest version, no? I think that it could be solved with git rebase, but it doesn’t works:
$ git rebase --onto ojs-3.0.2-0 ojs-3.0.0-0
fatal: Needed a single revision
Does not point to a valid commit:
Could anyone help me with that?
Thanks in advance!