After upgrading to OJS 3.0 from OJS 2.x, lots of mails are triggered to the root user.
I had followed this fix.
But in vain.
Please help me with a fix.
After upgrading to OJS 3.0 from OJS 2.x, lots of mails are triggered to the root user.
I had followed this fix.
But in vain.
Please help me with a fix.
@bozana I haven’t tried any code patching, just followed the 4 steps
Hi @mithunjj
I think you should definitely remove these lines in the code: pkp/pkp-lib#1838 Automatic emails for open access/subscription trigge… · mfelczak/ojs@15ef1ed · GitHub, but you could maybe also apply the whole patch: pkp/pkp-lib#1838 Automatic emails for open access/subscription trigge… by mfelczak · Pull Request #1034 · pkp/ojs · GitHub
and then do all the 4 steps again.
I hope that then you will not get any such emails…
Best,
Bozana
I’m a OJS newbie
How can I apply this patch? Should I just replace the files.
You should download the patch in a diff format. Diff format you will get adding .diff
at the end of the commit URL, i.e. here: https://github.com/pkp/ojs/commit/12468cc6438e0914f8209a9bb35285fce8b5e772.diff
Then you can use the command line to patch: patch -p1 < patch_file.diff
.
With the option “–dry-run” you can first test the patch, if it can be applied without problems, like this: patch --dry-run -p1 < patch_file.diff
. If that goes well, that you can apply the path without that option, like above.
Best,
Bozana