I inherited OJS administration duties from a colleague who left the organization. I want to migrate OJS 2.4.5 to 3.1 later on, but first I would like to clean it up. Could you help me figure out what’s where?
It is Ubuntu 16. Most stuff seems to be in /var/www/html. It has the following folders: OurJournal (which contains one folder per each year of its existence), cache, classes, controllers, dbscripts, docs, help, js, lib, locale, ocs, pages, phpMyAdmin, plugins, public, registry, rt, styles, templates, tools. I also has the following files: config.inc.php, cron-php.log, favicon.ico, index.php, info2html.css, maintenance.html, robots.txt.
One of this folders - ocs - seems to have duplicate folders: cache, classes, dbscripts, docs, help, lib, locale, pages, plugins, public, registry, rt, styles, templates, tools; as well as files: config.inc.php, favicon.ico, index.php, robots.txt.
So, the question is - how to find out which directory - /var/www/html or /var/www/html/ocs is actually used by our OJS and is it safe to delete unnecessary folders and files in one of the directories?