META

Ramses Server update

Warning

The procedure to install and to update Ramses differ a bit. Do not follow the installation procedure to update your server, as it will wipe all your data!

It is also a good habit to always backup the data before updating.

Before updating, it is always a good habit to backup your data!

  1. Backup the server files (php): download them or move them to another folder. If you’re using SQLite, the database is included in these files, it is called ramses_data.
  2. Backup the data if you’re using a MySQL server. Use phpMyAdmin to export the database, or any backup provided by your web hosting provider.
  3. Keep a copy of all files which names start with config (there should be: config.php, config_security.php, config_logs.php) in a safe place! If you lose the information from these files, you’ll permanently lose access to part or all of your data, and nobody will ever be able to retrieve it. But be careful, if anyone gets access to them, they will be able to access and decrypt your data without you knowing it.

With this copy of your server, you’ll be able to easily retrieve your data or revert to the previous version if anything goes wrong.

The safe update procedure is as follow:

  1. Un-Zip the Ramses Server update package you’ve downloaded.
  2. Download the current config.php, config_security.php and config_logs.php from your server and keep them safe.
  3. Update the new version of config.php with the same information from the one you’ve just retrieved.
  4. Update the new version of config_logs.php with the same information from the one you’ve just retrieved.
  5. Note that it’s a good habit to keep a backup copy of these files offline.
  6. Upload all files and folders from the update package to your server, except the folder named install.
  7. Go to http://yourserver.com/ramses/update (of course, replace the first part of this URL with your actual server address). The page may take some time to load.
  8. You can then remove the update and install folder from the server, everything is ready.

Note

In the future, when Ramses won’t be in a test version anymore, there should be an automatic update procedure.