-
Notifications
You must be signed in to change notification settings - Fork 220
Upgrading Hashtopolis
Back up /inc/Encryption.class.php
, /inc/db.php
and possibly the /files
folder before attempting to update!
(you have been warned)
We do not support upgrading from "Legacy Hashtopolis". If you are running the Bitbucket version of this program, you must completely re-install.
Grab an updated copy of Hashtopolis:
We don't care how you do it - just make sure that it's the newest version.
Options include:
-
git clone https://github.com/s3inlc/hashtopolis.git
-
git pull
in an existing repository -
Download as a zip.
Once you have an updated git repo, you can replace your current working install with the new version.
cp -prv /home/<user>/hashtopolis/src/* /var/www/hashtopolis/
Restore your load.php, Encryption.class.php, and files dir (if applicable).
cp ./Encryption.class.php /var/www/hashtopolis/inc/
Load upgrade script(s)
php -f /var/www/hashtopolis/install/updates/update_vX.X.X_vX.X.X.php
If you are multiple versions behind:
Be certain to run all of the upgrade scripts that fall between your previous version and the target version.
DO NOT just jump to the newest version - they must be followed in order!