InfyProjects Upgrade Guide

Before starting upgrade we recommend to backup your files and export your current database.

Prerequisite

Before starting upgrade we recommend to back up your all files and export your current database.

so in case if anything goes wrong, you can restore the previous version.

  1. Backup your whole folder
  2. Backup & Export your database via phpymadmin

Backup Sensitive Files and Folders

Backup the following folders and files.

  1. File - .env
  2. Folder - Any new languages that you added in resources/lang/
  3. Folder - public/uploads/

Replace the latest code

  1. Delete all your existing code (you can also rename the current folder or move all content to some other folder, if possible)
  2. Upload the latest dist.zip to the server
  3. Extract the zip
  4. Put old .env file back
  5. Put resources/lang/ and public/uploads folder back (or you can merge)
  6. Edit .env and change UPGRADE_MODE=true
  7. Run a database upgrade script https://{YOUR_URL}/upgrade/database
  8. Edit .env and change UPGRADE_MODE=false
  9. Verify that latest version is visible in footer

Check everything is working fine.

Post Upgrade Steps

  1. Add newly added languages keys (if you have added a new languages)
  2. Apply/Replace any custom changes that you made to the code.

Hope your upgrade went well and working fine. If you are facing any problem with the upgrade, feel to contact our support at https://infyomlabs.authordesk.app

Old Upgrade Guide

Before starting upgrade we recommenced to backup your files and export your current database.

NOTE : If you are non-technical person then please use dist.zip to replace files and if you are technical person then use src.zip

Upgrading from v6.0.6 to v6.0.7

For Technical Users:

  • Download v6.0.7
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v6.0.7 files into your existing version v6.0.6
  • And run composer install to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v6.0.7

For Non Technical Users:

  • Download v6.0.7
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v6.0.7 files into your existing version v6.0.6
  • That's it! you are ready to go with new version v6.0.7

Upgrading from v6.0.5 to v6.0.6

For Technical Users:

  • Download v6.0.6
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v6.0.6 files into your existing version v6.0.5
  • And run composer install to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v6.0.6

For Non Technical Users:

  • Download v6.0.6
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v6.0.6 files into your existing version v6.0.5
  • That's it! you are ready to go with new version v6.0.6

Upgrading from v6.0.4 to v6.0.5

For Technical Users:

  • Download v6.0.5
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v6.0.5 files into your existing version v6.0.4
  • And run composer install to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v6.0.5

For Non Technical Users:

  • Download v6.0.5
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v6.0.5 files into your existing version v6.0.4
  • That's it! you are ready to go with new version v6.0.5

Upgrading from v6.0.3 to v6.0.4

For Technical Users:

  • Download v6.0.4
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v6.0.4 files into your existing version v6.0.3
  • And run composer install to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v6.0.4

For Non Technical Users:

  • Download v6.0.4
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v6.0.4 files into your existing version v6.0.3
  • That's it! you are ready to go with new version v6.0.4

Upgrading from v6.0.2 to v6.0.3

For Technical Users:

  • Download v6.0.3
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v6.0.3 files into your existing version v6.0.2
  • And run composer install to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v6.0.3

For Non Technical Users:

  • Download v6.0.3
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v6.0.3 files into your existing version v6.0.2
  • That's it! you are ready to go with new version v6.0.4

Upgrading from v6.0.1 to v6.0.2

For Technical Users:

  • Download v6.0.2
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v6.0.2 files into your existing version v6.0.1
  • And run composer install to make new build
  • And run php artisan migrate to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v6.0.2

For Non Technical Users:

  • Download v6.0.2
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v6.0.2 files into your existing version v6.0.1
  • Update database :
    • Open your phpMyAdmin.
    • Go to your database and select import tab.
    • Now in the latest version go to app/database/releases/v6.0.2/ you can find v6.0.2.sql.
    • Select that SQL file and import it.
  • That's it! you are ready to go with new version v6.0.2

Upgrading from v6.0.0 to v6.0.1

For Technical Users:

  • Download v6.0.1
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v6.0.1 files into your existing version v6.0.0
  • And run composer install to make new build
  • And run php artisan migrate to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v6.0.1

For Non Technical Users:

  • Download v6.0.1
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v6.0.1 files into your existing version v6.0.0
  • That's it! you are ready to go with new version v6.0.1

Upgrading from v5.2.0 to v6.0.0

