Upgrade Guide


# Upgrading from older versions

If you're using olders versions of AiDex and want to upgrade to the latest version without causing data loss. You can follow these steps:

  1. Using your hosting provider's file manager or an FTP client create a folder for the new version and name it "new".
  2. Upload the new update in that destination folder, and extract it there.

  1. Replace new > storage withstorage.

  2. Take new > public contents (EXCEPT index.php) and put them in public_html, do not delete any existing folders in public_html folder.

  3. Delete new > public

  4. Copy all .env contents to new > .env.

  5. If you're having any Modules Installed, Make sure to copy Modules directory contents to new > Modules, As well As modules_statuses.json to new > modules_statuses.json.

  6. Open new > .env and edit the line bellow:

IS_UPGRADED=true

set it as:

IS_UPGRADED=false

If you can't find this line, just add it at the end of the .env file.

  1. Now create a backup for your old version of the app. create a folder named "old" and put all the files insider. (Pay attention to not move new with them).

  1. Now, take all new contents and put them directly in files folder.

  2. Using your web browser, navigate to yourdomain.co/upgrade, & click upgrade.

  1. Preview the updates on your web browser. if anything occurred you should be ready to go and delete the old folder.