InfyHMS

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

Pre-Upgrade Steps

Steps required before you get started with upgrade.

  • Backup you current version files and Database
  • If you have manually changed any of the files then take a backup of them. After replacing files of newer version, you will need to replace them again and make possible changes.

General Guide for all the versions

This is a general guide which applies to all the upgrade from any version to any version. Along with this guide, check the list below if any specific steps are given for version upgrade then you need to follow those additional steps.

For Technical Users:

  • Download the newer version
  • Replace all the files of older version with newer version
  • Run composer install
  • Run php artisan migrate
  • Run npm install
  • Run npm run dev to make new build (npm run prod for production build)

For Non Technical Users:

  • Download the newer version
  • Replace all the files of older version with newer version
  • Update database (If DB related changes are made)

    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Check for DB upgrade file. Check the file under app/database/releases/{latestVersion}/ and see if you can find {latestVersion}.sql. Here latestVersion is the version number to which you are upgrading your application
    • Select that sql file and import it.
  • That's it!, you are ready to go with new version

Upgrading from v9.0.0 to v9.0.1

For Technical Users:

  • Download v9.0.1
  • Backup you 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 v9.0.1 files into your existing version v9.0.0
  • That's it!, you are ready to go with new version v9.0.1

For Non Technical Users:

  • Download v9.0.1
  • Backup you 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 v9.0.1 files/directories into your existing version v9.0.0
  • That's it!, you are ready to go with new version v9.0.1

Upgrading from v8.0.0 to v9.0.0

  • Download v9.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 v9.0.0 files into your existing version v8.0.0
  • Run composer install to update composer dependencies
  • Run php artisan migrate to run migrations
  • Run npm install
  • And at last Run npm run dev to make new build
  • That's it!, you are ready to go with new version v9.0.0

For Non Technical Users:

  • Download v9.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 v9.0.0 files/directories into your existing version v8.0.0
  • That's it!, you are ready to go with new version v9.0.0

Upgrading from v7.0.0 to v8.0.0

  • Download v8.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 v8.0.0 files into your existing version v7.0.0
  • Run composer install to update composer dependencies
  • Run php artisan migrate to run migrations
  • Run npm install
  • And at last Run npm run dev to make new build
  • That's it!, you are ready to go with new version v8.0.0

For Non Technical Users:

  • Download v8.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 v8.0.0 files/directories into your existing version v7.0.0
  • Update database :

    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in the latest version go to app/database/releases/v8.0.0/ you can find v8.0.0.sql
    • Select that sql file and import it.
  • Now please call this url once YOUR_APP_URL/upgrade-to-8-0-0
  • That's it!, you are ready to go with new version v8.0.0

Upgrading from v6.0.0 to v7.0.0

For Technical Users:

  • Download v7.0.0
  • Backup you 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 v7.0.0 files into your existing version v6.0.0
  • You have to update your .env by the following key.

    COOKIE_CONSENT_ENABLED=
  • Run composer install to update composer dependencies
  • Run php artisan migrate to run migrations
  • Run php artisan db:seed --class=FrontSettingTableSeeder
  • Run npm install
  • And at last Run npm run dev to make new build
  • That's it!, you are ready to go with new version v7.0.0

For Non Technical Users:

  • Download v7.0.0
  • Backup you 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 v7.0.0 files/directories into your existing version v6.0.0
  • Update database :

    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in the latest version go to app/database/releases/v7.0.0/ you can find v7.0.0.sql
    • Select that sql file and import it.
  • Now please call this url once YOUR_APP_URL/upgrade-to-7-0-0
  • You have to update your .env by the following key.

    COOKIE_CONSENT_ENABLED=true
  • That's it!, you are ready to go with new version `v7.0.0

Upgrading from v5.1.0 to v6.0.0

For Technical Users:

  • Download v6.0.0
  • Backup you 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.0.0
  • Run composer install to update composer dependencies
  • Run php artisan db:seed --class=AddVaccinationModuleTableSeeder
  • Run npm install
  • 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 you 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/directories into your existing version v5.0.0
  • 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.0/ you can find v6.0.0.sql
    • Select that sql file and import it.
  • That's it!, you are ready to go with new version v6.0.0

Upgrading from v4.0.1 to v5.0.0

For Technical Users:

  • Download v5.0.0
  • Backup you 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.0.1
  • Run composer install to update composer dependencies
  • Run npm install
  • 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 you 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/directories into your existing version v4.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/v5.0.0/ you can find v5.0.0.sql
    • Select that sql file and import it.
  • That's it!, you are ready to go with new version v5.0.0

