InfyLMS 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.
- Backup your whole folder
- Backup & Export your database via phpymadmin
Backup Sensitive Files and Folders
Backup the following folders and files.
- File -
.env
- Folder - Any new languages that you added in
resources/lang/
- Folder -
public/uploads/
Replace the latest code
- Delete all your existing code (you can also rename the current folder or move all content to some other folder, if possible)
- Upload the latest
dist.zip
to the server - Extract the zip
- Put old
.env
file back - Put
resources/lang/
andpublic/uploads
folder back (or you can merge) - Edit
.env
and changeUPGRADE_MODE=true
- Run a database upgrade script
https://{YOUR_URL}/upgrade/database
- Edit
.env
and changeUPGRADE_MODE=false
- Verify that latest version is visible in footer
Check everything is working fine.
Post Upgrade Steps
- Add newly added languages keys (if you have added a new languages)
- 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
Pre-Upgrade Steps
Steps required before you get started with upgrade.
- Backup your 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
. HerelatestVersion
is the version number to which you are upgrading your application - Select that SQL file and import it.
- Open your
- That's it! you are ready to go with new version
Upgrading from v4.1.0
to v4.2.0
For Non Technical Users :
- Download
v4.2.0
- 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.2.0
files into your existing versionv4.1.0
- That's it.
Upgrading from v4.0.0
to v4.1.0
For Non Technical Users :
- Download
v4.1.0
- 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.1.0
files into your existing versionv4.0.0
- That's it.
Upgrading from v3.6.0
to v4.0.0
For Non Technical Users :
- Download
v4.0.0
- 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 versionv3.6.0
- That's it.
Upgrading from v3.5.1
to v3.6.0
For Technical Users :
- Download
v3.6.0
- 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.6.0
files into your existing versionv3.5.1
- Run
php artisan migrate
- Run
composer install
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v3.6.0
- 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.6.0
files into your existing versionv3.5.01
- That's it.
Upgrading from v3.5.0
to v3.5.1
For Technical Users :
- Download
v3.5.1
- 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.5.1
files into your existing versionv3.5.0
- Run
php artisan migrate
- Run
composer install
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v3.5.1
- 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.5.1
files into your existing versionv3.5.0
- That's it.
Upgrading from v3.4.0
to v3.5.0
For Technical Users :
- Download
v3.5.0
- 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.5.0
files into your existing versionv3.4.0
- Run
php artisan migrate
- Run
composer install
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v3.5.0
- 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.5.0
files into your existing versionv3.4.0
- Update database :
- Open your
phpMyAdmin
- Go to your database and select
import
tab. - Now in latest version go to
app/database/releases/v3.5.0/
you can findv3.5.0.sql
- Select that SQL file and import it.
- NOW PLEASE CALL THIS URL ONCE
YOUR_APP_URL/upgrade-to-v3-5-0
to update your database.
- Open your
- That's it.
Upgrading from v3.3.0
to v3.4.0
For Technical Users :
- Download
v3.4.0
- 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 versionv3.3.0
- Run
composer install
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v3.4.0
- 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 versionv3.3.0
- That's it.
Upgrading from v3.2.1 to v3.3.0
For Technical Users :
- Download
v3.3.0
- 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 versionv3.2.1
- Run
php artisan migrate
- Run
php artisan db:seed --class=CreateNewHomePageSettingsSeeder
- Run
composer install
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v3.3.0
- 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 versionv3.2.1
- Update database :
- Open your
phpMyAdmin
- Go to your database and select
import
tab. - Now in latest version go to
app/database/releases/v3.3.0/
you can findv3.3.0.sql
- Select that SQL file and import it.
- Open your
- That's it.
Upgrading from v3.2.0 to v3.2.1
For Technical Users :
- Download
v3.2.1
- 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.1
files into your existing versionv3.2.0
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v3.2.1
- 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.1
files into your existing versionv3.2.0
- That's it.
Upgrading from v3.1.0 to v3.2.0
For Technical Users :
- Download
v3.2.0
- 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 versionv3.1.0
- Run
composer install
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v3.2.0
- 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 versionv3.1.0
- That's it.
Upgrading from v3.0.1 to v3.1.0
For Technical Users :
- Download
v3.1.0
- 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 versionv3.0.1
- Run
composer install
- Run
npm install
- Run
npm run dev
- Set env
ADMIN_EMAIL={admin_email_here}
(optional only if you don't want due books emails of member) - That's it.
For Non Technical Users :
- Download
v3.1.0
- 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 versionv3.1.0
- Set env
ADMIN_EMAIL={admin_email_here}
(optional only if you don't want due books emails of member) - That's it.
Upgrading from v3.0.0 to v3.0.1
For Technical Users :
- Download
v3.0.1
- 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.1
files into your existing versionv3.0.0
- Run
composer install
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v3.0.1
- 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.1
files into your existing versionv3.0.0
- That's it.
Upgrading from v2.3.1 to v3.0.0
For Technical Users :
- Download
v3.0.0
- 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 versionv2.3.1
- Run
composer install
- Run
php artisan migrate
- Add
EBOOK_DISK
in env and add its value, default value isebook
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v3.0.0
- 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 versionv2.3.1
- Add
EBOOK_DISK
in env and add its value, default value isebook
- 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 findv3.0.0.sql
- Select that SQL file and import it.
- Open your
- That's it.
Upgrading from v2.3.0 to v2.3.1
For Technical Users :
- Download
v2.3.1
- 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.1
files into your existing versionv2.3.0
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v2.3.1
- 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.1
files into your existing versionv2.3.0
- That's it.
Upgrading from v2.2.0 to v2.3.0
For Technical Users :
- Download
v2.3.0
- 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 versionv2.2.0
- Run
composer install
- Run
php artisan migrate
- Set
SANCTUM_TTL
env value in minutes to time to expires of token - Remove
JWT_TTL
andJWT_SECRET
env variables - Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v2.3.0
- 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 versionv2.2.0
- Set
SANCTUM_TTL
env value in minutes to time to expires of token - Remove
JWT_TTL
andJWT_SECRET
env variables - Update database :
- Open your
phpMyAdmin
- Go to your database and select
import
tab. - Now in latest version go to
app/database/releases/v.2.3.0/
you can findv2.3.0.sql
- Select that SQL file and import it.
- Open your
- That's it.
Upgrading from v2.1.0 to v2.2.0
For Technical Users :
- Download
v2.2.0
- 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 versionv2.1.0
- Run
composer install
- Run
composer dump-autoload -o
- Run
php artisan db:seed --class=CreateBookDueReminderSetting
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v2.2.0
- 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 versionv2.1.0
- Update database :
- Open your
phpMyAdmin
- Go to your database and select
import
tab. - Now in latest version go to
app/database/releases/v.2.2.0/
you can findv2.2.0.sql
- Select that SQL file and import it.
- Open your
- That's it.
Upgrading from v2.0.0 to v2.1.0
For Technical Users :
- Download
v2.1.0
- 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 versionv2.0.0
- Run
composer install
- Run
php artisan migrate
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v2.1.0
- 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 versionv2.0.0
- Update database :
- Open your
phpMyAdmin
- Go to your database and select
import
tab. - Now in latest version go to
app/database/releases/v.2.1.0/
you can findv2.1.0.sql
- Select that SQL file and import it.
- Open your
- That's it.
Upgrading from v1.6.0 to v2.0.0
For Technical Users :
- Download
v2.0.0
- 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 versionv1.6.0
- Run
composer install
- Run
php artisan migrate
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v2.0.0
- 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 versionv1.6.0
- Update database :
- Open your
phpMyAdmin
- Go to your database and select
import
tab. - Now in latest version go to
app/database/releases/v.2.0.0/
you can findv2.0.0.sql
- Select that SQL file and import it.
- Open your
- That's it.
Upgrading from v1.5.1 to v1.6.0
For Technical Users :
- Download
v1.6.0
- 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 versionv1.5.1
- Run
composer install
- Run
php artisan migrate
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v1.6.0
- 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 versionv1.5.1
- Update database :
- Open your
phpMyAdmin
- Go to your database and select
import
tab. - Now in latest version go to
app/database/releases/v.1.6.0/
you can findv1.6.0.sql
- Select that SQL file and import it.
- Open your
- That's it.
Upgrading from v1.5.0 to v1.5.1
For Technical Users :
- Download
v1.5.1
- 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 versionv1.5.0
- Run
composer install
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v1.5.1
- 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 versionv1.5.0
- That's it.
Upgrading from v1.4.0 to v1.5.0
For Technical Users :
- Download
v1.5.0
- 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 versionv1.4.0
- Run
composer install
- Run
php artsan migrate
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v1.5.0
- 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 versionv1.4.0
- Update database :
- Open your
phpMyAdmin
- Go to your database and select
import
tab. - Now in latest version go to
app/database/releases/v.1.5.0/
you can findv1.5.0.sql
- Select that SQL file and import it.
- Open your
- That's it.
Upgrading from v1.3.1 to v1.4.0
For Technical Users :
- Download
v1.4.0
- 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 versionv1.3.1
- Run
composer install
- Run
npm install
- Run
npm run dev
- That's it.
For Non Technical Users :
- Download
v1.4.0
- 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 versionv1.3.1
- That's it.
Upgrading from v1.3.0 to v1.3.1
For Technical Users :
- Download
v1.3.1
- Just run
composer install
- That's it.
For Non Technical Users :
- Download
v1.3.1
- 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 versionv1.2.0
- That's it.
Upgrading from v1.2.0 from v1.3.0
For Technical Users :
- Download
v1.3.0
- 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 versionv1.2.0
- Run
php artisan migrate
to update database. - Run
npm install
- And at last run
npm run dev
to make new build - That it! you are ready to go with new version
v1.3.0
For Non Technical Users :
- Download
v1.3.0
- 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 versionv1.2.0
- Update database :
- Open your
phpMyAdmin
- Go to your database and select
import
tab. - Now in latest version go to
app/database/releases/v.1.3.0/
you can findv1.3.0.sql
- Select that SQL file and import it.
- Open your
- That it! you are ready to go with new version
v1.3.0
Upgrading from v1.1.0 to v1.2.0
For Technical Users :
- Download
v1.2.0
- 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 versionv1.1.0
- Run
php artisan migrate
to update database. - Run
npm install
- And at last run
npm run dev
to make new build - That it! you are ready to go with new version
v1.2.0
For Non Technical Users :
- Download
v1.2.0
- 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 versionv1.1.0
- Update database :
- Open your
phpMyAdmin
- Go to your database and select
import
tab. - Now in latest version go to
app/database/releases/v.1.2.0/
you can findv1.2.0.sql
- Select that SQL file and import it.
- Open your
- That it! you are ready to go with new version
v1.2.0