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:

Replace new > storage withstorage, and delete any content inside storage > framework > views.
Take new > public contents (EXCEPT index.php) and put them in public_html, do not delete any existing folders in public_html folder.

Delete new > public

Copy all .env contents to new > .env.
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.
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.

Now, take all new contents and put them directly in files folder.
Using your web browser, navigate to yourdomain.co/upgrade, & click upgrade.