Upgrading from v4.0.0 to v4.0.1

For Technical Users:

  • Download v4.0.1
  • Backup you 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.1 files into your existing version v4.0.0
  • Run composer install
  • Run npm install
  • And at last Run npm run dev to make new build
  • That's it!, you are ready to go with new version v4.0.1

For Non Technical Users:

  • Download v4.0.1
  • Backup you 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.1 files/directories into your existing version v4.0.0
  • That's it!, you are ready to go with new version v4.0.1

Upgrading from v3.4.1 to v4.0.0

For Technical Users:

  • Download v4.0.0
  • Backup you 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.4.1
  • Run php artisan migrate to run migrations
  • Run npm install
  • 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 you 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/directories into your existing version v3.4.1
  • Update database :

    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in the 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.4.0 to v3.4.1

For Technical Users:

  • Download v3.4.1
  • Backup you 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.4.1 files into your existing version v3.4.0
  • That's it!, you are ready to go with new version v3.4.1

For Non Technical Users:

  • Download v3.4.1
  • Backup you 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.4.1 files/directories into your existing version v3.4.0
  • That's it!, you are ready to go with new version v3.4.1

Upgrading from v3.3.0 to v3.4.0

For Technical Users:

  • Download v3.4.0
  • Backup you 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.4.0 files into your existing version v3.3.0
  • Run composer install to update composer dependencies
  • Run php artisan migrate to run migrations
  • Run php artisan db:seed --class=DefaultModuleSeeder
  • Run npm install
  • And at last Run npm run dev to make new build
  • That's it!, you are ready to go with new version v3.4.0

For Non Technical Users:

  • Download v3.4.0
  • Backup you 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.4.0 files/directories into your existing version v3.3.0
  • Update database :

    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in the latest version go to app/database/releases/v3.4.0/ you can find v3.4.0.sql
    • Select that sql file and import it.
  • That's it!, you are ready to go with new version v3.4.0

Upgrading from v3.2.0 to v3.3.0

For Technical Users:

  • Download v3.3.0
  • Backup you 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.3.0 files into your existing version v3.2.0
  • Run composer install to update composer dependencies
  • Run php artisan migrate to run migrations
  • Run php artisan db:seed --class=DefaultModuleSeeder
  • Run npm install
  • And at last Run npm run dev to make new build
  • That's it!, you are ready to go with new version v3.3.0

For Non Technical Users:

  • Download v3.3.0
  • Backup you 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.3.0 files/directories into your existing version v3.2.0
  • Update database :

    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in the latest version go to app/database/releases/v3.3.0/ you can find v3.3.0.sql
    • Select that sql file and import it.
  • That's it!, you are ready to go with new version v3.3.0

Upgrading from v3.1.0 to v3.2.0

For Technical Users:

  • Download v3.2.0
  • Backup you 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
  • Run composer install to update composer dependencies
  • Run php artisan migrate to run migrations
  • Run npm install
  • 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 you 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/directories into your existing version v3.1.0
  • Update database :

    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in latest version go to app/database/releases/v3.2.0/ you can find v3.2.0.sql
    • Select that sql file and import it.
  • That's it!, you are ready to go with new version v3.2.0

Upgrading from v3.0.0 to v3.1.0

For Technical Users:

  • Download v3.1.0
  • Backup you 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
  • Run composer install to update composer dependencies
  • Run php artisan migrate to run migrations
  • Run npm install
  • 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.01.0
  • Backup you 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/directories 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.
  • That's it!, you are ready to go with new version v3.1.0

Upgrading from v2.0.0 to v3.0.0

For Technical Users:

  • Download v3.0.0
  • Backup you 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.0.0
  • Run composer install to update composer dependencies
  • Run php artisan migrate to run migrations
  • Run npm install
  • 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 you 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/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/v3.0.0/ you can find v3.0.0.sql
    • Select that sql file and import it.
  • That's it!, you are ready to go with new version v3.0.0

Upgrading from v1.6.0 to v2.0.0

For Technical Users:

  • Download v2.0.0
  • Backup you 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.6.0
  • Run composer install to update composer dependencies
  • Run php artisan migrate to run migrations
  • Run npm install
  • 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 you 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.6.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.5.1 to v1.6.0

For Technical Users:

  • Download v1.6.0
  • Backup you 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.6.0 files into your existing version v1.5.1
  • Run composer install to update composer dependencies
  • Run npm install
  • And at last Run npm run dev to make new build
  • That's it!, you are ready to go with new version v1.6.0