For Technical Users:

  • Download v6.0.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v6.0.0 files into your existing version v5.2.0
  • And run composer install to make new build
  • And run php artisan migrate to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v6.0.0

For Non Technical Users:

  • Download v6.0.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v6.0.0 files into your existing version v5.2.0
  • Update database :
    • NOW PLEASE CALL THIS URL ONCE YOUR_APP_URL/upgrade-to-v6-0-0 to update your database
  • That's it! you are ready to go with new version v6.0.0

Upgrading from v5.1.0 to v5.2.0

For Technical Users:

  • Download v5.2.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v5.2.0 files into your existing version v5.1.0
  • And run composer install to make new build
  • And run php artisan migrate to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v5.2.0

For Non Technical Users:

  • Download v5.2.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v5.2.0 files into your existing version v5.1.0
  • Update database :
    • NOW PLEASE CALL THIS URL ONCE YOUR_APP_URL/upgrade-to-v5-2-0 to update your database
  • That's it! you are ready to go with new version v5.2.0

Upgrading from v5.0.0 to v5.1.0

For Technical Users:

  • Download v5.1.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v5.1.0 files into your existing version v5.0.0
  • And run composer install to make new build
  • And run php artisan migrate to make new build
  • And run php artisan db:seed --class=AddRoleClientPermissionSeeder to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v5.1.0

For Non Technical Users:

  • Download v5.1.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v5.1.0 files into your existing version v5.0.0
  • Update database :
    • Open your phpMyAdmin
    • Go to your database and select import tab
    • Now in latest version go to app/database/releases/v5.1.0/ you can find v5.1.0.sql
    • NOW PLEASE CALL THIS URL ONCE YOUR_APP_URL/upgrade-to-v5-1-0 to update your database
    • Select that SQL file and import it.
  • That's it! you are ready to go with new version v5.1.0

Upgrading from v4.1.0 to v5.0.0

For Technical Users:

  • Download v5.0.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v5.0.0 files into your existing version v4.1.0
  • And run composer install to make new build
  • And run php artisan migrate to make new build
  • And run php artisan db:seed --class=AddActivityLogPermission to make new build
  • And run php artisan db:seed --class=AddEventPermissionSeeder to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v5.0.0

For Non Technical Users:

  • Download v5.0.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v5.0.0 files into your existing version v4.1.0
  • Update database :
    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in latest version go to app/database/releases/v5.0.0/ you can find v5.0.0.sql
    • NOW PLEASE CALL THIS URL ONCE YOUR_APP_URL/upgrade-to-v5-0-0 to update your database.
    • Select that SQL file and import it.
  • That's it! you are ready to go with new version v5.0.0

Upgrading from v3.2.0 to v4.0.0

For Technical Users:

  • Download v4.0.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v4.0.0 files into your existing version v3.2.0
  • And run composer install to make new build
  • And run php artisan migrate to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v4.0.0

For Non Technical Users:

  • Download v4.0.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v4.0.0 files into your existing version v3.2.0
  • Update database :
    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in latest version go to app/database/releases/v4.0.0/ you can find v4.0.0.sql
    • Select that SQL file and import it.
  • That's it! you are ready to go with new version v4.0.0

Upgrading from v3.1.0 to v3.2.0

For Technical Users:

  • Download v3.2.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v3.2.0 files into your existing version v3.1.0
  • And run composer install to make new build
  • And run php artisan migrate to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v3.2.0

For Non Technical Users:

  • Download v3.2.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v3.2.0 files into your existing version v3.1.0

Upgrading from v3.0.0 to v3.1.0

For Technical Users:

  • Download v3.1.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v3.1.0 files into your existing version v3.0.0
  • And run composer install to make new build
  • And run php artisan migrate to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v3.1.0

For Non Technical Users:

  • Download v3.1.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v3.1.0 files into your existing version v3.0.0
  • Update database :
    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in latest version go to app/database/releases/v3.1.0/ you can find v3.1.0.sql
    • Select that SQL file and import it.
    • NOW PLEASE CALL THIS URL ONCE YOUR_APP_URL/upgrade-to-v3-1-0 to update your database.
  • That's it! you are ready to go with new version v3.1.0

Upgrading from v2.3.0 to v3.0.0

For Technical Users:

  • Download v3.0.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v3.0.0 files into your existing version v2.3.0
  • And run composer install to make new build
  • And run php artisan migrate to make new build
  • And run php artisan db:seed --class=AddExpensePermissionSeeder to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v3.0.0

