When I open my Hostinger cPanel (hPanel), I see two files:
- public_html
- Do not copy here
The public_html folder contains numerous files and subfolders, including:
- tools
- templates
- styles
- schema
- registry
- public
- local
- madeAdmin
- config.inc.php
- ojs (folder)
The ojs folder contains subfolders like:
- usageStats
- site
- scheduledTasksLogs
- journals (folder)
- contexts
The journal folder contains subfolders with serial numbers, each containing published articles, etc etc. For the OJS 3.4 to OJS 3.5.0.0 upgrade, I need guidance on:
- Where to extract the OJS 3.5.0.0 package?
- Which files from the old installation should I move to the new OJS 3.5.0.0 folder?
Some people have mentioned that my file pathways might be incorrect. If that’s the case, how can I fix them?
Hi @Dr_Junaid_Khan,
Our upgrade guide goes into detail on how to conduct an upgrade speaks to many of your questions that you pose: https://docs.pkp.sfu.ca/dev/upgrade-guide/en/
-Roger
PKP Team
1 Like
Hi @Dr_Junaid_Khan,
If your files_dir
setting inside config.inc.php
points to the ojs
folder inside public_html
, then you’re probably at risk of getting hacked. As noted in the configuration file (and elsewhere), the files_dir
must point to somewhere outside the web root in order for your installation to be secure.
Regards,
Alec Smecher
Public Knowledge Project Team
2 Likes
@asmecher i have been trying to understand the steps involved in upgrading from ojs 3.4 to 3.5.
everything seems confusing to me when i tried to follow the guidelines in the link. I kindly need assistance with the upgrade.
the instance, the first step requires re-writing some command lines. i do not know where to find these lines.
step 2 requires i disable execution of background tasks. i do not know how to do these.
Step 3: how do i prevent access to visitors
Step 4: I know how to create backup. this is the only thing i understand in the whole process
Step 5: how do i create a sandbox?
Step 6: I already downloaded the release package
i don’t quite understand the rest. I need help
I didn’t know that,thank you
Can I move config.inc.php to outside public_html and place it parallel to public _html? will it be fine?