For Non Technical Users:

  • Download v1.6.0
  • Backup you 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.6.0 files/directories into your existing version v1.5.1
  • That's it!, you are ready to go with new version v1.6.0

Upgrading from v1.5.0 to v1.5.1

For Technical Users:

  • Download v1.5.1
  • Backup you 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.5.1 files into your existing version v1.5.0
  • Run php artisan migrate
  • Run composer install to update composer dependencies
  • And at last Run npm run dev to make new build
  • That's it!, you are ready to go with new version v1.5.1

For Non Technical Users:

  • Download `v1.5.1
  • Backup you 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.5.1 files/directories into your existing version v1.5.0
  • Update database :

    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in latest version go to app/database/releases/v1.5.1/ you can find v1.5.1.sql
    • Select that sql file and import it.
  • That's it!, you are ready to go with new version v1.5.1

Upgrading from v1.4.0 to v1.5.0

For Technical Users:

  • Download v1.5.0
  • Backup you 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.5.0 files into your existing version v1.4.0
  • Run php artisan migrate
  • Run composer install to update composer dependencies
  • And at last Run npm run dev to make new build
  • That's it!, you are ready to go with new version v1.5.0

For Non Technical Users:

  • Download v1.5.0
  • Backup you 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.5.0 files/directories into your existing version v1.4.0
  • Update database :

    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in latest version go to app/database/releases/v1.5.0/ you can find v1.5.0.sql
    • Select that sql file and import it.
  • That's it!, you are ready to go with new version v1.5.0

Upgrading from v1.3.1 to v1.4.0

For Technical Users:

  • Download v1.4.0
  • Backup you 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.4.0 files into your existing version v1.3.1
  • Run php artisan migrate
  • Run composer install to update composer dependencies
  • And at last Run npm run dev to make new build
  • That's it!, you are ready to go with new version v1.4.0

For Non Technical Users:

  • Download v1.4.0
  • Backup you 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.4.0 files/directories into your existing version v1.3.1
  • Update database :

    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in latest version go to app/database/releases/v1.4.0/ you can find v1.4.0.sql
    • Select that sql file and import it.
  • That's it!, you are ready to go with new version v1.4.0

Upgrading from v1.3.0 to v1.3.1

For Technical Users:

  • Download v1.3.1
  • Backup you 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.3.1 files into your existing version v1.3.0
  • Run php artisan migrate
  • Run composer install to update composer dependencies
  • And at last Run npm run dev to make new build
  • That's it!, you are ready to go with new version v1.3.1

For Non Technical Users:

  • Download v1.3.1
  • Backup you 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.3.1 files/directories into your existing version v1.3.0
  • Update database :

    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Now in latest version go to app/database/releases/v1.3.1/ you can find v1.3.1.sql
    • Select that sql file and import it.
  • That's it!, you are ready to go with new version v1.3.1

Upgrading from v1.2.0 to v1.3.0

For Technical Users:

  • Download v1.3.0
  • Backup you 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.3.0 files into your existing version v1.2.0
  • Run npm install
  • And at last Run npm run dev to make new build
  • Run php artisan migrate
  • That's it!, you are ready to go with new version v1.3.0

For Non Technical Users:

  • Download v1.3.0
  • Backup you 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.3.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/v1.3.0/ you can find v1.3.0.sql
    • Select that sql file and import it.
  • That's it!, you are ready to go with new version v1.3.0

Upgrading from v1.1.1 to v1.2.0

For Technical Users:

  • Download v1.2.0
  • Backup you 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.1
  • Run npm install
  • And at last Run npm run dev to make new build
  • Run php artisan db:seed --class=AddLabTechnicianPermissionSeeder
  • That's it!, you are ready to go with new version v1.2.0

For Non Technical Users:

  • Download v1.2.0
  • Backup you 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.1
  • That's it!, you are ready to go with new version v1.2.0

Upgrading from v1.1.0 to v1.1.1

For Technical Users:

  • Download v1.1.1
  • Backup you 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.1 files into your existing version v1.1.0
  • Run composer install
  • Run npm install
  • And at last Run npm run dev to make new build
  • That's it!, you are ready to go with new version v1.1.1

For Non Technical Users:

  • Download v1.1.1
  • Backup you 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.1 files/directories into your existing version v1.1.0
  • That's it!, you are ready to go with new version v1.1.1

Upgrading from v1.0.0 to v1.1.0

For Technical Users:

  • Download v1.1.0
  • Backup you 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
  • Run composer install
  • Run php artisan migrate
  • Run npm install
  • And at last Run npm run dev 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 you 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