For Non Technical Users:

  • Download v3.0.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v3.0.0 files into your existing version v2.3.0
  • Update database :
    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in latest version go to app/database/releases/v3.0.0/ you can find v3.0.0.sql
    • Select that SQL file and import it.
    • NOW PLEASE CALL THIS URL ONCE YOUR_APP_URL/upgrade-to-v3-0-0 to update your database.
  • That's it! you are ready to go with new version v3.0.0

Upgrading from v2.2.1 to v2.3.0

For Technical Users:

  • Download v2.3.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v2.3.0 files into your existing version v2.2.1
  • And run composer install to make new build
  • And run php artisan migrate to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v2.3.0

For Non Technical Users:

  • Download v2.3.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v2.3.0 files into your existing version v2.2.1
  • NOW PLEASE CALL THIS URL ONCE YOUR_APP_URL/upgrade-to-v2-3-0 to update your database.
  • That's it! you are ready to go with new version v2.3.0

Upgrading from v2.1.0 to v2.2.0

For Technical Users:

  • Download v2.2.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v2.2.0 files into your existing version v2.1.0
  • And Run composer install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v2.2.0

For Non Technical Users:

  • Download v2.2.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • That's it! you are ready to go with new version v2.2.0

Upgrading from v2.0.0 to v2.1.0

For Technical Users:

  • Download v2.1.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v2.1.0 files into your existing version v2.0.0
  • And run composer update to make new build
  • And run php artisan migrate to make new build
  • And run php artisan db:seed --class=StatusTableSeeder to make new build
  • And run php artisan db:seed --class=AddClientRoleSeeder to make new build
  • And run php artisan db:seed --class=AssignStatusPermissionSeeder to make new build
  • And run php artisan db:seed --class=UpdateEmailVerifiedAtAdminUser to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v2.1.0

For Non Technical Users:

  • Download v2.1.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v2.1.0 files/directories into your existing version v2.0.0
  • Update database :
    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in latest version go to app/database/releases/v2.1.0/ you can find v2.1.0.sql
    • Select that SQL file and import it.
  • NOW PLEASE CALL THIS URL ONCE YOUR_APP_URL/upgrade-to-v2-1-0 to assign manage_status permission to admin roles.
  • NOW PLEASE CALL THIS URL ONCE YOUR_APP_URL/client-role/upgrade-to-v2-1-0 to assign client role to all clients.
  • That's it! you are ready to go with new version v2.1.0

Upgrading from v1.2.0 to v2.0.0

For Technical Users:

  • Download v2.0.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v2.0.0 files into your existing version v1.2.0
  • And run composer install to make new build
  • And run php artisan migrate to make new build
  • And run php artisan db:seed --class=InvoiceSettingTableSeeder to make new build
  • And run npm install to make new build
  • And at last run npm run dev to make new build
  • That's it! you are ready to go with new version v2.0.0

For Non Technical Users:

  • Download v2.0.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v2.0.0 files/directories into your existing version v1.2.0
  • Update database :
    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in latest version go to app/database/releases/v2.0.0/ you can find v2.0.0.sql
    • Select that SQL file and import it.
  • That's it! you are ready to go with new version v2.0.0

Upgrading from v1.1.0 to v1.2.0

For Technical Users:

  • Download v1.2.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v1.2.0 files into your existing version v1.1.0
  • And at last run composer install to make new build
  • And at last run npm install to make new build
  • And at last run npm run dev to make new build
  • And at last run php artisan migrate to make new build
  • That's it! you are ready to go with new version v1.2.0

For Non Technical Users:

  • Download v1.2.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v1.2.0 files/directories into your existing version v1.1.0
  • Update database :
    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in latest version go to app/database/releases/v1.2.0/ you can find v1.2.0.sql
    • Select that SQL file and import it.
  • That's it! you are ready to go with new version v1.2.0

Upgrading from v1.0.0 to v1.1.0

For Technical Users:

  • Download v1.1.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v1.1.0 files into your existing version v1.0.0
  • And at last run composer install to make new build
  • And at last run npm run dev to make new build
  • And at last run php artisan migrate to make new build
  • That's it! you are ready to go with new version v1.1.0

For Non Technical Users:

  • Download v1.1.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v1.1.0 files/directories into your existing version v1.0.0
  • Update database :
    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in latest version go to app/database/releases/v1.1.0/ you can find v1.1.0.sql
    • Select that SQL file and import it.
  • That's it! you are ready to go with new version v1.1.0