Cryptitan
Search…
Updating
How to apply updates.
To apply update, you need to login to your server as the user account created at the point of installation.
You should take a look at the Change Logs for the version you are trying to update to before you start, there might be additional setups required for successful update.
After installation, don't rename your project folder. If you do so, a new instance of cryptitan will be built on the next startup.
  • Navigate to the home directory i.e. /home/neoscrypts/
1
cd ~
Copied!
  • Make a backup of the project folder. For example, if your project folder is called cryptitan, run the following command to save a copy into another folder, e.g. cryptitan-backup
1
rsync -a cryptitan/ cryptitan-backup/
Copied!
The ending slash "/" of the source and destination directory is required.
You should make a backup of the folder before you proceed, so you will be able to rollback in the event of an unexpected error.
  • Upload the update file using WinSCP to your home directory. (see: Uploading via SFTP).
  • Unzip the uploaded file.
1
unzip cryptitan-source-file.zip
Copied!
cryptitan-source-file.zip here is the name of the zip file as downloaded from the marketplace. Example of the zip file, downloaded from CodeCanyon looks like: codecanyon-71g9eMsC-cryptitan-multi...
You should have a folder, e.g. cryptitan-2.0.0, where 2.0.0 is the version you want to update to.
Copy and overwrite the new files into cryptitan directory:
1
rsync -a cryptitan-2.0.0/ cryptitan/
Copied!
The ending slash "/" of the source and destination directory is required.
Navigate into cryptitan directory and run the command:
1
./cryptitan update
Copied!
Finally, run the command to rebuild and start:
1
./cryptitan recreate
Copied!

Rolling Back

In the event of an unexpected error, and you need to rollback to a previous state.
Rolling back is not the best solution in some situations. This is because there are changes that could have been made on the database that is not compatible with the older version. If you experience any bug, submit it to us and we will patch it as soon as possible.
Copy and overwrite the project files from the backup location:
1
rsync -a cryptitan-backup/ cryptitan/
Copied!
Navigate into cryptitan directory and run the command:
1
./cryptitan update
Copied!
Finally, run the command to rebuild and start:
1
./cryptitan recreate
Copied!
Copy link
Contents
Rolling Back