Tidepodracer
I wouldn't recommend CPanel anyways, it's usually trash lol There are many ways:
- You can copy + force replace (eg.
cp -aR /path/to/upload/* /path/to/site/
)
- Be careful though this command forces the replace and does not prompt for each file. This can be dangerous if you don't know what you are doing. You can remove the
a
from -aR
to not force but you'll have to confirm like hundreds of files; file-by-file.
- You can completely move the new files and overwrite the existing files with something like the
mv
command (eg. mv /path/to/upload/* /path/to/site/
).
- Be careful though as this does not keep a copy of the new files. It completely moves them from the upload folder.
- You can rename the existing directory, create a new directory, put all the contents there, and copy over the
include/ost-config.php
file
There are other ways as well; just do whatever you are most comfortable with. Ideally you'd want to backup and move the old files away from the site directory, copy over the new files, copy over any plugins, and copy over the config file so there are no lingering old files, etc. from the previous version.
As mentioned above you definitely would want to backup the site files (you can zip them, copy/move them, etc.) and database (eg. by using mysqldump
command - best option imo) just in case. This upgrade shouldn't touch the database at all (since it's a minor upgrade) however it's good to get in the habit of it now. If you were upgrading from 1.17.x to 1.18.x then it would touch the database and prompt the upgrader.
Cheers.